Commit Graph

106 Commits

Author SHA1 Message Date
justin 3aefb8319d Continue changes to quadratic bezier rendering 2021-03-13 23:14:37 +01:00
justin 152d017e39 Improve bezier curve rendering 2021-03-13 14:09:49 +01:00
justin 8f3b5d0bfe Determine bug in bezier curve rendering 2021-03-13 12:58:20 +01:00
justin 9aa6fec418 Debug bezier quad, doesn't draw straighter lines well 2021-03-12 22:17:48 +01:00
justin 95c9610b74 Small cleanup, delete unneeded code 2021-03-12 21:17:24 +01:00
justin 918f7d23b8 Implement color for quadratic bezier curves 2021-03-12 19:10:14 +01:00
justin 4ed72e263b Implement varying width in bezierQuad 2021-03-12 17:35:13 +01:00
justin 0489a092bc First implementation of quadratic bezier curve shader 2021-03-12 15:25:07 +01:00
justin 6f1f817ed3 Modularise triggers for weapons 2021-03-12 02:54:15 +01:00
justin 22275beb89 Modularise code concerning items 2021-03-12 02:29:24 +01:00
justin 9bdc6fddd7 Fix arc rendering bug (make vertex attribs correct size) 2021-03-12 01:22:10 +01:00
justin e8e3dd8f50 Refactor level/room generation modules 2021-03-11 22:08:35 +01:00
justin 2d995339b9 Free vao pointers at end 2021-03-11 19:42:29 +01:00
justin 33017a599b Refactor loading of background shader 2021-03-11 19:18:52 +01:00
justin 6c378659b2 Refactor light source and wall shadow shaders 2021-03-11 01:16:42 +01:00
justin e2c35b21bc Refactor picture rendering code 2021-03-10 22:45:43 +01:00
justin a2fa713bde Continue refactoring shaders 2021-03-10 21:22:52 +01:00
justin 4a455cc7c9 First pass deletion, increases perfomance significantly 2021-03-10 19:44:59 +01:00
justin 06a8ae7c99 Refactor shaders, commit before major deletion of old code 2021-03-10 19:34:15 +01:00
justin da86de6918 Partial refactor of shader loading and drawing 2021-03-10 18:45:59 +01:00
justin b4b77fe345 Inlined bindArrayBuffers, seemed to improve perfomance 2021-03-10 17:19:41 +01:00
justin fe2abc9266 Pre shader refactor commit 2021-03-10 14:31:50 +01:00
justin d3c8504d21 Allow for interpolating colors from center to edge of ellipses 2021-03-10 12:12:59 +01:00
justin 5a16086743 Add hud module 2021-03-10 05:10:45 +01:00
justin 64df420020 Improve hud rendering 2021-03-10 05:10:10 +01:00
justin 0174e0ac07 Return flamethrower rendering to last gloss state 2021-03-10 04:13:33 +01:00
justin f729e5a298 Render circles as ellipses, allows for proper scaling 2021-03-10 04:09:18 +01:00
justin cc86a701db Improve ellipses 2021-03-10 03:59:38 +01:00
justin cddf7d1f8f Partially working ellipse shader 2021-03-10 03:29:10 +01:00
justin bfbd0b6fef Rename fadeCircle shaders to lightmapCircle 2021-03-09 11:08:56 +01:00
justin c29aa46bc5 Fix creature glare direction 2021-03-09 01:50:12 +01:00
justin aa74075e3f Fix weapon scroll bug 2021-03-09 01:36:30 +01:00
justin 2310bd1b09 Improve control over floor items and buttons 2021-03-09 01:18:44 +01:00
justin 13cc9501a7 Improve inventory management, item pickup to cursor pos 2021-03-08 19:26:12 +01:00
justin c8705a88c2 Improve floor item labels 2021-03-08 19:09:24 +01:00
justin 9f58066dba Make buttons without labels inactive 2021-03-08 17:03:58 +01:00
justin 70f8914767 Fix button label rendering 2021-03-08 15:17:33 +01:00
justin dd5e49dccc Fix rotation on floor item labels 2021-03-08 02:05:55 +01:00
justin b547df9547 Reimplement floor item label cursors 2021-03-08 01:56:47 +01:00
justin 79b6a4fc32 Improve cursor rendering 2021-03-08 00:25:57 +01:00
justin c9ae76594b Improve inventory rendering 2021-03-07 23:55:09 +01:00
justin f92075263f Correct text scaling 2021-03-07 23:34:37 +01:00
justin 80a38eca58 Commit before changing text rendering 2021-03-07 18:21:45 +01:00
justin 6d34b79764 Increase door room width 2021-03-07 13:02:09 +01:00
justin baed2716da Split trigger door module, improve trigger door shadows 2021-03-06 14:03:28 +01:00
justin 36bccebed9 Split autodoor module 2021-03-06 13:12:18 +01:00
justin e9eed18666 Thicken autodoors to allow shadows to cover them 2021-03-06 12:28:26 +01:00
justin d57bfcf354 General improvement to shadows 2021-03-06 12:23:19 +01:00
justin 079f4deecf Add submodules of levelgen 2021-03-05 20:25:25 +01:00
justin 37822c3ad2 Track new shaders 2021-03-05 20:24:49 +01:00