summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ball: Add map memberP. J. McDermott2021-03-273-3/+9
|
* map: Add functions to query tile collisionsP. J. McDermott2021-03-272-0/+22
|
* ball: Fix floating-point remainder arithmeticP. J. McDermott2021-03-271-1/+1
|
* ball: Bounce balls off each otherP. J. McDermott2021-03-271-1/+11
|
* collision: s/int/double/ in circle-circle funcsP. J. McDermott2021-03-273-11/+11
|
* ball: Don't collide spinning balls with othersP. J. McDermott2021-03-271-5/+9
|
* ball, map: Convert to left-hand ruleP. J. McDermott2021-03-272-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 ballsP. J. McDermott2021-03-261-0/+2
|
* ball: Initialize other ball in collision loopP. J. McDermott2021-03-261-1/+1
|
* map: Fix speed type conversionsP. J. McDermott2021-03-261-2/+6
|
* ball: Move spinning ballsP. J. McDermott2021-03-263-0/+19
|
* map: Add some sanity checksP. J. McDermott2021-03-261-0/+10
|
* map: Convert object speed from px/s to px/fP. J. McDermott2021-03-261-1/+3
|
* level: Set up event loopP. J. McDermott2021-03-261-2/+30
|
* map: Add framerate accessorP. J. McDermott2021-03-262-0/+7
|
* collision: Add rectangle/AABB collision functionsP. J. McDermott2021-03-262-0/+29
|
* map: Set collision tile bit fieldsP. J. McDermott2021-03-261-0/+43
|
* map: Remove extra spaces in func var declsP. J. McDermott2021-03-261-3/+3
|
* tileset: Simplify rendering function logic a bitP. J. McDermott2021-03-261-9/+3
|
* tileset: Add collision functionsP. J. McDermott2021-03-262-2/+32
| | | | And fix collision bit field setting.
* tileset: Ensure there are no more than 32 tilesP. J. McDermott2021-03-261-0/+5
|
* level: Split rendering into new functionP. J. McDermott2021-03-251-25/+30
|
* level: Render player and targetP. J. McDermott2021-03-251-0/+11
|
* map: Save player and target GIDsP. J. McDermott2021-03-253-18/+26
|
* map: Set random angle for spinning ballsP. J. McDermott2021-03-251-0/+2
|
* main: Seed RNGP. J. McDermott2021-03-251-0/+3
|
* map: Initialize all object membersP. J. McDermott2021-03-251-3/+7
|
* ball: Position spinning ballP. J. McDermott2021-03-251-2/+12
|
* map: Fix object coordinatesP. J. McDermott2021-03-251-3/+3
|
* ball: RenderP. J. McDermott2021-03-253-0/+21
|
* ball: Add tilesets and gid membersP. J. McDermott2021-03-253-17/+25
|
* ball: Convert loops to recursionsP. J. McDermott2021-03-251-22/+18
|
* level: Get tilesets and objects from mapP. J. McDermott2021-03-251-13/+19
|
* map: Add accessor functionsP. J. McDermott2021-03-252-56/+90
|
* map: Parse and create objectsP. J. McDermott2021-03-251-2/+234
|
* ball: Change data typesP. J. McDermott2021-03-252-7/+7
|
* db_xml_get_bool_attr(): Fix dest assignmentP. J. McDermott2021-03-251-2/+2
|
* db_xml_get_float_attr(): New functionP. J. McDermott2021-03-252-0/+22
|
* ball: Add spin direction and radiusP. J. McDermott2021-03-252-7/+12
|
* map: Use map background colorP. J. McDermott2021-03-252-7/+5
|
* tileset: Wrap a long lineP. J. McDermott2021-03-251-1/+2
|
* tileset: Fix format type issueP. J. McDermott2021-03-251-1/+1
|
* map: Move tile rendering to tilesetP. J. McDermott2021-03-253-74/+46
|
* map: Set rects in fewer linesP. J. McDermott2021-03-251-10/+6
|
* map: Set layer rect in outer loopP. J. McDermott2021-03-251-12/+12
|
* tileset: Ensure tile size matches map'sP. J. McDermott2021-03-253-33/+26
|
* level: Add object members to structP. J. McDermott2021-03-251-0/+11
|
* ball: New functionsP. J. McDermott2021-03-253-0/+131
|
* collision: Add circle-circle functionsP. J. McDermott2021-03-252-1/+31
| | | | Also fix missing #include and mark db_pt_in_rect() pure.
* game: Play ALL the levelsP. J. McDermott2021-03-243-1/+18
|