jacob1
63843c2bd7
add new minimumVersion setting in saves, can restrict the smallest version of TPT that is able to open the save. Uses major/minor version for this
...
Also add RESTRICTVERSION macro to help when adding restrictions later
Also show errors when opening broken stamps now too
2015-10-02 21:25:15 -04:00
jacksonmj
1bd861719f
Turn "save from newer version" back into an error, until an improved method of checking compatibility can be devised
2015-10-02 21:10:06 +01:00
jacob1
cd3d54d3bd
use a ScrollPanel in ConfirmPrompt (supports longer changelogs)
2015-10-01 23:32:17 -04:00
jacob1
91cf20e521
prevent tool buttons from being longer than 7 characters
...
for i=1,250 do elements.property(i,"Name",(("ALL BASE BELONG TO US "):rep(20)..(" "):rep(120)..string.char(10)):rep(70)) end
Could prevent it from lua, but too much work for no reason. Still allows SPWN2 button to work.
2015-10-01 22:55:32 -04:00
jacob1
55d20f1bb2
Adding a comment updates the comment total / number of pages
2015-10-01 22:26:23 -04:00
jacob1
b184c78cff
"Save from a newer version" is now just a warning (OPS format never changes)
...
Also, actual save errors now prevent you from clicking "Open" (which allowed you to vote and do other stuff even though the save was never loaded)
2015-10-01 21:35:40 -04:00
jacob1
9c44fc641c
fix crash with sim.floodWalls(1,1,4,0)
2015-09-29 00:09:41 -04:00
jacob1
1f7b6a6bb4
fix wind line from lua changing brush size, allow setting wind tool strength
2015-09-28 23:53:14 -04:00
jacob1
0a907c5177
fix bug if the first space after the DRAY was empty, fix bug with DRAY's ctype sometimes not working
2015-09-28 11:28:19 -04:00
jacob1
93d6816740
Send username with alternate update server request
2015-09-26 16:50:02 -04:00
jacob1
cae8c9e095
fix some compile errors with last commit, remove snapshot version info from HUD and add to intro text instead, add tpt.version.snapshot
2015-09-26 14:56:37 -04:00
jacob1
908f60d47a
support alternate update servers, and optional changelogs
2015-09-26 11:47:51 -04:00
jacob1
cf5ec57ab3
prevent 'z' keypresses while doing stamp stuff, add skipDraw variable to prevent wasted drawing calls
2015-09-25 15:43:13 -04:00
jacob1
74471dcda4
DRAY only copies enery or non-energy particles, depending on the first one it sees
2015-09-25 13:52:59 -04:00
jacob1
b2840de173
mouse drawing triggered on mouse move, flood fill triggered on mouse down/move/up
2015-09-25 13:17:24 -04:00
jacob1
610cd82f0d
remove bad wind tool exception, make sure UpdateDrawMode() is called on zoom mouseups
...
should be pretty easy to remove any remaining tptmp syncing issues now. There are still a few possible bugs in my list but they require a mouse to test ...
2015-09-24 02:14:56 -04:00
jacob1
5acf366d70
fix terrible mouse bug from last commit, redo tool strengths to be less buggy and only ever have an effect on normal drawing (not lines / boxes)
2015-09-24 01:39:20 -04:00
jacob1
e5ef3cd4a8
More changes to ensure that switching between selectMode stuff works properly (won't get stuck or trigger on mouseup when it shouldn't)
...
Hopefully no bugs but lots of the previous commits had bugs.
Also, remove wasd shortcuts for shifting stamps because they conflicted with being able to press 's' to switch selectMode at any point.
2015-09-24 01:11:49 -04:00
jacob1
a0c77fe6e8
fix it being impossible to select wall menu, add wall identifiers from my mod
2015-09-24 00:26:37 -04:00
jacob1
4594de57b0
allow DRAY to copy energy particles
2015-09-24 00:14:28 -04:00
jacob1
dab25160cc
last commit was buggy, this tiny rewrite should be perfect
2015-09-22 22:52:25 -04:00
jacob1
a81a41b67f
fix being able to change between box/line/flood fill while drawing (by releasing keys), a bunch of other extremely obscure fixes
2015-09-22 21:40:19 -04:00
jacob1
13a71b611a
more tptmp mouse fixes, fix buttons and menusection buttons staying highlighted sometimes
2015-09-22 19:59:31 -04:00
jacob1
f230ac8945
send fake lua key release event when going into another interface
2015-09-21 19:50:03 -04:00
jacob1
cacef125c6
tptmp mouse syncing fix
...
mouse lines now end on the point where the mouse is lifted up as intended, instead of at the point where the mouse is at the end of the frame
also remove unneeded variable
2015-09-21 19:33:27 -04:00
jacob1
6fc787502c
remove debug logging from last commit
2015-09-21 02:14:45 -04:00
jacob1
6ae3593465
remove pointQueue, replace with something that works properly
...
No longer draws a single point by itself at the start, and draws a final line to the point where the mouse is released
2015-09-21 02:13:01 -04:00
jacob1
16781bcb8e
two new lua mouse up events (4 & 5) for some corner cases
...
Also fixes mouse held event being stuck in one of those cases
2015-09-20 21:40:00 -04:00
jacob1
cd97d6364b
add comma before Newtonian Gravity in HUD
2015-09-20 17:29:30 -04:00
jBot-42
78c700a62b
Added ambient heat to the HUD
2015-09-20 17:26:38 -04:00
jacob1
9b9555226b
fix compiling in visual studio, fix maybe bug with updates?
2015-09-20 00:59:37 -04:00
jacob1
722b9d93d6
a few minor improvements so that stamps are more consistent in tpt++ / my mod
2015-09-19 21:19:17 -04:00
jacob1
71d75e37e3
you can now press any key while loading / saving stamps
...
This means you can do stuff like press 'l' while saving a stamp, pressing 'k' while placing a stamp, press 's' while copying an area, and it will cancel the old action and start a new one
also, 'l' doesn't reset mouse to DrawPoints state
2015-09-19 20:51:54 -04:00
jacob1
6230bc70b1
fix some buttons remaining visible in the stamp browser while covered up
2015-09-19 20:33:30 -04:00
jacob1
8ecb2682aa
modifier keys are now checked when doing stamp stuff
2015-09-19 20:20:32 -04:00
jacob1
bbdbb67079
fix tpt.brushx returning incorrect value when brush is updated with tpt.brushID
2015-09-19 20:01:53 -04:00
jacob1
53501d90de
update date in readme
...
@simtr please update TPT ):<
2015-09-19 01:42:33 -04:00
jBot-42
146fc4d5fa
Move GBMB to Force Menu
2015-09-18 15:46:53 -04:00
jacob1
f5774ad9b9
update tpt.getscript to use starcatcher.us
2015-09-18 13:00:01 -04:00
jacob1
e9043c93aa
fix lua windows to allow -1 for position again (centers the window)
2015-09-16 01:48:15 -04:00
jacob1
81b2efaf5b
fix textbox crash, fix ctrl+c / ctrl+x to not copy an empty string when the textbox is empty
2015-09-11 13:08:56 -04:00
jacob1
a629979d8b
fix tpt.reset_spark to also reset WIFI
2015-09-10 23:59:13 -04:00
jacob1
f827e125cb
fix sim.loadStamp / tptmp crash
2015-09-10 13:07:52 -04:00
jacob1
fee8516157
new function tpt.confirm (confirm prompt which returns true or false)
2015-09-08 01:27:20 -04:00
jacob1
cd9d13503a
render modes interface can be exited with ESC
2015-09-01 13:31:28 -04:00
jacob1
b0ce2ee615
only automatically use scale 2 if there is a little more space than required (just in case)
2015-09-01 12:39:58 -04:00
jacob1
5433766311
fix ETRD creating plasma as if it were created by the brush (-2)
2015-09-01 12:26:06 -04:00
jacob1
2e32fba4d9
fix GRAV and EXOT button colors
...
this also fixes GRAV with pretty powders on. TODO: maybe use old GRAV color cycling
2015-09-01 01:46:33 -04:00
jacob1
fbbc755283
resetting sparks resets any sparks in WIFI too
2015-09-01 01:27:03 -04:00
jacob1
476c2cce06
new sim.signs api
...
It is a metatable that can set/read text, x, y, and justification; and also read displayText, screenX, screenW, width, and height
There is also a function sim.signs.new, it returns the new sign id or nil if it can't create a new sign
2015-09-01 00:57:31 -04:00