Commit graph

151 commits

Author SHA1 Message Date
ef9a8bb411 wip 2018-05-02 22:14:03 +02:00
164690390b Fix maths tests 2017-06-10 15:48:37 +02:00
20078d8901 Fix resources tests 2017-06-10 00:41:41 +02:00
94a4243a84 Fix job tests 2017-06-10 00:41:41 +02:00
856de304fb Move reference files (macroexpand-dammit and memory) away from test 2017-06-06 23:30:50 +02:00
d0da60549e Remove useless files 2017-06-06 23:30:50 +02:00
007c412a69 sort stoe.asd dependency list 2017-06-06 23:30:50 +02:00
c1ff827070 Revamp and simplify entity system 2017-06-06 23:30:50 +02:00
08706de1f4 Add a graph utility class
Remove tree functionality from utils.lisp and generalize it as graph
2017-06-04 23:21:44 +02:00
981252eeea Use float values to represent module's priority 2016-09-07 15:28:03 +02:00
9ab27987b4 Make entity-system a module updated in the game loop
Each system is updated in parallel but the module itself will wait for
all the job to complete
2016-09-07 15:28:02 +02:00
9ad17fecb4 Allow component retrieval recursively
When specifying a base class component, the option allow retrieval of
the subclasses components
2016-09-07 15:28:02 +02:00
284a55a5ae Add tests for component retrieval in entity 2016-09-07 15:28:02 +02:00
9f8990adae Add components slot to entity for faster retrieval 2016-09-07 15:28:02 +02:00
580bcd9799 Fix entity unit tests 2016-09-07 15:28:02 +02:00
e0b55cd11c Add a defesystem macro to define entity-systems 2016-09-07 15:27:38 +02:00
24238d87ed Don't resolve the resource promise until resource-initialize has been completed 2016-09-07 15:24:09 +02:00
9ba6982892 Use print-object methods to better identify entities 2016-09-07 15:24:09 +02:00
faae6741be Use new entity API 2016-09-07 15:24:09 +02:00
fe1d32b079 Rework entity system API using macros 2016-09-07 15:24:08 +02:00
dfe1b3940c Add a method to get to the root of a node tree 2016-04-09 13:03:40 +02:00
8838362c26 Implement an entity-component system and a scene graph
Use entities and components to define objects in the game world
and represent the game scene as a graph
2016-04-04 22:46:46 +02:00
6e3b3ae8a1 Introduce a *feature* keyword for debug purpose 2016-04-04 22:46:46 +02:00
3915cdcba1 Add functions to manipulate fill-pointer of arrays 2016-04-04 22:46:46 +02:00
c8af805cbe Add ret macro 2016-04-04 22:46:46 +02:00
efb41ecc11 Fix remove-hook 2016-04-04 22:46:46 +02:00
233cbf95d7 Don't include game module in stoe's main project tree 2016-04-04 22:46:46 +02:00
60b0609c86 add memory.lisp 2016-04-04 22:46:46 +02:00
9dfcb2da9b Add tree-node functionality 2016-04-04 22:46:46 +02:00
686016886f Add support for opengl 4.5 2016-04-04 22:46:46 +02:00
6be102db56 Enhance resource package interface using macros 2016-04-04 22:46:46 +02:00
1deb06a92f Wait for threads to close properly 2016-04-04 22:46:46 +02:00
a2806bc83a By default use simple-shader 2016-04-04 22:46:46 +02:00
7c077ebe68 Fix opengl buffer objects leak 2016-04-04 22:46:46 +02:00
0ff12bc9ed Fix FPS counter below 1 2016-04-04 22:46:46 +02:00
5daadb78b6 Fix color stream import from classimp 2016-04-04 22:46:46 +02:00
7966bb14a1 don't multiply the x axis by -1 in rotate 2016-04-04 22:46:45 +02:00
bf6352369b Resize the viewport and recompute the projection when needed 2016-04-04 22:46:45 +02:00
cdfd5f6bb5 Fix job unit tests 2016-04-04 22:46:45 +02:00
383e156c91 Add macros to simplify async evaluation 2015-12-27 17:09:06 +01:00
7e9ed2c1ac Add the main loop and remove the now useless startup and debug files 2015-12-27 17:09:06 +01:00
994f7c33c4 Use input package as a module 2015-12-27 17:09:06 +01:00
03b2fa65fb Don't crash render thread even if there is no world 2015-12-27 17:09:06 +01:00
a2b107f53f Add move and rotate functions to manipulate objects 2015-12-27 17:09:06 +01:00
54c1efc5b1 Fix ctype-to-gltype 2015-12-27 17:09:06 +01:00
de99347555 Add a compute-fps function in render module 2015-12-27 17:09:06 +01:00
326fe654c2 Add a priority parameter to defmodule 2015-12-27 17:09:06 +01:00
4985c8a179 Fix maths module's vec* macros and mperspective 2015-12-27 17:09:06 +01:00
0a5d24fe3e Use the renderer to show some meshes
Create some classes to store the mesh data streams and adapt the import
file accordingly.
Add object and camera classes to be manipulated by the game.
Render the meshes in the graph scene using only position vertex stream
and an unicolor shader.
Also add some models and a startup package to ease testing.
2015-12-27 17:09:06 +01:00
ae6ce45c53 Move around some defgeneric to be used in various situations 2015-12-27 17:09:06 +01:00