Commit Graph

4180 Commits

Author SHA1 Message Date
jacob1
9048a3c50e new lua API: platform
you can get current OS / build information, exe name, restart tpt, open a link in the web browser, and use clipboard copy/paste functions

Also remove some older Platform.h file which wasn't really needed or used
2015-08-31 23:33:40 -04:00
jacob1
282d1fbf0c fix: CRAY from older saves should set .tmp2 to 0 2015-08-30 19:03:01 -04:00
jacob1
48dbc4182d Add CRMC from my mod 3dd3fb2f7801 92f0301295f6 2015-08-30 18:29:21 -04:00
jacob1
4af4ae3656 allow an extra tool button to show on the left edge when cut off
electronics, explosives, and solids all have just one extra element, now you can always see it without scrolling. The only other scrolling menu is GoL
2015-08-30 01:55:48 -04:00
jacob1
68b4f1efd6 MERC -> liquids, FUSE/FSEP -> explosives 2015-08-30 01:54:31 -04:00
jacob1
ed4678c9a8 add deco flood fill, flood fills based on color being close enough
flood fill brush is hidden when deco tools are selected like this because it gets in the way. Renderer::vid is compared here so there could definitely be issues, but it works fine when used under normal conditions
2015-08-30 01:38:32 -04:00
jacob1
2ebc522c36 add ERASEALL wall from my mod (erases walls, particles, and signs) 2015-08-30 00:18:06 -04:00
jacob1
12ef4ec79d ambient heat sign
maybe something that would replace all instances of {aheat} / {t} / {p} in a sign would be nice, but for now just do this.
2015-08-29 23:47:21 -04:00
jacob1
01afd69c17 STOR now automatically transfers to PRTI 2015-08-29 23:38:46 -04:00
jacob1
37794c01af .tmp2 for CRAY now sets creation offset (just like DRAY)
LIFE info moved into .ctype, no reason to use a whole extra variable for it
2015-08-29 22:02:05 -04:00
jacob1
5caf8bc8e1 allow longer signs, add 'None' justification where the pointer line isn't drawn
signs have a longer width limit and hard 45 character limit from the textbox and when loading saves
2015-08-29 18:56:38 -04:00
jacob1
4cc753edc1 fix crash from last commit (OnResponseFailed needs to check if it is a valid listener) 2015-08-29 15:20:50 -04:00
jacob1
9f9fef6cad Add new function ParseServerReturn, try to properly display all http errors
Also fix crash with invalid ptsave link, and fix some cases where it wouldn't ever tell you it errored
2015-08-29 13:14:17 -04:00
jacob1
052681ef2b fix crash when using LIGH (base class should be ElementTool, not Tool) 2015-08-28 16:12:45 -04:00
jacksonmj
2be317e642 Merge pull request #262 from nucular/master
Fixed compiling on mingw-w64
2015-08-26 22:11:30 +01:00
nucular
c2ba1d24d4 Fixed compiling on mingw-w64 2015-08-26 22:59:05 +02:00
jacob1
3d8f871fc7 reset invalid SOAP links even when soap is frozen
fixes tpt save id:1834554
2015-08-11 22:45:29 -04:00
jacob1
15537d4eff "Enabled" setting of button is now the old unused "Locked" setting of Components, also fix graphical bug with disabled buttons 2015-07-15 00:49:06 -04:00
jacob1
37f8038fcd fix freeze when hovering over a massive amount of portals 2015-07-15 00:20:00 -04:00
jacob1
e990eead10 add CleanText function from my mod, used when copying / pasting / loading signs 2015-07-10 00:05:58 -04:00
jacob1
67bcd5e863 style improvements in Window.cpp / Window.h 2015-07-09 22:59:01 -04:00
jacob1
f65c4363b1 hovered / focused components are always drawn last 2015-07-09 22:58:19 -04:00
jacob1
85ce852cbc Auto scroll profile viewer when textbox expands, add 20000 character limit 2015-07-09 22:50:01 -04:00
jacob1
906b4a973f profile viewer now shows age, website, and save stats
Also, add Multiline type textboxes (allows pressing enter) and fix some other bugs
2015-07-09 20:17:04 -04:00
jacob1
c786640c74 always use a ScrollPanel in the profile viewer
also fix Textbox autosize. TODO: add a bunch more info to the profile viewer
2015-07-09 14:25:01 -04:00
jacob1
e9d6519800 small improvement to 7d7bf5eff6 2015-07-07 20:22:03 -04:00
jacob1
f95db0278e really fix coordinates when placing stamps ... 2015-07-07 00:44:06 -04:00
jacob1
eb7aacc478 make walls less glowy, make streamlines less laggy, style improvements 2015-07-07 00:26:42 -04:00
jacob1
91b57522c6 don't list MACOSX twice in intro text 2015-07-01 19:48:10 -04:00
jacob1
732e5b8730 fix some very minor memory leaks 2015-06-30 19:06:18 -04:00
jacob1
580b6101c4 fix interface.removeComponent being an alias for interface.addComponent 2015-06-29 16:25:39 -04:00
jacob1
ab1226c58b fix FIRE not burning things inside of walls 2015-06-28 17:33:45 -04:00
jacob1
7b904c6840 fix DLAY delay in older saves 2015-06-27 21:05:28 -04:00
jacob1
6a88e42580 Add tooltip when hovering over any kind of link sign 2015-06-27 20:44:48 -04:00
jacob1
d67cb4b582 add new s: sign which does a save search
also change some searchController stuff to properly queue searches when one is already going on
2015-06-27 19:03:41 -04:00
jacob1
f95186d3b9 fix zoom window staying up if you are holding ctrl while placing it
press z -> ctrl, then release z -> ctrl
2015-06-26 11:48:56 -04:00
jacob1
80bf240ced fix coordinates when placing stamps 2015-06-26 11:48:56 -04:00
jacksonmj
d08621a0f6 Remove unused register_extension()
(Client::DoInstallation is used instead)
2015-06-17 20:36:33 +01:00
jacob1
b80cc932d1 check for lib named 'lua' when using --lua52 2015-06-12 00:16:42 -04:00
jacob1
e308dd73bb Merge pull request #258 from Sourec/gas-fix
Fixed FIRE, SMKE, and CO2 passing through the powder-only wall.
2015-06-11 16:37:31 -04:00
Sourec
4e8335b070 Changed falldown values for FIRE, CO2, and SMKE to zero, reverted changes to collision/placement logic 2015-06-11 16:31:21 -04:00
Sourec
bbe0c34d3e Switched an OR to an AND
That was leftover from when I was rewriting a bit of this. Sorry!
2015-06-11 16:25:39 -04:00
Sourec
1494f8237c Fixed FIRE, SMKE, and CO2 passing through the powder-only wall. 2015-06-11 14:29:59 -04:00
jacksonmj
090585abf6 Merge pull request #256 from Sourec/brick-fix
Fixed CLST tmp value carrying over when converted by water
2015-06-08 20:29:13 +01:00
Sourec
7d7bf5eff6 Fixed CLST tmp value carrying over when converted by water 2015-06-05 21:40:28 -04:00
jacob1
315b07c294 use -static-libstdc++ with --static, check for libdl on linux 2015-05-29 13:51:17 -04:00
jacob1
6c725cc405 fix some cross compiling setups
"i686-w64-mingw32" is actually a 32 bit compiler, and using --tool directly didn't update path before
2015-05-26 00:09:09 -04:00
jacob1
c9d5841101 fix DRAY with .tmp = 0 (broken in a115e78952) 2015-05-23 12:47:39 -04:00
jacob1
9fef463c38 Merge pull request #255 from kroq-gar78/typo-fixes
Fix typos in comments and debug/error statements
2015-05-18 18:59:41 -04:00
Aditya Vaidya
13cc593d13 Fixed most spelling errors in code. 'originaly' is read as 'original Y', so not a typo 2015-05-18 15:16:01 -05:00