moonheart08
22b9bf4953
Adds RAYT ( #540 )
2018-04-10 21:32:19 -04:00
krawthekrow
64b7fcf334
fix single-particle PSTN bug
2018-04-08 20:10:51 -04:00
jacob1
11b2f58db7
define M_PI in tpt-math.h
2018-04-05 23:31:28 -04:00
jombo23
564a9dfc48
Add ultrafast semi-accurate trig functions and update Cylone to use them. ( #547 )
2018-04-05 23:04:57 -04:00
jacob1
7f985b47dc
whitespace fixes + description change
2018-04-03 22:33:25 -04:00
moonheart08
3f99a59cb2
Adds STASIS wall. ( #556 )
2018-04-03 22:24:38 -04:00
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -04:00
wolfy1339
31fcb1bfaa
Fix some errors produced by clang
2018-04-03 21:02:23 -04:00
jacob1
f812d7194b
fix obscure division by 0 issue that only QuanTech would ever be affected by
2018-04-02 23:06:51 -04:00
jacob1
07868ba2b7
Adjust SOAP links to non-SOAP particles properly when saving
2018-04-01 16:04:38 -04:00
jacob1
67bc12de97
Fix issue where TPT was bought by EA
2018-04-01 15:26:13 -04:00
jacob1
fdd6618896
fix buying erase tool in a pack, increase price of erase tool to 5000
2018-03-31 23:09:11 -04:00
jacob1
40d2850ff7
TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page!
2018-03-31 22:40:23 -04:00
jacob1
1f97199df6
fix solar panels sometimes not working
2018-03-25 18:34:25 -04:00
jacob1
fac996722b
save stickmen rocket boots / fan flag in saves
2018-03-24 13:09:02 -04:00
jacob1
3bd35ce83f
fix STKM + fan wall
2018-03-21 23:58:27 -04:00
jacob1
f45d0d1683
save palette now works for elements stored in ctype/tmp/tmp2
2018-03-17 21:46:35 -04:00
jacob1
c861d69f9c
add RESTRICT_VERSION check to digitation stuff, update readme date
2018-03-10 17:03:44 -05:00
jacob1
ab4cdf2aa1
minor efficiency fix
2018-03-10 15:43:25 -05:00
jacob1
ad5b12fe6d
part_change_type now returns true if it killed the particle
2018-03-10 15:39:39 -05:00
jacob1
5a61e6a619
a bunch of fixes to heat/pressure digitation
...
add limits so that you don't get impossible temp or pressures
only undigitize from FILT 1 pixel away
ensure everything only works through FILT, not sometimes PHOT or BRAY
HSWC with .tmp of 1 no longer conducts heat to FILT
2018-03-07 23:03:10 -05:00
Novocain1
68efe49a5b
Digitization (PSNS) and Application of Digitized Pressure (PUMP) ( #532 )
2018-03-03 23:04:51 -05:00
jacob1
5dd01e9976
I guess if we're trying to save instructions, we should do it like this
2018-03-03 21:36:11 -05:00
jacob1
d666559481
more accurate O2 fusion calculation, fixes #505
...
seemed to only be 3% slower in my tests with a full screen of heated pressurized O2
2018-03-03 21:15:28 -05:00
jacob1
2adae64041
fix ambient heat going to high negative values with high life LIGH, fixes #536
2018-03-03 20:58:39 -05:00
jacob1
f9b5c6bb1a
use std::string instead of c strings for sign stuff, fixes #545
2018-03-03 20:44:03 -05:00
jacob1
5f4c5fb118
Fix &255 usage
2018-02-28 22:01:49 -05:00
krawthekrow
d7e26e8c03
fix free particle list messing up during particle debug
2018-02-24 18:24:07 -05:00
jacob1
a0a7281cc7
add TOOL_CYCL lua constant, change ID to 7
2018-02-14 22:19:31 -05:00
jombo23
0a63e1afb5
Add Cyclone Tool and Brush X/Y Arguments ( #542 )
2018-02-13 00:08:00 -05:00
Nikolay Marchuk
30b8078ad2
fix undoing changes in gravity mask
2018-02-13 00:06:55 -05:00
jacob1
257fe6f61b
Fix debug print in PLNT causing lag
2018-02-12 00:09:35 -05:00
jacob1
1237b49e37
allow compiling renderer with --msvc in scons
2018-02-11 14:47:36 -05:00
jacob1
25ef5b19fd
fix STOR to PIPE
2018-01-07 20:27:54 -05:00
jacob1
1405c10046
fix STOR->PRTI transfer
2018-01-03 00:13:06 -05:00
jacob1
07988147b9
prevent compiling if pmap doesn't have enough space, make lua elements favor 1 byte IDs
2018-01-01 00:31:44 -05:00
jacob1
b5159ab74e
Changes to save format and PIPE
...
Update save format to optionally store type as two bits
PIPE now stores element in ctype
Disallow uploading saves using two bytes in type or other fields
update save format to store pmapbits and automatically convert data
2017-12-31 23:55:41 -05:00
jacob1
0c8c4de125
convert all of the rest of the things except GameSave.cpp and pipe/ray elements
...
also add sim.PMAPBITS and sim.PMAPMASK constants
2017-12-29 21:01:28 -05:00
jacob1
20e1abd840
update Simulation.cpp to use new macros
2017-12-29 17:34:19 -05:00
jacob1
da45e0e469
last src/simulation/element changes
...
PSTN, CRAY, and possibly some others will need to be modified to account for this without breaking saves. The save format will need to include PMAPBITS and adjust properly
2017-12-28 21:27:01 -05:00
jacob1
208cf14ce8
convert r&0xFF in src/simulation/elements
2017-12-28 13:00:23 -05:00
jacob1
4b1c929f58
use macros for the rest of the necessary >>8/<<8 in src/simulation/elements
2017-12-28 12:18:44 -05:00
jacob1
ac24810da5
add some defines to reduce usages of hardcoded r>>8
2017-12-28 12:03:26 -05:00
jacob1
fbf7210814
fix division by 0 in PHOT+C5 interaction, shoot the photon off at 90 degrees instead
2017-12-27 18:11:33 -05:00
jacob1
23c68b1db1
fix issue loading manually created SOAP bubbles in some saves
2017-12-19 22:15:32 -05:00
jacob1
553eaf9524
fix loading saves with stacked particles
2017-12-19 21:15:19 -05:00
jacob1
e956e7c5fd
fix issue where stamps would stack if you loaded multiple in one frame
...
sim.loadStamp in the console, or a lua script
2017-12-03 19:30:21 -05:00
jacob1
c2064b48c3
fix comment
2017-11-23 22:23:56 -05:00
jacob1
3529f6f468
fix ambient heat not loading in ctrl+c paste, fix pressure resetting to 0 when loading saves without pressure
2017-11-23 22:09:33 -05:00
jacob1
78fb27b354
fix SOAP links not saving/loading properly
2017-11-23 21:53:21 -05:00
jacob1
1971efe8b8
include tpt-minmax in the rest of the files it is needed in
2017-11-23 16:21:19 -05:00
jacob1
c9d9f5b71d
more include fixes (CoordStack.h)
2017-11-23 16:06:09 -05:00
jacob1
2ccbec1d05
include tpt-minmax header in Simulation
2017-11-23 15:12:47 -05:00
krawthekrow
62d57cc1de
fix indentation
2017-11-23 00:42:42 -05:00
Novocain1
db6fb5461d
Adds ways to digitize temperature and ways to turn that digitization to an actual temperature. ( #525 )
2017-11-23 00:28:12 -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
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
MrZacbot
be786d85a7
Added a bounds check for BOMB reading pmap ( #497 )
2017-08-29 20:44:14 -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
1dd4b00ec6
minor gravity transition fix
2017-08-06 19:41:04 -04:00
jacob1
6fca44fd70
fix newtonian gravity state transitions flashing
2017-08-05 17:53:41 -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
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
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
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
6d141b0722
add new PhotonReflectWavelengths property, add reflection color for POLO
2017-07-16 00:07:32 -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
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
iczero
42b8f52611
Add type for POLO, closes #458
2017-06-17 20:34:57 -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
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
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
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