Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [WIP] map: Merge wall tiles into hor/vert lines | P. J. McDermott | 2021-03-29 | 1 | -4/+37 |
| | |||||
* | ball: Bounce off one wall per frame | P. J. McDermott | 2021-03-29 | 1 | -26/+6 |
| | |||||
* | ball: Avoid colliding with multiple coaxial walls | P. J. McDermott | 2021-03-27 | 1 | -1/+26 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | ball: Bounce balls off each other | P. J. McDermott | 2021-03-27 | 1 | -1/+11 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | ball: Add spin direction and radius | P. J. McDermott | 2021-03-25 | 2 | -7/+12 |
| | |||||
* | map: Use map background color | P. J. McDermott | 2021-03-25 | 2 | -7/+5 |
| | |||||
* | tileset: Wrap a long line | P. J. McDermott | 2021-03-25 | 1 | -1/+2 |
| |