Commit Graph

347 Commits

Author SHA1 Message Date
Steve 5f7367403d Check for fully completed mission in PostMission. 2018-02-25 12:53:48 +00:00
Steve 443255baea Debugging stuff. 2018-02-25 12:36:34 +00:00
Steve 68fff35e1a Don't display blank messages. 2018-02-25 12:36:12 +00:00
Steve a13e22fb85 Play menu sounds. 2018-02-25 12:23:00 +00:00
Steve b3e87f8cfb Start of game over handling. 2018-02-25 12:12:31 +00:00
Steve befea2ac65 Allow entities to mostly go offscreen, but not enough to let the player cut across the level. 2018-02-25 08:36:40 +00:00
Steve 537f3c42ff Extern fixes. 2018-02-25 07:55:17 +00:00
Steve ada4768efd Implemented Tank Commander boss. 2018-02-25 07:55:06 +00:00
Steve 15d6ca5678 Added EyeDroid Commander boss battle. 2018-02-24 16:53:03 +00:00
Steve 1c149695e2 Use ints instead of float. 2018-02-24 16:01:36 +00:00
Steve db9cddb7e8 Load / save functions for weapon pickups. 2018-02-24 16:00:48 +00:00
Steve 234f8fe73c Show boss health bar on HUD. 2018-02-24 16:00:30 +00:00
Steve 997d423103 Don't show teleporting or gone entities on the radar. 2018-02-24 16:00:20 +00:00
Steve ef1d634057 Trigger gameplay message crash fix. 2018-02-24 16:00:04 +00:00
Steve 600032a41b Only mark Bob as gone if this isn't a boss mission. 2018-02-24 15:59:46 +00:00
Steve 9c279da3a2 Ensure that sprite frames don't overrun array bounds. 2018-02-24 15:59:26 +00:00
Steve 891d551179 Trophy screenshot update. 2018-02-24 15:58:33 +00:00
Steve 0d08f6096f Boss updates. 2018-02-24 15:58:14 +00:00
Steve b03776cef6 Debugging and auto mission completion. 2018-02-23 19:26:13 +00:00
Steve 01246d14b6 Don't show negative health on hud. 2018-02-23 19:25:46 +00:00
Steve f1c3b3e680 Set Bob to gone when killed, to avoid crash. 2018-02-23 19:25:31 +00:00
Steve bf1e8f64f6 Make enemies less aggressive, except in Outposts. 2018-02-23 19:25:07 +00:00
Steve 1b8e5ef641 Make cannon more aggressive. Align missile flame trail. 2018-02-23 07:49:59 +00:00
Steve fc9b8d2daa Line of sight update. 2018-02-23 07:47:55 +00:00
Steve 575ce1eadd Replaced health, power, oxygen text with icons. 2018-02-22 19:19:43 +00:00
Steve dba5248a41 Fix segfault when freeing entities. 2018-02-22 19:03:48 +00:00
Steve b62b9fece7 Fix hub memory leak. 2018-02-22 19:01:16 +00:00
Steve bd02ee2b4d Post mission bug fixes. 2018-02-22 07:45:57 +00:00
Steve aba8d5aa3b Show health, power, and oxygen values next to bars. 2018-02-22 07:13:37 +00:00
Steve 5a134f2250 Handle mission result correctly. 2018-02-21 22:04:01 +00:00
Steve e887e385c7 Restore game state if the mission remains in incomplete status. 2018-02-21 08:43:45 +00:00
Steve 84c934a1cb Misc fixes and code tidy. 2018-02-21 08:16:50 +00:00
Steve f2c8359e59 Start of post mission screen. 2018-02-21 08:16:18 +00:00
Steve e78c99f5d0 Access options from hub. 2018-02-21 08:13:28 +00:00
Steve a351849f5c Use define instead of hardcoded number. 2018-02-21 08:13:19 +00:00
Steve 2fabf5302b Read joystick axis using events. 2018-02-20 22:12:07 +00:00
Steve 59e8b08fdc Set and save control options. 2018-02-20 19:24:17 +00:00
Steve f5bf3ddcaa Draw and configure input widgets. 2018-02-20 17:50:26 +00:00
Steve 1b4e50c727 Access options from world. 2018-02-20 17:50:01 +00:00
Steve 2600f3cd1a Restrict displaying of trophies during mission. 2018-02-20 12:31:41 +00:00
Steve 8a9dcb1ff7 Further widget updates. 2018-02-20 12:17:06 +00:00
Steve fb16e8e8f0 Hide controller options if no controller available. 2018-02-20 12:16:54 +00:00
Steve 289415cc87 Start of options screen. 2018-02-20 11:29:50 +00:00
Steve e745a287f4 Implemented mission quit option. 2018-02-20 08:14:35 +00:00
Steve edde9fac2f Integrate trophy display. 2018-02-19 22:32:14 +00:00
Steve dc85abac77 Start of options screen. 2018-02-19 19:15:07 +00:00
Steve 28d3c70183 Checkpoint bug fix. 2018-02-19 19:14:32 +00:00
Steve dbcd2debc3 Put atlas entries into buckets. 2018-02-19 19:14:03 +00:00
Steve 72efd1048b Trophy updates. 2018-02-19 19:13:29 +00:00
Steve 44e34ab7de Show stats during level. 2018-02-19 19:12:55 +00:00
Steve 1eb9530fb5 Stats display update. 2018-02-19 08:32:15 +00:00
Steve 098f3df811 Implemented stats display. 2018-02-19 08:28:42 +00:00
Steve cdea5b42fb Draw hud widgets. 2018-02-18 22:22:05 +00:00
Steve 03c02c01f9 12-hit grenade combo trophy. Save screenshot when trophy earned. 2018-02-18 17:58:46 +00:00
Steve bea993ece0 Ensure we draw entities when in observing mode. 2018-02-18 17:01:38 +00:00
Steve 17cb8bdc84 Draw clouds on hub map. 2018-02-18 14:22:45 +00:00
Steve 299b15dac5 Misc. 2018-02-18 11:53:10 +00:00
Steve 9f8ef4ad42 Set world status upon init. 2018-02-18 11:53:01 +00:00
Steve daeaa28e88 Flash oxygen when low. 2018-02-18 11:52:40 +00:00
Steve 7affe23a99 Inc stat when Eyedroid explosions kills another enemy. 2018-02-18 11:52:30 +00:00
Steve b8971a91f4 MIssion unlocking updates. 2018-02-18 11:25:14 +00:00
Steve 25cf4f2814 Removed resumingMission field. 2018-02-18 11:25:00 +00:00
Steve 46d6ce1cd6 Start mission from hub. 2018-02-18 09:29:37 +00:00
Steve 2cd629cf86 Added post mission code. 2018-02-18 09:29:26 +00:00
Steve 1ac2960932 Add keys to mission when starting. 2018-02-18 09:28:25 +00:00
Steve bd6b6d752a Show start and cancel widgets on mission info. 2018-02-18 07:59:14 +00:00
Steve 17ee7642e9 Return pointer to sprite rect. 2018-02-17 16:53:30 +00:00
Steve 357fbdc8a4 Destroy stuff at end of mission. 2018-02-17 16:53:18 +00:00
Steve 94db89cc08 Added cursor to Hub. 2018-02-17 16:52:51 +00:00
Steve 5ca947cab0 Draw mission info and keys. 2018-02-17 07:56:29 +00:00
Steve 353b0180a6 Start of main hub. 2018-02-16 22:50:55 +00:00
Steve 427848db9a Target marker fixes. 2018-02-16 08:41:02 +00:00
Steve 6f69f9a56a Always add to quadtree if not dead or teleporting. 2018-02-16 08:08:52 +00:00
Steve 0a2cd17622 Make doors static by default. 2018-02-16 08:08:33 +00:00
Steve 344460fdf5 Allow widget select using player controls. 2018-02-16 08:08:19 +00:00
Steve 8ab5ebe819 Permit access to stats and trophy info from in-game. 2018-02-16 07:26:04 +00:00
Steve bfef8560cc Only count bullet hit that strike enemies, bosses, or destructables. 2018-02-16 07:21:59 +00:00
Steve e5976f04dd More misc. updates. 2018-02-15 22:56:34 +00:00
Steve 0d87786af4 More widget work. 2018-02-15 22:56:22 +00:00
Steve 1df85d0937 Misc. tweaks. 2018-02-15 21:40:21 +00:00
Steve 5ecdab744d Save Bob at most recently checkpoint position. 2018-02-15 21:39:46 +00:00
Steve 203183edc1 Widget and trophy updates. 2018-02-15 21:38:26 +00:00
Steve a47e932024 Load / save game. 2018-02-15 21:37:43 +00:00
Steve 48abf156d8 Start of drawing widgets. 2018-02-15 18:04:37 +00:00
Steve 9e8b0ab2f9 Sprite atlas update. 2018-02-15 07:59:59 +00:00
Steve 165cafaf04 Allow items to be picked up sooner after they are dropped. 2018-02-15 07:50:05 +00:00
Steve 15857a8dfd Name aqua blob, to prevent save crash. 2018-02-15 07:49:46 +00:00
Steve 79958fa79a Fixed cannon dying. 2018-02-15 07:49:28 +00:00
Steve aa02babf98 Init functions. 2018-02-15 07:49:20 +00:00
Steve b3ed2b1762 Add item pad. 2018-02-15 07:48:51 +00:00
Steve 3e23d83f3a Load width and height for widgets. 2018-02-14 22:32:03 +00:00
Steve 6e93955589 Process and show trophies. 2018-02-14 22:31:42 +00:00
Steve 4258575a26 Added Exit, Destructable, and Cannon. 2018-02-14 22:31:21 +00:00
Steve 6c2d39e1d1 Widget and trophy updates. 2018-02-14 19:12:29 +00:00
Steve c87b9a6986 Start of widget loading. 2018-02-14 08:32:09 +00:00
Steve 343c534159 Use sound volumes and fullscreen settings. 2018-02-14 07:41:07 +00:00
Steve d71bee6b11 Use single variable to track mission type. 2018-02-14 07:26:51 +00:00
Steve 718b658a1a Init lookups earlier, to allow for config to be loaded. 2018-02-14 07:14:11 +00:00
Steve dacb561e62 Hide inventory if selected. Clamp objective values to max. 2018-02-14 07:13:28 +00:00
Steve 69145189c9 Fixed key carrying message bug. 2018-02-14 07:12:47 +00:00