Commit adfe10a5

– Move some enums from the Object class and ObjectManager to globally accessible places
– Do not draw the currently selected model in shop mode
– Move the bulk of the game world to graphics coordinates calculation from the object manager to the model manager to make it accessible from other parts of the code

This commit contains preparatory work for the “have a preview of what you are about to place” feature which will be active when placing (read: buying) new objects or move existing ones in the shop mode.
The most important change here is to move the model position/rotation/elevation calculation code out of the object manager to a more accessible and less dependency-ridden spot in the model manager.

Leave a Reply

Your email address will not be published. Required fields are marked *