Commit Graph

314 Commits

Author SHA1 Message Date
Steve 9f100106eb Don't add enemies if noEnemies flag set. 2018-02-09 07:42:10 +00:00
Steve 0e71bcc88f Use quadtree for collisions. 2018-02-09 07:21:37 +00:00
Steve 11960757cc Reappear after 1 or 2 seconds. 2018-02-09 07:20:12 +00:00
Steve f3bf29b333 Only add key once. 2018-02-08 22:26:00 +00:00
Steve 50a1c78c10 Don't show counts on mini inventory (not enough screen real esate). 2018-02-08 22:25:48 +00:00
Steve 1ed138b766 Use power instead of value for batteries. 2018-02-08 22:25:23 +00:00
Steve 70d1101ded Assign self when spawning enemies. 2018-02-08 22:25:10 +00:00
Steve 46d9983142 Increase available number of sounds channels. 2018-02-08 22:24:53 +00:00
Steve 28023ba18b Correcly apply damage to Bob. 2018-02-08 22:24:19 +00:00
Steve 78ac0154bb Tidied headers. 2018-02-08 21:54:47 +00:00
Steve 8da314ea63 Fixes for joypad buttons. 2018-02-08 21:54:30 +00:00
Steve 453d2ae3dc Load / save config. 2018-02-08 21:54:11 +00:00
Steve 07dd76c5d1 Handle found keys. 2018-02-08 21:53:52 +00:00
Steve ccf228f875 Control and input updates. 2018-02-08 21:53:32 +00:00
Steve b00b9dcdb4 Added Grenade Blob and Grenade Droid. 2018-02-08 21:53:02 +00:00
Steve 0335b7e837 Use uint32 for file lengths. 2018-02-08 21:30:02 +00:00
Steve 14b503eff2 Added Machine Gun Blob. Load Cells and Hearts. 2018-02-08 08:35:09 +00:00
Steve 9bda46bb9b Show required objectives in red. 2018-02-08 08:21:37 +00:00
Steve 7df76683ad Ignore everything in dev, except screenshots. 2018-02-08 08:12:01 +00:00
Steve dc5aead758 Load compressed map data. 2018-02-08 08:07:04 +00:00
Steve 14f4ef57ad Load and play music during mission. 2018-02-08 07:34:35 +00:00
Steve bf0f64caf8 Show objectives intro screen when starting a level. 2018-02-08 07:26:42 +00:00
Steve e9c1560bde Show objective and inventory screen. 2018-02-07 22:49:42 +00:00
Steve b862123c95 Focus camera on doors, etc., that are opened when offscreen. 2018-02-07 19:21:13 +00:00
Steve 3afbfabeb5 Joypad controls (hardcoded, for now). 2018-02-07 19:20:36 +00:00
Steve c287a1333e Control updates. 2018-02-07 18:27:42 +00:00
Steve 0618c05b52 Store all items as items, rather than separating out keys. 2018-02-07 07:51:47 +00:00
Steve b27b3dd2f8 Draw inventory items on HUD. 2018-02-07 07:51:25 +00:00
Steve 4558ea366d Ignore Finder files. 2018-02-06 22:28:34 +00:00
Steve a8ce1daf4e Added blitScaled. Removed unused functions. 2018-02-06 22:28:19 +00:00
Steve eb3a39084a Added unit reappear code. 2018-02-06 22:27:53 +00:00
Steve fed96ef890 Misc. fixes. 2018-02-06 22:27:28 +00:00
Steve 220e3b99e9 Item handling updates. Keys should stack. 2018-02-06 22:27:02 +00:00
Steve b92c9dea9c Start of joypad handling. 2018-02-06 22:26:05 +00:00
Steve 4e981ecf78 Show health, power, and oxygen on HUD. Inventory on right-hand side. 2018-02-06 19:07:43 +00:00
Steve 883d675073 v0.2-01 screenshot. 2018-02-06 08:17:10 +00:00
Steve 2543d469ac Show info point messages. 2018-02-06 08:16:30 +00:00
Steve fb5723d96e Don't uppercase messages. 2018-02-06 07:45:28 +00:00
Steve d5d70a017f Effect bug fixes. 2018-02-06 07:45:18 +00:00
Steve 156a5dac8f isOnScreen -> isVisible. 2018-02-06 07:32:08 +00:00
Steve e70966e35d Power up fixes. 2018-02-06 07:29:39 +00:00
Steve 89b4b05a11 Added controls.c. 2018-02-05 22:08:35 +00:00
Steve cc280f326f Code tidying. 2018-02-05 22:08:14 +00:00
Steve 0e57f9ce79 Explosion effects. 2018-02-05 22:07:04 +00:00
Steve 683746b239 Decoration updates. 2018-02-05 22:06:53 +00:00
Steve 8c9ee4f553 Move controls into doPlayer() 2018-02-05 22:06:29 +00:00
Steve 9c6ada01dc Sort entities in draw order. 2018-02-05 22:06:00 +00:00
Steve 43ec9435f2 Init effects. 2018-02-05 08:39:02 +00:00
Steve 9128fd84e9 Test world type before loading entities. 2018-02-05 08:38:39 +00:00
Steve c22c09e78f Restored enemy behaviour. 2018-02-05 08:38:21 +00:00