0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 21:23:41 +00:00

222 Commits

Author SHA1 Message Date
freezarite
91f15671c0 fixed pull request issues 2024-12-17 16:08:28 +01:00
freezarite
abe018f99b fixed some issues stemming from the removal of the window-size constant variables 2024-12-16 13:12:53 +01:00
freezarite
84cee5e307 removed no longer used variables in Constants.h
updated _Init.cpp to use updated init() function from GameInternal.cpp
2024-12-16 06:21:26 +01:00
freezarite
55b60624c4 added a folder to hold internal assets for the standard config of the engine 2024-12-16 06:10:31 +01:00
freezarite
1f3cf01419 fixed a bug with the implementation of the nlohmann library in the CMakeLists.txt
fixed a bug where the config was not loaded correctly in the GameInternal.cpp
2024-12-16 06:08:52 +01:00
freezarite
691ea06eb0 Added and implemented some more config options in the GameInternal.cpp. Also removed GameInternal::init() parameters as they are no longer needed 2024-12-16 06:02:58 +01:00
freezarite
acdbf29896 Fixed a bug where the custom json was not loaded correctly
Changed base config location to ./engine/config.json to make implementation better for the game-dev
2024-12-16 05:47:28 +01:00
freezarite
5e48f4e34f Config now gets read by the GameInternal.cpp
Made the process of adding a custom Config file work via a Virtual function within Game.h
2024-12-13 14:36:43 +01:00
freezarite
9247b8df8a started work on config-system
added nlohmann_json library as submodule and to CMakeLists.txt
created basic config.json file in root folder
created ConfigLoader.h and added basic functionalities to it
2024-12-03 18:17:31 +01:00
7c50c8d1fb Merge branch '80-migrate-to-sdl3' into dev 2024-12-02 23:10:05 +01:00
6a0b5197f9 Implemented suggested changes 2024-12-02 21:47:36 +01:00
Freezarite
ff27a0e55c
Merge pull request #86 from VEGO-Engine/textureManagerChanges
Texture manager changes
2024-12-01 21:09:09 +01:00
freezarite
58be6b05f0 more documentation changes 2024-12-01 21:04:45 +01:00
freezarite
b490e2dc17 removed magic enum and documentation improvements
since getName is no longer used from the TileComponent.h we no longer need magic_enum for the enum to string conversion
also some minor documentation changes
2024-12-01 20:25:31 +01:00
2483b75983 Added config file 2024-12-01 18:41:58 +01:00
freezarite
dadf846470 fixed \todo in TextureManager.h 2024-12-01 14:51:10 +01:00
freezarite
4ead20ecb7 Cleanup of documentation and refactoring
renamed TextureEnumBase.h to Textures.h
improved some of the doxygen documentation
2024-12-01 14:39:45 +01:00
freezarite
7dbcfe876c Added some doxygen documentation to TextureEnumBase.h and TextureManager.h 2024-11-30 15:43:15 +01:00
freezarite
cbd1993c20 Extra map for MapTiles generated by TMX file now works like intended.
removed textures map from AssetManager as it is no longer used.
Updated SpriteComponent to now check if it is a normal Texture or a MapTileTexture.
Added if condition in TextureManager::LoadMapTileTexture to check if the texture was able to be loaded by SDL
2024-11-30 15:42:56 +01:00
b497991975 fixed developer skill issue 2024-11-19 18:47:37 +01:00
25414524a0 new main logic & new time keeping 2024-11-18 16:20:41 +01:00
625ac98a57 first pass - changed function names etc. 2024-11-18 13:37:10 +01:00
freezarite
27a80d9766 added new Constructor for SpriteComponent as Tiles wont work with enums 2024-11-17 17:05:26 +01:00
freezarite
ac217e931b added new Map for tile-textures as they wont work with our current enum-class maps. 2024-11-17 16:59:46 +01:00
freezarite
1a8a196e95 merged dev into textureManagerChanges 2024-11-17 16:26:05 +01:00
freezarite
494ff8aa0a magic_enum library stuff and refactored TextureEnum to Textures due to bad naming 2024-11-17 16:00:47 +01:00
a8052b4bbb Merge branch 'tmxlite' into dev 2024-11-17 14:07:42 +01:00
92dfbacd9b Fixed templates and const char* for texture 2024-11-17 13:07:33 +01:00
1fbbb39843 Merge branch 'v0-2-0' into dev 2024-11-17 12:50:32 +01:00
70260c01bb structural improvements & code comments 2024-11-17 12:39:14 +01:00
7f4b1df833 Restructured code 2024-11-16 20:02:35 +01:00
9e346a719d Reimplemented collision
still missing documentation
2024-11-15 22:25:43 +01:00
6751b3e12c Merge branch 'dev' 2024-11-13 13:12:09 +01:00
Benedikt Galbavy
c19171328d
Merge pull request #84 from VEGO-Engine/tmxlite
Added support for .tmx maps
2024-11-05 19:50:56 +01:00
Benedikt Galbavy
21f970cb19
Merge pull request #85 from VEGO-Engine/remove-assets
Removed assets and startscreen from engine
2024-11-05 19:47:22 +01:00
23c750c409 Implemented requested changes 2024-11-05 19:45:24 +01:00
7c82ee5beb Removed all assets* from Engine 2024-11-05 19:35:31 +01:00
d7f11e7ebd Readded animations 2024-11-05 16:14:35 +01:00
476d24e930 Code clean-up 2024-11-05 16:14:22 +01:00
ba8dca8abc added loading of tmx files 2024-11-04 23:27:26 +01:00
Benedikt Galbavy
0179a27aaf
Merge pull request #77 from VEGO-Engine/#69-delete-gameobject
refactor: remove obsolete code
2024-10-17 19:21:21 +02:00
Freezarite
a5c3ec3683
Merge pull request #82 from VEGO-Engine/#81-zindex
Added z-Index based render order
2024-10-16 13:59:55 +02:00
074d285aff Adjusted for loop 2024-10-16 13:57:23 +02:00
686ebbb97f Added documentation 2024-10-16 13:38:20 +02:00
b48d5d7183 Added z-Index base render order 2024-10-15 23:42:32 +02:00
freezarite
65e00c2314 changed texture_cache map to use enums instead of string for keys and functions using said map 2024-10-15 13:24:56 +02:00
d3a1daf383 refactor: remove obsolete code 2024-10-14 20:47:11 +02:00
freezarite
68079d0279 made texture_cache map private 2024-10-13 13:29:32 +02:00
Nanogamer7
bfa5054755
Updated README.md
Some checks failed
/ deploy (push) Has been cancelled
2024-06-25 15:23:21 +02:00
e493960fe0 Merge branch 'ref/healthcomponent' into separation-refactor 2024-06-25 12:17:35 +02:00