mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 16:41:13 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
4c860ed3b1
7 changed files with 27 additions and 20 deletions
23
.gitignore
vendored
23
.gitignore
vendored
|
@ -1,10 +1,27 @@
|
||||||
/Debug
|
/Debug
|
||||||
/*.ncb
|
*.ncb
|
||||||
/*.suo
|
*.suo
|
||||||
|
*.pdb
|
||||||
|
*.ilk
|
||||||
/Release
|
/Release
|
||||||
/wadsrc_wad
|
/wadsrc_wad
|
||||||
/*.user
|
*.user
|
||||||
/debug
|
/debug
|
||||||
/release
|
/release
|
||||||
|
*/debug
|
||||||
|
*/release
|
||||||
/release_gcc
|
/release_gcc
|
||||||
|
/dumb/vc6/dumb_static/release
|
||||||
|
/dumb/vc6/dumb_static/debug
|
||||||
/DOOMSTATS.TXT
|
/DOOMSTATS.TXT
|
||||||
|
/src/gitinfo.h
|
||||||
|
/src/sc_man_scanner.h
|
||||||
|
/src/xlat/xlat_parser.c
|
||||||
|
/src/xlat/xlat_parser.h
|
||||||
|
/src/xlat/xlat_parser.out
|
||||||
|
/tools/*/debug
|
||||||
|
/tools/*/release
|
||||||
|
/tools/*/*.exe
|
||||||
|
/tools/lemon/build
|
||||||
|
/tools/re2c/build
|
||||||
|
/wadsrc/*.pk3
|
||||||
|
|
|
@ -113,14 +113,14 @@ conversation // Starts a dialog.
|
||||||
|
|
||||||
// The amount of an item needed to successfully pick this option.
|
// The amount of an item needed to successfully pick this option.
|
||||||
// This can be repeated, but only the first will be shown (provided
|
// This can be repeated, but only the first will be shown (provided
|
||||||
// diaplaycost is true). All costs must be satisfied for success.
|
// displaycost is true). All costs must be satisfied for success.
|
||||||
cost
|
cost
|
||||||
{
|
{
|
||||||
item = <integer>; // Item that is required for this option.
|
item = <integer>; // Item that is required for this option.
|
||||||
amount = <integer>; // Minimum amount of the item needed.
|
amount = <integer>; // Minimum amount of the item needed.
|
||||||
}
|
}
|
||||||
|
|
||||||
displaycost = <bool>; // Weather the cost should be
|
displaycost = <bool>; // Whether the cost should be
|
||||||
// displayed with the option.
|
// displayed with the option.
|
||||||
// If no cost is specified this should
|
// If no cost is specified this should
|
||||||
// be ignored.
|
// be ignored.
|
||||||
|
|
|
@ -124,12 +124,12 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BrainSpit)
|
||||||
// spawn brain missile
|
// spawn brain missile
|
||||||
spit = P_SpawnMissile (self, targ, spawntype);
|
spit = P_SpawnMissile (self, targ, spawntype);
|
||||||
|
|
||||||
// Boss cubes should move freely to their destination so it's
|
|
||||||
// probably best to disable all collision detection for them.
|
|
||||||
|
|
||||||
if (spit != NULL)
|
if (spit != NULL)
|
||||||
{
|
{
|
||||||
|
// Boss cubes should move freely to their destination so it's
|
||||||
|
// probably best to disable all collision detection for them.
|
||||||
if (spit->flags & MF_NOCLIP) spit->flags5 |= MF5_NOINTERACTION;
|
if (spit->flags & MF_NOCLIP) spit->flags5 |= MF5_NOINTERACTION;
|
||||||
|
|
||||||
spit->target = targ;
|
spit->target = targ;
|
||||||
spit->master = self;
|
spit->master = self;
|
||||||
// [RH] Do this correctly for any trajectory. Doom would divide by 0
|
// [RH] Do this correctly for any trajectory. Doom would divide by 0
|
||||||
|
|
|
@ -283,7 +283,6 @@ bool EV_DoFloor (DFloor::EFloor floortype, line_t *line, int tag,
|
||||||
bool rtn;
|
bool rtn;
|
||||||
sector_t* sec;
|
sector_t* sec;
|
||||||
DFloor* floor;
|
DFloor* floor;
|
||||||
//bool manual = false; tag == 0 and manual == true constitutes the same evidence [fdari]
|
|
||||||
fixed_t ceilingheight;
|
fixed_t ceilingheight;
|
||||||
fixed_t newheight;
|
fixed_t newheight;
|
||||||
vertex_t *spot, *spot2;
|
vertex_t *spot, *spot2;
|
||||||
|
@ -296,7 +295,6 @@ bool EV_DoFloor (DFloor::EFloor floortype, line_t *line, int tag,
|
||||||
if (!line || !(sec = line->backsector))
|
if (!line || !(sec = line->backsector))
|
||||||
return rtn;
|
return rtn;
|
||||||
secnum = (int)(sec-sectors);
|
secnum = (int)(sec-sectors);
|
||||||
//manual = true;
|
|
||||||
goto manual_floor;
|
goto manual_floor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -814,7 +812,6 @@ bool EV_DoDonut (int tag, line_t *line, fixed_t pillarspeed, fixed_t slimespeed)
|
||||||
DFloor* floor;
|
DFloor* floor;
|
||||||
vertex_t* spot;
|
vertex_t* spot;
|
||||||
fixed_t height;
|
fixed_t height;
|
||||||
// bool manual = false; Instead of breaking when manual is true, fail to (re)enter loop when tag is false (0).
|
|
||||||
|
|
||||||
secnum = -1;
|
secnum = -1;
|
||||||
rtn = false;
|
rtn = false;
|
||||||
|
@ -823,7 +820,6 @@ bool EV_DoDonut (int tag, line_t *line, fixed_t pillarspeed, fixed_t slimespeed)
|
||||||
{
|
{
|
||||||
if (!line || !(s1 = line->backsector))
|
if (!line || !(s1 = line->backsector))
|
||||||
return rtn;
|
return rtn;
|
||||||
//manual = true;
|
|
||||||
goto manual_donut;
|
goto manual_donut;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1378,7 +1374,6 @@ bool EV_StartWaggle (int tag, line_t *line, int height, int speed, int offset,
|
||||||
sector_t *sector;
|
sector_t *sector;
|
||||||
DWaggleBase *waggle;
|
DWaggleBase *waggle;
|
||||||
bool retCode;
|
bool retCode;
|
||||||
//bool manual = false;
|
|
||||||
|
|
||||||
retCode = false;
|
retCode = false;
|
||||||
sectorIndex = -1;
|
sectorIndex = -1;
|
||||||
|
@ -1387,7 +1382,6 @@ bool EV_StartWaggle (int tag, line_t *line, int height, int speed, int offset,
|
||||||
{
|
{
|
||||||
if (!line || !(sector = line->backsector))
|
if (!line || !(sector = line->backsector))
|
||||||
return retCode;
|
return retCode;
|
||||||
//manual = true;
|
|
||||||
goto manual_waggle;
|
goto manual_waggle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1498,7 +1498,7 @@ void P_SetRenderSector()
|
||||||
seg_t *seg = ss->firstline;
|
seg_t *seg = ss->firstline;
|
||||||
|
|
||||||
// Check for one-dimensional subsectors. These should be ignored when
|
// Check for one-dimensional subsectors. These should be ignored when
|
||||||
// being processed for automap drawinng etc.
|
// being processed for automap drawing etc.
|
||||||
ss->flags |= SSECF_DEGENERATE;
|
ss->flags |= SSECF_DEGENERATE;
|
||||||
for(j=2; j<ss->numlines; j++)
|
for(j=2; j<ss->numlines; j++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -263,7 +263,7 @@ void R_SetVisibility (float vis)
|
||||||
|
|
||||||
CurrentVisibility = vis;
|
CurrentVisibility = vis;
|
||||||
|
|
||||||
if (FocalTangent == 0)
|
if (FocalTangent == 0 || FocalLengthY == 0)
|
||||||
{ // If r_visibility is called before the renderer is all set up, don't
|
{ // If r_visibility is called before the renderer is all set up, don't
|
||||||
// divide by zero. This will be called again later, and the proper
|
// divide by zero. This will be called again later, and the proper
|
||||||
// values can be initialized then.
|
// values can be initialized then.
|
||||||
|
|
|
@ -1167,10 +1167,6 @@
|
||||||
RelativePath=".\src\d_dehacked.h"
|
RelativePath=".\src\d_dehacked.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\d_dehackedactions.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\d_event.h"
|
RelativePath=".\src\d_event.h"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue