Sourcehold
Sourcehold copied to clipboard
Open source re-implementation of Stronghold 1
Suggesion: [xcpretty](https://github.com/xcpretty/xcpretty)
- inherit from a static texture - remove alloc/create/destroy -> constructors/destructors/helper class - use overloads instead of Get/Set - remove surface member #92 #96
- inherit from a static texture - remove alloc/destroy -> constructors/destructors/helper class - remove surface member - use overloads or make members public, instead of Get*/Set* #92
- remove init/destroy - make full static class -> force usage: Display::SomeFunc() - Use overloads instead of Set*/Get* #89
- move Resolutions to src/Common - remove init/destroy - remove unused - make full static class -> mandatory usage as Renderer::SomeFunc() - rename Render*() to Draw*() - overload Draw*() -...
- use as a prototype for SDL_Texture - differ between Static/Streaming/Target texture types - only allow read/write access on streaming textures - remove alloc/destroy functions -> constructors/destructors - remove unused...
- build and link google-test on iOS simulator - enable testing in CI
make it easier to follow, where and when subsystems are initialized (SDL/OpenAL/FFMPEG/..)
I'd like a guideline or template to create scenes for the game.
while the code works, it is hard to read at first sight. compressing all of it into smaller functions should do the trick.