Commit Graph

10 Commits (a3e703f8fc98d5227e0e8a2923d05d6646d89e16)

Author SHA1 Message Date
kts a3e703f8fc Updated Linux build. 2015-03-04 01:05:55 -08:00
kts d1121245af Updated linux build 2015-03-03 03:26:21 -08:00
kts a567769fcf Core now uses a state stack. States may be pushed on the stack with Core::pushState(State*) and popped off with Core::popState(). Pushing a state will trigger the old state's onCede(), push the state onto the stack, then call the new state's onInit(if DID_INIT is not set) then onRise(). Popping a state will trigger the top state's onCede and the previous state(if it exists)'s onRise. Core::doProcess now has a delta tickrate accumulator that ensures the world is processed at Core::tick_rate. Rendering is not capped to this tickrate, as doRender is called outside of the Event handling and state processing. Finally, functionality that was in Core for testing is now in TestState - it pushed onto the stack during Core::initSystem 2015-03-02 19:58:35 -08:00
kts 6f30b0a662 Updated Linux makefile to include MenuState 2015-03-02 01:45:45 -08:00
kts 0142296949 Added State class and MenuState subclass. Notes added for GUI and STATES in root. iOS, OS X, android, and Linux build environments now use include directories for src/ and src/states. This is to prevent excessive clutter in the src/ directory - although some might say that point was passed long ago. 2015-03-02 01:18:01 -08:00
kts c5f013d693 Updated Linux makefile. added <errno.h>, <sys/stat.h>, and <dirent.h> to AssetCache.cpp. Asset system works on Linux now. I also did A Bad Thing and replaced MAX_PATH with 1024. Also, VS allows for some majorly bad template code to be accepted. 2015-03-01 02:44:28 -08:00
kts b8ac063da1 Updated Linux makefile. Added stdlib.h to Asset.cpp for free() 2015-02-27 19:56:32 -08:00
kts b19f0bb727 Updated Linux build, forgot to set v_flags to opengl/resizable. Core now calls updateProjection for each camera and setView for each camera's RenderView on window resize. This functionality will be moved elsewhere, as we do not necessarily want to resize the view or the camera to the entire window. 2015-02-24 17:11:52 -08:00
kts 28d93f69d3 Updated linux Makefile. 2015-02-11 02:31:21 -08:00
kts 3a2d9e3dcb Basic Linux make build environment. DRequires some modification to work on a fresh system -- instructions to be added at a later date. 2015-02-04 16:56:01 -08:00