Commit Graph

590 Commits

Author SHA1 Message Date
jacksonmj
186f8a1742 No more red DEUT
Prevent some integer overflows in DEUT graphics and interactions.
2013-11-07 21:36:36 +00:00
jacob1
45bf0dfcdb Merge pull request #180 from mniip/warnings
Warnings
2013-10-29 19:24:20 -07:00
mniip
bf908bbfbf Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions 2013-10-30 04:47:07 +04:00
mniip
9183fa1755 apparently Ximon hates const; a lot;
added a bunch of const everywhere, had to modify a few functions to be const-compliant
2013-10-30 04:38:13 +04:00
Simon Robertshaw
8b45c8f9e8 Merge remote-tracking branch 'china-richway2/CutGlitch' into develop,
closes #176
2013-10-29 21:46:33 +00:00
Simon Robertshaw
f2e28ee667 Merge branch 'feature_sparksigns' into develop 2013-10-29 19:43:02 +00:00
Simon Robertshaw
e78dcae851 Merge branch 'master' into develop 2013-10-29 19:39:52 +00:00
jacob1
a4da2566ec fix virus graphics 2013-10-26 12:10:10 -04:00
jacob1
79a2ac3103 fix issue with FILT PHOT scattering 2013-10-23 21:01:06 -04:00
unknown
12261e263d fix bug where Ctrl+X don't delete stacked particles 2013-10-23 21:06:19 +08:00
jacob1
dd73a7244f reduce / prevent PROT in fusion even more 2013-10-20 10:37:28 -04:00
Simon Robertshaw
cebd28148d Minute performance improvement for Sign.getText 2013-10-19 17:22:43 +01:00
jacob1
ba43e4d238 revert b17ef7f938 (couldn't figure out better fix for the new PSTN bug), fix annoyance with clicking on save comments changing pages 2013-10-18 16:13:40 -04:00
jacob1
c4dcb37de4 PROT with 0 life doesn't die 2013-10-10 17:13:11 -04:00
jacob1
d1e75c7a50 make PROT lasers easier to make, adjust velocities needed to make things when smashing PROT together, use FIRE_BLEND for PROT graphics 2013-09-28 20:31:35 -04:00
jacob1
8fc39d659c VIRS only burns with PLSM, and has the NO_DECO graphics flag 2013-09-28 19:45:15 -04:00
liquidcaesium
a376b72b36 LCRY + PROT = LCRY + PHOT
Protons passing through active LCRY get turned into photons slowly, functioning as a powered converter in that manner.
2013-09-24 17:58:35 +03:00
jacksonmj
ef6cc9c418 WIFI: always delay one frame before conducting, to prevent particle order issues 2013-09-21 13:18:27 +01:00
jacob1
e578b9f799 fix BIZS melting without heat sim on (I wonder how many more elements still do this ...) 2013-09-14 19:13:29 -04:00
jacob1
c6ba381424 make PROT more red, and VIRS burns less 2013-09-14 10:26:23 -04:00
jacob1
ee093ae3b7 disable PHOT+H2 reaction during fusion 2013-09-14 09:49:19 -04:00
jacob1
e1b26346a1 ensure VIBR always eats PROT 2013-09-13 22:24:50 -04:00
jacob1
ae8e5e5c34 PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
2013-09-13 22:02:03 -04:00
jacob1
aa2ec3d162 fix SOAP crashes by making sure particle id's are between 0 and NPART. Also cut off .life to between 0 and 65535 when saving 2013-09-12 14:35:10 -04:00
jacob1
074a2226e1 remove useless and laggy lightning_recreate check 2013-09-11 21:41:54 -04:00
jacob1
332aa25bf6 save pavg[] in saves, for VIRS, PIPE, and STOR 2013-09-11 20:41:43 -04:00
jacksonmj
9eccad80b1 Missing breaks in readOPS
Causing some elements to be loaded incorrectly
2013-09-08 18:14:12 +01:00
jacksonmj
2e52e209a6 CRAY: only set decoration colour after passing through FILT 2013-09-08 17:33:12 +01:00
jacksonmj
45dc8ac757 Revert "Don't reset decorations when sparking with INWR+CRAY(most things)"
This reverts commit 5ad67f7778.
2013-09-08 17:28:51 +01:00
jacksonmj
7270461985 Enabled check for PIPE too 2013-09-08 11:52:44 +01:00
jacksonmj
5ad67f7778 Don't reset decorations when sparking with INWR+CRAY(most things)
INWR+CRAY(SOAP) will reset decorations
2013-09-08 11:30:21 +01:00
jacksonmj
79edfe9589 Include elements[].Enabled in check for invalid lava ctype 2013-09-08 09:26:31 +01:00
jacob1
d9089d13c4 fix BCOL melting and not burning when heat sim is off 2013-09-05 14:45:47 -04:00
jacksonmj
96221ff23e Make effect of PROT on wifi and portals independent of channel temperature ranges
Cold PROT decreases channel by 1, v cold by 10. Hot PROT increases channel by 1, v hot by 10.
Since the effect is specified in terms of effect on channel number not on temperature, this will
cause less problems if the temperature gap is ever decreased to add more channels.
2013-09-05 18:06:13 +01:00
jacob1
7d9fa1bfc7 new element: VIRS (also solid and gas virus states). Cured by SOAP (CURE element was not added) 2013-09-04 00:20:21 -04:00
jacob1
6c4f63be3b proton collision reaction (might need to be modified). Also some ways to go to/from protons 2013-09-02 21:58:52 -04:00
jacob1
f1145f31f5 new element: PROT (protons) TODO: proton colliders to produce heavier elements 2013-09-01 21:52:38 -04:00
jacob1
2cbee180a1 fix bug where PROP wouldn't set properties of particle id 0 2013-08-29 22:34:50 -04:00
jacob1
d38af2764c move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing 2013-08-29 22:18:35 -04:00
jacob1
b17ef7f938 fix PSTN bug found in save 1299509 (hopefully won't break anything) 2013-08-29 21:00:31 -04:00
jacksonmj
c3d3f9fc2a FILT mode for old QRTZ scattering, for Catelite.
FILT graphics could maybe do with changing in this mode.
2013-08-29 18:28:49 +01:00
jacksonmj
268158f1dd More FILT modes: XOR and NOT 2013-08-29 18:24:44 +01:00
jacksonmj
bebe9bd8fd Add a way for photons to set the colour of FILT (major version bump required)
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.

FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).

Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
mniip
e2cb5838c6 specially per @savask's request, put matcher into a function
returns 0 if no match, returns position of pipe character if there is
2013-08-22 19:50:20 +04:00
mniip
95c01bcf0a regexless getText 2013-08-22 17:09:55 +04:00
Saveliy Skresanov
b2045b0a7f Fix sign save/topic regex. 2013-08-22 18:43:46 +07:00
Saveliy Skresanov
12c471f257 Soap freezing temp is -25C now 2013-08-15 22:02:24 +07:00
jacob1
4746474127 fix occasional crash when flood fill deleting 2013-07-29 00:34:43 -04:00
jacob1
beff3db8d2 fix ctrl+x not deleting all signs 2013-07-25 18:23:02 -04:00
jacob1
468e678cd6 unhide FOG and RIME elements. TODO: hide VINE from the menu? (seems useless, would make the menu less scrolly) 2013-07-19 21:22:26 -04:00