94 Commits

Author SHA1 Message Date
Benjamin Kyd
586823acc1 Merge pull request #2 from Shreddan/master
Changed main
2019-10-07 22:47:15 +01:00
Shreddan
3b3b73c779 Changed main 2019-10-07 22:43:58 +01:00
Benjamin Kyd
c0a092c0ac Merge pull request #1 from plane000/add-license-1
Create LICENSE
2019-02-03 20:22:58 +00:00
Benjamin Kyd
a7e3fa9707 Create LICENSE 2019-02-03 20:22:49 +00:00
Benjamin Kyd
512a26986b Delete LICENSE.md 2019-02-03 20:22:31 +00:00
Ben
c744d2b5a9 I don't think i changed anything 2019-01-06 19:14:20 +00:00
Ben
1ba7a0609a added resources and changed textures 2019-01-06 15:31:39 +00:00
Ben
dae9169704 Removed useless CMakeFiles and made a CMakeModules folder for module dependancies 2019-01-05 23:33:17 +00:00
Ben
5d39d47633 made header guards follow the google c++ standards and switched to the #ifndef style instead of using pragmas 2019-01-02 20:23:08 +00:00
Ben
9534207f03 Switched around the texutre manager a bit internally, functions the same but it uses a Texture struct now 2019-01-02 20:09:51 +00:00
Ben
a96893fabb Fixed vec4 dotproduct taking a vec3 2018-12-30 19:43:23 +00:00
Ben
7a986cae38 Improved vectors in math.h and adjusted todo acordingly, also fixed a bug in the CMakeList 2018-12-30 19:40:01 +00:00
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