Commit Graph

4576 Commits

Author SHA1 Message Date
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
jacob1
57e7196e56 fix sconscript fail 2017-02-20 19:20:21 -05:00
jacob1
b01e7a6a36 put #ifdef around denormal functions, they only exist when using SSE/SSE3 2017-02-20 19:15:41 -05:00
jacob1
ca792f12b5 misc compiler warning fixes (multiple compilers) 2017-02-20 19:14:50 -05:00
Issue tracking bot
d9115fc3fe Fix -Werror=misleading-indentation (#369) 2017-02-20 18:51:10 -05:00
jacob1
ac8c01ae57 ensure floating point denormals aren't used, they can massively lag the air sim 2017-02-19 19:29:41 -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
2967cde4c0 fix font editor being unable to display chars > \x7F, c++ & warning fixes 2017-02-18 10:55:31 -05:00
jacob1
51eeaf218d fix crash when doing Textbox.new() 2017-02-13 17:43:48 -05:00
jacob1
6040ccd27e ugly fix for two empty snapshots being created on startup 2017-02-09 23:08:44 -05:00