Commit Graph

5425 Commits

Author SHA1 Message Date
jacob1
54a2abce3b Default drawfrequency to 0, because of frame drop issues
Very apparent when using LIGH, which only stays on screen for one frame. Sometimes LIGH rendering is skipped entirely.
snapshot-220
2021-07-11 18:04:51 -04:00
jacob1
05f722b397 Fix custom brush loading 2021-07-11 16:48:05 -04:00
Tamás Bálint Misius
cfeda0fdba Fix GOL showing up where it shouldn't
The underlying problem was that the spreading step in SimulateGOL would record activity concerning a cell to builtinGol even if said cell already housed a non-GOL particle. The culling step handles these records and purges them once it's done (thus builtinGol only ever has non-zero values inside SimulateGOL), except in this case, it saw the non-GOL particle and skipped the cell without purging the corresponding records. This would later let GOL spread seemingly out of nowhere.
2021-07-11 12:21:48 +02:00
jacob1
34615536ce Update build number (96.0.348) snapshot-219 v96.0.348 2021-07-10 19:33:17 -04:00
moonheart08
a014c81ad6 Last minute explosiveness enhancement for LITH (#788) 2021-07-10 16:17:58 -04:00
catsoften
c6a52d1425 Prevent ROCK from repeatedly breaking into STNE and reforming under pressure 2021-07-10 00:18:46 -04:00
jacob1
8a788fac78 Misc minor changes to new elements
LITH: show .tmp2 in HUD, remove outdated comment
SLCN: update description
ROCK: form under pressure from both normal LAVA and LAVA(STNE), as these are basically the same thing
2021-07-09 22:09:24 -04:00
jacob1
37dfe728d0 Update build number and readme v96.0.347b 2021-07-04 15:37:46 -04:00
moonheart08
66c5287824 Adjust color of LITH (#787) 2021-07-04 14:55:20 -04:00
jacob1
fb3fcfcdb7 Fix local saves and migration process on Windows 2021-07-04 14:35:25 -04:00
jacob1
fe49e58de8 Make ROCK more resistant to DEST (like CNCT is) 2021-07-03 23:34:38 -04:00
Tamás Bálint Misius
fb506599c2 Bump version to 96.0.346 v96.0.346b 2021-06-30 22:44:37 +02:00
Tamás Bálint Misius
a77bf9342b Add beta support to ghactions workflow snapshot-218 2021-06-30 22:29:26 +02:00
Tamás Bálint Misius
dba0bcd535 Freeze build step ubuntu runner at 20.04
This will hopefully also freeze the minimum required glibc version at 2.29.
2021-06-30 21:47:42 +02:00
jacob1
d45c73e9e5 No longer necessary to blame Simon 2021-06-28 21:33:03 -04:00
jacob1
86b48eb022 Fix github actions compile error (?)
Only added Platform.h because all the other common/ stuff was there. I have absolutely no idea what caused the failure if it's not this
2021-06-28 21:09:15 -04:00
jacob1
26327effd5 Compile fixes for renderer, no lua, and no gravfft options 2021-06-28 21:02:59 -04:00
jacob1
6dd7d9bd46 Add bounds checking to sim. tool APIs (crash fix) 2021-06-27 21:43:14 -04:00
catsoften
e97925f0fd Change PTNM reactions to take pressure from reacting particle's coordinates (#784) 2021-06-27 20:27:02 -04:00
jacob1
91a1f19c52 Adjust LITH color slightly so that it isn't the same as CNCT 2021-06-27 18:47:09 -04:00
jacob1
f9d9951237 add extra failsafe in RequestManager when shutting down 2021-06-27 18:43:04 -04:00
jacob1
76699d2f7e Make ROCK harder to get, greatly increase ACID resistance
This helps prevent ROCK from appearing in normal situations, which can easily get to pressure > 2 just from the movement of the falling LAVA.
2021-06-27 18:39:51 -04:00
jacob1
b3aa6252ce Add button in options menu to migrate to shared data directory a18855301306
Summary of migrated files will be shown to user in a popup, and a log file with every moved file will be left in the original directory
stamps, saves, scripts, screenshots, and powder.pref will be migrated. Recordings are not.
2021-06-27 18:25:59 -04:00
jacob1
0292344328 Fix Windows compile error, switch std::string to ByteString 2021-06-26 01:05:56 -04:00
jacob1
d1016cf58d move Platform.cpp to common/, seems to fit in a little better there 2021-06-26 00:58:37 -04:00
jacob1
6e0ace2e4d Add / move some filesystem methods to Platform.cpp 2021-06-26 00:58:37 -04:00
Tamás Bálint Misius
72948978fa Fix over-eager MSVCRT bounds checking crash in LuaTCPSocket
MSVCRT doesn't like .operator[](.size()), it's safer to just replace all &.operator[x] with &.operator[0]+x.
2021-06-24 07:10:02 +02:00
Tamás Bálint Misius
fb514ca9e3 Return index into range passed to :send rather than bytes written
This is what LuaSocket used to do.
2021-06-22 20:57:17 +02:00
Tamás Bálint Misius
dcf0764fd8 Return a reason for failure from sim.loadStamp 2021-06-21 08:04:32 +02:00
Tamás Bálint Misius
cb52495472 Use GameController::ClearSim in sim.clearSim
Unlike Simulation::clear_sim, this also resets the save info in GameModel, i.e. is equivalent to pressing the 'Erase everything' button.
2021-06-19 21:55:08 +02:00
jacob1
6bd1289bdd restrict ambientAirTemp to valid limits when set from Lua 2021-06-18 23:37:04 -04:00
jacob1
3c9882598c When air temp textbox is defocused, correct out of range temperatures 2021-06-18 23:07:17 -04:00
jacob1
b0e29c8c23 Fix crash when doing sim.ambientAirTemp(0/0) 2021-06-17 23:21:29 -04:00
jacob1
5eb2495d61 Ensure tpt.set_wallmap is called with 3, 5, or 7 arguments 2021-06-08 23:11:25 -04:00
jacob1
9775527123 Misc compile fix for the unsupported opengl configuration 2021-06-08 23:11:24 -04:00
Tamás Bálint Misius
1851677dbe Return version (aka history index) from sim.getSaveID
Makes sense because sim.loadSave has a history argument.
2021-06-05 08:26:43 +02:00
Tamás Bálint Misius
788c9cf9fc Restrict saves with ambient air temp set to v96.0 snapshot-217 2021-06-04 22:54:31 +02:00
Tamás Bálint Misius
ffe730c615 Save ambient heat temperature and add it to options 2021-06-04 22:39:07 +02:00
Tamás Bálint Misius
7cfc5aa9f6 Actually store the return value of curl_easy_send, oops 2021-06-03 21:25:28 +02:00
Tamás Bálint Misius
1a06f5ba48 Only attempt a starcatcher upload if the relevant repo secrets are present
Also get rid of the release_url hack.
2021-06-03 19:23:30 +02:00
Simon Robertshaw
5ec8baa406 Merge tag 'snapshot-216'
snapshot-216

# gpg: directory '/c/Users/Simon/.gnupg' created
# gpg: keybox '/c/Users/Simon/.gnupg/pubring.kbx' created
# gpg: Signature made Mon May 31 00:56:30 2021 GMTST
# gpg:                using RSA key 2F5646E42ADC68C4E1B6B6604E58A32D510E1995
# gpg: Can't check signature: No public key
2021-06-02 16:35:23 +01:00
Cracker1000
7be888ccf1 Make debug mode show .tmp2 for VSNS too. snapshot-216 2021-05-30 19:54:10 -04:00
jacob1
076be894d1 Take snapshot when using ctrl+x 2021-05-30 19:45:31 -04:00
Tamás Bálint Misius
48d1226f59 Rewrite tpt.set_wallmap, it can now set WL_FAN velocity 2021-05-28 11:58:25 +02:00
Tamás Bálint Misius
ed29794fb8 Remove LuaSocket, add new socket API backed by libcurl 2021-05-27 15:13:43 +02:00
Simon Robertshaw
10a6bb7120 Remove pastel glow on "inactive" GLOW, fix FIRE_ADD variables.
FIRE_ADD, firea/r/g/b variables adjusted to work similar to v51.1.
Use RNG to assist with smooth(er) transition from PMODE_FLAT to PMODE_ADD
2021-05-22 21:48:06 +01:00
Tamás Bálint Misius
d8e641b977 Fix dangling pointer smuggling in PreviewModelException 2021-05-22 14:53:45 +02:00
Sam Robertson
2c207a934e Makes GLOW element glow under pressure. Fixes #774
Co-authored-by: Tamás Bálint Misius <lbphacker@gmail.com>
2021-05-22 11:18:31 +02:00
Tamás Bálint Misius
6a07a89480 Moving to Libera
Also add a space to REALISTIC so it's in line with the other indicators, and move spaces to the front so there's no trailing space. Not that anyone would ever see a trailing space.
2021-05-20 09:34:32 +02:00
jacob1
14be92c013 Prop tool - only check GoL rulestings / names for ctype
They are meaningless when applied to any other property, even .type
2021-05-19 00:04:23 -04:00