Commit Graph

430 Commits

Author SHA1 Message Date
jacob1
aad8eba5df Version 92.0
also update README, and make ctrl+a moderator only shortcut
2017-07-23 10:58:52 -04:00
jacob1
ddce20da5b authors clipboard fix
MergeStampAuthorInfo prevents some duplication now, don't need this
2017-07-16 21:33:49 -04:00
jacob1
971e405462 don't add null stuff when loading old stamps without author info 2017-07-16 15:52:18 -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
be6ac1d91e workaround for incorrect 404 save 2017-07-01 21:38:57 -04:00
jacob1
057435baa6 Differentiate between created date / updated date in save preview
still only shows most recent date, this just changes the text
2017-06-30 21:21:09 -04:00
jacob1
714ee8ff65 clear redoHistory memory on exit 2017-06-14 00:16:44 -04:00
jacob1
d8edb3c2e0 make sure STKM / other particle graphics aren't drawn over the menus 2017-06-13 10:00:35 -04:00
LBPHacker
2c0468ef2e Sign justification is now called pointer alignment 2017-06-09 23:58:06 -04:00
jacob1
3d9d57e0ff don't allow loging in using email as username
(actually, just don't allow @ in usernames)
2017-06-09 23:54:43 -04:00
jacob1
25b3244d6c add warning messages when certain words are found in comments 2017-06-09 22:19:54 -04:00
jacob1
35ce9570d6 make Mrprocom's name blue 2017-06-04 17:48:31 -04:00
jacob1
0f40db4ef9 proper ctrl+backspace support 2017-05-08 23:45:18 -04:00
LBPHacker
e1d8e814a5 Restrict type check to type field 2017-05-06 20:45:50 -04:00
LBPHacker
e15bfac60f Moving conditional branches around 2017-05-06 20:45:50 -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
c98f63bd89 save ambient heat in saves, if it is enabled 2017-04-24 22:29:45 -04:00
jacob1
ddd326eafd fix LSNS 2017-04-23 12:51:40 -04:00
jacob1
6d6a615a37 msvc min/max fixes 2017-04-23 12:30:39 -04:00
jacob1
0dd1cbf050 Add C5 to phot HUD list, fixes #401 2017-04-21 20:32:12 -04:00
Me4502
bda17dd62e Fixed favorites being able to be added multiple times. 2017-04-08 09:51:50 -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
287d5f9534 minor text fixes 2017-03-05 10:56:11 -05:00
jacob1
ca792f12b5 misc compiler warning fixes (multiple compilers) 2017-02-20 19:14:50 -05:00
jacob1
08a7dfebea move undohistorylimit config pref, change default to 5 2017-02-18 23:58:14 -05:00
jacob1
61e19a3237 fix crash when undoing if there were no snapshots 2017-02-18 23:41:52 -05:00
jacob1
6040ccd27e ugly fix for two empty snapshots being created on startup 2017-02-09 23:08:44 -05:00
jacob1
787939db3d add ctrl+shift+z alternate shortcut for redo 2017-02-09 22:57:31 -05:00
jacob1
a1431b6d2b Fix memory leak 2016-11-14 10:19:49 -05:00
jacob1
389159728c Configurable undo history
Note: Each undo adds 16.7 MB of RAM usage, max is 200 (3.4GB), but don't set it to this
2016-11-14 10:03:09 -05:00
jacob1
25a2d9b5b5 some modifications to ctrl+z/ctrl+y
allows infinite undoing / redoing, improvements when history limit is greater than one
2016-11-14 10:03:09 -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
9e33906858 VS 2015 compiling fixes
note, wiki guide still doesn't work unless you also have vs2013 installed
2016-10-13 22:32:52 -04:00
jacob1
5370f07bf0 Don't control STKM when placing stamps, fixes #320 2016-10-13 20:29:10 -04:00
jacob1
8a130aaab4 add log message when particle debugging is advanced due to unpause 2016-09-04 21:42:48 -04:00
Mark Theng
8de12d616e fix resume simulation/reload in the middle of subframe debugging (#330) 2016-09-04 21:33:33 -04:00
jacob1
8cfe2af6ca I think the word "for" made more sense before 2016-07-26 21:12:18 -04:00
cxi
e313e4bf3d Add reporting because of tags to report dialog (#316) 2016-07-26 21:10:40 -04:00
jacob1
647ad902fa take ctrl+z snapshot before placing a stamp, not after 2016-07-26 19:08:57 -04:00
jacob1
adb200d3f7 remove commented out code, heart icon shows even when element is selected 2016-07-24 22:43:54 -04:00
jacob1
8efe8853de allow favoriting / ctrl+alt selecting elements in element search ui 2016-07-24 22:31:31 -04:00
jacob1
ae247a2d2b Fix uglyness with how Favorites menu was done 2016-07-24 22:30:56 -04:00
jacob1
fe4653c30e Fix crash when BuildMenus() is run with elements in the favorites menu 2016-07-24 17:30:00 -04:00
jacob1
f0f104097d finish / fix ecb08952e5
must have accidentally reverted Keys.h halfway through making it?
2016-07-23 19:15:07 -04:00
jacob1
21e0c4079c Fix LIFE tool sampling 2016-07-23 15:07:49 -04:00
jacob1
2b15024818 allow using C/F for temperature in PROP tool 2016-07-23 12:15:49 -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
wolfy1339
b65e94900e Use C++ includes (#308)
Replaces stdio.h, stdlib.h, string.h, math.h, time.h, limits.h and othters with their C++ equivalents.
2016-07-17 23:37:24 -04:00
jacob1
b8cdf4ae2f 3 dots doesn't need to be a separate icon (running low on icon space) 2016-07-17 17:13:52 -04:00
cxi1
0c972469b8 Improve consistency of error messages, use InformationMessage instead of ErrorMessage 2016-07-17 16:27:13 -04:00
jacob1
4ec4b32021 Add font editor from my mod, add two new icons for favorites menu 2016-07-16 21:10:03 -04:00
jacob1
16b93083d4 Changes to support starcatcher build server with updates
Cherry-picked from 3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
3ddaec7b2a
2016-07-09 19:00:54 -04:00
jacob1
b75c8318e4 add tpt.num_menus and tpt.menu_enabled functions 2016-07-08 20:33:01 -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
e68dd74b68 less scary report message 2016-07-03 12:51:40 -04:00
jacob1
ecddfcbc0d don't reset edge mode when saving local saves 2016-06-30 08:16:53 -04:00
jacob1
dfdee7afeb delete UTF-8 BOMs 2016-06-25 12:16:40 -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
SopaXorzTaker
fbd75c6293 This effect is called "3D anaglyph" (#292) 2016-05-26 18:48:18 -04:00
jacob1
ce55c8e58b Fix --opengl-render option. Please NEVER use this option though 2016-05-14 09:44:49 -04:00
jacob1
5cab8f45f2 Fix 'n' toggle also resetting air 2016-04-23 11:39:06 -04:00
jacob1
1171c308e1 Fix warnings, fix crash when ctrl+click opening a save 2016-04-02 20:47:50 -04:00
jacob1
51ff868935 use user-set edge mode when saving powder.pref, not the one from the open save 2016-04-02 00:25:05 -04:00
jacob1
aa99258101 more cleanup so that 3D can stay a more permanent thing 2016-04-02 00:10:15 -04:00
jacob1
0fbb3bb27f fix compile error with renderer 2016-03-31 22:38:28 -04:00
jacob1
46d096206f Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience 2016-03-31 22:08:04 -04:00
jacob1
535ade0ec4 InformationMessage expands like the other dialogs, "numeric" textboxes now allow negative numbers 2016-03-31 22:05:55 -04:00
jacob1
40c2ff27b0 Test using DownloadManager from my mod instead of RequestBroker
The crash when opening saves on mac is definitely something to do with the threading, and i'd rather just test this first to see if it fixes it

Copied from my mod almost entirely as-is, with the changes to HTTP.cpp included, also added locks into Download.cpp even though it is probably overkill
2016-03-27 11:41:36 -04:00
jacob1
13d3547211 Compiling fix for scons on windows
something is up with the pthreads library (dynamic compiles still broken), probably windows libraries all need to be recompiled and distributed separately like I did for visual studio
2016-03-12 00:36:11 -05:00
jacob1
1ef8b0c08b Fix progress disappearing on hover in the local save browser, fixes #287 2016-03-09 23:30:05 -05: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
5c1cc0c0fb rewrite powder.pref handling to use jsoncpp instead of cajun
cajun is a hard to use library with many necessary features missing. It also has been causing the windows version, and probably the mac version, to randomly crash.

Other json stuff still uses cajun (TODO: remove)
2016-01-25 22:30:43 -05:00
jacob1
f6d82b6f8a separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console 2016-01-11 22:38:42 -05:00
jacob1
d3c44dbffa fix deco color being reset to 0x00000000 when loading a lua element 2016-01-10 22:48:45 -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
c73d81b277 fix renderer trying to use SDL 2015-12-19 16:36:17 -05:00
jacob1
bb9b35f01d jacksonmj: EMP lag is hereby banished. eeef50c0fcba
EMP destruction loop now happens once per frame instead of once per EMP
particle.
2015-12-18 23:10:28 -05:00
jacob1
139bdd7f4d fix STKM being unable to pick up most energy particles, or LOLZ/LOVE 2015-12-18 20:02:53 -05:00
jacob1
76aeef24a4 ctrl+a support in Labels 2015-12-18 00:33:40 -05:00
jacob1
762093371b fix crash from previous commit 2015-12-16 14:06:44 -05:00
jacob1
8d4e333986 Overwriting a local save now updates the reload button save, add message to confirm that local save was successful, fixes #274 2015-12-16 14:02:03 -05:00
jacob1
16e3532980 fix 'large screen' description 2015-12-15 02:27:55 -05:00
jacob1
5afb95dcf1 change shift+wind tool to not always act like alt was pressed 2015-11-30 19:19:50 -05:00
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