Commit graph

15 commits

Author SHA1 Message Date
Christoph Oelckers
e082d9fb11 Update to ZDoom r840:
- Changed DEHSUPP loader so that it reads the text file directly. As a result
  the DEHSUPP compiler is gone now. Unlike XLATCC I'm using FScanner though.
  A fully featured parser seems like overkill for this simple text file.
- Added Line_SetTextureOffset special.
- Added 'allowprotection' keyword to terrain definitions to allow damaging
  flats that don't damage players with a radiation suit.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@70 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-22 21:31:14 +00:00
Christoph Oelckers
9619316219 Update to ZDoom r822 including:
- Fixed: lempar.c needs to specify the __cdecl calling convention for malloc
  and free under VC++.
- Added a new parameter to all crushing action specials that selects
  which crushing mode is used: 0 uses the game's default for compatibility,
  1 uses Doom's mode (crushers continue to move while damaging any actors ) and
  2 uses Hexen's mode (crushers stay at blocking actor's top until they die).
  Since Generic_Crusher already used all 5 args I created a second version for
  Hexen crushing mode.
- Added PICKUP flag to DECORATE.
- Integrated xlatcc into ZDoom.exe so that the linedef translation files
  don't need to be compiled and can be stored as text in zdoom.pk3.
- Removed thingdef_specials.h and thingdef_specials.gperf and replaced
  line special definition with something that automatically gets updated
  if new specials are added.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@63 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-20 10:39:44 +00:00
Christoph Oelckers
3aabe2f752 Update to ZDoom r813, including:
- Added copyright/license headers to a few files.
- Fixed: ACS SetMugShotState needs to check the StatusBar pointer for the
  proper object type.
- Move SBarInfo loading code in d_main.cpp into a static method of DSBarInfo.
- Removed dobject.err from the repository. It only contained a list of compiler
  errors for some very old version of dobject.cpp.
- Fixed: A_JumpIfCloser was missing a z-check.
- Added Blzut3's SBARINFO update #13:
- Split sbarinfo.cpp into two files sbarinfo_display.cpp and sbarinfo_parser.cpp
- Rewrote the mug shot system for SBarInfo to allow for scripting and custom
  states for different means of death.
- SBarInfo now loads all SBarInfo lumps instead of just the last one.  Clashing
  status bar definitions will now be cleared before the bar is read.
- Fixed: When using transparency with bars the new drawing method (bg over fg)
  didn't work.  In the case that the border value is set to 0 it will revert to
  the old method (fg over bg).
- Fixed: drawbar lost any high res information it was given.
- Added: ACS command SetMugShotState(str state) which sets the mug shot state
  for the activating player.
- Added: keepoffsets flag to drawbar.  When set the offsets in the fg image will
  also be applied when displaying the bar.

- Fixed the TArray serializer declaration.
  (Thank you for your warnings, GCC! ;-)
- Changed root sector marking so that it can happen incrementally.
- Fixed: The TArray serializer needs to be declared as a friend of TArray
  in order to be able to access its fields.
- Since there are no backwards compatibility issues due to savegame version
  bumping I closed all gaps in the level flag set.
- Bumped min. Savegame version and Netgame version for 3dMidtex related
  changes.
- Changed Jump and Crouch DMFlags into 3-way switches:
  0: map default, 1: off, 2: on. Since I needed new bits the rest of
  the DMFlag bit values had to be changed as a result.
- fixed: PTR_SlideTraverse didn't check ML_BLOCKMONSTERS for sliding
  actors without MF3_NOBLOCKMONST.
- Added MAPINFO commands 'checkswitchrange' and 'nocheckswitchrange'
  that can enable or disable switch range checking globally per map.
- Changed ML_3DMIDTEX to force ML_CHECKSWITCHRANGE.
- Added a ML_CHECKSWITCHRANGE flag which allows checking whether the 
  player can actually reach the switch he wants to use.
- Made DActiveButton::EWhere global so that I can use it outside thr
  DActiveButton class.
- Changed P_LineOpening to pass its result in a struct instead of global
  variables.
- Added Eternity's 3DMIDTEX feature (no Eternity code used though.)
  It should be feature complete with the exception of the ML_BLOCKMONSTERS
  flag handling. That particular part of Eternity's implementation is
  sub-optimal because it hijacks an existing flag and doesn't seem to make
  much sense to me. Maybe I'll implement it as a separate flag later.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@62 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-19 11:19:03 +00:00
