Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ball: Keep angle in [0, 360) | P. J. McDermott | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | level: Collide balls! | P. J. McDermott | 2021-03-27 | 1 | -0/+1 |
| | |||||
* | ball: Collide with walls | P. J. McDermott | 2021-03-27 | 1 | -0/+28 |
| | |||||
* | build: Consolidate math function checks | P. J. McDermott | 2021-03-27 | 1 | -18/+5 |
| | |||||
* | build: Check for ceil() and floor() | P. J. McDermott | 2021-03-27 | 1 | -0/+6 |
| | |||||
* | collision: s/int/double/ in rect collision points | P. J. McDermott | 2021-03-27 | 2 | -4/+6 |
| | |||||
* | map: Remove trailing spaces | P. J. McDermott | 2021-03-27 | 1 | -2/+2 |
| | |||||
* | map: Add tile size query functions | P. J. McDermott | 2021-03-27 | 2 | -0/+14 |
| | |||||
* | ball: Add map member | P. J. McDermott | 2021-03-27 | 3 | -3/+9 |
| | |||||
* | map: Add functions to query tile collisions | P. J. McDermott | 2021-03-27 | 2 | -0/+22 |
| | |||||
* | ball: Fix floating-point remainder arithmetic | P. J. McDermott | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | build: Check for fmod | P. J. McDermott | 2021-03-27 | 1 | -0/+3 |
| | |||||
* | ball: Bounce balls off each other | P. J. McDermott | 2021-03-27 | 1 | -1/+11 |
| | |||||
* | build: Check for atan2() | P. J. McDermott | 2021-03-27 | 1 | -0/+3 |
| | |||||
* | collision: s/int/double/ in circle-circle funcs | P. J. McDermott | 2021-03-27 | 3 | -11/+11 |
| | |||||
* | ball: Don't collide spinning balls with others | P. J. McDermott | 2021-03-27 | 1 | -5/+9 |
| | |||||
* | ball, map: Convert to left-hand rule | P. J. McDermott | 2021-03-27 | 2 | -6/+5 |
| | | | | | The SDL coordinate system has a negative orientation (the positive y-axis points down). It's easier to not fight it. | ||||
* | ball: Move straight balls | P. J. McDermott | 2021-03-26 | 1 | -0/+2 |
| | |||||
* | ball: Initialize other ball in collision loop | P. J. McDermott | 2021-03-26 | 1 | -1/+1 |
| | |||||
* | map: Fix speed type conversions | P. J. McDermott | 2021-03-26 | 1 | -2/+6 |
| | |||||
* | ball: Move spinning balls | P. J. McDermott | 2021-03-26 | 3 | -0/+19 |
| | |||||
* | build: Check for cos() and sin() | P. J. McDermott | 2021-03-26 | 1 | -0/+6 |
| | |||||
* | map: Add some sanity checks | P. J. McDermott | 2021-03-26 | 1 | -0/+10 |
| | |||||
* | map: Convert object speed from px/s to px/f | P. J. McDermott | 2021-03-26 | 1 | -1/+3 |
| | |||||
* | level: Set up event loop | P. J. McDermott | 2021-03-26 | 1 | -2/+30 |
| | |||||
* | map: Add framerate accessor | P. J. McDermott | 2021-03-26 | 2 | -0/+7 |
| | |||||
* | collision: Add rectangle/AABB collision functions | P. J. McDermott | 2021-03-26 | 2 | -0/+29 |
| | |||||
* | map: Set collision tile bit fields | P. J. McDermott | 2021-03-26 | 1 | -0/+43 |
| | |||||
* | map: Remove extra spaces in func var decls | P. J. McDermott | 2021-03-26 | 1 | -3/+3 |
| | |||||
* | tileset: Simplify rendering function logic a bit | P. J. McDermott | 2021-03-26 | 1 | -9/+3 |
| | |||||
* | tileset: Add collision functions | P. J. McDermott | 2021-03-26 | 2 | -2/+32 |
| | | | | And fix collision bit field setting. | ||||
* | tileset: Ensure there are no more than 32 tiles | P. J. McDermott | 2021-03-26 | 1 | -0/+5 |
| | |||||
* | level: Split rendering into new function | P. J. McDermott | 2021-03-25 | 1 | -25/+30 |
| | |||||
* | level: Render player and target | P. J. McDermott | 2021-03-25 | 1 | -0/+11 |
| | |||||
* | map: Save player and target GIDs | P. J. McDermott | 2021-03-25 | 3 | -18/+26 |
| | |||||
* | map: Set random angle for spinning balls | P. J. McDermott | 2021-03-25 | 1 | -0/+2 |
| | |||||
* | main: Seed RNG | P. J. McDermott | 2021-03-25 | 1 | -0/+3 |
| | |||||
* | map: Initialize all object members | P. J. McDermott | 2021-03-25 | 1 | -3/+7 |
| | |||||
* | ball: Position spinning ball | P. J. McDermott | 2021-03-25 | 1 | -2/+12 |
| | |||||
* | map: Fix object coordinates | P. J. McDermott | 2021-03-25 | 1 | -3/+3 |
| | |||||
* | ball: Render | P. J. McDermott | 2021-03-25 | 3 | -0/+21 |
| | |||||
* | ball: Add tilesets and gid members | P. J. McDermott | 2021-03-25 | 3 | -17/+25 |
| | |||||
* | ball: Convert loops to recursions | P. J. McDermott | 2021-03-25 | 1 | -22/+18 |
| | |||||
* | level: Get tilesets and objects from map | P. J. McDermott | 2021-03-25 | 1 | -13/+19 |
| | |||||
* | map: Add accessor functions | P. J. McDermott | 2021-03-25 | 2 | -56/+90 |
| | |||||
* | games/classic: Fix object speed data types | P. J. McDermott | 2021-03-25 | 1 | -7/+7 |
| | |||||
* | map: Parse and create objects | P. J. McDermott | 2021-03-25 | 1 | -2/+234 |
| | |||||
* | ball: Change data types | P. J. McDermott | 2021-03-25 | 2 | -7/+7 |
| | |||||
* | db_xml_get_bool_attr(): Fix dest assignment | P. J. McDermott | 2021-03-25 | 1 | -2/+2 |
| | |||||
* | db_xml_get_float_attr(): New function | P. J. McDermott | 2021-03-25 | 2 | -0/+22 |
| |