Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | help: Add event loop | P. J. McDermott | 2021-03-19 | 1 | -6/+65 |
| | |||||
* | help: Draw scrollbar triangles | P. J. McDermott | 2021-03-19 | 1 | -7/+40 |
| | |||||
* | main-menu: Render background in each frame | P. J. McDermott | 2021-03-19 | 1 | -3/+1 |
| | |||||
* | main-menu: Handle keypad Enter key | P. J. McDermott | 2021-03-19 | 1 | -0/+1 |
| | |||||
* | help: New screen | P. J. McDermott | 2021-03-19 | 4 | -0/+137 |
| | |||||
* | main-menu: Handle mouse button events | P. J. McDermott | 2021-03-19 | 1 | -0/+10 |
| | |||||
* | main-menu: Handle mouse motion events | P. J. McDermott | 2021-03-19 | 1 | -0/+15 |
| | |||||
* | db_pt_in_rect(): New function | P. J. McDermott | 2021-03-19 | 3 | -0/+67 |
| | |||||
* | main-menu: Clear renderer on each event | P. J. McDermott | 2021-03-18 | 1 | -3/+3 |
| | | | | Fixes artifacts of old button renderings. | ||||
* | main-menu: Fix uninitialized links | P. J. McDermott | 2021-03-18 | 1 | -0/+2 |
| | |||||
* | main-menu: Handle keyboard events | P. J. McDermott | 2021-03-18 | 1 | -8/+66 |
| | |||||
* | main-menu: Wrap rendering in stub loop | P. J. McDermott | 2021-03-18 | 1 | -10/+13 |
| | |||||
* | main-menu: Add stub actions and init active button | P. J. McDermott | 2021-03-18 | 1 | -11/+51 |
| | |||||
* | main-menu: Render all buttons in one loop | P. J. McDermott | 2021-03-18 | 1 | -10/+9 |
| | |||||
* | main-menu: Appease GCC... | P. J. McDermott | 2021-03-18 | 1 | -6/+1 |
| | |||||
* | main-menu: Link buttons (for tab key nav) | P. J. McDermott | 2021-03-18 | 1 | -0/+11 |
| | |||||
* | main-menu: Link buttons (for arrow keys nav) | P. J. McDermott | 2021-03-18 | 1 | -0/+26 |
| | |||||
* | main-menu: Remove conditional | P. J. McDermott | 2021-03-18 | 1 | -34/+31 |
| | |||||
* | main-menu: Store button information in structs | P. J. McDermott | 2021-03-18 | 1 | -63/+76 |
| | |||||
* | main-menu: Add help and quit text | P. J. McDermott | 2021-03-18 | 1 | -1/+42 |
| | |||||
* | main-menu: Increase spacing between games | P. J. McDermott | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | main-menu: Don't free games textures | P. J. McDermott | 2021-03-18 | 1 | -14/+0 |
| | | | | This code somehow causes some GCC warnings and a hang. | ||||
* | main-menu: Render game names and descriptions | P. J. McDermott | 2021-03-18 | 1 | -7/+75 |
| | |||||
* | main-menu: Support "\n" in text | P. J. McDermott | 2021-03-18 | 1 | -3/+3 |
| | |||||
* | main-menu: Generalize title text function | P. J. McDermott | 2021-03-18 | 1 | -4/+4 |
| | |||||
* | main-menu: Even more title text refactoring | P. J. McDermott | 2021-03-18 | 1 | -12/+13 |
| | |||||
* | main-menu: More title text refactoring | P. J. McDermott | 2021-03-18 | 1 | -23/+33 |
| | |||||
* | main: Make texture static | P. J. McDermott | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | main-menu: Save and free font path | P. J. McDermott | 2021-03-18 | 1 | -6/+7 |
| | |||||
* | main-menu: Remove unused variables | P. J. McDermott | 2021-03-18 | 1 | -4/+0 |
| | |||||
* | main-menu: Factor title text rendering into new fn | P. J. McDermott | 2021-03-18 | 1 | -34/+44 |
| | |||||
* | main-menu: Render title text | P. J. McDermott | 2021-03-18 | 1 | -2/+41 |
| | |||||
* | 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 |
| |