Commit Graph

655 Commits

Author SHA1 Message Date
justin 7c62ef4d48 Locate bug in wall zoning 2021-09-11 00:47:52 +01:00
justin c695767fb0 Add variable door speed, still buggy 2021-09-10 13:41:46 +01:00
justin 87a9745d37 Add support for clamping pictures to be inside screen 2021-09-10 11:38:24 +01:00
justin 70c97f5367 Refactor sounds 2021-09-09 14:58:07 +01:00
justin be7b2d2cd7 Add frame clock 2021-09-09 13:29:09 +01:00
justin a2288110ae First implementation of creatures detecting sounds 2021-09-08 21:56:58 +01:00
justin c3d567353c Try to move sound into world, slightly broken now 2021-09-08 19:12:54 +01:00
justin 04e5b9b39f Move side effects into world (may be slower) 2021-09-08 18:48:16 +01:00
justin 235e94cecb Commit before attempting to simplify main loop 2021-09-08 18:00:11 +01:00
justin f3c5e3a177 Create new files 2021-09-08 17:41:40 +01:00
justin 643cd5a420 Move towards incorporating sound into ai 2021-09-08 17:41:13 +01:00
justin 45bbf9b005 Fix tile rendering 2021-09-07 10:53:39 +01:00
justin 6ecd739d6f Tweak weapons 2021-09-06 21:58:36 +01:00
justin 60dc2d9342 Generalise path generation for arbitrary rooms 2021-09-06 19:32:48 +01:00
justin 72e29ebac3 Fix basic pathing 2021-09-06 11:35:30 +01:00
justin 4d3c0ae38f Add dependencies 2021-09-05 23:58:50 +01:00
justin 86311c5d41 Improve awareness 2021-09-05 23:58:35 +01:00
justin e366698064 Start ai cleanup 2021-09-05 22:27:31 +01:00
justin 68ba11aa91 Thread random generate through creature update 2021-09-05 12:46:19 +01:00
justin c16c09a9ce Move creature speed parameters into explicit data 2021-09-05 11:24:15 +01:00
justin 215a3dda36 Cleanup creature picture 2021-09-04 14:53:05 +01:00
justin 1ab3f1773c Add toggle for shadows on clouds 2021-09-03 23:47:22 +01:00
justin fd85093833 Cleanup particles slightly 2021-09-03 17:26:21 +01:00
justin 111b86d2df Unify menu event handling and display 2021-09-03 13:48:52 +01:00
justin 6a2df15d0d Unify option menu display and effects 2021-09-03 12:38:56 +01:00
justin 083000c103 Slight cleanup 2021-09-03 10:58:06 +01:00
justin 1bbeb926a5 Fix bug in detecting which room you are in 2021-09-03 01:22:46 +01:00
justin c69af7a5f4 Add concept of GameRoom, check viewing distance based on rooms 2021-09-02 23:24:29 +01:00
justin 9d2f42dbc9 Cleanup, start to add creature silhouettes 2021-09-02 11:06:04 +01:00
justin 02193add68 Square light radius on cpu (should be done in code) 2021-09-01 21:02:18 +01:00
justin d0aeeed5c3 Further cleanup 2021-09-01 19:35:25 +01:00
justin ce4c3bd231 Tweak window rendering 2021-09-01 13:13:10 +01:00
justin ecaa5c48d0 Working cloud shadows (slow) 2021-09-01 12:20:01 +01:00
justin f3ea46d7d0 Working shadows on clouds 2021-09-01 11:18:53 +01:00
justin 82551328a1 Add dependencies, play around with clouds/transparency layer 2021-09-01 03:04:41 +01:00
justin db5c27a3ed Cleanup createLightmap 2021-09-01 01:13:10 +01:00
justin 4cd8b5aa1c Apply deferred shading to walls 2021-09-01 00:51:50 +01:00
justin 1c587d4b9a Implement something like deferred lighting 2021-09-01 00:37:07 +01:00
justin 2d139adc8f Move towards attaching a position texture to base framebuffer 2021-08-31 22:25:37 +01:00
justin cf77163b3f Setup multiple target basic shaders 2021-08-31 20:05:15 +01:00
justin 146bab6fe3 Add shaders that will just return positional information 2021-08-31 18:32:50 +01:00
justin f58530cbb1 Clouds are affected by (underlying) lightmap 2021-08-31 16:04:42 +01:00
justin 90111594c0 Cleanup doDrawing a bit 2021-08-31 13:24:42 +01:00
justin b096b8ef20 Fix near plane distance 2021-08-31 13:21:02 +01:00
justin 740abd1609 Implement correctly shadows on geometry, with arbitrary near plane cap 2021-08-31 10:46:44 +01:00
justin cd0a82e526 First attempt at using exclusively depth pass with cap on near plane 2021-08-31 10:32:27 +01:00
justin f797530cbc Use depth fail and front cap for geometry shadows (TODO back cap) 2021-08-30 21:47:01 +01:00
justin f87b53bbf9 Unify shadow stencil tests, inverts shadow when light source occluded 2021-08-30 11:13:23 +01:00
justin eba8ff121c Add "cap" shadow shader 2021-08-29 18:13:55 +01:00
justin d23f36ea95 Partial fix to near plane clipping shadows 2021-08-28 21:25:59 +01:00