Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | map: Fix shift overflow warningHEADmaster | P. J. McDermott | 2023-02-25 | 1 | -4/+4 |
| | | | | | | | src/resources/map.c: In function ‘tmx_data_end’: src/resources/map.c:541:35: warning: result of ‘255 << 24’ requires 33 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] 541 | (decomp_buf[i * 4 + 3] & 0xFF << 030); | ^~ | ||||
* | ffi: Eliminate call_arg_index static global var | P. J. McDermott | 2023-02-24 | 3 | -32/+32 |
| | |||||
* | ffi: Reset arg index on each Lua->C function call | P. J. McDermott | 2023-02-24 | 1 | -0/+2 |
| | |||||
* | bindings: Make variables not static global | P. J. McDermott | 2023-02-24 | 3 | -12/+8 |
| | |||||
* | ffi: Print full name with namespaces in warnings | P. J. McDermott | 2023-02-24 | 2 | -22/+42 |
| | |||||
* | ffi: Fix missing args in warnings about args | P. J. McDermott | 2023-02-24 | 3 | -26/+37 |
| | | | | Irony, eh? | ||||
* | demo: Fix format specifier | P. J. McDermott | 2023-02-24 | 1 | -1/+1 |
| | |||||
* | Add function attributes | P. J. McDermott | 2023-02-24 | 4 | -8/+12 |
| | |||||
* | palettes: Don't try to force inlining | P. J. McDermott | 2023-02-24 | 1 | -4/+4 |
| | |||||
* | demo: Prevent potential null pointer dereferences | P. J. McDermott | 2023-02-24 | 1 | -0/+6 |
| | |||||
* | demo: Exclude delay time from benchmark | P. J. McDermott | 2023-02-23 | 1 | -5/+7 |
| | |||||
* | init_viewport_lua(): Remove | P. J. McDermott | 2015-08-25 | 2 | -15/+0 |
| | |||||
* | src/script.[ch]: Remove | P. J. McDermott | 2015-08-25 | 3 | -65/+0 |
| | |||||
* | src/game.h: Update #incude directive | P. J. McDermott | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | game_run(): Use FFI functions | P. J. McDermott | 2015-08-25 | 1 | -1/+4 |
| | |||||
* | src/scripting/ffi.c: Fix stack index | P. J. McDermott | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | src/scripting/ffi.c: Fix variable | P. J. McDermott | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | init(): Initialize bindings | P. J. McDermott | 2015-08-25 | 1 | -0/+4 |
| | |||||
* | script_get(): Register bindings | P. J. McDermott | 2015-08-25 | 1 | -2/+2 |
| | |||||
* | Add bouken.viewport bindings | P. J. McDermott | 2015-08-25 | 4 | -3/+55 |
| | |||||
* | Finish Lua->C FFI setup | P. J. McDermott | 2015-08-25 | 1 | -1/+23 |
| | |||||
* | Save pointer to namespace struct in bindings TU | P. J. McDermott | 2015-08-25 | 3 | -4/+9 |
| | |||||
* | Add "bouken" namespace to bindings | P. J. McDermott | 2015-08-25 | 4 | -0/+56 |
| | |||||
* | Add incomplete FFI code | P. J. McDermott | 2015-08-25 | 4 | -0/+295 |
| | |||||
* | Manage scripts as resources | P. J. McDermott | 2015-08-25 | 6 | -42/+120 |
| | |||||
* | Name package and program "boukengine" | P. J. McDermott | 2015-08-24 | 2 | -2/+2 |
| | |||||
* | src/area.c: Include "resources/tileset.h". | P. J. McDermott | 2013-11-18 | 1 | -0/+1 |
| | |||||
* | Split up src/resources/map.c. | P. J. McDermott | 2013-11-18 | 7 | -362/+474 |
| | | | | | | | | | src/resources/map.c defines map parsing functions. src/resources/tileset.c defines tileset (internal or external) parsing functions. src/resources/tmx.c defines common parsing functions. Also, tileset_get() is now non-static. | ||||
* | usage(): Mention "games/hello". | P. J. McDermott | 2013-11-16 | 1 | -1/+1 |
| | |||||
* | Expose init_viewport() to Lua scripts. | P. J. McDermott | 2013-11-16 | 3 | -0/+20 |
| | |||||
* | Add code to load and initialize games. | P. J. McDermott | 2013-11-16 | 4 | -0/+93 |
| | |||||
* | Add basic scripting interface. | P. J. McDermott | 2013-11-16 | 3 | -0/+101 |
| | |||||
* | Move demo out of main(). | P. J. McDermott | 2013-11-15 | 4 | -122/+197 |
| | |||||
* | src/main.c: Make days longer. | P. J. McDermott | 2013-11-14 | 1 | -1/+1 |
| | | | | | Walking through this forest used to take two days. Now it takes just one. | ||||
* | src/main.c: Add another shortcut to the demo. | P. J. McDermott | 2013-11-14 | 1 | -2/+2 |
| | | | | This is more realistic; players are lazy pedestrians. | ||||
* | src/resources/local.mk: Add header files. | P. J. McDermott | 2013-11-12 | 1 | -1/+5 |
| | |||||
* | src/local.mk: Add header files. | P. J. McDermott | 2013-11-12 | 1 | -1/+9 |
| | |||||
* | src/resources/local.mk: Sort source file names. | P. J. McDermott | 2013-11-12 | 1 | -2/+2 |
| | |||||
* | src/local.mk: Sort source file names. | P. J. McDermott | 2013-11-12 | 1 | -6/+6 |
| | |||||
* | src/area.c: Change color of demo "sprite". | P. J. McDermott | 2013-11-12 | 1 | -1/+1 |
| | |||||
* | src/main.c: Demo new map. | P. J. McDermott | 2013-11-12 | 1 | -15/+19 |
| | |||||
* | Use sdlex_SOURCES in makefile fragments. | P. J. McDermott | 2013-11-02 | 2 | -4/+3 |
| | |||||
* | src/resources/local.mk: Adjust indentation. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | src/local.mk: Adjust indentation. | P. J. McDermott | 2013-11-02 | 1 | -10/+10 |
| | |||||
* | src/resources/local.mk: Remove .h files. | P. J. McDermott | 2013-11-02 | 1 | -4/+4 |
| | |||||
* | src/local.mk: Remove .h files. | P. J. McDermott | 2013-11-02 | 1 | -8/+8 |
| | |||||
* | Rename Makefile.am files to local.mk. | P. J. McDermott | 2013-11-02 | 2 | -1/+1 |
| | |||||
* | Add copyright and license headers. | P. J. McDermott | 2013-11-01 | 25 | -0/+450 |
| | |||||
* | src/main.c: It's summer somewhere... | P. J. McDermott | 2013-03-05 | 1 | -5/+19 |
| | |||||
* | Change the viewport size. | P. J. McDermott | 2013-03-05 | 2 | -3/+3 |
| |