jacob1
6cfaed0e1b
fix compile warnings, fix tooltips fading in too slowly
2017-11-23 00:10:15 -05:00
RobertBScott
4c3b4dab47
Implemented tooltip element descriptor display in element search.
2017-11-23 00:10:15 -05:00
jacob1
b5bc4ad3d2
potential crash on exit fix (can't tell if it actually fixes it or if it is related)
2017-11-18 17:11:46 -05:00
jacob1
1b19e042b2
fix crash when using tpt.start_getPartIndex
2017-11-04 13:22:22 -04:00
Matthew Moore
7d4010d2df
Fix Newtonian Gravity Tooltip
2017-10-24 22:30:39 -04:00
jacob1
3c2de70564
fix compilation / ensure this check only runs when compiling on windows
2017-10-13 00:03:35 -04:00
wolfy1339
536b20b164
Fix pthread deprecation warning, fixes #502
2017-10-12 23:33:05 -04:00
QuanTech0
c52c2d7a6f
Expanding vocabulary.
...
:)
2017-10-07 17:32:28 -04:00
jacob1
97c4123533
translate wall grids when shifting stamps by more than 4 pixels
2017-10-04 21:07:00 -04:00
jacob1
4ff0a9f52c
only expand stamp in the direction you are moving
2017-10-04 21:07:00 -04:00
krawthekrow
ca542b1ef1
autoexpand save when particles are translated out of boundaries
2017-10-04 21:07:00 -04:00
jacob1
17c9340434
CRAY wall checking fix
2017-10-02 21:38:15 -04:00
jacob1
77b6f44c74
fix issue with molten STKM that could break the simulation and cause crashes
2017-09-28 23:12:16 -04:00
jacob1
631570cbd0
mac luajit fix, version 92.5.336
2017-09-20 20:42:24 -04:00
jacob1
834e966842
Version 92.2.333
2017-09-04 23:08:52 -04:00
jacob1
6bd068713e
recording improvements
...
remove 'r' record shortcut
add tpt.record function. Still gives the user a confirm prompt
recordings now go into recordings/<timestamp>/, where timestamp is the time the recording was started. <timestamp> is returned by the tpt.record function. Each new recording starts the filenames over at 0 again.
you probably still need a lua script to use the recording feature, this should make it easier for those
2017-09-04 14:06:28 -04:00
jacob1
e4089a276a
fix illuminati symbols appearing when rescanning stamps
2017-09-04 12:51:28 -04:00
QuanTech0
07e879e74c
fix buffer overflow in opt_meth_setoption ( #496 )
2017-09-03 19:48:28 -04:00
jacob1
c34b54d974
add sim.takeSnapshot lua function
2017-08-31 23:48:00 -04:00
MrZacbot
be786d85a7
Added a bounds check for BOMB reading pmap ( #497 )
2017-08-29 20:44:14 -04:00
jacob1
1ceae1ba43
fix interface api in lua5.2
2017-08-20 18:13:46 -04:00
LBPHacker
ce58c4aadf
Fix Simulation::Restore decrementing life values
...
Simulation::Restore used to call Simulation::RecalcFreeParticles. The problem with that was that RecalcFreeParticles does more than just what its name suggests: it also decrements life values. Restore shouldn't do that. The solution is to tie decrementing life values to an argument in RecalcFreeParticles. This is also makes to code more future-proof as it lets everyone know that they have to keep their eyes peeled when invoking RecalcFreeParticles.
2017-08-17 00:23:37 -04:00
jacob1
eb1bcf1b95
Revert "Temporarily use IP addresses instead of dns (untested)" fa322902bf
2017-08-11 20:54:36 -04:00
jacob1
fa322902bf
Temporarily use IP addresses instead of dns (untested)
2017-08-07 12:51:12 -04:00
jacob1
3045125a88
Version 92.1.332
2017-08-06 21:56:58 -04:00
jacob1
1dd4b00ec6
minor gravity transition fix
2017-08-06 19:41:04 -04:00
jacob1
55b31d6f0e
my mod uses -1 for this
2017-08-05 21:47:39 -04:00
jacob1
6fca44fd70
fix newtonian gravity state transitions flashing
2017-08-05 17:53:41 -04:00
jacob1
fd91fa4438
'enter' closes SaveIDMessage interface after uploading a save
2017-08-03 23:27:58 -04:00
jacob1
26f70331de
fix debug thing breaking pressure display in HUD, fixes #494
2017-08-03 23:12:03 -04:00
jacob1
6931f35520
hold shift when saving or loading stamps to not save / load pressure, closes #491
2017-08-03 00:13:06 -04:00
jacob1
99c568f136
ensure air doesn't "leak" out of TTAN containers when loading stamps and saves
2017-08-02 23:49:51 -04:00
jacob1
ac489c9295
hide .tmp in HUD for RFRG and RFGL
2017-07-29 22:54:39 -04:00
jacob1
7e9124033b
fix RFRG description typo (use more common spelling)
2017-07-29 22:49:40 -04:00
jacob1
c4e1f49618
fix BOMB explosion - wasn't creating circle EMBR, and too much velocity EMBR
2017-07-29 22:47:07 -04:00
jacob1
8fe3ca0f5c
don't use std::pow here
2017-07-29 11:26:53 -04:00
jacob1
2a829c2394
fix ctrl+f shortcut not working with particle debugging enabled
2017-07-29 00:32:22 -04:00
jacob1
a278892267
make XCNTR / YCNTR not hardcoded
...
Alexwall request
2017-07-29 00:15:09 -04:00
jacob1
b38b2047e6
some changes to sign handling (attempt to fix crash that I can't reproduce)
2017-07-28 21:19:06 -04:00
jacob1
adb39b91a9
attempt to reduce "script is not responding" when debugging (valgrind / breakpoints)
2017-07-28 20:32:46 -04:00
jacob1
b02a72a77b
add length limit to authors on saving/loading, fix type issue causing mass duplication
...
When making a local save, then stamping and loading the stamp (without doing anything else in between), issues with the code would cause the unsigned int in the json to turn into a normal int. It would then think the authors data from the stamp was from something else and append it. For users that do an excessive amount of stamping, this causes duplication in the authors links that shouldn't have ever happened.
2017-07-28 20:00:19 -04:00
jacob1
cbad202ac2
fix brush when CELL is changed to 1
2017-07-28 19:40:50 -04:00
jacob1
8064d3b467
remove useless debug print in !set
2017-07-25 20:11:57 -04:00
jacob1
2b3fbbd50e
fix -nan RFRG glitch
2017-07-24 21:55:16 -04:00
jacob1
541417008e
fix FIGH spawning glitch: id:2165807
2017-07-24 21:44:37 -04:00
jacob1
16323320ce
turned off HSWC acts as insulator for HEAC
2017-07-24 21:30:12 -04:00
jacob1
8c7729de85
"failed to x" messages in save browser are no longer arbitrarily yellow
2017-07-23 23:20:43 -04:00
jacob1
bf9014ac60
fix HEAC conducting to HSWC which is turned off
2017-07-23 21:17:21 -04:00
jacob1
3c4ca5cd4b
ensure DMG turns WOOD to SAWD
2017-07-23 19:39:09 -04:00
jacob1
1cfd9d8fc7
only display updates based on build number, not version number
2017-07-23 16:41:38 -04:00
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
ad5a2a0972
tpt.parts: only prevent writing to dead particles, not reading
2017-07-16 11:43:50 -04:00
jacob1
b8ce522779
sim.signs.delete() api function
2017-07-16 10:42:53 -04:00
jacob1
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -04:00
jacob1
08ba035a53
fix nesting checks
2017-07-15 16:27:11 -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
781a90a970
CAUS.cpp whitespace fixes, closes #464
2017-07-13 21:07:08 -04:00
jacob1
711d15fe0c
fix compile error, blame @moonheart08
2017-07-13 21:02:23 -04:00
moonheart08
a76afb0bfc
Add the ability to make POLO from acceleration ( #477 )
...
tmp value of 310+ results in POLO.
2017-07-13 20:58:18 -04:00
QuanTech0
1ff280acb2
another typo fix...
2017-07-13 20:56:51 -04:00
jacob1
f3a7d966d2
potential fix in sim.partCreate, also
2017-07-13 20:55:03 -04:00
LBPHacker
7dd538b82c
Fix tpt.parts being unsafe
...
`tpt.parts` does check whether the particle ID it gets is valid, but it doesn't check whether that particle ID is used. One could potentially modify the life property of dead particles to break the linked list of free particle IDs, thus potentially gaining the ability to read from or write to arbitrary addresses in memory.
2017-07-13 20:33:46 -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
d0f1024f95
add BCOL + NEUT -> SAWD, closes #471 and #472
2017-06-30 20:10:15 -04:00
My main account
284e653aa5
Convert another if-elseif block to switch ( #465 )
2017-06-30 20:01:12 -04:00
QuanTech0
d0feba6445
Temp. displayed using {aheat} not in celsius
...
Since it is displayed in celsius for {t}, shouldn't it be for {aheat} too? Just a consistency thing.
2017-06-30 19:55:38 -04:00
jacob1
fb08400552
add PROP_LIFE_DEC back to GLOW, fixes #466
2017-06-22 22:50:20 -04:00
jacob1
2e4617c956
GAS+CAUS+pressure = RFRG, move HEAC to solids
2017-06-18 23:32:25 -04:00
My main account
5de384cfbc
Fix CRAY creating FILT
2017-06-18 21:49:47 -04:00
iczero
3336209527
Fix STOR modded element processing
...
fixes #460 , again
2017-06-18 09:02:20 -04:00
jacob1
67b87b1dab
palette now used for default elements again, with some fixes
...
palette now used in VIRS, fixes #460
2017-06-18 00:08:41 -04:00
jacob1
c1e91260eb
fix deco colors being 1 R/G/B value less than they should be
...
The proper way would be to divide by 255, but that is slower than >>8. This is a better approximation (or perhaps equivalent?)
2017-06-17 21:02:52 -04:00
iczero
42b8f52611
Add type for POLO, closes #458
2017-06-17 20:34:57 -04:00
jacob1
714ee8ff65
clear redoHistory memory on exit
2017-06-14 00:16:44 -04:00
jacob1
4214f85599
HEAC now checks for heat insulators
...
Also testing c++ stuff, maybe reuse this function for GOLD later
2017-06-14 00:04: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
jacob1
694bc6a9cb
new reaction suggested by Skylark: RFRG+NEUT=GAS/CAUS
2017-06-11 23:07:52 -04:00
jacob1
32d834c351
fix VIBR asymmetric heat releasing, fixes #424
2017-06-11 22:47:05 -04:00
jacob1
510c33a986
fix BOMB issue from previous commit that deletes particle #0
...
also, code cleanup
2017-06-11 22:22:30 -04:00
jacob1
5ac66bda75
BOMB: use kill_part instead of delete_part, fixes #432
...
this was the only element to use delete_part. Only brush drawing should ever use delete_part
2017-06-11 22:08:30 -04:00
jacob1
d4a0ff9ac8
draw_image can now draw images with x<0, fixes #433
...
this isn't used at all in the source
2017-06-11 22:01:11 -04:00
jacob1
0ea5c1d0e0
Fix #438
...
I didn't actually notice any difference with this change
2017-06-11 21:26:42 -04:00
jacob1
1718fe9287
HEAC is now meltable via LIGH, fix HEAC hardness, fixes #441
2017-06-11 21:10:19 -04:00
jacob1
fb2431d99e
replace some if-else with switch statements, code formatting, closes #444
2017-06-11 20:39:23 -04:00
jacob1
81259c5d11
remove PROP_LIFE_DEC from some elements that don't need it, closes #447
2017-06-11 11:29:42 -04:00
LBPHacker
2c0468ef2e
Sign justification is now called pointer alignment
2017-06-09 23:58:06 -04:00
cppxor2arr
12d2af7925
Removed unnecessary CleanString() function ( #443 )
...
Two `CleanString()` functions with the only differing thing the first parameter (`const char*` vs `std::string`); removed the one with `const char*` since `std::string` can be constructed with `const char*`.
2017-06-09 23:57:12 -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
4242e38968
update LSNS description + default temp
2017-06-04 21:56:12 -04:00
jacob1
1cb3917fcc
Fix comment
2017-06-04 21:33:45 -04:00
jacob1
d73586c566
POLO fix (I can't count)
2017-06-04 19:46:59 -04:00
jacob1
2dbdc3109b
new element description updates
2017-06-04 18:29:35 -04:00
jacob1
572e432045
update snapshot save restriction code
2017-06-04 18:10:07 -04:00
jacob1
35ce9570d6
make Mrprocom's name blue
2017-06-04 17:48:31 -04:00