jacksonmj
a1515b3d5e
Shift key for numpad
2014-03-12 00:54:52 +00:00
jacob1
7ce9907f82
fix textbox key repeat issue, fix numpad issue (in two ways)
2014-03-11 12:53:42 -04:00
mniip
43bff37279
fix numpad behavior: movement keys are no longer triggered with numlock on
2014-02-27 20:39:16 +04:00
mniip
55284e6313
Fix most of clipboard-related memory leaks and potential crashes; Fixes jacob#23
2014-02-25 18:44:44 +04:00
mniip
fdfaa3a29b
add defines for window resolution
...
--amend
2013-12-29 20:12:50 +04:00
jacob1
138cb4d757
exception bluescreens print what the exception was, some (probably unnecessary) fixes to fusion that were never merged in, and probably a compiling fix
2013-12-03 22:05:35 -05:00
Simon Robertshaw
a32af1679a
Fix Mac OSX readUserPreferences missing off last char of pref data, add clipboard implementations for Mac OS X
2013-11-19 21:23:04 +00:00
mniip
9183fa1755
apparently Ximon hates const; a lot;
...
added a bunch of const everywhere, had to modify a few functions to be const-compliant
2013-10-30 04:38:13 +04:00
mniip
5d3520d18c
fix copy and paste in the same tpt window on SDL/Linux/X11
2013-10-25 00:46:41 +04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
mniip
8a27363c76
implement X11 clipboard pull
2013-08-29 00:57:08 +04:00
jacob1
5518a6bcd6
fix right modifier keys
2013-07-27 11:21:42 -04:00
jacob1
cc887995c0
fix openGL compiling (most likely), fixes #146
2013-07-17 18:20:50 -04:00
jacob1
3203e597b9
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
2013-07-10 16:59:10 -04:00
jacob1
60b1bf5066
forgot to push this commit, SDL should only be included in 1 type of way
2013-06-22 09:36:50 -04:00
jacob1
1588226120
move frameStart to right after the fps is limited (counts everything, including mouse/key functions now)
2013-05-21 23:23:57 -04:00
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