summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build: s/ -I/ -isystem/g in libraries' CFLAGSP. J. McDermott2021-03-171-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 matchPatrick McDermott2021-03-171-2/+7
|
* game: Free old name/description when replacingPatrick McDermott2021-03-171-0/+8
|
* build: Find and use SDL_ttfPatrick McDermott2021-03-172-0/+3
|
* build: Use SDL and SDL_image 2.0Patrick McDermott2021-03-171-2/+2
|
* db_lc_messages_get(): Remove functionPatrick McDermott2021-03-172-7/+0
|
* db_games_find(): Use db_locale_match()Patrick McDermott2021-03-171-11/+6
|
* db_locale_match(): New functionPatrick McDermott2021-03-172-0/+114
|
* db_lc_messages_get(): Just use setlocale()Patrick McDermott2021-03-172-20/+4
|
* db_games_find(): Match name and description langPatrick McDermott2021-03-162-7/+31
| | | | TODO: Make this matching less strict.
* db_lc_messages_get(): New functionPatrick McDermott2021-03-163-0/+71
|
* db_games_find(): Print trimmed XML char dataPatrick McDermott2021-03-161-2/+2
|
* db_games_find(): Print XML char dataPatrick McDermott2021-03-161-2/+2
|
* db_games_find(): Support multiline XML char dataPatrick McDermott2021-03-161-1/+9
|
* db_games_find(): Parse game name and descriptionPatrick McDermott2021-03-163-7/+54
|
* db_games_find(): Parse games.xmlPatrick McDermott2021-03-161-4/+284
|
* db_games_find(): Initialize game structuresPatrick McDermott2021-03-163-10/+59
|
* db_games_find(): Check scandir() return valuePatrick McDermott2021-03-161-0/+6
| | | | Fixes a bad calloc() if the games directory is empty or not found.
* main(): Check db_games_find() return valuePatrick McDermott2021-03-161-5/+7
| | | | Fixes a bad free() if the games directory is empty or not found.
* Find games either in build dir or installedPatrick McDermott2021-03-165-9/+23
|
* build: Remove empty game data directoriesPatrick McDermott2021-03-163-5/+10
|
* build: Clean game data filesPatrick McDermott2021-03-162-1/+3
|
* build: Link rather than copy game dataPatrick McDermott2021-03-162-1/+4
|
* build: Copy game data to build dir if out-of-treePatrick McDermott2021-03-162-1/+9
|
* Revert "build: Make games/classic build directory"Patrick McDermott2021-03-161-2/+0
| | | | This reverts commit feced94b1eda53b5234498a4a45d2544796291fc.
* build: Prettify PNG generationPatrick McDermott2021-03-151-1/+1
|
* build: Make games/classic build directoryPatrick McDermott2021-03-151-0/+2
|
* games/classic: Install game dataPatrick McDermott2021-03-154-0/+25
|
* db_games_find(): New functionPatrick McDermott2021-03-155-2/+96
|
* build: Check for required functionsPatrick McDermott2021-03-151-0/+11
|
* struct _db_xml_node: Align member namesPatrick McDermott2021-03-151-5/+5
|
* db_xml_check_tag(), db_xml_node_peek(): Mark purePatrick McDermott2021-03-151-2/+4
|
* xml_(): Prefix symbolsPatrick McDermott2021-03-152-30/+32
|
* src/xml.c: Use renamed output functionsPatrick McDermott2021-03-151-8/+8
|
* src/xml.[ch]: New filesPatrick McDermott2021-03-153-1/+215
| | | | Copied from boukengine.
* src/output.h: Add format attributes to functionsPatrick McDermott2021-03-151-3/+6
|
* src/output.c: Drop useless #includePatrick McDermott2021-03-151-1/+0
|
* db_err(): Don't quit()Patrick McDermott2021-03-152-5/+2
|
* src/output.[ch]: Prefix symbolsPatrick McDermott2021-03-152-9/+9
|
* src/logging.[ch]: Rename to src/output.[ch]Patrick McDermott2021-03-153-6/+6
|
* src/logging.[ch]: New filesPatrick McDermott2021-03-153-0/+89
| | | | Copied from boukengine.
* README: WRITEMEPatrick McDermott2021-03-151-0/+42
|
* Add build system and package documentationPatrick McDermott2021-03-1517-0/+1753
|
* .gitignore, games/classic/.gitignore: AddPatrick McDermott2021-03-152-0/+37
|
* games/classic: Add game.xml definition filePatrick McDermott2021-03-151-0/+19
|
* games/classic: Renumber map objectsPatrick McDermott2021-03-1410-65/+65
|
* games/classic: Add map and object propertiesPatrick McDermott2021-03-1410-65/+451
|
* games/classic: Add collision propertiesPatrick McDermott2021-03-141-0/+12
|
* games/classic: Export tilesetPatrick McDermott2021-03-1411-30/+14
|
* igames/classic: Add icon mapPatrick McDermott2021-03-141-0/+17
|