Commit Graph

19 Commits

Author SHA1 Message Date
85becdfd6c Merge the game to dengine, reduce header coupling
Until engine architecture can clearly be separated from the game, i.e.
notion of entity storage belonging to game and concept of entity belonging
to engine, worlds/scenes belonging to game or engine- the project will
only refer to Dengine.
2016-07-28 15:19:23 +10:00
8a3886a60e Separate entity functions to own file 2016-07-28 14:33:58 +10:00
84a0f755ea Abstract audio playback into own file 2016-07-27 01:34:26 +10:00
71faaa78c4 Add openal-soft dependency, update opengl macro 2016-07-24 22:19:25 +10:00
fd94eb5afd Mobs battle with hero, engine architect. changes
Mobs battle in real-time with the hero when in range. Start encapsulating
logic into entityStateSwitch() to organise entity properties changing
between different states.

Introduce basic concept of memory management in MemoryArena. Begin passing
around a memory object to track memory usage and eventually delegate
memory allocations through. Remove the old memory tracker in the debug
object and incorporate into engine primarily.

Add a debug console for logging information and events to the screen in
a console-like fashion. Debug is now initialised after the game, this is
so that you can pass the game's memory arena and font file to the debug
services. Debug services now properly initialise debug element positions
from this information and not through the update routine.
2016-07-19 21:19:26 +10:00
a426461dad Fix up include headers, try to reduce dependencies
Ensure that all headers are self-sufficient instead of relying on included
headers to include headers for execution.
2016-07-16 23:27:52 +10:00
1f364f7024 Update debug data architecture and methods 2016-07-09 20:46:04 +10:00
46629a489a Add debug rendering, fix misaligned pos render bug
Rendering using a non-default quad specifies normalised coordinates
relative to the frame buffer size. Hence each render of these frames
should origin from (0,0) any other value is invalid.
2016-07-08 02:45:37 +10:00
753d700ca6 Complete port over to C, replace glm math lib 2016-06-18 19:12:09 +10:00
6251e105c8 Remove stdstring, use platform layer to open files 2016-06-18 02:01:43 +10:00
3c51010e77 Port project over to C, some C++ left 2016-06-18 00:40:40 +10:00
bcb847c18c Add acceleration to movement code 2016-06-17 18:11:23 +10:00
9861a02ed1 Add frame limiter, update glfw to 3.2 2016-06-17 03:00:11 +10:00
5cebf9ad0d Build world model in engine 2016-06-17 00:14:58 +10:00
68c53dad0a Switch to sprite renderer 2016-06-09 15:49:03 +10:00
761609e1f9 Add sprite functionality, doesn't render yet 2016-06-07 23:54:14 +10:00
864dca6f3d Add basics for breakout game, separate tutorial code 2016-06-05 17:54:41 +10:00
7295d4712c Abstract asset loading to asset manager 2016-06-04 22:42:22 +10:00
04e9f7bf85 Initialise repo 2016-06-03 15:07:40 +10:00