Commit Graph

110 Commits

Author SHA1 Message Date
Steve 113cc59ea6 Show health, power, and oxygen on HUD. 2018-02-04 15:37:19 +00:00
Steve 1b5c2f2584 v0.2 2018-02-04 12:28:14 +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 78422382e2 Added default die() function. 2018-02-04 11:00:32 +00:00
Steve 1fbf7971b8 Moved bullets into entities/bullets. 2018-02-04 11:00:14 +00:00
Steve 7577482cc4 Iniital spriteFrame must be -1. 2018-02-04 09:56:53 +00:00
Steve ac48179541 Use targetValue for objectives. 2018-02-04 09:56:37 +00:00
Steve 9841418d20 Weapon fixes. 2018-02-04 09:50:07 +00:00
Steve 827a825c2d Jetpack / aqualung fix. 2018-02-04 08:20:49 +00:00
Steve 5bfea20534 Pick up and store items. 2018-02-04 08:11:42 +00:00
Steve 5588abc063 Show hud messages. 2018-02-04 07:50:54 +00:00
Steve d3db893190 Moved nothing() to MIA. 2018-02-03 18:32:12 +00:00
Steve 3d2000e818 Always set entity size. 2018-02-03 18:31:55 +00:00
Steve 19f7afcf0e PushBlock activation fix. 2018-02-03 18:19:26 +00:00
Steve fc519c54b0 Pushing code fix. 2018-02-03 18:17:45 +00:00
Steve 72de423bba Preserve original string when activitating entites. 2018-02-03 16:31:12 +00:00
Steve 52b4336c00 Misc. debugging bits. 2018-02-03 16:22:04 +00:00
Steve 187b887698 Free data. 2018-02-03 16:21:53 +00:00
Steve b878a61854 Allocate MIA and target char space. 2018-02-03 16:21:37 +00:00
Steve d51e96c74a Fixed teleporter. 2018-02-03 16:13:37 +00:00
Steve e97d38e278 Activate entities correctly. 2018-02-03 15:53:21 +00:00
Steve b8aa460221 Basic movement. Various bug fixes. 2018-02-03 13:07:56 +00:00
Steve cd80ebacea Show target markers. 2018-02-03 11:47:50 +00:00
Steve c77cea92a6 Collision bug fixes. 2018-02-03 11:32:03 +00:00
Steve 0a131e25c0 Implemented more entity handling code. 2018-02-03 10:01:14 +00:00
Steve b3c8ca90d5 Start of entity management. 2018-02-03 08:44:02 +00:00
Steve 383c8c19a3 Various bug fixes. 2018-02-02 23:01:51 +00:00
Steve 3c7b3b5170 Added world code. 2018-02-02 19:10:12 +00:00
Steve bac35a3bab Line box intersection code. 2018-02-02 18:14:50 +00:00
Steve 0817b2e600 Fonts and debug information. 2018-02-02 08:26:58 +00:00
Steve f3f1402755 v0.1-03 screenshot. 2018-02-02 08:07:29 +00:00
Steve 0872a3b82b Animation and drawing updates. 2018-02-02 08:00:27 +00:00
Steve aba616b085 Bob init fixes. 2018-02-01 22:29:51 +00:00
Steve 2eab687dec Tidied headers. 2018-02-01 21:52:23 +00:00
Steve 0df09f914a Particles processing, Bob, and entity actions. 2018-02-01 21:51:43 +00:00
Steve 7cd5fe999a v0.1-02 screenshot. 2018-02-01 08:21:23 +00:00
Steve 75b18c03f1 Added entity init() functions. 2018-02-01 07:50:37 +00:00
Steve 3fa7c7a525 Animate entities. 2018-01-31 22:54:14 +00:00
Steve d11443158d Use getCurrentSprite for entity sprites. 2018-01-31 22:28:00 +00:00
Steve cab6d3b205 Render entities. 2018-01-31 21:50:49 +00:00
Steve 59430875f0 Adding dev screenshots. 2018-01-31 08:46:31 +00:00
Steve 0d534d6ef8 Correctly limit camera. 2018-01-31 08:37:01 +00:00
Steve 81000d7948 Specify unit type name. 2018-01-31 08:08:50 +00:00
Steve eeeee41ef1 Start of map rendering. 2018-01-31 08:08:41 +00:00
Steve 0705225253 Load and save for some entities. 2018-01-30 22:47:40 +00:00
Steve 514a2df3be Tidied headers. 2018-01-30 08:29:32 +00:00
Steve 917753aefe Loading some entities. 2018-01-30 08:29:09 +00:00
Steve 21e50e51e7 Use sprite pointers, rather than ints. 2018-01-29 23:00:14 +00:00