Christoph Oelckers
5c286dceb0
- fixed: FxAssign used the wrong value type for emitting the store operation.
...
It used the expression's value type, but needs to use the variable's, which can be different when the assignment is synthesized from a builtin function.
# Conflicts:
# src/scripting/backend/vmbuilder.cpp
2017-03-19 21:37:06 +01:00
Christoph Oelckers
244bb0f96f
- Version 2.4
2017-03-19 20:09:54 +01:00
Christoph Oelckers
97ce83d2d8
- let SBARINFO always read ST_X and ST_Y from the wrapper because it just too liberally changes these values in unpredictable ways.
2017-03-19 19:52:57 +01:00
Christoph Oelckers
c237af2b02
- made a few adjustments to the clean factor calculation so that on large screens the smaller factor gets preferred.
...
Without such tweaking the menu scale tends to get a bit too large on some screen sizes.
2017-03-19 19:52:57 +01:00
alexey.lysiuk
5327deee43
Fixed crash caused by global sound precaching
...
This is a part of a4710bcdb0a40e477ce53aa4df36ec90d1402358 from master branch
https://mantis.zdoom.org/view.php?id=454
2017-03-19 11:14:04 +02:00
Christoph Oelckers
a2f6ac1bb3
- added a GetRenderStyle function to Actor, so that the internal render style can be retrieved in a format suitable for scripting.
2017-03-16 19:03:10 +01:00
Christoph Oelckers
e919e98605
- fixed: When vr_quadbuffering is on and context creation fails, first retry without it before falling back on the compatibility handler.
2017-03-16 19:03:09 +01:00
Christoph Oelckers
aa1365749b
- fixed: P_RailAttack must send DMG_PLAYERATTACK if the attack originates from a player.
2017-03-16 19:03:09 +01:00
Christoph Oelckers
84f3048242
- restored a line of accidentally deleted code in the animated door thinker.
2017-03-14 10:05:35 +01:00
Christoph Oelckers
dd2b9dc7c1
- fixed bad menu size calculation, this was particularly visible in Hexen's skill menu.
2017-03-13 23:09:49 +01:00
Christoph Oelckers
8e43b822af
- fixed another error in DispatchScriptProperty. That AST's data organization is really messed up... :(
2017-03-13 23:09:48 +01:00
Christoph Oelckers
7a61f1a779
- fixed processing of parameter-less ZScript properties.
2017-03-13 23:09:48 +01:00
Christoph Oelckers
2f420d65cd
- fixed: A_FireProjectile was still using the inverted pitch from A_FireCustomMissile it was supposed to correct.
2017-03-13 23:09:47 +01:00
Christoph Oelckers
ac30b268e9
- fixed: ListMenuItemStaticText used the wrong default color.
2017-03-13 23:09:47 +01:00
ZZYZX
0176c29ec2
Will not emit OP_SCOPE if self type can be checked at compile time.
2017-03-12 20:27:38 +01:00
ZZYZX
91e83bf3c6
Fixed DECORATE scope for duplicates
2017-03-12 20:27:38 +01:00
ZZYZX
bd889cc8f1
Fixed various virtualscope oddities; set scope for DECORATE classes to play.
2017-03-12 20:27:38 +01:00
alexey.lysiuk
23130678a1
Fixed compilation errors and warnings in Mac PowerPC target
...
Tested with GCC 5.2 on 10.4 (32-bit only) and Clang from Xcode 8.2 on 10.12 (64-bit only)
2017-03-12 16:27:02 +02:00
Rachael Alexanderson
bfc8c614a0
- Forbade return scripts from triggering on save load.
2017-03-11 17:39:57 -05:00
Magnus Norddahl
38ad6ce6b7
Fix ssao being applied to skybox portals
2017-03-11 17:20:06 +01:00
Christoph Oelckers
355bbf4829
- removed debug output from recent translation additions.
2017-03-11 14:58:59 +02:00
alexey.lysiuk
b8ba2d20e5
Do not draw crosshair on automap with alternative HUD enabled
2017-03-11 14:58:33 +02:00
Christoph Oelckers
f1630cebf3
- backported Line_Align... fix.
2017-03-10 12:09:15 +01:00
Christoph Oelckers
5b9fece062
- fixed bad definition of FBlockThingsIterator.Next(). When implementing the BlockLinesIterator apparently some incorrect code got modified.
...
- fixed an uninitialized variable in P_CheckSight.
2017-03-10 10:38:30 +01:00
Rachael Alexanderson
0d5cb0536e
- enable multiprocessor compilation with MSVC++ using /MP for MSBuild
...
- Target NEON processors for ARM.
2017-03-10 00:44:25 +01:00
Christoph Oelckers
609e4c78b4
- fixed: NOINFIGHTSPECIES checked the wrong target actor.
2017-03-09 18:44:32 +01:00
Christoph Oelckers
f8391ce97e
- there was something missing...
2017-03-09 17:44:00 +01:00
Christoph Oelckers
3113faedcf
- fixed bad syntax.
2017-03-09 17:42:25 +01:00
Christoph Oelckers
878e6015df
- made all iterator classes natively abstract so that they do not get a ConstructNative method so that OP_NEW can refuse creating them without the need to mark them as abstract.
...
- block creation of actors with the 'new' instruction. Unlike the above these cannot be made abstract because without ConstructNative they cannot be serialized.
2017-03-09 17:21:37 +01:00
Christoph Oelckers
20c56f6dda
- added SectorTagIterator and LineIDIterator script classes.
2017-03-09 17:05:51 +01:00
Christoph Oelckers
420f71fc4f
- added a BlockLinesIterator script class.
2017-03-09 16:45:48 +01:00
ZZYZX
4dd1910d6d
Fixed the size of the local params array for WorldTick/UiTick
2017-03-09 15:38:49 +01:00
ZZYZX
5eb20b7877
Removed Create, CreateOnce, Register, Unregister from the C++ side as well
2017-03-09 15:38:49 +01:00
ZZYZX
01561eb768
Added: UiTick in EventHandlers, a callback that executes at 35fps on every handler in ui scope;
...
Removed: RenderOverlay, RenderFrame (commented out), Create, CreateOnce, Register, Unregister (completely)
2017-03-09 15:38:49 +01:00
Christoph Oelckers
e080f0cf89
- removed Windows.h include from gl_system.h and cleaned up that file. This means that most OpenGL sources can now be compiled without any Windows dependencies, which is significantly faster.
2017-03-09 13:19:51 +01:00
Christoph Oelckers
396c570a96
- moved Win32GLVideo's definition into the .cpp file, because it isn't needed anywhere else.
2017-03-09 13:09:38 +01:00
Christoph Oelckers
05919a2926
- remove Windows includes from gl_load.h
...
This is one of two places that unconditionally pulled in all Windows headers into the GL code.
We also do not need the cruft for defining the standard integer types. GZDoom is C++11 which means that stdint.h will be present. So the madness with the definitions should be avoided to ensure that the types are always the same.
2017-03-09 13:03:49 +01:00
Christoph Oelckers
03e1cbcfc0
- removed Windows types from several files which don't need them.
...
- split out the software renderer's video classes into their own file because they got included by all OpenGL sources.
2017-03-09 12:52:31 +01:00
Christoph Oelckers
8bd9c5a983
- moved some ACS enums from p_acs.h to p_acs.cpp.
...
There is really no point including this in multiple files if only one of them actually uses these constants.
2017-03-09 09:49:07 +01:00
Christoph Oelckers
77bac4f6fa
- fixed code generation for min/max when the first operand was a local variable or constant.
...
The code for constants was not optimal because the first operand of the instructions cannot be constant. This was solved by swapping it with the second choice which will always be non-constant.
The code for local variables did not allocate a new destination register and would overwrite the first parameter's variable.
2017-03-09 09:36:12 +01:00
Christoph Oelckers
a632fae33f
- for some reason the change to c_expr.cpp got lost.
...
- moved NO_SANITIZE to autosegs.h, because it's the only place where it is used.
2017-03-08 21:14:21 +01:00
Christoph Oelckers
b513b32bcf
- reduced missing texture messages in the menu to warnings.
2017-03-08 19:04:35 +01:00
Christoph Oelckers
f341e7fb6a
- removed SQWORD, there were only a handful of occurences.
2017-03-08 19:02:50 +01:00
Christoph Oelckers
ba0f5a3f94
- most WORD and SWORD are gone.
2017-03-08 18:55:55 +01:00
Christoph Oelckers
8ab562ef13
- the fourth.
2017-03-08 18:55:54 +01:00
Christoph Oelckers
6dee9ff566
- replaced another large batch of homegrown type use.
2017-03-08 18:55:53 +01:00
Christoph Oelckers
6c6bab73ad
- more of the same.
2017-03-08 18:55:53 +01:00
Christoph Oelckers
ad41b23506
- replaced the homegrown integer types in all p* sources and headers.
2017-03-08 18:55:52 +01:00
alexey.lysiuk
3a0e29dab9
Added missing linker options for native MIDI support on macOS
...
Continuous integration is a cool thing: I completely forgot about addition of these frameworks because of my build environment which relies on static libraries and custom command line options
2017-03-08 16:11:04 +02:00
Christoph Oelckers
b8f7e305db
- changed TObjPtr to take a pointer as its template argument and not the class it points to.
...
This addresses the main issue with TObjPtr, namely that using it required pulling in the entire class hierarchy in basic headers like r_defs which polluted nearly every single source file in the project.
2017-03-08 13:35:21 +01:00