cracker64
4e9ee3a3a3
Fix incorrect FPS counter, need to count blit too.
...
2x scale gets a massive *real* fps boost, the fps lied before.
2013-05-21 23:05:27 -04:00
mniip
3979395e65
reenable sighandlers for winderp
2013-05-19 10:02:42 +04:00
mniip
3a640fee3f
some more compiling fixes
2013-05-17 18:32:41 +04:00
mniip
9f33cbf79e
well, fuck you too, simon
2013-05-05 08:49:36 +04:00
Simon Robertshaw
8ef266c08e
Fix compiling with new BSOD in debug mode
2013-05-04 22:41:08 +01:00
Simon Robertshaw
2d8c5a7747
TPT Blue screen of death - try its best to catch some signals (SIGSEGV) and unhandled exception in the game loop
2013-05-04 21:39:43 +01:00
Simon Robertshaw
1575d93d48
Fix compilation issues on Windows with Window Position Loader
2013-05-04 15:00:45 +01:00
jacob1
d4391cc19e
set window position before displaying it
2013-05-03 19:11:44 -04:00
mmbob
df14a77124
LoadWindowPosition has a better default position
...
LoadWindowPosition now positions the window on the nearest monitor if
the window is not inside a monitor.
2013-05-02 13:00:13 -04:00
mmbob
63050715ee
Replace __ImageBase. Save + load window position.
...
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-04-22 13:04:43 -04:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
jacob1
01cd146ee9
fix mac compiling, fix renderer, fix other minor compiling issues
2013-02-14 23:31:31 -05:00
jacob1
b493788b26
fix missing #ifdef statement breaking compiling when not on linux
2013-01-19 11:46:21 -05:00
jacob1
ded94b475d
move clipboard functions out of misc.cpp without creating errors
2013-01-18 14:37:24 -05:00
jacob1
73fdfd411c
copy support in linux
2013-01-13 15:24:52 -05:00
jacob1
6b846c6339
add (slightly updated) README from tpt
...
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16 18:20:48 -05:00
Bryan Hoyle
fec50a2a8e
Opengl fix
2012-11-16 16:50:02 -05:00
jacob1
97cea273e5
Fast quit option (disable to make "X" act like in tpt)
2012-10-05 16:31:04 +01:00
Simon Robertshaw
4bb402f4fd
Fix stuttering issue with FPS cap
2012-10-05 14:21:38 +01:00
jacob1
5a91b83875
revert changing the lua/sdl includes and min/max changes
2012-09-07 00:53:29 +01:00
jacob1
f8f70a3f77
Visual studio compatibility
...
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-07 00:52:56 +01:00
Simon Robertshaw
d61690bc09
Prevent setting double scale on smaller screens. Fixes #166
2012-09-05 17:31:49 +01:00
Simon Robertshaw
4c63a6f593
Fix the Lua EngineProcess bug, not sure how either (needs further 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-19 12:16:51 +01:00
Simon Robertshaw
93afe0a1ea
More robust EngineProcess (still doesn't fix lua bug)
2012-08-19 00:40:20 +01:00
Simon Robertshaw
740f0d30c3
Blocking Confirm/Error/Input prompts (EngineProcess creates a new event loop which can be broken out of with Engine::Break())
2012-08-18 22:08:20 +01:00
Simon Robertshaw
706bd0fa97
Tick client more frequently and remove *pyc files from git
2012-08-17 17:20:09 +01:00
Simon Robertshaw
614a90cfc6
RichText label (used for MOTD), fixes #123
2012-08-17 16:08:03 +01:00
Simon Robertshaw
074dcd0b42
Precompile some headers. Fix sconscript to prevent recompiling everything
2012-08-13 15:43:57 +01:00
Simon Robertshaw
8ca27520a4
Use forward declarations more to avoid excessive includes
2012-08-12 22:32:57 +01:00
Bryan Hoyle
530e093d8b
now opengl and opengl renderer run and compile, but renderer has a segfault, will fix
2012-08-12 14:29:27 -04:00
Bryan Hoyle
e7b653a0c7
more fixes
2012-08-12 11:55:59 -04:00
Simon Robertshaw
0e67fe028b
Use Left modifier keys
2012-08-10 12:43:21 +01:00
Simon Robertshaw
d352a10d80
PTsave opening
2012-08-08 21:32:10 +01:00
Simon Robertshaw
435c680f01
Command line "open"
2012-08-08 20:24:23 +01:00
Simon Robertshaw
346e9d2168
Proxy from command line arg
2012-08-08 18:34:37 +01:00
Simon Robertshaw
73a18998f6
Scale and fullscreen loaded/saved to config and commandline
2012-08-08 17:42:04 +01:00
Simon Robertshaw
10e82df543
Fullscreen and scale setting from sim options
2012-08-08 14:35:27 +01:00
ntoskrnl
f94fabd999
Rename WIN32 preprocessor definition to WIN
2012-08-02 15:21:16 +01:00
ntoskrnl
87dfc47c97
Separate operating system and architecture preprocessor definitions
...
Conflicts:
SConscript
2012-08-02 15:20:14 +01:00
Simon Robertshaw
5befe5c25f
Local file browser + some more interesting things like Progress bar UI component
2012-07-27 20:06:17 +01:00
Simon Robertshaw
72d98036a5
Parsing commandline arguments
2012-07-06 16:53:59 +01:00
Simon Robertshaw
adc9cc0816
Move graphics into seperate folder
2012-07-06 16:06:26 +01:00
Simon Robertshaw
44e41a3b28
Fix Line scaling for OpenGL inetrgsdfkjdslkfjs
2012-06-25 17:52:04 +01:00
Simon Robertshaw
dacb774ae0
Resizable window when using OpenGL interface
2012-06-25 16:10:40 +01:00
Simon Robertshaw
f5547f267b
Option to use OpenGL JUST for the interface
2012-06-23 14:59:07 +01:00
Simon Robertshaw
3c91e526bb
Client now provides methods for reading and saving preferences - less 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-22 01:04:55 +01:00
Bryan Hoyle
c9f837f21d
Opengl can open saves now, just need to get it to render accurately later
2012-06-20 14:23:22 -04:00
Simon Robertshaw
2be9c92508
OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events)
2012-06-20 13:40:18 +01:00
Simon Robertshaw
ab82847cd6
Fix minor syntax error, move all OpenGL includes into a new file that can detect the OS X version.
2012-05-30 13:17:40 +01:00
Simon Robertshaw
86746f38b0
Separate SDL from graphics code
...
Also remove OS X specific project files and update Makefile to ensure
the Element class generator only runs when necessary
2012-05-30 12:32:58 +01:00