Commit Graph

446 Commits

Author SHA1 Message Date
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
0698353fbf [nostalgia/core/studio] Fix TileSheetEditor crash on save after increasing grid size 2020-06-19 01:41:42 -05:00
d4983cf3c6 [nostalgia/studio] Replace garbage last character with \n 2020-06-17 01:43:10 -05:00
fc246ee396 [nostalgia/pack] Make pack ignore /.nostalgia 2020-06-17 01:36:01 -05:00
167e470091 [nostalgia/studio] Remove garbage last character in OC files 2020-06-16 05:43:44 -05:00
dae719f78a [nostalgia/studio] Make OxFS tree view hide files starting with . 2020-06-16 05:01:49 -05:00
df96407669 [nostalgia/studio] Make Project write out type data with data 2020-06-16 04:42:18 -05:00
f8fb458e32 [nostalgia] Change Claw type IDs to domain based namespaces 2020-06-15 23:15:49 -05:00
0eaf54bd22 [nostalgia/tools/pack] Cleanup debug code 2020-06-15 04:44:07 -05:00
978dd70770 [nostalgia] Switch tools to use Claw 2020-06-15 01:40:59 -05:00
9a49761c01 [nostalgia/core/sdl] Switch from MC to Claw 2020-06-15 01:38:28 -05:00
5c5c62dc55 [nostalgia/core/studio] Fix TileSheetEditor not to display context menu when right click is not on tile 2020-06-13 03:37:38 -05:00
f86d0e697a [nostalgia/studio] Replace deprecated call for Qt 5.15 2020-06-05 19:42:37 -05:00
98a0c42040 [nostalgia/core/gba][ox/std] Move heap manager from NostalgiaCore to OxStd 2020-05-29 19:44:10 -05:00
0eb33f823c [nostalgia/core/gba] Fix GBA build issues 2020-05-17 04:20:59 -05:00
86652ca8d4 [nostalgia] Fix Mac build 2020-05-09 18:44:37 -05:00
bae54a906b [nostalgia] Add CMake option to disable engine build 2020-05-04 18:22:42 -05:00
6af681bad6 [nostalgia/core] Enable sign conversion warning publicly 2020-04-16 23:51:06 -05:00
9b84d9d8e0 [nostalgia/world] Fix sign conversion 2020-04-16 23:50:30 -05:00
4694bb9dd7 [nostalgia/tools/pack] Fix sign conversion 2020-04-16 23:49:08 -05:00
f758566041 [nostalgia/studio] Add PathExistsValidator 2020-04-16 23:47:08 -05:00
cef5fcd86f [nostalgia/core/userland] Enable sign-conversion warning 2020-04-16 23:44:06 -05:00
8e297f32d4 [nostalgia/core] Move Nostalgia graphics type models to new setTypeInfo 2020-04-16 23:40:22 -05:00
be16229bf7 [nostalgia/core/sdl] Initialize texture lists 2020-04-16 23:39:18 -05:00
4064592acc [nostalgia/core/studio] Remove implicit sign conversions 2020-04-07 22:27:28 -05:00
b9c2f3631d [nostalgia/core] Remove implicit sign conversions 2020-04-07 22:10:34 -05:00
a74cd1c926 [nostalgia/core/studio] Fix build error in NewTileSheetWizard 2020-04-02 00:58:40 -05:00
5189fefaa1 [nostalgia/core/studio] Move NewTileSheetWizard validation to accept 2020-03-31 22:01:32 -05:00
23c8a5eefc [nostalgia/core] Remove unused file 2020-03-31 21:55:06 -05:00
90c83a492c [nostlgia/core/studio] Implement add color button for PaletteEditor 2020-03-31 21:52:53 -05:00
64ee637b74 [nostalgia/core/studio] Add NewPaletteWizard and implement NewTileSheetWizard 2020-03-31 21:11:41 -05:00
5cec2cf819 [nostalgia/studio] Add project path to file name function 2020-03-31 21:10:40 -05:00
33047fc047 [nostalgia/core/studio] Remove Tile Count field from tile sheet importer 2020-03-30 23:00:44 -05:00
74ef768b6f [nostalgia/core/studio] Add missing override 2020-03-30 20:51:37 -05:00
d457d9688c [nostalgia/studio] Make open tab errors print file and line 2020-03-30 20:50:51 -05:00
267f8eca67 [nostalgia/core/studio] Fix magic numbers in imgconv and make it figure out tile sheet dimensions 2020-03-30 20:49:02 -05:00
e7ae031ce7 [nostalgia/core/studio] Cleanup 2020-03-30 20:09:45 -05:00
5f0217545c [nostalgia/core/studio] Make TileSheetEditor not highlight color cell 2020-03-30 00:43:54 -05:00
5a5905d257 [nostalgia/core/studio] Fix TileSheetEditor to clear pixel data on reload 2020-03-29 23:48:07 -05:00
2e7a81563d [nostalgia/core/studio] Add PaletteEditor 2020-03-29 23:38:32 -05:00
4c6e053e81 [nostalgia/core/studio] Make TileSheetEditor reload when the current palette is updated 2020-03-29 19:00:02 -05:00
11cb4d5a44 [nostalgia/core] Add color 16 functions 2020-03-29 13:35:23 -05:00
a81582d3cd [nostalgia/studio] Make Editor's itemName and exportable const 2020-03-29 13:34:10 -05:00
1d8f8566c5 [nostalgia/core/studio] Fix ng export to only attempt export if output file is given 2020-03-29 13:31:19 -05:00
5f8104efea [nostalgia/core/studio] Make color selection table uneditable 2020-03-27 20:43:35 -05:00
5cc96228f4 [nostalgia/core/studio] Fix drag left click not to update tile sheet 2020-03-27 20:43:17 -05:00
e65e4e44cb [nostalgia/core/studio] Cleanup 2020-03-26 01:39:02 -05:00
8d4fc0e346 [nostalgia/core/studio] Add ability to export tile sheet to png 2020-03-26 01:21:19 -05:00
cd5c3afce7 [nostalgia/common] constexpr-ize Point 2020-03-26 01:19:08 -05:00
a2c012ead4 [nostalgia][core][sdl] Fix bug in loading 8 bpp ng files 2020-03-25 02:05:09 -05:00
26747a6d0f [nostalgia/studio] Add Export menu item and hook 2020-03-24 21:42:42 -05:00
f90a6e30ea [nostalgia/studio] Move undo stack to Editor 2020-03-23 23:25:05 -05:00
362aeef3c7 [nostalgia/core/studio] Remove option for bundled tile sheet palette 2020-03-23 01:48:28 -05:00
350b4ad6c2 [nostalgia/core/sdl] Make draw always report FPS to oxTrace 2020-03-23 01:22:58 -05:00
887167add2 [nostalgia/core/sdl] Add sleep 1 ms to main loop 2020-03-22 21:57:17 -05:00
4dab05aef5 [nostalgia/core/qt] Add missing return nostalgia::core::shutdownGfx 2020-03-22 19:01:45 -05:00
43318acffa [nostalgia/core] Make load tile sheet default to defaultPalette 2020-03-22 18:56:52 -05:00
6d2155d1ed [nostalgia/core] Add support for implementation data to Context and move SDL data to it 2020-03-22 18:30:33 -05:00
0e2276bab8 [nostalgia/core] Add pragma once to context.hpp 2020-03-22 17:53:59 -05:00
95d58d04fb [nostalgia/core/studio] Fix delete tile undo to restore pixel data 2020-03-22 02:06:21 -05:00
7ae0befc37 [nostalgia/core/studio] Add delete tile 2020-03-22 01:34:09 -05:00
5aeddd87e3 [nostalgia/core/studio] Add ability to insert tile 2020-03-22 01:24:53 -05:00
4f3497326f [nostalgia/core/studio] Make default palette changes save to NostalgiaGraphics 2020-03-19 19:34:32 -05:00
80aae23dc0 [nostalgia/studio] Cleanup 2020-03-19 19:33:55 -05:00
2f4868f59e [nostalgia/core/studio] Add ability for TileSheetEditor to switch palettes 2020-03-19 02:09:26 -05:00
c45ec45457 [nostalgia/core/sdl] Add disabled FPS logging 2020-03-19 02:08:30 -05:00
464b541f67 [nostalgia/tools/pack] Cleanup 2020-03-19 01:54:14 -05:00
e1d3fe0d6b [nostalgia/studio] Add ability to subscribe to updates to files 2020-03-19 01:52:31 -05:00
317cfabc72 [nostalgia/core/gba] Update NostalgiaGraphic format 2020-03-11 19:02:28 -05:00
5ac257de48 [nostalgia/core/userland] Remove mem.cpp 2020-03-11 18:55:18 -05:00
6ada347ec4 [nostalgia/studio] Cleanup save hooks and add unsaved changes marker to tabs 2020-03-11 00:20:40 -05:00
bf00ff0e41 [nostalgia/core] Add ability to save tile sheets and store columns and rows in ng file 2020-03-11 00:17:07 -05:00
748fea3d43 [nostalgia/core/studio] Stub out saveItem in TileSheetEditor 2020-02-29 00:31:43 -06:00
320d8c1143 [nostalgia/studio] Add save action and cleanup 2020-02-29 00:28:32 -06:00
eddf89a321 [nostalgia/studio] Fix timing of setting HiDPI options 2020-02-25 20:30:36 -06:00
fb5cd6603f [nostalgia/core/gba] Cleanup class/struct inconsistency 2020-02-25 20:29:33 -06:00
4fa431c10b [nostalgia/studio] Add missing include 2020-02-25 20:28:59 -06:00
7ca34da417 [nostalgia/core/studio] Replace TileSheetEditor ScrollView scrolling with manual version 2020-02-25 20:26:35 -06:00
aecb6d55e4 [nostalgia/core/studio] Add null check needed in the destruction phase 2020-02-16 13:55:22 -06:00
2fb0ddf709 [nostalgia/studio] Fix JSON errors to only display when error occurs 2020-02-16 13:45:06 -06:00
1269ee7fad [nostalgia] Fix oxPanic parameter order 2020-02-16 02:06:05 -06:00
2a1919208d [nostalgia/studio] Remove debug code 2020-02-16 01:55:32 -06:00
debb3eb981 [nostalgia/studio] Get Studio running with MSVC 2020-02-16 01:45:37 -06:00
5c710051c5 [nostalgia/studio] Fix symbol export issues for MSVC 2020-02-15 12:34:31 -06:00
0abc07e31b Merge branch 'master' of github.com:gtalent/nostalgia 2020-02-15 11:53:52 -06:00
1ec8d721f1 [nostalgia/studio] Get building in MSVC 2020-02-15 11:53:39 -06:00
cdf62cbb98 [nostalgia] Get building in MSVC 2020-02-12 22:04:35 -06:00
a66f1499a4 [nostalgia/core/gba] Move cstartup.cpp back to gbastartup 2020-02-12 01:56:43 -06:00
29734d5ee1 [nostalgia/tools/pack] Fix oxAssert to use new parameter order 2020-02-11 21:58:24 -06:00
2c582617e3 [nostalgia/core] Always run GBA CMake file and add media.cpp 2020-02-11 21:48:48 -06:00
87968a87f0 [nostalgia/core/gba] Fix memory range 2020-02-11 21:47:48 -06:00
9d4d3cd331 [nostalgia/core/gba] Move cstartup.cpp to NostalgiaCore-GBA 2020-02-11 21:45:48 -06:00
90f94dbfc2 [nostalgia/core] Add PassthroughFS support to loadRomFs 2020-02-11 21:34:55 -06:00
fffc66f18b [nostalgia/core/gba] Add test for malloc and unify panic systems 2020-02-11 21:17:10 -06:00
afab2f6878 [nostalgia/core] Add loadRomFs 2020-02-01 00:47:08 -06:00
54a78ff04e [nostalgia/core/gba] Rewrite heap allocator 2020-01-31 23:53:20 -06:00
41030161df [nostalgia/core/gba] Change type of MEM_ROM 2020-01-25 00:08:25 -06:00
2d4f1054fd [nostalgia/tools/pack] Replace oxAssert with oxPanic where error is known 2020-01-25 00:07:06 -06:00
22680ffaf0 [nostalgia] Cleanup unnecessary cast 2020-01-24 23:21:25 -06:00
892fec6905 [nostalgia/tools/pack] Cleanup 2020-01-24 23:09:48 -06:00
a2c8df83c6 [nostalgia/tools/pack] Remove using namespaces 2020-01-24 22:57:28 -06:00
70925cbde4 [nostalgia/pack] Cleanup error handling and file I/O 2020-01-24 22:29:35 -06:00
e38cf01f07 [nostalgia/core/userland] Replace C file I/O with C++ file I/O to comply with handbook 2020-01-24 19:04:48 -06:00
1e879b93b7 [nostalgia] Remove remaining C-style casts 2020-01-14 18:50:30 -06:00
6287663957 [nostalgia] Make GBA builds use Ninja 2020-01-14 18:36:47 -06:00
1d49c965fe [nostalgia/player] Remove unused CMake target 2020-01-14 18:36:26 -06:00
0f3b71e63f [nostalgia/player] Explicitly run FS desctructor, as it is allocated with alloca 2020-01-12 20:54:32 -06:00
1890b4101e [nostalgia/player] Make no-FS case an error 2020-01-12 20:47:53 -06:00
bda4e643af [nostalgia/player] Cleanup main 2020-01-12 20:46:12 -06:00
04727ae57a [nostalgia/core] Add unloadRom function 2020-01-12 20:44:57 -06:00
2fab740bf5 [nostalgia/core] Remove common as dependency 2020-01-07 18:34:54 -06:00
5f4cff3c00 [nostalgia/core/studio] Add changing of column/row display configuration 2020-01-04 19:54:33 -06:00
038f0ee493 [nostalgia/studio] Move OxFSTreeView out of Studio lib 2020-01-01 19:30:07 -06:00
e050339311 Merge branch 'conan' 2019-12-31 17:43:24 -06:00
2049931937 [nostalgia/core] Cleanup color channel conversion 2019-12-31 17:34:34 -06:00
0d46cee20d [nostalgia] Get building with Conan 2019-12-30 22:51:35 -06:00
bd1fc01ca1 [nostalgia/core/studio] Obsolete UpdatePixelCommands that change nothing 2019-12-22 21:35:00 -06:00
1499f42361 [nostalgia/core/studio] Cleanup pixel data QML exposure 2019-12-15 00:37:06 -06:00
edae4563ff [nostalgia/studio] Cleanup main 2019-12-07 02:14:24 -06:00
c6ecbd6d12 [nostalgia/studio] Actually add studio::Editor... 2019-12-06 23:46:12 -06:00
536435c057 [nostalgia/core/studio] Fix undo operation in TileSheetEditor 2019-12-06 23:28:18 -06:00
ecde378aba [nostalgia/studio] Hook up QUndoGroup in MainWindow to tabs 2019-12-06 23:27:36 -06:00
dd3e5913ed [nostalgia/core/studio] Make TileSheetEditor a studio::Editor 2019-12-06 19:23:45 -06:00
641c6ae637 [nostalgia/studio] Add studio::Editor type as base type for editors 2019-12-06 19:22:07 -06:00