Commit Graph

618 Commits

Author SHA1 Message Date
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
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
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
622f2246ef Fix TPTScript 'set' function 2012-08-06 20:54:37 +01:00
Simon Robertshaw
f75a3c2642 More icon adjustments 2012-08-06 17:28:08 +01:00
Simon Robertshaw
662640c96c Fix previous merge with SOAP.cpp that created a bug in SOAP. add debug lines for PRTI, PRTO, WIFI and lines for SOAP. 2012-08-06 16:14:08 +01:00
Simon Robertshaw
d46a72aa3b Font glyphs for decorations and element search 2012-08-05 22:02:12 +01:00
Simon Robertshaw
0f4bde9394 Clear search button 2012-08-05 21:07:22 +01:00
Simon Robertshaw
8cadc10f8b Icon adjustments 2012-08-05 20:39:39 +01:00
Simon Robertshaw
06112a12a0 Ctrl+A select all 2012-08-05 20:20:55 +01:00
Simon Robertshaw
17e7ace364 Key repeat for text boxes 2012-08-05 20:10:33 +01:00
Simon Robertshaw
4ce22e4e77 Wall Edge option, fixes #70 2012-08-05 18:35:12 +01:00
Simon Robertshaw
30f8049efc Allow 24bits of var for create_part, add tool for tesc. Fixes #72 2012-08-05 16:59:14 +01:00
Simon Robertshaw
9e309135d4 Load element icons in element search, fixes #73 2012-08-05 16:34:31 +01:00
Savely Skresanov
6e324c82e2 Added triangle brush, fixes #47 2012-08-05 16:19:30 +01:00
Simon Robertshaw
3030d67516 Fan wall line tool, fixes #61 2012-08-05 16:14:33 +01:00
Simon Robertshaw
50103aa074 Fix some of the flood fill methods 2012-08-05 16:11:43 +01:00
Simon Robertshaw
ed270d8dbf Draw gravity zones when using grav wall 2012-08-05 15:26:17 +01:00
Simon Robertshaw
351ce1525f Update gravity walls, fixes issue #52 2012-08-05 14:03:54 +01:00
Simon Robertshaw
05024cc787 Persistent search window responds to user auth events 2012-08-05 13:08:51 +01:00
Simon Robertshaw
4b85d19217 Nicer colour for "popular tags" header 2012-08-04 21:02:04 +01:00
Simon Robertshaw
5a2da01a5b Tags, fixes #55 2012-08-04 20:55:59 +01:00
Simon Robertshaw
a418c90cd4 Get rid of useless free space in search view 2012-08-04 16:58:39 +01:00
Simon Robertshaw
f2f4278932 Better exiting from windows (Escape and Enter) and 'q' for exit, fixes #35 and #60 2012-08-04 16:39:24 +01:00
Simon Robertshaw
0558322709 Add icons for erase, improve icons for certain walls, fix issue #45 2012-08-04 15:26:55 +01:00
Simon Robertshaw
f32cd872ca Set initial stickman spit element in create_part, fixes the rest of #50 2012-08-04 14:38:59 +01:00
Simon Robertshaw
18e1890590 Stickman keys working, fixes first half of issue #50 2012-08-04 14:34:43 +01:00
Simon Robertshaw
ae5d099b81 Fire OnMouseEnter events for components that are added under the mouse cursor, fixes issue #37 2012-08-04 14:14:23 +01:00
Savely Skresanov
e06d8e4d15 Rectangle snapping. 2012-08-04 13:52:22 +01:00
Simon Robertshaw
268795eec1 Add date to Preview View, fixes issue #64 2012-08-04 13:40:39 +01:00
Simon Robertshaw
ab8466e990 Search window is persistent, issue #66 2012-08-04 12:09:07 +01:00
ntoskrnl
baf07e470e Build fixes for FreeBSD 2012-08-04 11:32:48 +01:00
Simon Robertshaw
d6e384e1ec Implement more of the old TPT console 2012-08-04 01:41:50 +01:00
Simon Robertshaw
2527380224 Implement more of the old console 2012-08-04 01:24:21 +01:00
Simon Robertshaw
6173901875 Old TPT console commands with "!" prefix 2012-08-03 21:48:45 +01:00
Simon Robertshaw
f586a5585f Add shortcuts for things like gravity, air and air reset, issues #85 and #57 2012-08-03 19:25:28 +01:00
Simon Robertshaw
0e5c3da0f5 Use plop tool to place single units of an element (Used for Stickman, Fighter), fixes issue 53 2012-08-03 18:26:06 +01:00
Simon Robertshaw
9260b2c3e8 Move rect border drawing for previewview to draw over fav+report buttons, fix issue #64 2012-08-03 18:08:41 +01:00
Simon Robertshaw
11d2b0eb3c Correct VAC and EXOT colours, issue #49 2012-08-03 18:04:18 +01:00
Simon Robertshaw
57f949ecfb Fix text selection issue in #65 2012-08-03 17:58:13 +01:00
Simon Robertshaw
40e5ce5d37 Fix context menu position #65 2012-08-03 17:44:12 +01:00
Simon Robertshaw
c7dd248ae3 Hide cursor when selecting/pasting stamps, fixes iseeu #56 2012-08-03 17:19:22 +01:00
Simon Robertshaw
2652309a3f Nicer defaults for Window closing, Implement these with Sign tool, issue #51. Also set centre as default 2012-08-03 17:09:34 +01:00
Simon Robertshaw
36b2aa0191 QuickOptions!! #46 2012-08-03 15:29:18 +01:00
Simon Robertshaw
80dfc96c7c PROP tool colour 2012-08-03 12:58:21 +01:00
Simon Robertshaw
347c382e99 Allow PROP to set types from element name, fixes issue #48 2012-08-03 12:52:07 +01:00
Simon Robertshaw
a3ebfb0ffd Remove silly file 2012-08-03 01:55:00 +01:00
Simon Robertshaw
24006ee44a Grav colour, addresses rest of #41, colour will vary from original TPT 2012-08-03 01:40:13 +01:00
Simon Robertshaw
4233bc743c Use HFLM colour data, addresses some of issue #41 2012-08-03 01:18:39 +01:00
Simon Robertshaw
fbaf149a92 Untick publish box for save prompt my default if the save does not belong to the user, addresses issue #43 2012-08-03 01:11:12 +01:00
Simon Robertshaw
96132ee1c1 Stop returning luaL_error from drawing functions for no reason, addresses
issue #29
2012-08-03 00:52:46 +01:00
Simon Robertshaw
b165619266 Update menus on element change from lua, addresses issue #42 2012-08-03 00:47:39 +01:00
ntoskrnl
18bf7ce155 Build fixes for WIN64 2012-08-02 15:21:43 +01:00
ntoskrnl
4343faa10f Some modifications for WIN64. SConscript not ready for that yet. 2012-08-02 15:21:31 +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
cbefea85d7 Local Saving, Server Saving rewrite 2012-08-01 22:29:22 +01:00
Simon Robertshaw
29ac6380ba Prevent newlines being inserted into the begining of a multiline label/textbox 2012-08-01 19:13:31 +01:00
Simon Robertshaw
1d258eab6b ThumbnailBroker for background retrieval and rendering 2012-07-31 19:49:08 +01:00
Simon Robertshaw
303b546ceb Ensure CTRL, SHIFT and ALT states are reset when Window falls into background 2012-07-30 11:51:42 +01:00
Simon Robertshaw
6d5388b221 Faster brush adjusting with [ and ], use alt to change to 1 pixel 2012-07-30 11:25:32 +01:00
Simon Robertshaw
9c67d41ad6 Neaten a little bit of code 2012-07-29 20:34:20 +01:00
Simon Robertshaw
011a65f793 Improvements to textbox, prevent selection loss on non modifying keypresses 2012-07-29 20:27:18 +01:00
Simon Robertshaw
d138b2de54 Number type for text fields, addresses some of issue #39 2012-07-29 20:17:51 +01:00