Commit Graph

569 Commits

Author SHA1 Message Date
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
dc0667ade4 [nostalgia/core/gba] Fix event cycle and add to setter for event handler 2020-07-17 01:36:51 -05:00
a58467f327 [nostalgia/core/gba] Fix timer addresses 2020-07-15 22:01:09 -05:00
f10d318e54 [nostalgia/core/gba] Add wfi functions 2020-07-15 01:41:04 -05:00
d73bbfb37a [nostalgia/core/gba] Fix timer frequency 2020-07-14 02:53:20 -05:00
0318ba92ce [nostaliga/core/gba] Cleanup 2020-07-14 01:18:49 -05:00
745ea4a0ed [nostalgia/core] Add ticksMs() function 2020-07-14 01:09:47 -05:00
408d4c8fa1 [nostalgia/core] Make setSprite use word size 2020-07-13 02:21:16 -05:00
7e565a3162 [nostalgia/core/gba] Add sprite support 2020-07-13 00:25:45 -05:00
22a07afa9e [nostalgia/core/gba] Implement ISR 2020-07-10 00:05:39 -05:00
4f79310084 [nostalgia/core] Fix NostalgiaCore library install location 2020-07-09 23:16:35 -05:00
5142b20036 [nostalgia/core/gba] Cleanup 2020-06-29 11:40:24 -05:00
e91e9ad58f [nostalgia/core] Cleanup 2020-06-29 11:30:19 -05:00
30ac257d95 [nostalgia/core/gba] Make sizing a scale factor of the GBA 2020-06-23 08:11:57 -05:00
0de5d6b6c0 [nostalgia/core/gba] Cleanup interrupt globals 2020-06-21 13:47:06 -05:00
89aadfb606 [nostalgia/core/gba] Add IRQ system 2020-06-21 11:49:58 -05:00