Commit Graph

502 Commits

Author SHA1 Message Date
Steve cf5939dd3c Trophy display bug fix. 2018-03-18 07:40:39 +00:00
Steve c0bcfca334 Tidied headers. 2018-03-17 17:33:09 +00:00
Steve 09aa386c16 Render health / power with percentages. 2018-03-17 16:58:42 +00:00
Steve 151376fc52 Correcly unlock Teeka's mission. 2018-03-17 16:58:25 +00:00
Steve c240449530 Don't block keys from being picked up when inventory is full. 2018-03-17 16:58:14 +00:00
Steve 22a01ea5a0 Reset teleporter animation frames when activating. 2018-03-17 16:57:51 +00:00
Steve 12ce22fd57 Name "Lift" as "Platform", to be more generic. 2018-03-17 16:57:35 +00:00
Steve 1becdb42cc Reset Teeka's exit mission flag. 2018-03-17 16:57:11 +00:00
Steve 50aea7c890 Report entities being outside of game world. 2018-03-16 22:27:47 +00:00
Steve 513f7fdb58 1 in 5 chance of cell or heart being available when in free play mode. 2018-03-16 22:27:26 +00:00
Steve 0f768f593e Don't show blood if blood is off. 2018-03-16 22:26:42 +00:00
Steve 5bc3747198 Don't make the power and health bars too long. 2018-03-16 22:26:13 +00:00
Steve 22cc851a2a Base chance of cherry / battery drop on the levels of player health and power. 2018-03-16 22:25:45 +00:00
Steve 36c1d9cfe3 Code tidy. 2018-03-16 08:30:37 +00:00
Steve 930ca048a9 Unlock all missions when game is complete, for free play. Remove all cells and hearts. 2018-03-16 08:29:13 +00:00
Steve 8d54233df5 Start of credits. 2018-03-16 08:28:25 +00:00
Steve 2dcbeb368d Code tidy. 2018-03-15 08:01:04 +00:00
Steve fc2efeac31 Start of ending. 2018-03-15 08:00:00 +00:00
Steve 2f2ee2a8cd Don't kill entity stuck inside another, just remove from quadtree. 2018-03-14 22:42:15 +00:00
Steve 370adf36b6 Don't stop music when game is complete. 2018-03-14 22:41:55 +00:00
Steve 883d576ca7 Don't count enemy deaths more than once. 2018-03-13 08:25:57 +00:00
Steve 20acee4334 Store door closed X and Y. 2018-03-13 08:25:41 +00:00
Steve d6ec2dff08 Laser trap fix. 2018-03-13 08:25:16 +00:00
Steve 2e8af03b36 Fix for demo data. 2018-03-13 08:25:08 +00:00
Steve 698535344f Increase chance of battery being dropped. 2018-03-13 08:24:53 +00:00
Steve de2295efe9 Warn about missing atlas entries. 2018-03-13 08:24:41 +00:00
Steve 04416e52ab Fix for laser trap not killing some enemies. 2018-03-11 07:51:29 +00:00
Steve 60261932b0 Removed static cheat. 2018-03-09 18:26:44 +00:00
Steve cdb0230bc7 Save images as PNG (can be a bit slow). 2018-03-09 18:26:33 +00:00
Steve b4d681a4eb Process command line arguments. 2018-03-09 18:26:04 +00:00
Steve 61dd0ceb40 Autocomplete mission when Cell and Heart have been found, and we're in MS_MISSING_HEART_CELL. 2018-03-09 07:32:23 +00:00
Steve 0593bca212 Don't worry about item pads stuck in floors. 2018-03-09 07:31:50 +00:00
Steve 8be4f6c773 Show all direction markers on radar, instead of one single direction. 2018-03-08 07:54:20 +00:00
Steve cfd90c27c1 Don't move start position when carrying item. 2018-03-08 07:53:57 +00:00
Steve fdfd875d8a When player manually quits, don't show mission complete screen. 2018-03-08 07:53:26 +00:00
Steve 74383264c2 Use saveDelay, to prevent premature saving while manually quitting levels. 2018-03-08 07:52:42 +00:00
Steve 6b2139b6ce Remove EF_GONE flag from enemies when they are killed. 2018-03-08 07:32:04 +00:00
Steve 34df6121dd Warn about entities that are stuck in walls at start of level. 2018-03-07 21:38:18 +00:00
Steve e577d7e16f Don't allow Bob and Teeka to shoot one another. 2018-03-07 21:37:54 +00:00
Steve 9270607d6e Move carried item around with unit. 2018-03-07 21:37:31 +00:00
Steve 36b5265b08 INFO level logging. 2018-03-07 21:37:07 +00:00
Steve 9404312594 Set created keys to Bob's position. 2018-03-07 21:36:57 +00:00
Steve ea15674fd4 Slightly lower chance of dropping weapons. 2018-03-07 21:35:56 +00:00
Steve 22f7b02413 Mark carried items on radar, so they don't become invisible during clean up runs. 2018-03-07 07:51:40 +00:00
Steve 009bb74a95 Save type of destructable and exit. 2018-03-07 07:49:24 +00:00
Steve baabbbe31c Changed mission unlocking logic. Missions now specify their dependent mission. 2018-03-06 21:47:21 +00:00
Steve 1d033cf327 Don't allow Teeka's shots to hurt the player. 2018-03-06 08:24:45 +00:00
Steve 7b915a77a8 Show item pads on radar. 2018-03-05 08:39:54 +00:00
Steve 7dff960e42 Call change environment when finishing teleport, for instances where teleportation occurred in water. 2018-03-05 08:39:42 +00:00
Steve f720d9457c Set MIA to foreground when teleporting. 2018-03-05 08:38:59 +00:00
Steve 3a88c5163a Don't scale items in inventory screen if <= 40px. 2018-03-04 21:40:44 +00:00
Steve af35c426e9 Show destructables on radar as red markers. 2018-03-04 17:04:28 +00:00
Steve f9adb8d8b8 Crush faster. 2018-03-04 17:04:13 +00:00
Steve 83e7276fa9 Defend against divide by 0. 2018-03-04 17:03:11 +00:00
Steve 924978c2a0 Accuracy stat fix. 2018-03-04 17:02:53 +00:00
Steve 4c08307f18 Save game when awarding trophies in Hub. 2018-03-04 16:01:44 +00:00
Steve 222147665e Show oxygen level to 1 decimal place. 2018-03-04 13:36:11 +00:00
Steve 934dd431aa Allow some entities to be crushed, to prevent them blocking lifts, etc. 2018-03-04 13:36:00 +00:00
Steve 95a4131a99 Don't use the camera position for entity observation, as it might never finish, due to clipping. 2018-03-04 10:51:05 +00:00
Steve f3cf1ec945 Drop weapons a little more frequently. 2018-03-04 10:50:00 +00:00
Steve 3b88f1c973 Clip camera when observing entities. 2018-03-04 09:49:31 +00:00
Steve a3a4c01049 Play sound when recharging from power pool. 2018-03-04 09:49:16 +00:00
Steve 1073276c6f Fix for Bob taking slime / lava damage. 2018-03-04 09:48:33 +00:00
Steve 9a18d03a39 Mark item as collected, so that it doesn't bump objective counter. 2018-03-04 08:15:30 +00:00
Steve a08d52c2fb When dropping carried items, allow them to be picked up again(!) 2018-03-03 16:05:55 +00:00
Steve 836eaa5b50 Don't show items on radar that have been used. 2018-03-03 16:05:34 +00:00
Steve b4f9692f75 Make pistols appear a little less often. 2018-03-03 16:05:17 +00:00
Steve 8bbdeb9407 Don't scale objects if they already fit into the slot. 2018-03-03 16:05:04 +00:00
Steve fca87f6575 Use MAX_DESCRIPTION_LENGTH to prevent target name truncation. 2018-03-03 16:04:40 +00:00
Steve 6ba888436b Ensure Bob faces correct way at beginning of mission. 2018-03-03 16:04:18 +00:00
Steve 53ee605bd4 Pause sound when observing entity activation. 2018-03-03 07:41:51 +00:00
Steve 741efd01ad Set eliminate all enemies if we need to clear the level. 2018-03-03 07:41:38 +00:00
Steve 0c2f069fef Only count laser hits once. 2018-03-03 07:41:05 +00:00
Steve f634a28127 Scroll to observing entity. 2018-03-02 22:21:45 +00:00
Steve 7a79ef4b53 Tidied headers. 2018-03-02 08:30:39 +00:00
Steve 1d01bec093 Show fewer stats per page. 2018-03-02 08:29:36 +00:00
Steve 0a5d2d8cfb Show additional stats. 2018-03-02 08:09:04 +00:00
Steve eb6e653837 Cell and heart saving bug fix. 2018-03-01 22:30:33 +00:00
Steve 7037b40c7b Display time played correctly. 2018-03-01 08:24:05 +00:00
Steve 2634a6fd97 Tidied all header. 2018-03-01 07:52:50 +00:00
Steve a895dad6d9 Tidy headers update. 2018-03-01 07:51:39 +00:00
Steve dd7188afc7 Store Bob's facing, to restore when resetting. 2018-03-01 07:41:04 +00:00
Steve 4d086a5136 Show more entity location information on the radar. 2018-02-28 21:59:20 +00:00
Steve 7805a128ad Clear old message, to allow repeats. 2018-02-28 08:29:30 +00:00
Steve 695e1fc5da Don't observe entities that are close to another that is already being observed. 2018-02-28 08:00:24 +00:00
Steve c98e93ee2b Pause audio when pausing game / viewing radar. 2018-02-28 07:52:38 +00:00
Steve 6b246971b3 Tidied headers. 2018-02-27 22:35:31 +00:00
Steve 18fa11d278 Start of extra blood / explosions. 2018-02-27 21:55:15 +00:00
Steve d2bc37eebf Allow selection of screen resolution. 2018-02-27 21:54:52 +00:00
Steve 20d1548f42 Fully clean trophy bug fix. 2018-02-27 08:16:34 +00:00
Steve b31d061d42 Only print item quantity if it's more than 0. 2018-02-27 08:16:18 +00:00
Steve 4d41f7f56c Load new sounds. 2018-02-27 08:16:06 +00:00
Steve 938fbaf9e0 Destructable death bug fix. 2018-02-27 08:15:53 +00:00
Steve 24d26b094c Sort inventory when item is removed. 2018-02-27 08:14:54 +00:00
Steve a085a028b9 Laser trap and item pad sound effects. 2018-02-27 08:14:37 +00:00
Steve 80f8af703a Always play explosion sound in channel 0. 2018-02-27 08:14:21 +00:00
Steve af4ce38296 Added directional audio. 2018-02-26 18:56:13 +00:00
Steve a729bfe7ee Anchor radar at bottom of map. 2018-02-26 08:19:21 +00:00
Steve 583373402a Allow random screenshots to be taken. 2018-02-26 07:53:12 +00:00
Steve bf9ab57e2f Use specific collision bounds for certain objects. 2018-02-26 07:38:20 +00:00
Steve 5282345dc6 Misc. code fixes. 2018-02-25 17:32:29 +00:00
Steve df6bda4629 More variation in decoration movement. 2018-02-25 17:32:15 +00:00
Steve 89f2e399a5 Quadtree add / remove bug fixes. 2018-02-25 17:31:32 +00:00
Steve 4ff02a82e5 Don't allow weapon to be fired if owner's facing is FACING_DIE. 2018-02-25 17:30:05 +00:00
Steve 501db4420b Use entity id to play sounds. 2018-02-25 17:29:44 +00:00
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