Commit Graph

699 Commits

Author SHA1 Message Date
b87c2f0c50 [nostalgia/core] Expand conversion system to allow raw-to-raw 2022-02-17 21:29:46 -06:00
fba203a1e7 [nostalgia/core] Add NostalgiaCore-Headless 2022-02-17 21:26:56 -06:00
3f446a64c5 [nostalgia/geo] Fix Vec2 test 2022-02-17 06:33:50 -06:00
77b270e084 [nostalgia/core] Change TileSheet version conv pixels copy to a move 2022-02-17 04:31:15 -06:00
7ac7909510 [nostalgia/core] Upgrade TileSheet format to support subsheets and add conversion system 2022-02-17 04:27:23 -06:00
3c44c86e91 [nostalgia/studio] Replace Editor opening error logging with oxErrorf 2022-02-17 04:27:04 -06:00
22216c66d6 [nostalgia/core/studio] Add color preview to color picker in TileSheetEditor 2022-02-16 20:52:34 -06:00
462375aa5d [nostalgia/core] Rename NostalgiaGraphic and NostalgiaPalette to TileSheet and Palette 2022-02-16 20:25:00 -06:00
75f0b3a606 [nostalgia/core/studio] Cleanup 2022-02-16 20:20:48 -06:00
5eea7abc4d [nostalgia/core] Fix NostalgiaGraphic::getPixel4Bpp 2022-02-16 20:18:17 -06:00
302dd23a36 [nostalgia/core/studio] Get Undo/Redo working 2022-02-16 20:17:33 -06:00
c92ecdf499 [nostalgia/studio] Get Undo/Redo working 2022-02-16 20:16:49 -06:00
72ce8ea4d9 [nostalgia/geo] Simplify Vec2 2022-02-16 20:16:16 -06:00
b7f726f4fd [nostalgia/core] Get TileSheetEditor's palette view working 2022-02-16 02:34:43 -06:00
c1a374ca04 [nostalgia/core/glfw] Add extra draw before waiting for event to handle possible user input 2022-02-16 02:32:27 -06:00
bb0592ade8 [nostalgia/core] Fix NostalgiaGraphic::setPixel 2022-02-16 02:11:27 -06:00
99cc853b94 [nostalgia/core/studio] Fix issue with pixel idx lookup in draw command 2022-02-14 01:38:56 -06:00
60e259ca34 [nostalgia/geo] Add comparison operators to Vec 2022-02-14 01:37:00 -06:00
0e041a666a [nostalgia/core/studio] Fix DrawCommand not to allow appending of duplicates 2022-02-13 23:49:44 -06:00
95f3c5b62a [nostalgia/core/studio] Cleanup to ensure ongoing draw command ending 2022-02-13 23:34:57 -06:00
d792e4c515 [nostalgia/core/studio] Put TileSheetEditor draw command in UndoCommand 2022-02-13 23:23:59 -06:00
4f69f027ef [nostalgia/studio] Make UndoCommand::redo execute as soon as pushed 2022-02-13 23:22:48 -06:00
3785d192f9 [nostalgia/geo] Add model to Vec2 2022-02-13 14:22:11 -06:00
71f70cb2e6 [nostalgia/world] Update models 2022-02-13 13:39:10 -06:00
f112f060c9 [nostalgia/geo] Rename library artifact to NostalgiaGeo 2022-02-13 12:07:18 -06:00
90723b718b [nostalgia/geo] Add iterators to Vec2 2022-02-13 12:04:58 -06:00
8774f1c062 [nostalgia/core/studio] Break out TileSheetEditor application logic 2022-02-13 11:17:57 -06:00
320df614a9 [nostalgia] Rename common package to geo 2022-02-13 04:03:10 -06:00
0aa71f1dbb [nostalgia/core/studio] Decouple core TileSheetEditor from ImGui 2022-02-13 03:34:12 -06:00
7370b23c9d [nostalgia/core/studio] Cleanup and decouple main TileSheetEditor drawing from ImGui 2022-02-13 02:25:14 -06:00
779dd1fd05 [nostalgia/core] Cleanup 2022-02-13 02:24:01 -06:00
41cebff5fc [nostalgia/core] Add Context buttonDown function 2022-02-13 02:23:00 -06:00
0e7a090d28 [nostalgia/common] Add Vec2 type 2022-02-13 02:18:53 -06:00
142c78db0e [nostalgia/core] Add missing change for constant refresh option 2022-02-12 16:06:58 -06:00
34221f086c [nostalgia] Update for compatibility with Ox changes 2022-02-12 14:39:04 -06:00
8847b2b2ed [nostalgia/core/glfw] Put wait for event in main loop to prevent processor waste 2022-02-10 21:31:00 -06:00
f9d3521fe7 [nostalgia/core] Change how gba_timer_t is configured 2022-02-10 21:28:54 -06:00
0841b56399 [nostalgia/core/gba] Fix code formatting error 2022-02-10 02:20:00 -06:00
2390ae9f7d [nostalgia/glutils] Make framebuffer default size 1x1 2022-02-10 02:17:23 -06:00
a64aa8b586 [nostalgia/studo] Misc cleanup 2022-02-10 02:04:38 -06:00
96e2510e64 [nostalgia/core/studio] Add scrolling support to TileSheetEditor 2022-02-04 22:51:17 -06:00
44df6df75d [nostalgia/core] Remove unnecessary file 2022-02-04 00:19:06 -06:00
f34a09351f [nostalgia/core/studio] Add some missing nodiscards 2022-02-04 00:06:07 -06:00
73dba0ce86 [nostalgia/core] Remove attribute list from Context friend function 2022-02-03 22:05:21 -06:00
a3643a4036 [nostalgia/core/userland] Replace std::array with ox::Array 2022-02-03 21:46:03 -06:00
7459d687b0 [nostalgia/core] Rename customData functions in Context and move them out of Context 2022-02-03 21:06:44 -06:00
c7cd54ae52 [nostalgia/core] Remove renderer funcions from Context friends 2022-02-03 20:48:58 -06:00
8174d04b06 [nostalgia] Collapse NostalgiaCore down to a single library and cleanup impl data access 2022-02-03 20:01:12 -06:00
be3d094f13 [nostalgia/studio] Remove unnecessary try/catch block 2022-02-03 00:39:40 -06:00
57164c1811 [nostalgia/glutils] Add missing assert.hpp include 2022-02-03 00:28:27 -06:00
d4e198ecc3 [nostalgia/core/studio] Add zoom support to TileSheetEditor 2022-02-03 00:24:40 -06:00
0d76129a0e [nostalgia/core/glfw] Fix keyboard support for ImGui 2022-02-01 02:15:49 -06:00
87c03c0d98 [nostalgia/studio] Fix closing of file dialog not to change cursor 2022-01-30 02:45:07 -06:00
35433563c6 [nostalgia] Upgrade ImGui version to 1.86 2022-01-30 02:27:26 -06:00
f6be36741c [nostalgia/core/studio] Add pixel outline to tile sheet editor 2022-01-30 01:43:27 -06:00
a139f19749 [nostalgia] Run liccor 2022-01-13 02:04:29 -06:00
439da668ae [nostaliga/core/gba] Cleanup 2021-12-18 17:50:07 -06:00
775008a513 [nostalgia] Start on new TileSheetEditor 2021-12-17 21:02:35 -06:00
0e73f75322 [nostalgia/common] Make models noexcept 2021-12-11 19:16:29 -06:00
20a8d34e11 [nostalgia/glutils] Upgrade non-Apple platforms to GLES 3.2 2021-12-11 19:16:29 -06:00
6da3d3b8f5 [nostalgia] Remove std::move calls that suppressed copy elision 2021-12-11 19:16:29 -06:00
e0364925a3 [nostalgia] Use requireTypeNameModel in place of getTypeNameModel where it makes sense 2021-12-11 19:16:29 -06:00
eef1bfcbd6 [nostalgia/core] Make AssetManager type name verification a static_assert 2021-12-11 19:16:29 -06:00
6e8bb8adc6 [nostalgia/studio] Fix closing last tab 2021-12-11 19:16:29 -06:00
d622ab380d [nostalgia/core/sdl] Fix SDL implementation of Core 2021-12-11 19:16:29 -06:00
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