Commit Graph

70 Commits

Author SHA1 Message Date
Steve 24f677236a Removed all objectives tweak, replaced with No Doors. Tweaks to item and pushblock mirroring. Other minor mission tweak fixes. 2018-05-15 08:32:16 +01:00
Steve 455db3d077 Correctly mirror doors in mirror mode. 2018-05-14 08:23:54 +01:00
Steve 230d28cef7 Mirror world tweaks. 2018-05-13 17:25:00 +01:00
Steve 0c631edd09 Start of map mirroring. 2018-05-13 08:59:30 +01:00
Steve 01448698ad Item to reset items that are stuck in walls are mission start. 2018-04-28 15:55:01 +01:00
Steve 302997cb31 Code clean up. 2018-03-30 19:23:57 +01:00
Steve 8a61323362 MIsc bug fixes. 2018-03-29 08:21:36 +01:00
Steve e923f3286e Terminate Bob's jetpack upon return from teleporter. 2018-03-18 12:48:31 +00:00
Steve 50aea7c890 Report entities being outside of game world. 2018-03-16 22:27:47 +00:00
Steve 2f2ee2a8cd Don't kill entity stuck inside another, just remove from quadtree. 2018-03-14 22:42:15 +00:00
Steve 60261932b0 Removed static cheat. 2018-03-09 18:26:44 +00:00
Steve 0593bca212 Don't worry about item pads stuck in floors. 2018-03-09 07:31:50 +00:00
Steve 74383264c2 Use saveDelay, to prevent premature saving while manually quitting levels. 2018-03-08 07:52:42 +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 7dff960e42 Call change environment when finishing teleport, for instances where teleportation occurred in water. 2018-03-05 08:39:42 +00:00
Steve f9adb8d8b8 Crush faster. 2018-03-04 17:04:13 +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 f634a28127 Scroll to observing entity. 2018-03-02 22:21:45 +00:00
Steve af4ce38296 Added directional audio. 2018-02-26 18:56:13 +00:00
Steve bf9ab57e2f Use specific collision bounds for certain objects. 2018-02-26 07:38:20 +00:00
Steve 89f2e399a5 Quadtree add / remove bug fixes. 2018-02-25 17:31:32 +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 dba5248a41 Fix segfault when freeing entities. 2018-02-22 19:03:48 +00:00
Steve bea993ece0 Ensure we draw entities when in observing mode. 2018-02-18 17:01:38 +00:00
Steve 17ee7642e9 Return pointer to sprite rect. 2018-02-17 16:53:30 +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 1df85d0937 Misc. tweaks. 2018-02-15 21:40:21 +00:00
Steve 165cafaf04 Allow items to be picked up sooner after they are dropped. 2018-02-15 07:50:05 +00:00
Steve 4258575a26 Added Exit, Destructable, and Cannon. 2018-02-14 22:31:21 +00:00
Steve ef9d6db851 Quadtree fixes. 2018-02-12 18:27:12 +00:00
Steve 58c398475c Allow world to be set as static, for testing. 2018-02-11 12:37:37 +00:00
Steve 57aaafa789 Use e here, instead of self, for more clarity. 2018-02-11 11:09:16 +00:00
Steve 284436f8c9 Remove dead entities as soon as possible, to prevent dangling pointers. 2018-02-11 07:59:11 +00:00
Steve 32109cbc15 Prevent entity from leaving the map bounds. 2018-02-09 22:34:30 +00:00
Steve 972c3c4aa9 Set sprite frame to 0 when dead. 2018-02-09 22:34:01 +00:00
Steve d8c9337a2e Expand quadtree range for platform contact. 2018-02-09 08:21:08 +00:00
Steve d09ceefbb9 Update quadtree for pushed entities. Handle riders. 2018-02-09 07:42:36 +00:00
Steve 0e71bcc88f Use quadtree for collisions. 2018-02-09 07:21:37 +00:00
Steve b862123c95 Focus camera on doors, etc., that are opened when offscreen. 2018-02-07 19:21:13 +00:00
Steve 220e3b99e9 Item handling updates. Keys should stack. 2018-02-06 22:27:02 +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 9c6ada01dc Sort entities in draw order. 2018-02-05 22:06:00 +00:00
Steve d10356c42c Added swapSelf() to handle current entity handling. 2018-02-05 08:37:07 +00:00
Steve a84f261154 Only set entity size once. Test entity is dead before testing alive (race condition when adding to quadtree). 2018-02-04 12:01:55 +00:00
Steve 7e88125864 Default function for changeEnvironment. 2018-02-04 11:24:19 +00:00
Steve c4346550cf Only add to quadtree if alive. 2018-02-04 11:00:42 +00:00
Steve 3d2000e818 Always set entity size. 2018-02-03 18:31:55 +00:00
Steve fc519c54b0 Pushing code fix. 2018-02-03 18:17:45 +00:00