jacob1
998f5a4cad
fix infinite loop error message sometimes always coming up on startup
2015-11-29 01:59:36 -05:00
jacksonmj
d1dcae5574
Only show wavelengths in HUD if there is at least one valid wavelength
2015-10-29 07:15:02 +00:00
jacob1
dc679d7eb0
Add more elements to .tmp2 list, use local varibles instead of constantly accessing sample.particle.type
2015-10-22 21:39:12 -04:00
jacob1
46dc5da455
fullscreen only blocked on OS X when not using SDL 1.2.15 (untested)
2015-10-22 20:14:56 -04:00
jBot-42
6ee0bc4cda
remove stor and pipe
2015-10-18 18:36:22 -07:00
jBot-42
cf615c323f
Show Tmp2 in HUD for elements that use it
2015-10-17 18:18:19 -07:00
jacksonmj
d0445258c5
CONV tmp value can now be used to restrict which elements get converted. Requires version bump to 92.
2015-10-13 01:33:19 +01:00
jacob1
59377e49e5
fix 'Prev' button placement
2015-10-11 02:05:49 -04:00
jacob1
f435cf3881
fix edge mode not loading properly in saves, options menu uses edge mode from Simulation and not GameModel
2015-10-10 18:10:17 -04:00
jacob1
3cc27a7c9b
Reupload -> Re-upload (cracker64 complaint)
2015-10-10 01:22:39 -04:00
jacob1
66863b7578
update last tool and drawMode when clicking too, fixes some issues
2015-10-10 01:17:19 -04:00
jacob1
d4e3196070
fix wall brush displaying incorrectly when drawing boxes
2015-10-10 00:53:21 -04:00
jacob1
bff6dedd48
show cursor when drawing even when mouse is out of bounds
2015-10-10 00:34:27 -04:00
jacob1
286dd02dad
Ignore "Unspecified Error" when searching for saves
2015-10-10 00:32:09 -04:00
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
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
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
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
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
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
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
cd9d13503a
render modes interface can be exited with ESC
2015-09-01 13:31:28 -04:00
jacob1
fbbc755283
resetting sparks resets any sparks in WIFI too
2015-09-01 01:27:03 -04:00
jacob1
df854f72a6
only print 'Loaded autorun.lua' to screen (not to console/stdout.txt)
...
All the other debug output was already removed in earlier commits
2015-08-31 23:51:50 -04:00
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
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
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
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