Commit Graph

82 Commits

Author SHA1 Message Date
Ben
a429c2d132 Better cmake compatibility 2018-12-30 17:57:16 +00:00
Ben
2457e0bc4b asdf 2018-12-14 17:06:30 +00:00
Ben
e83c3a635b Overload Logger started 2018-12-01 11:29:06 +00:00
Ben
23a2382d3a Updated TODO to have overload support for the logger 2018-12-01 08:12:10 +00:00
Ben
1ca0b9d348 Updated logger to have a debug option and updated colour.h to have a resetcolour method 2018-11-30 17:12:49 +00:00
Ben
52d43a93c8 Added some usefull includes to crumpet-engine.h and added a not neccesary include to main.cpp which will end up needing to go back in crumpet-engine.h 2018-11-30 16:27:56 +00:00
Ben
9ef31916c9 Logger and console colour classes working, moved math.h and started a little bit more on entitymanager and entitybase 2018-11-30 16:20:12 +00:00
Ben
5516793aad updated gitignore 2018-11-29 19:37:52 +00:00
Ben
30f0db641c asdf 2018-11-29 19:36:48 +00:00
Ben
25baf06b3f SDL configs 2018-11-29 18:17:21 +00:00
Ben
ac22247b08 Fixed compile error 2018-11-29 18:07:12 +00:00
Ben
26bbbf09ec Updated CMakeLists.txt to compile the entity system 2018-11-29 15:14:29 +00:00
Ben
68802b5749 Added some to the entity code and changed up the header for ResourceManager to include a virtual destructor 2018-11-29 14:52:24 +00:00
Ben
883d152893 Started an entity system 2018-11-29 14:23:16 +00:00
Ben
30168411c7 Rect classes and basic texture management with SDL_image 2018-11-29 14:12:00 +00:00
Ben
fbf2a65515 Updated TODO and CMake to hopefully compile on windows and linux and link SDL_image 2018-11-29 09:29:34 +00:00
plane000
b7305b33c6 Windows DLLs and (not working) windows build support 2018-11-28 20:16:33 +00:00
Ben
63ec7cc955 baic rendering and a bit on keyboard 2018-11-28 18:25:20 +00:00
Ben
6d6e9b7fd0 Added gitignore and vscode dependancy 2018-11-28 16:01:42 +00:00
Ben
93e2e109e5 Input handling and basic render capabilities along with an updated CMakeList 2018-11-28 16:01:12 +00:00
Ben
62a36bacd7 Removed Makefile generated by cmake 2018-11-27 21:11:01 +00:00
Ben
1c5a04674e WHYYY 2018-11-27 20:58:20 +00:00
Ben
66692fb863 Compiles with SDL2 and Cmake, ready for rewrite 2018-11-27 20:48:41 +00:00
Ben
6cf2cd35e4 Sorting out CMake and SLD2 2018-11-26 22:09:34 +00:00
Ben
92d63e8308 Trying to get smooth animation working but there's a null access pointer issue 2018-10-12 18:50:26 +01:00
Ben
d2c53faa7d Removed previous examples 2018-10-11 15:50:42 +01:00
Ben
e20929ffa9 Camera now applied to more render calls and started a demo 2018-10-11 15:17:45 +01:00
plane000
9b13205b86 Added todo in code and removed useless image 2018-10-10 20:32:31 +01:00
plane000
faf47367eb Noticed posible future memory leak, Camera class complete, zoom not working, TODO updated and entity class constructor bug where m_renderer was nullptr fixed 2018-10-10 20:24:33 +01:00
Ben
49b3aa9904 Camera class ready for rendering implimentation 2018-10-10 12:47:52 +01:00
Ben
053aa9e91a Rect class GetX, GetY, GetW, GetH now exist for camera calculations in the future 2018-10-10 11:39:26 +01:00
Ben
1757c67ab3 Camera class now can be passed to renderer and game to apply an active camera 2018-10-10 11:32:32 +01:00
Ben
7e259e4a02 Updated TODO.txt with new developments 2018-10-09 16:39:14 +01:00
Ben
c93d7e4927 (STABLE BUILD) all errors resolved, refractor complete 2018-10-09 16:36:47 +01:00
Ben
725536a4c3 (BROKEN) finished refractor, weird compiler and intelisense bugs, not sure what's wrong 2018-10-09 09:09:33 +01:00
Ben
f6e42e5f72 (BROKEN) started to refractor as stated in TODO 2018-10-08 17:54:43 +01:00
Ben
91cc2343e4 Added render functions, now moving everything to use rect and render functions 2018-10-08 13:32:20 +01:00
plane000
5e5f4b5d0f Project files 2018-10-06 17:00:38 +01:00
plane000
d77bed5c5a nmuch 2018-10-06 16:59:05 +01:00
plane000
e2ade750d1 Camera class complete 2018-10-06 16:27:37 +01:00
plane000
ff67b7fe8c Rectangle class complete 2018-10-06 16:07:04 +01:00
Ben
d5b9d88a30 Upadted TODO.txt 2018-10-06 11:51:28 +01:00
Ben
e08080bdfd Updated files, new rect plan and updated TODO.txt 2018-10-06 11:49:38 +01:00
Ben
048cbd1fe4 todo list and camera class 2018-10-04 16:39:57 +01:00
plane000
c75c0a84a2 not really done anything 2018-10-03 20:16:06 +01:00
Ben
be120ebb37 VS project files diddnt update in the last commit 2018-10-03 15:28:17 +01:00
Ben
40ff1ecc4d added some new files and started on a GameWorld and Camera structures 2018-10-03 14:08:56 +01:00
plane000
72d3f76de4 Spritesheet cutting working 2018-10-02 20:21:56 +01:00
Ben
89e0180174 Sprite class coming along, spritemap rendering almost working as intended, just gotta clean up and deallocate variables properly now 2018-10-02 16:36:03 +01:00
plane000
a95c631386 sprite maps 2018-10-01 20:56:07 +01:00