Magnus Norddahl
7d3e8d1414
Fix triangle drawer clipping bug
2016-11-08 23:08:25 +01:00
Christoph Oelckers
701ffb868b
- fixed: The first argument of string-based ACS specials was missing a string to name cast.
2016-11-08 22:36:44 +01:00
Rachael Alexanderson
9413ea6edf
- Textured automap would crash due to an additional parameter in the software renderer to the FillSimplePoly function call, causing stack issues.
2016-11-08 15:35:51 -05:00
Rachael Alexanderson
d36993a03b
- Textured automap would crash due to an additional parameter in the software renderer to the FillSimplePoly function call, causing stack issues.
2016-11-08 15:05:23 -05:00
Magnus Norddahl
6ef8fe2da5
Add diminishing lighting
2016-11-08 18:08:13 +01:00
Rachael Alexanderson
74977486c3
Merge branch 'master' of https://github.com/coelckers/gzdoom
2016-11-08 12:02:04 -05:00
Magnus Norddahl
c1d496c17f
A little bit of SSE to speed it slightly more
2016-11-08 17:38:19 +01:00
Magnus Norddahl
466274d7f6
Remove floats from the inner block loop
2016-11-08 16:46:15 +01:00
Magnus Norddahl
28d1cdc1cc
Add TriUniforms and move light to it
2016-11-08 16:16:24 +01:00
Magnus Norddahl
6620d99fbb
Fix frame buffer bounds and access errors
2016-11-08 15:27:45 +01:00
Christoph Oelckers
5c7affd102
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-08 14:31:10 +01:00
Magnus Norddahl
cb4b74e0c3
Double render speed of triangle drawer in the poly version by removing sprite clip and assigning whole blocks to threads
2016-11-08 14:28:58 +01:00
Christoph Oelckers
7b7b66d8b7
- added a new variable flag that allows defining variables which can only be modified by internal script code but not by external mods. Currently this is used by the NoBlockmap and NoSector flags which need special handling for changing.
2016-11-08 11:12:56 +01:00
Rachael Alexanderson
dffba5267d
- Full freelook is now enabled if r_newrenderer is set to true.
2016-11-08 00:44:53 -05:00
Magnus Norddahl
2e2d6da00f
Only draw thing if its in the subsector
2016-11-08 05:48:45 +01:00
Magnus Norddahl
d0f0500f0d
Draw things
2016-11-08 05:17:29 +01:00
Magnus Norddahl
b9d6fc6856
Add some light and transparency
2016-11-08 02:48:14 +01:00
Christoph Oelckers
3661e479d9
- fixed: Runtime conversion of names to classes used the wrong argument to check the class type.
2016-11-07 23:29:54 +01:00
Christoph Oelckers
aac931192b
- fixed: Declaring a damage function must set regular damage to -1 to disable it.
2016-11-07 23:22:00 +01:00
Christoph Oelckers
cf9cdeb480
- scriptified the Revenant's code.
2016-11-07 23:16:25 +01:00
Christoph Oelckers
75c20ebaa6
- typo in Lostsoul definition.
2016-11-07 21:30:08 +01:00
Christoph Oelckers
e3bee84860
- fixed: Hexen's serpent was still using "None" for 'no state', which in ZScript is done with null.
2016-11-07 20:12:06 +01:00
Christoph Oelckers
387287008c
- fixed: Clamp was initialized with incorrect values.
2016-11-07 14:57:59 +01:00
Christoph Oelckers
5e8c819a33
- fixed checks in Powerup.Type property to properly deal with the differences between DECORATE and ZScript.
...
- properly initialize Baggage everywhere it gets used.
- fixed a few items with incorrect Powerup.Type settings that got flagged by the above changes.
2016-11-07 11:53:49 +01:00
Christoph Oelckers
208fe28042
- properly clear all script compiler data for a restart.
2016-11-07 11:30:41 +01:00
Christoph Oelckers
dc055b74c1
- fixed the octal parser in strbin. Like its hex counterpart it needs to backtrack one character if it find the end of a sequence.
...
- since ZScript already receives filtered strings, the 'T' converter for the properties should not do it again.
2016-11-07 09:54:46 +01:00
Magnus Norddahl
237f54f4be
Toying with triangle drawer and GL BSP nodes
2016-11-07 09:25:12 +01:00
Magnus Norddahl
47cc110498
Add true color triangle drawer
2016-11-07 05:24:17 +01:00
Magnus Norddahl
4e717cd9ee
Merge remote-tracking branch 'origin/triangledrawer' into qzdoom
2016-11-07 04:30:28 +01:00
Magnus Norddahl
92be8f401c
Remove old triangle version
2016-11-07 04:27:55 +01:00
Magnus Norddahl
3ea9d7cf04
Move software renderer transform to TriMatrix
2016-11-07 03:34:59 +01:00
Rachael Alexanderson
8e7e1b48e9
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-06 19:54:08 -05:00
Christoph Oelckers
b206d19df4
- fixed: RegAvailability never set the number of allocated registers to more than 32.
...
- fixed register allocation in ?: operator which was quite broken.
2016-11-07 01:10:56 +01:00
Christoph Oelckers
7da4e0d03d
- removed a parsing hack for the old internal definitions.
...
- fixed: The state cast hack for DECORATE could not properly create state constants.
Instead they were passed to FxRuntimeStateIndex without resolving them to something constant. This adds proper handling of constant indices within that class.
2016-11-06 23:10:23 +01:00
Braden Obrzut
640bf2a6d4
- Fixed: SBarInfo didn't support animated images in some places.
2016-11-06 17:07:44 -05:00
Christoph Oelckers
779f9d7a72
Merge branch 'master' of https://github.com/rheit/zdoom into zscript
2016-11-06 15:13:44 +01:00
Rachael Alexanderson
9f9e4ea19d
- Added randi's "bottomclip" parameter to dpJudas's OpenGLSWFrameBuffer::FillSimplePoly implementation. The code refused to compile because of the new changes. Note that this is not tested on Linux or Mac, and will likely need changes there as well.
2016-11-06 08:58:06 -05:00
Major Cooke
2583da9680
Do not allow DMG_FORCED to bypass ultimate degreeslessness/buddha for players.
2016-11-06 07:44:30 -06:00
Christoph Oelckers
10ef430bae
Revert "Do not allow DMG_FORCED to penetrate player ultimate degreelessness/buddha."
...
This reverts commit 0130bde077
.
This wasn't supposed to get merged, so get rid of it again. The change in semantics here is not acceptable.
2016-11-06 14:18:13 +01:00
Christoph Oelckers
647fd53a15
- fixed: An 'if' statement with only one branch may never considered to be always returning.
2016-11-06 14:14:54 +01:00
Rachael Alexanderson
901727a7f8
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-06 08:11:04 -05:00
Christoph Oelckers
6414fd301b
- let's add a 'float' cast, too, just in case. It still will cast to double, because single precision floats only can exist as memory values.
2016-11-06 13:21:47 +01:00
Christoph Oelckers
398433b5e6
- fixed: Explicit casts to bool were missing.
2016-11-06 13:20:22 +01:00
Christoph Oelckers
2ac0046cda
- fixed and cleaned up state index jump handling
...
* use the function build list instead of the function to pass the info. The function is permanent so not the best place for compile-time info.
* pass along the current state index which is needed to calculate the target state.
2016-11-06 13:14:46 +01:00
Christoph Oelckers
c354000f1c
- block "" and 0 as valid state names in ZScript. There were common workarounds for the lack of a null pointer in DECORATE which no longer are supported as those and would produce errors now.
2016-11-06 12:00:16 +01:00
Magnus Norddahl
3a7532fd9b
Improve flat mipmap selection
2016-11-06 11:39:28 +01:00
Christoph Oelckers
062574b726
- fixed damage handling in A_BetaSkullAttack. For unknown reasons this completely bypassed the normal damage function semantics and even multiplied that with a random value.
...
- made some tests about calling script code from native functions.
* scriptified A_SkullAttack to have something to test
* changed the A_SkullAttack call in A_PainShootSkull.
* use a macro to declare the function pointer. Using local static variable init directly results in hideous code for the need of being thread-safe (which, even if the engine was made multithreaded is not needed here.)
* Importsnt node here: Apparently passing an actor pointer to the VMValue constructor results in the void * version being called, not the DObject * version.
2016-11-06 11:36:12 +01:00
Christoph Oelckers
dbde0971ef
- removed the second 'calculated' return value from the damage function call in GetMissileDamage as it is no longer needed or even code being generated for.
2016-11-06 10:28:01 +01:00
Christoph Oelckers
c3ae560289
- scriptified two more trivial functions.
2016-11-06 09:22:03 +01:00
Magnus Norddahl
aad2cde332
Oops, forced all sandy bridge CPUs to westmere instead of just Pentium G840
2016-11-06 07:37:18 +01:00