Commit Graph

684 Commits

Author SHA1 Message Date
e91d2653a3 [nostalgia/core] Fix incorrect bit_cast uses 2021-12-11 19:16:29 -06:00
9fd14b0744 [nostalgia/core] Add gc function to AssetManager 2021-12-11 19:16:29 -06:00
ad743565b2 [nostalgia] Update Studio to handle tabs and open directory dialog on Mac, Update core::init 2021-12-11 19:16:29 -06:00
e29f65f351 [nostalgia/core] Add AssetManager 2021-12-11 19:16:29 -06:00
45d79e99e8 [nostalgia] Move much of the OpenGL code to glutils 2021-12-11 19:16:29 -06:00
e2b9cd16b3 [nostalgia/core] Add redf, greenf, and bluef functions 2021-12-11 19:16:29 -06:00
badd07e27f [nostalgia/tools/pack] Make toMetalClaw ensure data portion is in fact MetalClaw 2021-12-11 19:16:29 -06:00
4a4f380a11 [nostalgia/studio] Fix file dialog to close properly 2021-12-11 19:16:29 -06:00
1bf882c674 [nostalgia/glutils] Add FrameBuffer type 2021-12-11 19:16:29 -06:00
c7499f4241 [nostalgia/studio] Remove oxDebug line 2021-12-11 19:16:29 -06:00
ddd63bc45f [nostalgia/studio] Start on ImGui version of Studio 2021-12-11 19:16:29 -06:00
1dac98fbc7 [nostalgia/player] Remove old shutdown function use 2021-07-24 01:53:34 -05:00
32ac497a0e [nostalgia/core] Add focusWindow, cleanup GLFW leak into Userland, change shutdown to stop main loop 2021-07-23 21:52:26 -05:00
7dfa2f5713 [nostalgia/core/gba] Cleanup 2021-07-23 21:44:11 -05:00
bed8c35218 [nostalgia/core] Make Context never move 2021-07-18 16:14:45 -05:00
70fd56ce0b [nostalgia/studio] Update copyright notice in Info.plist 2021-07-18 16:14:44 -05:00
643239e104 [nostalgia] Make core::init take FileSystem and return Context, add core::setWindowTitle 2021-07-18 16:14:44 -05:00
0420dfb545 [nostaliga/core] Add Drawer system and make ImGui use configurable 2021-07-17 18:13:28 -05:00
d3a3d57773 [nostalgia/studio] Cleanup 2021-07-17 13:04:20 -05:00
724cf7f779 [nostalgia/core] Setup Imgui drawing 2021-07-17 12:38:40 -05:00
5a52d322b2 [nostalgia/core/studio] Replace ox::Error catch with ox::Exception catch 2021-07-17 12:34:44 -05:00
2f9accf5ba [nostalgia/studio] Cleanup 2021-07-17 12:21:54 -05:00
2be31cca5c [nostalgia/core/glfw] Cleanup up main loop is running check to use GLFW 2021-07-17 01:37:45 -05:00
43c67eacaa [nostalgia/player] Add new line to oxErr output 2021-07-17 01:30:00 -05:00
efe61bab6f [nostalgia/core] Add clipboard support 2021-07-16 20:51:10 -05:00
6bd21bf1b4 [nostalgia/player] Fix warning about using oxErrf without fmt params 2021-07-08 01:59:54 -05:00
c0377f9e91 [nostalgia/core/userland] Add imgui link 2021-07-06 21:02:42 -05:00
3e555d38e5 [nostalgia/core] Fix imgui initialization 2021-07-06 21:02:42 -05:00
14cddf3d36 [nostalgia/core/glfw] Cleanup 2021-07-06 21:02:42 -05:00
aa4a1a9011 [nostalgia/glutils] Add error include 2021-07-06 21:02:42 -05:00
6882dc8404 [nostalglia/core/glfw] Cleanup event handling 2021-07-06 21:02:42 -05:00
faf8fa0668 [nostalgia/core] Cleanup 2021-07-06 21:02:42 -05:00
bae1f05038 [nostalgia] Add scaffolding for ImGui 2021-07-06 21:02:42 -05:00
63e46d7bb4 [nostalgia] Move glutils into separate library 2021-07-06 21:02:42 -05:00
032aadafdf [nostalgia/tools/pack] Replace ox::Vector<char> with ox::Buffer 2021-07-06 20:58:53 -05:00
8b976279e5 [nostalgia/core/userland] Fix automatic type conversion warnings 2021-07-06 20:58:25 -05:00
ecc049c35b [nostalgia/tools/pack] Cleanup 2021-07-06 20:58:25 -05:00
5672074177 [nostalgia/studio] Add cleanup for module loading 2021-06-04 23:40:41 -05:00
08da9d6a94 [nostalgia/studio] Fix access of null ptr in OxFSTreeView 2021-06-04 23:38:25 -05:00
0099129a19 [nostalgia] Update for Ox changes 2021-05-29 15:04:59 -05:00
c5326d72af [nostalgia/core/gba] Change sprite update iterator to 32 bit int 2021-05-28 22:18:37 -05:00
b36cd1694b [nostalgia/core/gba] Make BG CTLs uint16 2021-05-15 01:42:17 -05:00
314b177666 [nostalgia/core/userland] Remove unnecessary includes 2021-05-15 01:41:23 -05:00
827ba7dcdb [nostalgia/core/glfw] Move wakeup time to Context 2021-05-15 01:39:41 -05:00
f83e814806 [nostalgia/core/glfw] Remove unnecessary includes 2021-05-14 00:40:15 -05:00
6cda13d10b [nostalgia/core/glfw] Fix OpenGL config for Mac 2021-05-13 20:16:12 -05:00
307684348e [nostalgia/core] Get building with GLFW (it has a better Conan package than SDL) 2021-05-13 20:16:12 -05:00
a17bc04ee7 [nostalgia/studio] Cleanup error handling 2021-05-12 22:13:12 -05:00
e36f49c7fc [nostalgia/player] Cleanup 2021-05-12 22:07:42 -05:00
db71c8f3e9 [nostalgia/player] Cleanup 2021-05-12 21:14:58 -05:00
ec83ed4c7d [nostalgia/core/studio] Cleanup 2021-05-11 22:11:17 -05:00
fefe8bacc7 [nostalgia/core/userland] Cleanup 2021-05-11 00:46:44 -05:00
f5ff700bf3 [nostalgia] Cleanup 2021-05-11 00:43:07 -05:00
2e71d288b4 [nostalgia/studio] Fix copy pessimization 2021-05-09 22:43:13 -05:00
fee5a33da1 [nostalgia/tools/pack] Cleanup 2021-05-08 23:00:55 -05:00
b3fb724ae7 [nostalgia/studio] Cleanup 2021-05-08 22:33:03 -05:00
5fe91ae577 [nostalgia/core/gba] Remove now unnecessary casts 2021-05-03 22:08:37 -04:00
504d248ce3 [nostalgia/core] Make FileAddress args const ref 2021-05-03 14:32:02 -04:00
c4c1979123 [nostalgia/player] Cleanup 2021-05-03 13:51:48 -04:00
35a08a4ce8 [nostalgia/tools/pack] Cleanup 2021-05-03 13:51:20 -04:00
33d40b1839 [nostalgia/core/sdl] Cleanup 2021-05-03 13:50:45 -04:00
6c302b7d1c [nostalgia/core/userland] Cleanup readObj 2021-05-03 13:43:19 -04:00
239f4d149d [nostalgia/core/userland] Cleanup 2021-05-03 13:38:12 -04:00
809dbc69b1 [nostalgia/tools/pack] Cleanup 2021-04-29 01:18:26 -05:00
2dc9ce4015 [nostalgia/common] Add constexpr and noexcept where appropriate 2021-04-23 23:24:42 -05:00
863437fb10 [nostalgia/core] Add missing nodiscards and noexcepts 2021-04-20 23:19:42 -05:00
4cd8f6a0c1 [nostalgia/core] Make loadRomFs return UniquePtr 2021-04-20 22:12:37 -05:00
abf45112b0 [nostalgia/core/gba] Update panic to take Error reference 2021-04-20 22:11:17 -05:00
6ece0b6f9b [nostalgia] Make almost everyting noexcept 2021-04-20 01:57:04 -05:00
983000efb8 [nostalgia/core/gba] Update for FileSystem directAccess change 2021-04-18 15:06:10 -05:00
96a2e86a35 [nostalgia/tools/pack] Cleanup 2021-04-17 17:55:47 -05:00
c007b5b874 [nostalgia/tools/pack] Remove unnecessary copies and conversions 2021-04-17 17:35:57 -05:00
304a43a4b4 [nostalgia/tools/pack] Make Pack lib operate on generic ox::FileSystems 2021-04-17 17:24:37 -05:00
fef0ff58c3 [nostalgia/tools/pack] Remove all std references from Pack lib 2021-04-17 16:35:35 -05:00
21f40a8362 [nostalgia/tools] Revert writeFileBuff path to ox::String 2021-04-17 14:04:22 -05:00
4a0f6420b6 [nostalgia/core/studio] Add oxIgnoreError for new Vector::erase Error 2021-04-17 13:58:03 -05:00
6664462391 [nostalgia/studio] Update Vector::back usage 2021-04-17 11:32:52 -05:00
8eb19b4cba [nostalgia/tools/pack] Remove <vector> include 2021-04-16 22:00:26 -05:00
be09c60f5d [nostalgia/tools/pack] Replace cout and cerr with oxOut and oxErr 2021-04-16 21:19:10 -05:00
022bc7e512 [nostalgia/tools/pack] Replace std types with ox types 2021-04-16 20:45:46 -05:00
86202562fe [nostalgia/tools/pack] Update for new FS error handling 2021-04-16 19:56:36 -05:00
cffc3da622 [nostalgia/core/studio] Add Qt headers as PCHs 2021-04-10 21:34:04 -05:00
53187e0c67 [nostalgia/core] Make screen size function nodiscard 2021-04-01 22:49:07 -05:00
786892dda1 [nostalgia/tools/pack] Update for new ClArgs interface 2021-04-01 22:00:07 -05:00
392351ba48 [nostalgia/tools/pack] Remove ClArgs copy 2021-04-01 01:47:05 -05:00
d952b68053 [nostalgia/tools/pack] Fix Pack lib install location 2021-04-01 01:15:09 -05:00
ec711331d1 [nostalgia/common] Update models 2021-03-31 02:40:52 -05:00
8f7de171af [nostalgia/core] Make display size function return common::Size instead of common::Point 2021-03-31 02:30:29 -05:00
445db97d31 [nostalgia/core] Add input.hpp to core.hpp 2021-03-31 02:21:50 -05:00
134f5593e2 [nostalgia/player] Split player application logic into separate files 2021-03-31 00:33:31 -05:00
6de38c13ee [nostalgia] Cleanup unnecessary explicit Qt linkages 2021-03-30 21:34:49 -05:00
2b469da8c3 [nostalgia] Make portable between Qt5 and Qt6 2021-03-30 21:25:01 -05:00
5bb98747a9 [nostalgia] Port to Qt6 2021-03-30 20:35:42 -05:00
37c3f117fe [nostalgia/core/gl] Initialize buffers 2021-03-30 02:42:18 -05:00
f0b359597a [nostalgia/core/gba] Cleanup 2021-03-30 02:35:31 -05:00
4cace9d8e0 [nostalgia/core/sdl] Reduce required GL version to 3.0 2021-03-28 03:47:38 -05:00
8512f97cf4 [nostalgia/core/sdl] Correct SDL2 find_package case 2021-03-28 02:27:13 -05:00
f1a1d94ac3 [nostalgia] Switch back to conan 2021-03-28 00:25:30 -05:00
a474dc56c0 [nostalgia/studio] Disable QDark theme on Mac 2021-03-28 00:08:15 -05:00
4ce18766cd [nostalgia/core/userland] Remove unnecessary copies 2021-03-24 22:40:33 -05:00
6dd9e30734 [nostalgia/studio] Add package name to test output 2021-03-24 00:56:38 -05:00
403d124e99 [nostalgia/studio] Cleanup JSON test 2021-03-24 00:55:37 -05:00
084cee44fa [nostalgia/core/sdl] Remove SDL implementation's bgTextures 2021-03-24 00:47:53 -05:00
aea43306a4 [nostalgia/core/gl] Cleanup VBO, EBO, and VAO initialization 2021-03-23 00:02:17 -05:00
b278b3881e [nostalgia/core/sdl] Put vsync options in config.hpp 2021-03-23 00:01:09 -05:00
c45f4ccccb [nostalgia/core/userland] Delete now unneccsary eboElements count 2021-03-20 16:10:19 -05:00
cc23947d27 [nostalgia/core/userland] Move Vertex arrays and Buffers to GLobject 2021-03-20 16:08:55 -05:00
8d19f99fac [nostalgia/core/userland] Make Texture copy width and height on move 2021-03-20 15:58:51 -05:00
c2554cebdb [nostalgia/core/userland] Fix GLobject to destruct upon reassignment 2021-03-20 15:50:35 -05:00
6bdee3fc1c [nostalgia/core/userland] Add texture deletion 2021-03-20 15:47:32 -05:00
37ec5eccd0 [nostalgia/core/userland] Remove debug line 2021-03-20 15:33:00 -05:00
47a43fecb1 [nostalgia/core/userland] Cleanup shader cleanup with unique_ptr-like GLobject type 2021-03-20 15:31:13 -05:00
896a7a0a96 [nostalgia/core/userland] Replace FPS debug statement with info statement 2021-03-19 20:53:46 -05:00
f58abd9c3f [nostalgia/core] Cleanup and make FPS print a config.hpp option 2021-03-19 19:22:08 -05:00
1d1ce4d2cf [nostalgia/core/userland/gl] Add other 3 backgrounds 2021-03-18 20:29:52 -05:00
e36b123b33 [nostalgia/core/userland] Add bg control functions for GL 2021-03-18 20:19:37 -05:00
ba91de90fc [nostalgia/core] Move setTile implementation out of header 2021-03-18 20:12:08 -05:00
e76fbb0095 [nostalgia/core] Move color types and functions into separate file 2021-03-18 20:09:40 -05:00
9860fec00e [nostalgia/core/userland] Delete GL shaders when done 2021-03-18 19:43:08 -05:00
ff0a959793 [nostalgia/core/gba] Add functions for controlling background status 2021-03-18 19:31:33 -05:00
736b9342ea [nostalgia/core/sdl] Add tracepoint about vsync/adaptive vsync setting 2021-03-18 19:10:20 -05:00
bfca2193bc [nostalgia/core/sdl] Set OpenGL version 2021-03-18 19:06:21 -05:00
e56fa3a531 [nostalgia/core/userland] Cleanup some extraneous GL calls 2021-03-18 02:13:24 -05:00
c4b9858738 [nostalgia/core/sdl] Make attempt to use adaptive vsync and fall back on vsync 2021-03-18 02:02:40 -05:00
d34db292dc [nostlagia/core/userland] Add running of event handler to main loop 2021-03-18 01:52:36 -05:00
4956534af4 [nostalgia/core/userland] Make shader compile failures oxError and return error instead of panicing 2021-03-18 01:35:32 -05:00
dc1ead2af4 [nostalgia/core/userland] Cleanup 2021-03-17 21:45:34 -05:00
be3caf1818 [nostalgia/core/userland] Restore proper rendering of background 2021-03-17 21:30:30 -05:00
4796c2e0cb [nostalgia/core] Add support for getting screen dimensions 2021-03-17 21:28:06 -05:00
245424cfad [nostalgia/core/userland] Add VBO and EBO length back to array types 2021-03-17 01:40:03 -05:00
61cc30c475 [nostalgia/core/userland] Add OxClaw as dependency 2021-03-17 01:32:24 -05:00
d000c7f34f [nostalgia/core/userland] Fix Tile row skipping and move some non-SDL code into userland 2021-03-17 01:25:59 -05:00
23a7241622 [nostalgia/core/sdl] Cleanup 2021-03-16 21:15:54 -05:00
be31ad48a1 [nostalgia/core/userland] Fix Mac build 2021-03-15 22:02:24 -05:00
87b2963687 [nostalgia/core] Establish foundation for tile support in GL 2021-03-14 20:56:12 -05:00
3352625afe [nostalgia/core] Start port of PC gfx to OpenGL 2021-03-11 18:46:13 -06:00
f24a0a4aab [nostalgia] Add trace init 2021-03-08 20:12:41 -06:00
28e68adc75 [nostalgia/player] Cleanup dependency selection with generator expressions 2021-03-03 00:07:12 -06:00
936c922c1e [nostalgia] Address CLion warnings 2021-02-27 02:40:59 -06:00
44f4d67c80 [nostalgia] Address CLion recommendations 2021-02-26 08:55:40 -06:00
b3aa0eb59d [nostalgia/studio] Make NostalgiaStudio library static instead of a CMake object library 2021-02-22 22:23:29 -06:00
20ede1b2d7 [nostalgia/studio] Add namespacing to models 2021-02-21 00:14:43 -06:00
c399cb3f13 [nostalgia/studio] Cleanup 2021-02-20 23:17:55 -06:00
671acc68c4 [nostalgia/studio] Remove unused consts 2021-02-20 19:04:25 -06:00
ba4a854368 [nostalgia/core] Finish removing alpha bit from color 2021-02-02 19:24:59 -06:00
983a9b87d5 [nostalgia/core/studio] Remove alpha bit from PaletteEditor 2021-02-02 02:28:25 -06:00
17ead36d2f [nostalgia/scene] Add models for Doc types 2021-01-22 22:40:59 -06:00
9db256699d [nostalgia/core] Add a setSprite function that takes a Sprite type 2021-01-22 22:39:31 -06:00
c1239b5656 [nostalgia] Run liccor 2021-01-21 23:35:23 -06:00
f86558dc00 [nostalgia/core/studio] Make some const-ible methods in TileSheetEditor const 2021-01-21 00:39:59 -06:00
67cbe6ef7f [nostalgia/core/gba] Fix C++20 compatibility issues 2021-01-21 00:34:08 -06:00
d7b82a6eed [nostalgia/core/studio] Fix the TileSheetEditor color key overflow 2020-12-22 21:21:32 -06:00
45a27800b6 [nostalgia/studio] Bundle default profile in studio executable 2020-12-22 21:21:17 -06:00
d98a5e386a [nostalgia/core/studio] Make number keys map to color indices in TileSheetEditor 2020-12-18 00:04:34 -06:00
843da4a810 [nostalgia] Rename plugin references to module 2020-12-17 20:40:23 -06:00
dcef76b488 [nostalgia] Enable LTO 2020-12-17 20:23:28 -06:00
d09dc5cc01 [nostalgia] Remove dynamic library usage
Will make dynamically loaded Modules impossible, but they add complexity
and really aren't that useful...
2020-12-17 20:08:02 -06:00
7a837502a1 [nostalgia] Rename Studio Plugins to Modules, add support for builtin Studio modules, make existing modules builtin 2020-12-17 19:32:31 -06:00
6497b40e64 [nostalgia/core/gba] Remove err from panic message if err is 0 2020-12-15 23:59:13 -06:00
c038109806 [nostalgia/core/gba] Add sprite update buffer overflow assert 2020-12-15 23:45:54 -06:00
c7e053668e [nostalgia/scene] Start Scene package 2020-12-07 00:18:15 -06:00
a199cf113a [nostalgia/core/studio] Add Fill tool to TileSheetEditor 2020-12-07 00:11:23 -06:00
b07cbe89a1 [nostalgia] Correct plugin IDs 2020-12-06 03:16:34 -06:00
36e602b2b0 [nostalgia/core/studio] Make handle copy/cut/paste selections off tile lines 2020-12-06 03:04:03 -06:00
3dee59d048 [nostalgia] Set CMP0110 to NEW, this which allows spaces in test names 2020-11-21 23:25:44 -06:00
381f2b05e3 [nostalgia/core/gba] Remove unnecessary branch from isr 2020-11-10 23:29:10 -06:00
1d4f03823b [nostalgia] Move Auto-Moc settings to Qt project directories 2020-11-10 21:28:51 -06:00
30b1670658 [nostalgia] Remove cmake minimum version from a very simple CMakeLists.txt 2020-11-10 21:11:00 -06:00
5f4e6740cc [nostalgia] Fix MSVC build 2020-11-07 17:59:36 -06:00
3430e228c8 [nostalgia/core/studio] Make TileSheetClipboards that are passed around use heap 2020-10-21 00:59:22 -05:00
b960539e5f [nostalgia/core/studio] Fix TileSheetEditor cut to use undo stack 2020-10-21 00:47:46 -05:00
2580dbb7ab [nostalgia/core/studio] Add select and cut/copy/paste to TileSheetEditor 2020-10-20 22:19:48 -05:00
9effdad200 [nostalgia/studio] Add Cut action hook 2020-10-19 20:53:24 -05:00
47171f593c [nostalgia/common] Add != operator to Point 2020-10-19 19:42:34 -05:00
fdda3bd82d [nostalgia/studio] Add Copy/Paste hooks 2020-10-19 19:36:23 -05:00
5587ecf5e5 [nostalgia] Rename ValErr to Result 2020-10-16 19:43:17 -05:00
faadcae7e9 [nostalgia/core/studio] Add Mod Greater/Equal To menu to TileSheetEditor 2020-10-16 00:54:59 -05:00
d2eea8c2ec [nostalgia] Remove nodiscards from Error and ValErr functions 2020-10-15 23:58:49 -05:00
ec359a805e [nostalgia] Cleanup 2020-10-15 21:46:34 -05:00
40cf65d509 [nostalgia/player] Cleanup 2020-10-13 00:48:14 -05:00
2ba051906a [nostalgia/studio] Fix to clear open tabs before opening them on start 2020-10-13 00:34:15 -05:00
af71bef4f7 [nostalgia/studio] Fix Context to actually have tab parent 2020-10-12 20:01:21 -05:00
c671c8bd66 [nostalgia] Fix ignored ox::Error's 2020-10-11 19:13:39 -05:00
8204188008 [nostalgia/studio] Use QDark theme 2020-09-05 21:10:15 -05:00
87c428f422 [nostalgia/core/studio] Fix color selection change detection to work with dragging 2020-09-01 20:59:32 -05:00
fba4f6a543 [nostalgia/core/studio] Add 8 bit to 5 bit color conversion optiont to PaletteEditor 2020-08-29 17:25:54 -05:00
cef8c54515 [nostalgia/core/studio] Fix memory leaks 2020-08-28 21:38:06 -05:00
f15ad04d33 [nostalgia/core/studio] Add Move Up/Down buttons to PaletteEditor 2020-08-28 21:17:56 -05:00
88bbcc34e2 [nostalgia/core/sdl] Make only destroy textures that actually exist 2020-08-07 01:03:57 -05:00
be1a03c554 [nostalgia] Switch from conan to vcpkg 2020-08-05 20:21:07 -05:00
803b90d54c [nostalgia/core] Make sprite functions take core::Context argument 2020-07-29 00:04:21 -05:00
0d405ec88a [nostalgia/core] Add Context parameter to event_handler 2020-07-28 19:10:36 -05:00
80f98802b6 [nostalgia/core/gba] Add hideSprite and add flipX parameter to setSrpite 2020-07-28 19:09:24 -05:00
4ad959cd74 [nostalgia/core/gba] Re-order interrupt table to hit more common interrupt first 2020-07-25 23:12:48 -05:00
e2f1466e64 [nostalgia/core/gba] Cleanup 2020-07-18 17:00:49 -05:00
d9b0c2c42a [nostalgia/player] Make demo sprites user movable 2020-07-18 01:29:18 -05:00
bf2b08b262 [nostalgia/core/gba] Add sprite shape and size options 2020-07-18 01:24:26 -05:00
e8151ac037 [nostalgia/core/gba] Add user input support 2020-07-18 01:23:43 -05:00
72883285f2 [nostalgia/core/gba] Remove unused interrupt handlers 2020-07-17 01:49:23 -05:00
0051006795 [nostalgia/player] Add moving sprites 2020-07-17 01:39:29 -05:00