jacob1
aad8eba5df
Version 92.0
...
also update README, and make ctrl+a moderator only shortcut
2017-07-23 10:58:52 -04:00
jacob1
6efedcdd33
undo authors changes on ctrl+z, prevent excessive nesting
2017-07-15 16:21:16 -04:00
jacob1
5ee10d14e4
reduce unnecessary #include dependency chains
...
for example, elements no longer include Client.h or Graphics.h, and interface stuff won't include Window.h or Graphics.h unless requested
2017-07-13 23:24:35 -04:00
jacob1
8e5b0c760e
Add logging inside saves which remembers which other saves material was taken from
...
The logging is saved inside the bson data in all online saves, local saves, stamps, and clipboard pieces. It is loaded back when reloading each of those.
See #474 for the format of the data. It is the same format for the bson data. Note that "links" is an array of objects. It can be recursive.
There is some effort to not duplicate information, we don't care if you loaded a stamp 10 times or if you are using the clipboard in your own save. Extra information is mostly not saved for your own stuff, only when you take material from other saves.
Press ctrl+a in debug builds to show what info it is currently saving in Client. Also enabled in snapshots for now.
There is one unrelated change in here, which fixes a crash pointed out by QuanTech. It was also save related and it was too close to the other changes to separate it into another commit. It fixes a crash when saving signs with invalid unicode. the BSON library doesn't like this, it was returning an error but we ignored it, which caused a crash. It now notices those errors. I also had to update several Serialize calls to check if it actually returned save data, or else it then would have started crashing there instead.
Also some debug prints were removed
2017-07-13 00:19:35 -04:00
jacob1
d8edb3c2e0
make sure STKM / other particle graphics aren't drawn over the menus
2017-06-13 10:00:35 -04:00
jacob1
ce054bfc3f
fix misc. errors reported by clang static analyzer
2017-05-06 20:02:23 -04:00
jacob1
cdc8f64896
fix clang compile warnings, fixes #406
...
also, sim.ambientAirTemp takes floats now
2017-04-27 23:08:06 -04:00
jacob1
ddd326eafd
fix LSNS
2017-04-23 12:51:40 -04:00
jacob1
0dd1cbf050
Add C5 to phot HUD list, fixes #401
2017-04-21 20:32:12 -04:00
LBPHacker
becd92bfc2
Fix downvote button not being reset when opening a local save
2017-03-19 23:16:39 -04:00
Mark Theng
1c12d1ec16
Take history snapshot before setting save ( #358 )
2017-03-19 23:15:08 -04:00
jacob1
ca792f12b5
misc compiler warning fixes (multiple compilers)
2017-02-20 19:14:50 -05:00
jacob1
787939db3d
add ctrl+shift+z alternate shortcut for redo
2017-02-09 22:57:31 -05:00
krawthekrow
95d2014724
allow redo with Ctrl-Y
2016-11-14 10:03:08 -05:00
krawthekrow
63b2227802
add ctype-based filt shift modes ( #351 )
2016-11-07 18:06:43 -05:00
krawthekrow
477d2be92c
always calculate tool button offsets directly from mouse position
2016-11-07 17:39:13 -05:00
krawthekrow
f5ede49362
combine GameView DoMouseMove into OnMouseMove
2016-11-07 17:39:13 -05:00
jacob1
ae247a2d2b
Fix uglyness with how Favorites menu was done
2016-07-24 22:30:56 -04:00
jacob1
8fe78eacd8
add help text to favorite's menu tooltip when the list is empty
2016-07-23 11:58:20 -04:00
jacob1
ecb08952e5
Add SDL_keysym.h, Use official SDL constants
2016-07-19 22:42:10 -04:00
jacob1
88097496af
Allow hiding menusections
...
Cherry-picked from 75437c7d4c
2016-07-08 19:58:21 -04:00
jacob1
111468c672
Fix not being able to turn off FIND tool when a life element is selected
2016-07-08 19:41:55 -04:00
jacob1
4190946de5
fix warning+exit crash, fix menusection offset resetting when menus are rebuilt
2016-06-25 11:56:03 -04:00
Matthew Miller
083d488566
Added a favorites menu. ( #298 )
...
Added a favorites menu.
2016-06-25 11:55:18 -04:00
jacob1
5cab8f45f2
Fix 'n' toggle also resetting air
2016-04-23 11:39:06 -04:00
jacob1
10262b87da
remove PARTICLEDEBUG define and replace it with tpt.setdebug(0x8) to activate the key shortcuts
2016-02-24 22:06:43 -05:00
jacob1
226a66a860
add ctrl+f shortcut to easily locate elements in red from my mod
...
doesn't support walls or better life finding because tools are much harder to work with here
2016-01-10 22:23:06 -05:00
jacob1
5afb95dcf1
change shift+wind tool to not always act like alt was pressed
2015-11-30 19:19:50 -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
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
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
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
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
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