Commit Graph
57 Commits
Author SHA1 Message Date
Dane Johnson f47170663c Wake up physic objects when activation with code 2021-01-30 16:44:22 -06:00
Dane Johnson ec503a796d Error handling in lua code 2021-01-30 15:34:27 -06:00
Dane Johnson 21c540ef69 Can free instanced game elements from within the game 2021-01-27 17:34:03 -06:00
Dane Johnson a51c3d04b2 Delete allocated memory in main 2021-01-27 16:37:23 -06:00
Dane Johnson b5ba73825e cfloats are just floats, no overcomplication 2021-01-27 16:17:22 -06:00
Dane Johnson 28c4088bdc Allow non-lua builds 2021-01-27 16:05:46 -06:00
Dane Johnson 1bbba40ebf No lists 2021-01-27 15:20:25 -06:00
Dane Johnson fb5e40ae12 Mesh refactor and documentation 2021-01-27 15:15:40 -06:00
Dane Johnson 3ccba90348 Refactor and document Rigidbody 2021-01-27 00:01:17 -06:00
Dane Johnson 9dd82417d8 Camera documentation 2021-01-26 23:32:36 -06:00
Dane Johnson fbd2d7d61b Refactor spatial, add documentation 2021-01-26 23:28:20 -06:00
Dane Johnson b242b7b0e2 More docs 2021-01-26 22:04:57 -06:00
Dane Johnson 94613af452 Build documentation 2021-01-26 16:51:27 -06:00
Dane Johnson d26615fbf2 Begin refactor, add documentation 2021-01-26 16:42:28 -06:00
Dane Johnson add3b5b1a4 Added more collision shapes and rigidbody driving 2021-01-25 15:17:32 -06:00
Dane Johnson 790596d864 Added rigid bodys 2021-01-24 22:55:36 -06:00
Dane Johnson f67c8c7490 Add instancing system 2021-01-24 16:37:35 -06:00
Dane Johnson f69da37599 Mesh duplication 2021-01-23 13:00:08 -06:00
Dane Johnson cff580b7f1 Correct for non uniform scale in lighting 2021-01-23 12:33:10 -06:00
Dane Johnson a2cf4bc7ef Skybox 2021-01-23 11:54:34 -06:00
Dane Johnson a1e4ba4c3f Black clear color 2021-01-22 20:12:15 -06:00
Dane Johnson 9e88056e08 Import materials from files 2021-01-22 18:44:43 -06:00
Dane Johnson 591250b3d5 Shader refactor 2021-01-22 15:27:32 -06:00
Dane Johnson a7396c71fe Start work on lighting 2021-01-21 15:26:39 -06:00
Dane Johnson 3eaca9903b More quality of life 2021-01-21 11:12:45 -06:00
Dane Johnson fdeff15bd6 Apply rotations in the correct order 2021-01-20 22:17:33 -06:00
Dane Johnson 4f1f04a78d More constants 2021-01-20 21:58:43 -06:00
Dane Johnson f53f2f5745 Scripting quality of life adjustments 2021-01-20 21:42:14 -06:00
Dane Johnson 2731289263 Add alpha scissor 2021-01-20 20:49:12 -06:00
Dane Johnson d460d1db50 Added scaling 2021-01-20 17:18:39 -06:00
Dane Johnson cce51dc747 Remove ball (meshes must be loaded from file) 2021-01-20 17:05:59 -06:00
Dane Johnson 57c1874412 Materials are just structs 2021-01-20 15:16:44 -06:00
Dane Johnson d655b52aa2 Can add models with multiple textures 2021-01-20 14:54:54 -06:00
Dane Johnson 667b80b074 Some demo stuff 2021-01-20 12:50:59 -06:00
Dane Johnson 361d8584dd Added a uniform die function 2021-01-19 16:36:10 -06:00
Dane Johnson 1ead34a8e1 Reorganize core 2021-01-19 16:16:54 -06:00
Dane Johnson de3a51f47f Added framebuffer to render screen to 2021-01-19 16:06:01 -06:00
Dane Johnson 78370a2ffd Fix texture filtering (should all be nearest) 2021-01-18 19:06:37 -06:00
Dane Johnson 70a2e0352a Model loading and texturing 2021-01-18 18:25:47 -06:00
Dane Johnson 66bf7776c7 Remove "Drawable" virtual class to simplify class hierarchy 2021-01-18 13:31:09 -06:00
Dane Johnson 0f3dbdff64 Transform shader sources to header files 2021-01-17 18:03:09 -06:00
Dane Johnson 5e8d693758 Textures and colors passed to shader via Uniforms 2021-01-17 14:36:38 -06:00
Dane Johnson e243a666f1 Add some window hints 2021-01-17 12:41:14 -06:00
Dane Johnson 95ccf7af6b Access to vector operators 2021-01-15 20:33:25 -06:00
Dane Johnson 7651923ee8 Somewhat improved wrapping 2021-01-15 17:51:19 -06:00
Dane Johnson 2a12a1f119 Added new shader types 2021-01-15 16:15:47 -06:00
Dane Johnson e99b623fec More abstraction for scripting languages 2021-01-15 15:43:32 -06:00
Dane Johnson 4d1f0160c1 Port to CMake 2021-01-14 14:36:37 -06:00
Dane Johnson a3e4a0d512 Scene tree 2021-01-14 11:52:01 -06:00
Dane Johnson 35f43e9520 Mouse control 2021-01-13 22:50:01 -06:00