mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 11:10:48 +00:00
Update to ZDoom r1662:
- Added ML_BLOCKUSE line flag, accessible through UDMF and Line_SetBlocking. - Fixed handling of embedded WADs. - Added Gez's A_CheckCeiling submission. - Fixed: AM_NewResolution crashed when called from outside a level. - Added support for Quake PAK files. - Improved warning messages for WAD files with incorrect marker usage. - complete restructuring of resource file handling for more flexibility and future extensions. - Removed merging of special namespaces. For the texture manager this has become totally useless so there is no need to do this anymore. Not merging the namespaces also allows a much more reliable detection of lumps belonging to special namespaces so the ScanForFlatHack function is no longer needed. Instead, any lump up to F_END with a length of 4096 will be marked for inclusion as a flat texture if no F_START marker is found. - fixed MustConfirm parsing in MAPINFO - Made the counting of intermission stats in Doom a GAMEINFO option so that it can be activated in all games. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@324 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
1bd5fff28e
commit
7aa21e7efc
37 changed files with 2747 additions and 1791 deletions
|
@ -1965,6 +1965,25 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckFloor)
|
|||
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// A_CheckCeiling
|
||||
// [GZ] Totally copied on A_CheckFloor, jumps if actor touches ceiling
|
||||
//
|
||||
//===========================================================================
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckCeiling)
|
||||
{
|
||||
ACTION_PARAM_START(1);
|
||||
ACTION_PARAM_STATE(jump, 0);
|
||||
|
||||
ACTION_SET_RESULT(false);
|
||||
if (self->z+self->height >= self->ceilingz) // Height needs to be counted
|
||||
{
|
||||
ACTION_JUMP(jump);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// A_Stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue