change header defines to reflect the current namespacing rules
A lot of include guards were changed.
Ramblings about hobbyist game development
change header defines to reflect the current namespacing rules
A lot of include guards were changed.
Add fullscreen support
Yay!
add a proper configuration file (read-only)
That means we have no more hardcoded configuration information:
replace the old chair model with a more or less human model
The old chair model was kept around to be able to distinguish the chair object it from the “human” object, luckily this is no longer necessary:
Add couch object
Sadly it looks more like a bluish blob without light shading. Work will be done on that!
change chair and table models with nicer versions and a nicer texture
Indeed!
Replace chair and table icons with rendered ones
Finally!
Make loading entity definitions more generic
This finishes up the introduction of configuration files!
also load tiles and walltype information from definition files instead of hardcoding them
This also makes use of the new ConfigReader for tile and wall type.
implement dynamic object definition files. do this by implementing some base classes so that implementing the same for tiles and wall tiles will be easy.
So far, object types were hardcoded, now a ConfigReader abstract class was introduced based on nlohmann/json and the FileReader class introduced for shaders a while back.
The newly introduced files look something like that: