Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | db_main_menu(): New function | P. J. McDermott | 2021-03-18 | 4 | -21/+91 |
| | | | | Factored out of main() | ||||
* | main: Add dir and SDL struct accessor functions | P. J. McDermott | 2021-03-18 | 3 | -0/+63 |
| | |||||
* | main: Make some variables static global | P. J. McDermott | 2021-03-18 | 1 | -32/+32 |
| | |||||
* | db_strcat(): New function | P. J. McDermott | 2021-03-18 | 3 | -0/+70 |
| | |||||
* | main: Refactor into functions | P. J. McDermott | 2021-03-18 | 1 | -38/+67 |
| | |||||
* | main: Create window, renderer, and texture | P. J. McDermott | 2021-03-18 | 1 | -0/+38 |
| | |||||
* | main: Find fonts dir | P. J. McDermott | 2021-03-18 | 1 | -0/+3 |
| | |||||
* | fonts: Add Ubuntu Titling font | P. J. McDermott | 2021-03-18 | 3 | -1/+23 |
| | |||||
* | dodge-balls.sh, suppr.txt: Ignore leaks in libs | P. J. McDermott | 2021-03-18 | 2 | -0/+4 |
| | | | | | | | Each pattern is substring-matched against the symbolized stack trace of the leak: https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer | ||||
* | main: Initialize and quit SDL and SDL_ttf | P. J. McDermott | 2021-03-18 | 1 | -0/+17 |
| | |||||
* | main: Add comments and newlines | P. J. McDermott | 2021-03-18 | 1 | -0/+23 |
| | |||||
* | build: Don't ln games/classic/tileset.xcf | P. J. McDermott | 2021-03-18 | 1 | -1/+1 |
| | | | | It isn't needed to run in place. | ||||
* | build: Don't clean source files in in-tree build | P. J. McDermott | 2021-03-18 | 3 | -1/+10 |
| | |||||
* | build: s/ -I/ -isystem/g in libraries' CFLAGS | P. J. McDermott | 2021-03-17 | 1 | -0/+10 |
| | | | | | | | | | | | | This suppresses warnings in libraries' headers, like: CC src/dodge_balls-game.o In file included from src/xml.h:24:0, from src/game.c:28: /usr/include/SDL2/SDL_stdinc.h: In function ‘SDL_memset4’: /usr/include/SDL2/SDL_stdinc.h:382:5: warning: switch missing default case [-Wswitch-default] switch (dwords % 4) ^~~~~~ | ||||
* | game: Save best locale match | Patrick McDermott | 2021-03-17 | 1 | -2/+7 |
| | |||||
* | game: Free old name/description when replacing | Patrick McDermott | 2021-03-17 | 1 | -0/+8 |
| | |||||
* | build: Find and use SDL_ttf | Patrick McDermott | 2021-03-17 | 2 | -0/+3 |
| | |||||
* | build: Use SDL and SDL_image 2.0 | Patrick McDermott | 2021-03-17 | 1 | -2/+2 |
| | |||||
* | db_lc_messages_get(): Remove function | Patrick McDermott | 2021-03-17 | 2 | -7/+0 |
| | |||||
* | db_games_find(): Use db_locale_match() | Patrick McDermott | 2021-03-17 | 1 | -11/+6 |
| | |||||
* | db_locale_match(): New function | Patrick McDermott | 2021-03-17 | 2 | -0/+114 |
| | |||||
* | db_lc_messages_get(): Just use setlocale() | Patrick McDermott | 2021-03-17 | 2 | -20/+4 |
| | |||||
* | db_games_find(): Match name and description lang | Patrick McDermott | 2021-03-16 | 2 | -7/+31 |
| | | | | TODO: Make this matching less strict. | ||||
* | db_lc_messages_get(): New function | Patrick McDermott | 2021-03-16 | 3 | -0/+71 |
| | |||||
* | db_games_find(): Print trimmed XML char data | Patrick McDermott | 2021-03-16 | 1 | -2/+2 |
| | |||||
* | db_games_find(): Print XML char data | Patrick McDermott | 2021-03-16 | 1 | -2/+2 |
| | |||||
* | db_games_find(): Support multiline XML char data | Patrick McDermott | 2021-03-16 | 1 | -1/+9 |
| | |||||
* | db_games_find(): Parse game name and description | Patrick McDermott | 2021-03-16 | 3 | -7/+54 |
| | |||||
* | db_games_find(): Parse games.xml | Patrick McDermott | 2021-03-16 | 1 | -4/+284 |
| | |||||
* | db_games_find(): Initialize game structures | Patrick McDermott | 2021-03-16 | 3 | -10/+59 |
| | |||||
* | db_games_find(): Check scandir() return value | Patrick McDermott | 2021-03-16 | 1 | -0/+6 |
| | | | | Fixes a bad calloc() if the games directory is empty or not found. | ||||
* | main(): Check db_games_find() return value | Patrick McDermott | 2021-03-16 | 1 | -5/+7 |
| | | | | Fixes a bad free() if the games directory is empty or not found. | ||||
* | Find games either in build dir or installed | Patrick McDermott | 2021-03-16 | 5 | -9/+23 |
| | |||||
* | build: Remove empty game data directories | Patrick McDermott | 2021-03-16 | 3 | -5/+10 |
| | |||||
* | build: Clean game data files | Patrick McDermott | 2021-03-16 | 2 | -1/+3 |
| | |||||
* | build: Link rather than copy game data | Patrick McDermott | 2021-03-16 | 2 | -1/+4 |
| | |||||
* | build: Copy game data to build dir if out-of-tree | Patrick McDermott | 2021-03-16 | 2 | -1/+9 |
| | |||||
* | Revert "build: Make games/classic build directory" | Patrick McDermott | 2021-03-16 | 1 | -2/+0 |
| | | | | This reverts commit feced94b1eda53b5234498a4a45d2544796291fc. | ||||
* | build: Prettify PNG generation | Patrick McDermott | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | build: Make games/classic build directory | Patrick McDermott | 2021-03-15 | 1 | -0/+2 |
| | |||||
* | games/classic: Install game data | Patrick McDermott | 2021-03-15 | 4 | -0/+25 |
| | |||||
* | db_games_find(): New function | Patrick McDermott | 2021-03-15 | 5 | -2/+96 |
| | |||||
* | build: Check for required functions | Patrick McDermott | 2021-03-15 | 1 | -0/+11 |
| | |||||
* | struct _db_xml_node: Align member names | Patrick McDermott | 2021-03-15 | 1 | -5/+5 |
| | |||||
* | db_xml_check_tag(), db_xml_node_peek(): Mark pure | Patrick McDermott | 2021-03-15 | 1 | -2/+4 |
| | |||||
* | xml_(): Prefix symbols | Patrick McDermott | 2021-03-15 | 2 | -30/+32 |
| | |||||
* | src/xml.c: Use renamed output functions | Patrick McDermott | 2021-03-15 | 1 | -8/+8 |
| | |||||
* | src/xml.[ch]: New files | Patrick McDermott | 2021-03-15 | 3 | -1/+215 |
| | | | | Copied from boukengine. | ||||
* | src/output.h: Add format attributes to functions | Patrick McDermott | 2021-03-15 | 1 | -3/+6 |
| | |||||
* | src/output.c: Drop useless #include | Patrick McDermott | 2021-03-15 | 1 | -1/+0 |
| |