Christoph Oelckers
d287753846 - fixed: The GL renderer must end fullscreen mode before shutting down OpenGL.
Otherwise Vista can get stuck in it on the ENDOOM screen.
- updated to ZDoom r804

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@60 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-14 10:45:16 +00:00
Christoph Oelckers
c8afb49756 - added a few more write barriers to the FS code.
- merged code to create FS's running scripts into common functions.
- updated to ZDoom r802

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@56 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-13 10:21:13 +00:00
Christoph Oelckers
0c2560bb36 - implemented Vavoom's vertex height things (1505, 1506). These are not tested yet!
- added Updaterevision tool to print proper revision information in the console.
- removed support for specialty file formats from ModPlug loader. Having the 4 basic
  module formats (MOD, XM, S3M and IT) plus UMX should be enough.
- added new brightmaps by phi108 (Player and Baron attack)
- fixed a few brightmap definition errors
- fixed: DFraggleThinker::Destroy still treated the SpawnedThings array as DActorPointers 
  although that helper class has been removed.
- merged the GC branch into the trunk
- updated to ZDoom r796

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@54 b0f79afe-0144-0410-b225-9a4edf0717df
2008-03-12 15:21:17 +00:00
Christoph Oelckers
7c322c894a - Optimized Fragglescript code.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@47 b0f79afe-0144-0410-b225-9a4edf0717df
2008-02-28 10:40:46 +00:00
Christoph Oelckers
7e33b80ad1 - Fixed: The DECORATE expression evaluator's random function could produce
incorrect results for ranges > 255. Changed so that FRandom's default
  implementation is used instead.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@41 b0f79afe-0144-0410-b225-9a4edf0717df
2008-02-25 15:54:41 +00:00
Christoph Oelckers
a5f420b0f1 - Version bump to 1.1.0
- Update to ZDoom 2.2.0

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@21 b0f79afe-0144-0410-b225-9a4edf0717df
2008-02-15 18:40:06 +00:00
Christoph Oelckers
f12d9b77b7 - Added Karate Chris's patch for 0-tid == activator in action specials
Thing_SetSpecial and Thing_SetTranslation.
- moved BUG_FORUM_URL to version.h
- fixed: Sprite alpha was not set properly for STYLEF_Alpha1.
- fixed: Dynamic light offsets were absolute, not relative to the owner.
- fixed: Presence of a full alpha channel in sprites was only checked when the actor's alpha was 1.0.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@18 b0f79afe-0144-0410-b225-9a4edf0717df
2008-02-14 15:47:59 +00:00
Christoph Oelckers
0394c5d9a4 - Updated to ZDoom r744
- fixed: Fog didn't work with Line_Horizon
- fixed: Using ExtraFloor_LightOnly in a skybox with non-black fog caused rendering
- fixed: Apparently it is possible that AActor::Tick is called after the 3D floor data has been deleted.
- fixed: The desaturation shader must first desaturate and then light. It did it in reverse order.
- fixed: gl_billboard_mode used an incorrect default value.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@17 b0f79afe-0144-0410-b225-9a4edf0717df
2008-02-14 13:07:19 +00:00
Christoph Oelckers
e9ef126c15 - fixed DEHSUPP values for render styles.
- Fixed: The render style table for old decorations was missing STYLE_Stencil so
  STYLE_Translucent was mapped incorrectly.
- Fixed: Translucent textures on two sided walls were not rendered properly


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@14 b0f79afe-0144-0410-b225-9a4edf0717df
2008-01-31 21:08:15 +00:00
Christoph Oelckers
cef1d4010b - Fixed: During the texture code rewrites the call to gl_ParseDefs was deleted.
- Fixed texture precaching .
- Fixed: The stencil texture mode was not set properly.
- Added latest Linux compile patch.

Updated to ZDoom r723:
- Added a PrecacheTexture virtual function to DFrameBuffer because it's the
  renderer which should decide how to precache a texture.
- Added SnowKate709's APROP_MaxHealth submission.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@10 b0f79afe-0144-0410-b225-9a4edf0717df
2008-01-28 11:24:32 +00:00
Christoph Oelckers
179ea921f9 - Update to ZDoom r718
- Added ModPlug as an option to play MOD music because FMOD is not that good for it.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@4 b0f79afe-0144-0410-b225-9a4edf0717df
2008-01-27 15:34:47 +00:00
Christoph Oelckers
72ae7fa01b Initial import - version 1.0.32
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1 b0f79afe-0144-0410-b225-9a4edf0717df
2008-01-27 11:25:03 +00:00