Commit Graph

734 Commits

Author SHA1 Message Date
a6983ce53b [nostalgia/core] Add object clipboard in addition to text clipboard 2022-03-10 20:41:22 -06:00
92651973ce [nostalgia/studio] Hook up Copy/Cut/Paste commands 2022-03-10 20:40:51 -06:00
4dd1d4331b [nostalgia/geo] Fix Point + and * operators to return the computed result 2022-03-10 19:43:28 -06:00
b502b8cc30 [nostalgia/core/studio] Add ability to select pixels for copy/paste 2022-03-10 02:39:22 -06:00
3486734b50 [nostalgia/geo] Add ability to init Bounds from two Points 2022-03-10 02:38:25 -06:00
0b6a36bedc [nostalgia/studio] Make opening a new project close all currently open files 2022-03-06 14:57:19 -06:00
e4f3ec52d0 [nostalgia/core/studio] Add initialization for SubSheetEditor show var 2022-03-06 01:23:01 -06:00
e0b2f37925 [nostalgia/core/studio] Adjust size of SubSheet Editor in cases without size input 2022-03-05 18:29:50 -06:00
94653cb9af [nostalgia/core] Fix TileSheet::SubSheet::setPixelCount 2022-03-05 18:27:45 -06:00
b225d976f5 [nostalgia/core/studio] Cleanup 2022-03-05 17:49:12 -06:00
f40c912365 [nostalgia/core] Cleanup reading of SubSheet::pixels 2022-03-05 16:00:32 -06:00
20a61de9fd [nostalgia/core/studio] Fix subsheet editor to allocate correct number of pixels 2022-03-05 15:51:39 -06:00
2f7c62f2ef [nostalgia/core/studio] Add SubSheet editor 2022-03-05 11:40:54 -06:00
921cb97a14 [nostalgia/core] Make clicks trigger 10 refreshes 2022-03-05 11:40:05 -06:00
4966aaffe4 [nostalgia/studio] Make About modal and ProjectExplorer hide-able 2022-03-05 11:39:13 -06:00
191298a4ca [nostalgia/core/studio] Change some lambdas to capture by reference 2022-03-03 19:24:55 -06:00
ebb7d54403 [nostalgia/core] Fix TileSheet::validateSubSheetIdx 2022-03-03 19:24:24 -06:00
e8a046c2dc [nostalgia] Add basic support for subsheets 2022-02-26 22:48:18 -06:00
9762a38a44 [nostalgia/core] Make readObj move output object instead of copy 2022-02-26 10:12:25 -06:00
294c4547d0 [nostalgia/core] Remove TileSheet::SubSheet::size 2022-02-23 22:12:41 -06:00
778cb78f31 [nostalgia/studio] Add creation of StudioContext 2022-02-21 20:11:48 -06:00
4843e28b9a [nostalgia/studio] Add StudioContext 2022-02-21 20:05:51 -06:00
9bd10bac78 [nostalgia/geo] Cleanup geo package 2022-02-21 20:02:27 -06:00
9b1275e704 [nostalgia/core/studio] Add support for TileSheetEditor unsaved changes status 2022-02-21 20:00:21 -06:00
bc9b896d3d [nostalgia/studio] Add missing Signal to UndoStack 2022-02-21 19:58:03 -06:00
917d88f997 [nostalgia/core/studio] Make TileSheetEditorModel write type descriptor 2022-02-21 19:55:24 -06:00
5c28ebe6d7 [nostalgia/studio] Fix UndoStack to trigger signals on initial command push 2022-02-21 19:43:10 -06:00
d14bab7abd [nostalgia/studio] Add missing Editor header to studioapp.hpp 2022-02-21 02:26:09 -06:00
3dd60965c4 [nostalgia] Replace delete with safeDelete 2022-02-21 02:21:03 -06:00
05224e3fb5 [nostalgia/studio] Remove unnecessary c_str conversion 2022-02-20 20:07:33 -06:00
b517cf6858 [nostalgia/core/studio] Cleanup TileSheetEditorModel update tracking 2022-02-19 03:06:18 -06:00
db2a225855 [nostalgia/studio] Add redo and undo triggered signals to UndoStack 2022-02-19 03:05:45 -06:00
56ec063658 [nostalgia/studio] Get save working 2022-02-19 01:45:37 -06:00
713f5c4bce [nostalgia/core] Add ability to chain converters 2022-02-18 00:54:10 -06:00
00852fad5a [nostalgia/tools/pack] Add conversion from TileSheet to CompactTileSheet 2022-02-17 21:31:25 -06:00
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