Commit Graph

880 Commits

Author SHA1 Message Date
Bryan Hoyle
07821d9c85 Minor opengl fixes, still not compiling, look at line 14 in src/graphics/OpenGLGraphics.cpp, build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected primary-expression before '{' token
build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected ')' before '{' token
'
2012-08-12 11:38:26 -04:00
Simon Robertshaw
f1fc3811aa Remove more unused files 2012-08-12 16:29:40 +01:00
Simon Robertshaw
760a721e0d Remove old unused textarea 2012-08-12 16:20:43 +01:00
Simon Robertshaw
5d3d1d4916 Message of the day and user session check on startup 2012-08-12 15:15:47 +01:00
Simon Robertshaw
08b4e5553a Implement some missing lua functions, PNG format creation (requires zlib) 2012-08-11 20:24:48 +01:00
Simon Robertshaw
ecbb1e9103 Lua element and graphics functions working (element_func no longer uses "replace" parameter and replaces all functions) 2012-08-11 12:45:49 +01:00
Simon Robertshaw
2f76c2374d TPT: Give menu color to elements without one (stickmen, TRON, and WARP) 2012-08-11 11:57:21 +01:00
Simon Robertshaw
ca7b02dbfd Don't set tool strength when there's no tool 2012-08-10 23:11:37 +01:00
Simon Robertshaw
e34ed89dc3 Some fixes for memory leaks 2012-08-10 23:08:55 +01:00
Simon Robertshaw
a8fbd905c2 Fix issue where buttons will cause heap corruption if they are removed from inside DoAction 2012-08-10 22:59:46 +01:00
Simon Robertshaw
5a8d26554a Fix crash when using mouse click with unassigned tools 2012-08-10 22:31:58 +01:00
Simon Robertshaw
a6b3674f22 Fix PIPE, fixes #92 2012-08-10 22:30:19 +01:00
Simon Robertshaw
92311a38c0 Change zoom size with [ and ], fixes #90 2012-08-10 22:09:04 +01:00
Simon Robertshaw
c1d7de24f2 Sign moving, fixes #10 2012-08-10 22:01:57 +01:00
Simon Robertshaw
98209da0a5 Save Open signs working 2012-08-10 20:50:36 +01:00
Simon Robertshaw
150114c11f Alt Z to stick zoom to cursor, disable cursor rendering when zoom is being placed. Fixes #32 2012-08-10 19:11:59 +01:00
Simon Robertshaw
3499cb3035 Wall brush, fixes #63 2012-08-10 18:59:05 +01:00
Simon Robertshaw
cd051924d9 Installation with Ctrl+I, fixes #77 2012-08-10 15:41:39 +01:00
Simon Robertshaw
643128ac5f Invert button hover state for alternative load and save. addresses some of #80 2012-08-10 14:42:01 +01:00
Simon Robertshaw
c62f65585a Create local saves dir if it does not exists (fixes #80) 2012-08-10 14:34:55 +01:00
Simon Robertshaw
3f20b4256b Correct position of cancel button in server save dialogue 2012-08-10 14:22:32 +01:00
Simon Robertshaw
c333e9bb99 Correct position of cancel button in local save dialogue as per #80 2012-08-10 14:21:38 +01:00
Simon Robertshaw
a45ca0363e Tool - Correct box drawing. Finishing touches to tool strength (Fixes #87) 2012-08-10 14:12:56 +01:00
Simon Robertshaw
810ea42f99 Only render gravity lensing if it's enabled, Ctrl and Shift to alter tool strength (Shift = x10, Ctrl = x0.1) 2012-08-10 14:03:23 +01:00
Simon Robertshaw
fd40ed234a Impose limit on cursor radius (Limit is radius 128, somewhat smaller than TPT, but I don't think a larger size is necessary), fixes #88 2012-08-10 13:17:19 +01:00
Simon Robertshaw
0e67fe028b Use Left modifier keys 2012-08-10 12:43:21 +01:00
Simon Robertshaw
73b8178a77 Check for bzip2 headers and libs in sconscript, fixes #68 2012-08-09 21:32:04 +01:00
Simon Robertshaw
b01b0e422a HUD verbose sample info with 'd', fixes #71 2012-08-09 21:28:43 +01:00
Simon Robertshaw
9971ea63b7 Slow LIGH creation speed, fixes #86 2012-08-09 21:05:20 +01:00
Simon Robertshaw
ac45502de9 Ensure keyrepeat is disabled at component creation 2012-08-09 20:38:06 +01:00
Simon Robertshaw
3bdfd510b2 Gravity lensing 2012-08-09 01:17:01 +01:00
Simon Robertshaw
bb99efdedf Persistent mode 2012-08-09 00:57:35 +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
bd29667355 Do not delete given savefile in GameModel::SetSaveFile, behaviour should be similar to GameModel::SetSave in terms of managing memory in given pointer 2012-08-08 20:21:59 +01:00
Simon Robertshaw
9f1301df5a Perhaps FileExists shouldn't erase file contents... 2012-08-08 20:05:47 +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
0004ca1845 Make options screen a little nicer 2012-08-08 14:41:16 +01:00
Simon Robertshaw
10e82df543 Fullscreen and scale setting from sim options 2012-08-08 14:35:27 +01:00
Simon Robertshaw
152bc8f092 Correct platform detection in introtext 2012-08-08 12:44:58 +01:00
Simon Robertshaw
8ec66aede9 Make intro text fade out correctly 2012-08-07 19:25:05 +01:00
Simon Robertshaw
0ef9519bab Actual intro text 2012-08-07 19:16:43 +01:00
Simon Robertshaw
bc1c967a6b Intro text, addresses #59 2012-08-07 18:34:39 +01:00
Simon Robertshaw
46b2def193 Save as current name complete, resolves #5 2012-08-07 01:58:46 +01:00
Simon Robertshaw
51657b8575 Prevent save as current name from showing if there is no save loaded 2012-08-06 22:27:09 +01:00
Simon Robertshaw
a8dcc7a070 Started work on save as current name 2012-08-06 22:24:10 +01:00
Simon Robertshaw
9c1c4119d3 Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-08-06 20:55:47 +01:00
Simon Robertshaw
622f2246ef Fix TPTScript 'set' function 2012-08-06 20:54:37 +01:00
Simon Robertshaw
141b957707 Fix TPTScript 'set' function 2012-08-06 18:57:25 +01:00