Go to file
kts da53685587 Font class now can change its point-size on the fly - this obviously changes the 'state' of the Font, so subsequent draws will reflect the changes. This will likely not be a problem, as Text input will likely handle this by specifying size and color changes whenever a render operation is needed. Font also now holds the SDL_RWops object so that the font can be closed and re-opened at different sizes. Also added some minor comments in GUI. 2015-03-09 16:40:10 -07:00
build Added Program HashTable to core. Some delete/remove functionality added to various Render* classes. Gui/GuiList somewhat works. GUI is now specified in terms of (0,0) being at the top-left of the screen. Need to recode so GuiElement contains majority of the needed functionality for updating (and that even GuiList(s) contain proper positioning and sizing. Embedding elements in elements will be much easier and more functional if it's abstracted to the base class rather than a specific subclass. 2015-03-06 21:39:07 -08:00
data SDL_ttf now required. Added basic Font class and default TTF font (Amaranth). 2015-03-06 05:53:09 -08:00
src Font class now can change its point-size on the fly - this obviously changes the 'state' of the Font, so subsequent draws will reflect the changes. This will likely not be a problem, as Text input will likely handle this by specifying size and color changes whenever a render operation is needed. Font also now holds the SDL_RWops object so that the font can be closed and re-opened at different sizes. Also added some minor comments in GUI. 2015-03-09 16:40:10 -07:00
.gitignore Added RenderCamera and RenderView class skeletons. Also added a common GL header file. 2015-02-09 18:29:12 -08:00
GUI Font class now can change its point-size on the fly - this obviously changes the 'state' of the Font, so subsequent draws will reflect the changes. This will likely not be a problem, as Text input will likely handle this by specifying size and color changes whenever a render operation is needed. Font also now holds the SDL_RWops object so that the font can be closed and re-opened at different sizes. Also added some minor comments in GUI. 2015-03-09 16:40:10 -07:00
LOGIC Updated ios and osx projects. Added some RenderCamera logic to RenderScene. Also added some basic code to main to test Render* functionality before the State machine is implemented. 2015-02-10 21:44:05 -08:00
NOTES Initial commit of RtB skeleton. ios, osx, and android build environments exist and successfully compile, presuming a fully functional SDL2 build environment. Documentation on getting such an environment set up will be forthcoming. 2015-02-04 15:26:15 -08:00
ORDER 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
README Initial commit of RtB skeleton. ios, osx, and android build environments exist and successfully compile, presuming a fully functional SDL2 build environment. Documentation on getting such an environment set up will be forthcoming. 2015-02-04 15:26:15 -08:00
STATES 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
STEREOSCOPIC Initial commit of RtB skeleton. ios, osx, and android build environments exist and successfully compile, presuming a fully functional SDL2 build environment. Documentation on getting such an environment set up will be forthcoming. 2015-02-04 15:26:15 -08:00
TODO updated TODO. Gui system is as abominable as ever. Need to rework it so offset_x/offset_y contain the absolute x/y(maybe just rename to that) as created during doUpdate(). Added GuiButton/GuiList elements. The former is a basic button that (at the moment) relies on a textured image - will later have a text texture generated with SDL2_ttf. There now exists a SysInfo class, of which the global instance, sysinfo, is provided. This provides the app, user, and external data directories (still needs to be fully implemented). It also provides screen density DPI, xdpi, and ydpi, at least for Android. RenderObjects may now be shown/hidden. 2015-03-05 17:11:11 -08:00

README

This directory's organization is as follows:

  * src/ - contains source and include files
  * build/ - contains build scripts/environments for GNU Make, XCode OS X, Windows VS, XCode iOS and Android
  * assets/ - source versions of "data/"

After creating a build, you may have a "release" or "debug" directory in the root:

  * OSX/iOS/Android application bundle
  * Linux/Windows executable, data directory, and libraries