Commit Graph

4836 Commits

Author SHA1 Message Date
jacob1
b0f3b2a36b Fix QRTZ killing life=0 PHOT, fixes #415 2017-05-09 21:56:01 -04:00
jacob1
b9c658ae20 elements are only recounted when unpaused, apparently 2017-05-09 21:52:40 -04:00
jacob1
2d7934bca6 fix elementRecount never being reset to false, fixes #417 2017-05-09 21:49:54 -04:00
jacob1
8830120479 use part_change_type in legacy fire update, closes #418 2017-05-09 21:45:42 -04:00
jacob1
0f40db4ef9 proper ctrl+backspace support 2017-05-08 23:45:18 -04:00
jacob1
abf60508cd fix ambient heat being reset when creating saves 2017-05-06 23:57:27 -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
9b954c7ed5 CRAY(LIGH) defaults to LIGH with .life 30 2017-05-06 19:40:22 -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
8d492ef549 meant to move those functions into GameSave class 2017-04-25 00:05:15 -04:00
jacob1
5ce60b5f5f clean up massive repeated code in GameSave.cpp 2017-04-24 23:59:47 -04:00
jacob1
c98f63bd89 save ambient heat in saves, if it is enabled 2017-04-24 22:29:45 -04:00
jacob1
184777ed12 GameSave.cpp 2D array cleanup 2017-04-23 22:44:31 -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
QuanTech0
f9b512a502 New Element: LSNS (#367) 2017-04-23 11:34:24 -04:00
Tamás Bálint Misius
0fe596f741 Make RFGL and RFRG a bit more realistic (#366)
* Make RFGL and RFRG a bit more realistic.

This means that they both more or less follow Gay-Lussac's law: T2 = T1 * P2 / P1. Simple heat transer mechanism, no playing around with .life, shared update function.

* Ditch weird pressure scale

* No /0 pls
2017-04-23 11:25:42 -04:00
jacob1
40972f9434 pressure and air velocity are now saved in saves 2017-04-22 17:06:28 -04:00
jacob1
0dd1cbf050 Add C5 to phot HUD list, fixes #401 2017-04-21 20:32:12 -04:00
jacob1
866289c179 remove duplicate function, fix Simulation::GetParticleType, fixes #402 2017-04-21 20:24:24 -04:00
jacob1
01d17cb860 remove unused PSTN code (is this a sign of a bug?) 2017-04-20 21:16:25 -04:00
Nickolay
7078d7e528 Customizable FRAY and INVS (#390) 2017-04-20 17:37:09 -04:00
LBPHacker
3fbfb83b0e Fix cache value from Lua graphics functions being ignored 2017-04-17 23:46:03 -04:00
jacob1
e712a8dbec make last 3 arguments to sim.brush optional, for convenience 2017-04-17 23:28:12 -04:00
LBPHacker
e9d80fe52a sizeof(unsigned char) 2017-04-17 23:28:12 -04:00
LBPHacker
5cf3fa3f5b More parameters for sim.brush 2017-04-17 23:28:12 -04:00
krawthekrow
c2642f35f8 fix FRME breaking when partially blocked 2017-04-17 22:58:11 -04:00
krawthekrow
446d4412ea fix pstn oddity 2017-04-17 22:58:11 -04:00
jacob1
076ec711a9 fix photon refraction on windows 2017-04-16 21:41:50 -04:00
jacob1
cf03731dc3 Skylark: make GRAV prettier 2017-04-11 23:15:23 -04:00
jacob1
d3f0896599 Changes by Skylark:
Double the preciseness of photon refracting
photon refracting efficiency improvement on GCC
CRMC now slightly scatters photons when reflecting
BGLA now scatters photons
PQRT scatters photons like QRTZ does
C5 frequency doubling, id:2087410
*slight styling changes by jacob1*
2017-04-11 23:15:01 -04:00
jacob1
bcebe7560e fix typo in Air.cpp 2017-04-10 23:30:56 -04:00
jacob1
1af4fa912f fix debug portal lines to the highest ID particle not working, fixes #393 2017-04-08 09:54:45 -04:00
Me4502
bda17dd62e Fixed favorites being able to be added multiple times. 2017-04-08 09:51:50 -04:00
LBPHacker
804b33f389 Fix WIFI cooldown
For some reason WIFI would only add sparks to the spark queue
(sim->wireless[1]) if there was no spark added to it in the previous
frame (sim->wireless[0] in the current frame). Fixed.
2017-03-20 23:04:28 -04:00
Matthias Mailänder
9bb471d741 Create powdertoy-save.xml 2017-03-19 23:18: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
Capacitor Set
e13e31ce64 Fix vid_buf memory leak in editor.c 2017-03-19 23:05:39 -04:00
Capacitor Set
2d4c195c86 Fix memory leaks 2017-03-19 23:05:39 -04:00
jacob1
2d5d9287c6 fixing merge conflict reintroduced a typo ... 2017-03-19 23:04:11 -04:00
CapacitorSet
74d67070f0 Update documentation (#355)
* Add build instructions

* Update README with Markdown syntax
2017-03-19 23:00:13 -04:00
jacob1
0832caa4f9 fix typo, gasses -> gases 2017-03-18 00:35:33 -04:00
jacob1
680c47ae3c proper fix for "MODVER" in intro text
previous fix actually was due to an incorrect compile flag
2017-03-05 11:07:42 -05:00
jacob1
287d5f9534 minor text fixes 2017-03-05 10:56:11 -05:00
jacob1
83657e8773 disable experimental elements in mods, intro text fix for mods 2017-03-04 23:54:03 -05:00
jacob1
cd448a5747 fix Misc.cpp file_load (this function isn't used anywhere) 2017-02-27 22:28:03 -05:00
jacob1
d5347b0906 Fix test error 2017-02-26 14:02:38 -05:00