summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* main-menu: Render all buttons in one loopP. J. McDermott2021-03-181-10/+9
|
* main-menu: Appease GCC...P. J. McDermott2021-03-181-6/+1
|
* main-menu: Link buttons (for tab key nav)P. J. McDermott2021-03-181-0/+11
|
* main-menu: Link buttons (for arrow keys nav)P. J. McDermott2021-03-181-0/+26
|
* main-menu: Remove conditionalP. J. McDermott2021-03-181-34/+31
|
* main-menu: Store button information in structsP. J. McDermott2021-03-181-63/+76
|
* main-menu: Add help and quit textP. J. McDermott2021-03-181-1/+42
|
* main-menu: Increase spacing between gamesP. J. McDermott2021-03-181-1/+1
|
* main-menu: Don't free games texturesP. J. McDermott2021-03-181-14/+0
| | | | This code somehow causes some GCC warnings and a hang.
* main-menu: Render game names and descriptionsP. J. McDermott2021-03-181-7/+75
|
* main-menu: Support "\n" in textP. J. McDermott2021-03-181-3/+3
|
* main-menu: Generalize title text functionP. J. McDermott2021-03-181-4/+4
|
* main-menu: Even more title text refactoringP. J. McDermott2021-03-181-12/+13
|
* main-menu: More title text refactoringP. J. McDermott2021-03-181-23/+33
|
* main: Make texture staticP. J. McDermott2021-03-181-1/+1
|
* main-menu: Save and free font pathP. J. McDermott2021-03-181-6/+7
|
* main-menu: Remove unused variablesP. J. McDermott2021-03-181-4/+0
|
* main-menu: Factor title text rendering into new fnP. J. McDermott2021-03-181-34/+44
|
* main-menu: Render title textP. J. McDermott2021-03-181-2/+41
|
* db_main_menu(): New functionP. J. McDermott2021-03-184-21/+91
| | | | Factored out of main()
* main: Add dir and SDL struct accessor functionsP. J. McDermott2021-03-183-0/+63
|
* main: Make some variables static globalP. J. McDermott2021-03-181-32/+32
|
* db_strcat(): New functionP. J. McDermott2021-03-183-0/+70
|
* main: Refactor into functionsP. J. McDermott2021-03-181-38/+67
|
* main: Create window, renderer, and textureP. J. McDermott2021-03-181-0/+38
|
* main: Find fonts dirP. J. McDermott2021-03-181-0/+3
|
* fonts: Add Ubuntu Titling fontP. J. McDermott2021-03-183-1/+23
|
* dodge-balls.sh, suppr.txt: Ignore leaks in libsP. J. McDermott2021-03-182-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_ttfP. J. McDermott2021-03-181-0/+17
|
* main: Add comments and newlinesP. J. McDermott2021-03-181-0/+23
|
* build: Don't ln games/classic/tileset.xcfP. J. McDermott2021-03-181-1/+1
| | | | It isn't needed to run in place.
* build: Don't clean source files in in-tree buildP. J. McDermott2021-03-183-1/+10
|
* 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.