33680efe7b
Appease MSVC
2022-03-04 19:17:07 -05:00
7f479b0e0b
Properly copy data on macOS
...
This also fixes cfg init failing on macOS
2022-02-22 09:34:00 -05:00
4f75d09eaf
Move data folder into example directory
2022-02-21 17:37:10 -05:00
bc67dcce17
Make most render options accessible from console
2022-02-21 17:17:55 -05:00
a3704eb7a9
Improve surface and gfx context creation
...
This is laying some groundwork for a much better way
of determining the best GFX api to use at runtime, and
making it easier to support more GFX backends in the future.
2022-02-21 11:03:34 -05:00
6935f85351
Start work on converting GFXMetal to metal-cpp
2022-02-15 11:25:13 -05:00
25ccd18595
Add keybind to toggle all imgui ui off
2022-02-15 09:01:52 -05:00
redstrate
e79a98c7d2
Some minor code refactoring
2021-10-14 08:51:58 -04:00
redstrate
878ef9c5da
Only enable viewports on multimodal apps (like the editors)
...
* Dragging out windows on games and stuff is pointless and just adds complexity
2021-10-12 11:47:13 -04:00
redstrate
fd4661088a
Fix HiDPI support
2021-10-12 11:42:10 -04:00
redstrate
a2f81d7ca7
Allow better DPI handling under SDL, handle external resize events in imgui
2021-10-12 11:06:59 -04:00
redstrate
5a046ee27a
Some changes to make gcc stop complaining
2021-10-12 10:27:03 -04:00
redstrate
5ba4285776
Add string handling to console arguments
2021-10-12 10:22:38 -04:00
redstrate
c6bc56d033
Change window handles into opaque pointers
2021-10-12 10:22:16 -04:00
redstrate
9c8c257c43
Add new console debug window, handle text input under sdl
2021-10-07 17:46:28 -04:00
redstrate
529bc27702
Replace old logging and format system with fmt
2021-09-13 23:41:54 -04:00
redstrate
626e314ec2
Completely remove the defunct UI system
2021-09-13 23:10:26 -04:00
redstrate
b61eb98648
Fixes some clang-tidy warnings, remove fpermissive
2021-09-13 22:53:42 -04:00
redstrate
9951ffa58e
Rename vecX -> floatX
2021-05-12 09:56:44 -04:00
redstrate
fa65e99094
Rename Path -> path
2021-05-12 09:05:56 -04:00
redstrate
01966c1d81
Rename File -> file and move under the prism namespace
2021-05-12 08:50:02 -04:00
redstrate
2ddc1e1794
Fix up SDL2 mouse and key handling for imgui
2021-05-11 17:05:29 -04:00
redstrate
7b23fdfa09
Rename Renderer to renderer, move it to prism namespace, and rename last of member variables
2021-04-20 13:53:38 -04:00
redstrate
4a46786db0
Update example app to compile again
2021-04-20 12:17:49 -04:00
redstrate
653d5bb6ca
Rename Input to input_system and move to prism namespace
2021-04-20 11:53:38 -04:00
redstrate
bae6d05184
Move console and log namespaces to prism
2021-04-20 11:23:53 -04:00
redstrate
8370dfb6d6
Rename ImGuiLayer to imgui_backend
2021-04-20 10:37:56 -04:00
redstrate
4b9754fa03
Fix some clang-tidy warnings
2021-04-19 12:35:52 -04:00
redstrate
3827bede6d
Renames engine member variables to fix bad naming conventions
2021-04-19 12:29:49 -04:00
redstrate
4abf4b4ab8
Rename Engine to engine
2021-04-19 12:23:18 -04:00
redstrate
744123763f
Begin work on converting to the new class naming scheme and the new prism namespace
2021-04-19 12:06:44 -04:00
redstrate
c47f54992f
Add flag for apps like an editor who doesn't render any scene in the main window.
2021-04-18 21:38:57 -04:00
redstrate
aac44f763c
Fix multiviewports crashing on Linux
2021-02-24 14:18:51 -05:00
redstrate
c7efea5258
Add more windowing stuff to Linux backend, fix some other clang-analyze bugs
2021-02-18 08:31:36 -05:00
redstrate
bb00009041
Put imgui buffers into render targets
...
Makes imgui multiviewports work now!
2021-02-17 01:32:46 -05:00
redstrate
77c9561868
Re-enable multiviewport
...
Also fixes a bunch of stuff to make multiviewport way more stable
2021-02-17 01:09:12 -05:00
redstrate
1f98e19819
Fix compile issues on Vulkan, make render targets work in editor
2021-02-17 00:47:05 -05:00
redstrate
8e781f3b5c
Support new render target api in editor
2021-02-17 00:15:59 -05:00
redstrate
a6a46abb36
Begin transition to new render target system
...
Things are definitely broken now
2021-02-16 19:22:32 -05:00
redstrate
3e4cf70c8e
Fix compilation issues on GCC/Linux
2021-02-15 15:06:13 -05:00
redstrate
63f844a20d
Batch viewport render commands with main render commands
...
I don't know why I did it the other way...?
2021-02-05 19:35:13 -05:00
redstrate
93b55e7022
Add debug names for textures
...
Also changes pipeline barrier behavior, disable project window on Windows, and change window resizing behaviour to get around Windows-specific bug
2021-02-04 08:21:40 -05:00
redstrate
22e0c89e39
Prevent the debug button from eating text input
2020-09-22 22:52:39 -04:00
redstrate
83b47b31b4
Add console variable support
2020-09-22 22:43:30 -04:00
redstrate
f10b5fd62b
Add debug toggle for dynamic resolution
2020-09-22 22:10:02 -04:00
redstrate
8a40f3e5f8
Add quit command
2020-09-22 13:28:08 -04:00
redstrate
2ffd1a421e
Remove even more includes
2020-09-21 09:37:52 -04:00
redstrate
29633020c9
Remove unnecessary includes
2020-09-20 23:31:03 -04:00
redstrate
afefd9b1da
Add framework for console commands
2020-09-20 22:37:15 -04:00
redstrate
82a7d41dbc
Remove sol library and lua scripting support
2020-08-14 20:53:22 -04:00