summaryrefslogtreecommitdiff
path: root/src/PowderToySDL.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-05-22move frameStart to right after the fps is limited (counts everything, ↵jacob11-2/+2
including mouse/key functions now)
2013-05-22Fix incorrect FPS counter, need to count blit too.cracker641-17/+16
2x scale gets a massive *real* fps boost, the fps lied before.
2013-05-19reenable sighandlers for winderpmniip1-5/+1
2013-05-17some more compiling fixesmniip1-1/+4
2013-05-05well, fuck you too, simonmniip1-0/+1
2013-05-04Fix compiling with new BSOD in debug modeSimon Robertshaw1-1/+1
2013-05-04TPT Blue screen of death - try its best to catch some signals (SIGSEGV) and ↵Simon Robertshaw1-80/+162
unhandled exception in the game loop
2013-05-04Fix compilation issues on Windows with Window Position LoaderSimon Robertshaw1-2/+3
2013-05-03set window position before displaying itjacob11-14/+9
2013-05-02LoadWindowPosition has a better default positionmmbob1-15/+22
LoadWindowPosition now positions the window on the nearest monitor if the window is not inside a monitor.
2013-04-22Replace __ImageBase. Save + load window position.mmbob1-6/+92
Instead of using the __ImageBase global variable, use the GetModuleHandle(NULL) function to get the exe's HMODULE/HINSTANCE. Save the window position when the game is closed and restore it when it is opened. Defaults to being centered on the desktop.
2013-03-22Move all GUI source files into gui/Simon Robertshaw1-10/+5
2013-02-15fix mac compiling, fix renderer, fix other minor compiling issuesjacob11-0/+8
2013-01-19fix missing #ifdef statement breaking compiling when not on linuxjacob11-0/+2
2013-01-18move clipboard functions out of misc.cpp without creating errorsjacob11-2/+129
2013-01-13copy support in linuxjacob11-0/+6
2012-11-16add (slightly updated) README from tptjacob11-2/+2
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16Opengl fixBryan Hoyle1-2/+4
2012-10-05Fast quit option (disable to make "X" act like in tpt)jacob11-1/+3
2012-10-05Fix stuttering issue with FPS capSimon Robertshaw1-30/+22
2012-09-06revert changing the lua/sdl includes and min/max changesjacob11-2/+2
2012-09-06Visual studio compatibilityjacob11-2/+2
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-05Prevent setting double scale on smaller screens. Fixes #166Simon Robertshaw1-0/+6
2012-08-19Fix the Lua EngineProcess bug, not sure how either (needs further ↵Simon Robertshaw1-5/+2
investigation) I suspect that stacking Lua calls upon each other (which will happen in engine->Tick()/engine->Draw()) is causing some unusual behaviour, checking for an engine break just before this fixes it. fixes #129
2012-08-18More robust EngineProcess (still doesn't fix lua bug)Simon Robertshaw1-1/+4
2012-08-18Blocking Confirm/Error/Input prompts (EngineProcess creates a new event loop ↵Simon Robertshaw1-122/+135
which can be broken out of with Engine::Break())
2012-08-17Tick client more frequently and remove *pyc files from gitSimon Robertshaw1-1/+1
2012-08-17RichText label (used for MOTD), fixes #123Simon Robertshaw1-0/+1
2012-08-13Precompile some headers. Fix sconscript to prevent recompiling everythingSimon Robertshaw1-0/+2
2012-08-12Use forward declarations more to avoid excessive includesSimon Robertshaw1-0/+2
2012-08-12now opengl and opengl renderer run and compile, but renderer has a segfault, ↵Bryan Hoyle1-8/+8
will fix
2012-08-12more fixesBryan Hoyle1-1/+0
2012-08-10Use Left modifier keysSimon Robertshaw1-2/+2
2012-08-08PTsave openingSimon Robertshaw1-1/+64
2012-08-08Command line "open"Simon Robertshaw1-0/+33
2012-08-08Proxy from command line argSimon Robertshaw1-2/+26
2012-08-08Scale and fullscreen loaded/saved to config and commandlineSimon Robertshaw1-3/+39
2012-08-08Fullscreen and scale setting from sim optionsSimon Robertshaw1-15/+112
2012-08-02Rename WIN32 preprocessor definition to WINntoskrnl1-6/+5
2012-08-02Separate operating system and architecture preprocessor definitionsntoskrnl1-2/+2
Conflicts: SConscript
2012-07-27Local file browser + some more interesting things like Progress bar UI componentSimon Robertshaw1-1/+0
2012-07-06Parsing commandline argumentsSimon Robertshaw1-2/+66
2012-07-06Move graphics into seperate folderSimon Robertshaw1-1/+1
2012-06-25Fix Line scaling for OpenGL inetrgsdfkjdslkfjsSimon Robertshaw1-0/+2
2012-06-25Resizable window when using OpenGL interfaceSimon Robertshaw1-7/+31
2012-06-23Option to use OpenGL JUST for the interfaceSimon Robertshaw1-6/+6
2012-06-22Client now provides methods for reading and saving preferences - less ↵Simon Robertshaw1-0/+3
powerful than raw access to Cajun, (no mixed type arrays, for example) but allows other save formats to be used, such as property lists on OS X
2012-06-20Opengl can open saves now, just need to get it to render accurately laterBryan Hoyle1-1/+1
2012-06-20OpenGL canvas for Windows, Notifications for main Game, Update checker in ↵Simon Robertshaw1-0/+8
Client (+ other client triggered events)
2012-05-30Fix minor syntax error, move all OpenGL includes into a new file that can ↵Simon Robertshaw1-1/+5
detect the OS X version.