Commit Graph

  • e32eb731c2 simplified interpolate move comparison condition Sara 2023-06-18 13:15:03 +0200
  • 0b32967c20 removed requirement for a evt_collision listener from _can_collide Sara 2023-06-18 13:13:35 +0200
  • 8ae7d302fe inverted _can_collide guard clause in interpolate_move Sara 2023-06-18 11:59:13 +0200
  • f8d69e3537 reversed order of operations in interpolate_move Sara 2023-06-18 11:39:16 +0200
  • 1748db8412 Merge pull request 'Correctly render sprites' (#5) from fix-render into main Sara 2023-06-18 09:24:13 +0000
  • d067ea6df8 default sprite origin in is now 0,0 #5 Sara 2023-06-16 13:35:33 +0200
  • 0a6242ef3c sprite origin is now applied to untransformed rect Sara 2023-06-14 18:50:55 +0200
  • a0cc95873e added .helix dir to ignore Sara 2023-06-14 18:50:00 +0200
  • eb39cb1432 added .nvimrc to gitignore Sara 2023-06-05 18:11:31 +0200
  • 17eef0eb20 added interpolate move Sara 2023-05-28 23:59:24 +0200
  • 6c16e8cdbd implemented simple aabb and circle collision Sara 2023-05-24 21:31:50 +0200
  • 42ee0c4a26 fixed error in comment Sara 2023-05-22 08:15:40 +0200
  • e03037acbe sprite x,y now defines location of origin on sprite Sara 2023-05-22 08:10:55 +0200
  • 89db4253ae sprites now support specifying flip Sara 2023-05-14 15:04:29 +0200
  • ce4638d1e9 origin now relative to dest size Sara 2023-05-14 14:58:34 +0200
  • 62b4515585 sprite origin now percentage of source rect Sara 2023-05-14 14:56:06 +0200
  • 04101f6427 fixed broken scaling in sprite rendering Sara 2023-05-14 14:46:12 +0200
  • 2e7b3d3c4a moved update_objects to after update_game Sara 2023-05-14 14:19:58 +0200
  • 44a4b6928c engine now uses displaymode to automatically start at desktop size Sara 2023-05-11 21:09:49 +0200
  • 4d4547551c make_spritesheet now works with number of tiles on x and y rather than tile width and height Sara 2023-05-11 21:09:23 +0200
  • 6fb60c254d renamed input_*down functions to input_get_*down Sara 2023-05-11 21:08:13 +0200
  • 0a37a3278d renamed input_event to input_notify_event to clarify the function Sara 2023-05-11 21:07:07 +0200
  • 22d0200d84 input internal variables and functions are now static and static inline respectively Sara 2023-05-11 21:05:46 +0200
  • 664e4561a0 removed testing code from game.c and player.h/player.c' (#4) merge cleanup-testing-code into main Sara 2023-05-11 17:52:39 +0000
  • 0894e9be27 removed todo file #4 Sara 2023-05-11 19:50:29 +0200
  • a6d63a1eef removed testing assets Sara 2023-05-11 19:50:25 +0200
  • dfcc030f4d removed player.c and player.h Sara 2023-05-11 19:50:14 +0200
  • ce8cf1a0ea removed load_game() because of redundancy with start_game Sara 2023-05-11 19:49:58 +0200
  • 1e184d43c7 world objects and input are now managed in engine.c rather than game.c Sara 2023-05-11 19:49:40 +0200
  • f7696c4ea8 moved world functionality to corelib Sara 2023-05-11 19:49:03 +0200
  • 51dcca73ab added ui element type #3 Sara 2023-05-09 12:51:29 +0200
  • 8fd411bc84 Merge branch 'main' into ui Sara 2023-05-08 10:19:15 +0000
  • b72d4ef88a added better game world representation (#2) Sara 2023-05-08 10:17:28 +0000
  • 9f9cc446fe switched testing player controller to wasd (from arrows) #2 Sara 2023-05-07 17:55:22 +0200
  • 8f7792c673 removed all references of ui module Sara 2023-05-07 17:55:08 +0200
  • 0bdfba4d11 added -DCMAKE_EXPORT_COMPILE_COMMANDS to debug and release build scripts Sara 2023-05-07 17:54:14 +0200
  • bb6dec40b6 started on ui library Sara 2023-05-07 16:11:17 +0200
  • 2a2ea2c784 compile_commands.json is now ignored Sara 2023-05-07 16:10:08 +0200
  • 1021d04013 fixed nan issue in player Sara 2023-05-07 16:09:19 +0200
  • 1034fff697 removed compile_commands.json Sara 2023-05-07 16:09:10 +0200
  • 7fc3439c9c removed breakpoint from debug script Sara 2023-05-07 16:08:25 +0200
  • d28305920f added inline to static functions Sara 2023-05-06 00:05:05 +0200
  • 76dbc26787 added breakpoint at main for debug Sara 2023-05-06 00:01:56 +0200
  • a55bf84aef engine internal functions are now static inline Sara 2023-05-05 23:27:08 +0200
  • 182cfc66cb added delta_time to engine.c Sara 2023-05-05 23:26:30 +0200
  • cc08588b17 internal asset functions are now static Sara 2023-05-05 23:23:41 +0200
  • 64b8dbcbf3 removed one use of memcpy and replaced with *a = *b Sara 2023-05-05 23:23:04 +0200
  • 2457858399 changed many of the functions to now be static Sara 2023-05-05 23:22:32 +0200
  • ee2dd74566 added updated game to test world Sara 2023-05-05 23:20:38 +0200
  • 6afac70411 added player to test world Sara 2023-05-05 23:20:23 +0200
  • 465551e981 replaced tilemap with world Sara 2023-05-05 23:20:07 +0200
  • 851714810c changed to single build directory and now using debug and build sh scripts Sara 2023-05-05 23:19:02 +0200
  • 3a4c037aa7 removed tilemap.csv Sara 2023-05-05 23:18:11 +0200
  • f076c061b6 Merge remote-tracking branch 'origin/main' into worlds Sara 2023-05-05 22:20:16 +0200
  • b898fd5b31 added return in guard clause for empty drawcmd buffer Sara 2023-05-05 22:17:28 +0200
  • 2b927259a8 draw(cmd) is now no longer in declared in header Sara 2023-05-05 22:14:30 +0200
  • 750b30aa89 no_sprite is now a #define for a all-zero sprite Sara 2023-05-05 22:14:01 +0200
  • 5e082fde44 Merge pull request 'added rudimentary text render functions' (#1) from text-rendering into main Sara 2023-04-26 06:39:14 +0000
  • 3a5ec4a0d1 finished basic text rendering #1 Sara 2023-04-26 00:34:11 +0200
  • 3c3c565bfa finished text scaling code Sara 2023-04-23 00:47:35 +0200
  • 5686c17fee started work on text rendering Sara 2023-04-21 00:27:05 +0200
  • 55311d0bb8 fixed translation issue with ninesliced images Sara 2023-04-21 00:26:36 +0200
  • 38e6908dc3 added -lm arg to CMakeLists Sara 2023-04-21 00:26:03 +0200
  • 4c4851546f now quitting sdl-ttf correctly Sara 2023-04-21 00:25:28 +0200
  • a5d9d5ec96 updated font asset handling Sara 2023-04-21 00:25:05 +0200
  • 57c507bb00 renamed font to ui_font Sara 2023-04-21 00:23:12 +0200
  • e178dcd919 started keeping todo list Sara 2023-04-20 23:04:21 +0200
  • dd40766fca added ninesliced and text rendering commands Sara 2023-04-20 23:04:04 +0200
  • 70d6ca6571 updated tilemap Sara 2023-04-20 23:00:36 +0200
  • d31c044d98 renamed tilemap.png to tileset.png Sara 2023-04-20 23:00:10 +0200
  • b9d0d70e5a removed C++ dependencies and reverted tilemap, engine and game files to C source files Sara 2023-04-20 22:59:34 +0200
  • 61f9de5256 remove mouse listener min delta param Sara 2023-04-20 22:57:51 +0200
  • fb6b76f0cf removed add_*_listener return types / added scroll input event type Sara 2023-04-20 22:57:10 +0200
  • 85182ed22c added more by-name asset lookup options Sara 2023-04-20 22:55:05 +0200
  • 6c46754e35 added ibm plex mono regular Sara 2023-04-20 22:54:33 +0200
  • 37dd03a5bb removed old tilemap ase file Sara 2023-04-20 10:12:29 +0200
  • 38ceb9275d added button image for nineslicing Sara 2023-04-20 10:11:18 +0200
  • 2777969bdb started keeping a todolist Sara 2023-04-20 10:11:00 +0200
  • 6d27dd4c12 added font file and arbitrary memory asset types Sara 2023-04-20 10:10:27 +0200
  • bd5481dd93 modified testing tilemap Sara 2023-04-11 08:12:11 +0200
  • 6fc06012b6 updated ui input function Sara 2023-04-11 08:11:56 +0200
  • 8d644c6d4c reordered spritesheet loading to be more userfriendly Sara 2023-04-11 08:11:21 +0200
  • c22c090c42 increased default tilemap size to 128 Sara 2023-04-11 08:10:46 +0200
  • 783c545244 increased max drawcmd count Sara 2023-04-11 08:08:59 +0200
  • 3196f8dacc renamed project in CMake Sara 2023-04-11 08:08:38 +0200
  • 89cc8b9969 fixed out of bounds write in load_tilemap Sara 2023-04-11 08:07:26 +0200
  • 34593e0701 added comments to render-related structs Sara 2023-04-10 16:57:59 +0200
  • 9dbb5a1566 further fixes to render ordering Sara 2023-04-10 16:57:45 +0200
  • 3e8eef4200 added debug render frame flag Sara 2023-04-10 16:57:09 +0200
  • 96ffaf5f9e added ui layers and made all layers relative to sprites at zero Sara 2023-04-10 16:56:30 +0200
  • 4b080adfde added more controls and generalized tile previews Sara 2023-04-10 16:55:33 +0200
  • f4ccfd43a7 removed draw_ functions and replaced with just update_ Sara 2023-04-10 16:54:05 +0200
  • 94d39e2913 reworked tileset Sara 2023-04-10 16:53:23 +0200
  • c9c5cf4935 fixed bad condition causing incorrect ordering on ui Sara 2023-04-10 13:27:12 +0200
  • 307732dd05 new tilemap Sara 2023-04-10 00:15:37 +0200
  • e6a011c12b got my shit in order regarding tilemaps Sara 2023-04-10 00:14:53 +0200
  • 544e604349 updated includes Sara 2023-04-08 00:26:52 +0200
  • 3ffa531b55 created corelib folder Sara 2023-04-08 00:23:30 +0200
  • 6e09b0f61e improved layering Sara 2023-04-07 23:25:46 +0200
  • 93b6b898cf added more extern C markers to keep as muh of the libraries C Sara 2023-04-07 21:13:54 +0200