mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- Added Karate Chris's patch for 0-tid == activator in action specials
Thing_SetSpecial and Thing_SetTranslation. - -moved BUGS_FORUM_URL to version.h SVN r745 (trunk)
This commit is contained in:
parent
a9e2d96483
commit
b53834a72f
4 changed files with 24 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
February 14, 2008 (Changes by Graf Zahl)
|
||||||
|
- Added Karate Chris's patch for 0-tid == activator in action specials
|
||||||
|
Thing_SetSpecial and Thing_SetTranslation.
|
||||||
|
- -moved BUG_FORUM_URL to version.h
|
||||||
|
|
||||||
February 13, 2008
|
February 13, 2008
|
||||||
- Removed most checks on vid_hw2d/test2d. This now gets checked only once per
|
- Removed most checks on vid_hw2d/test2d. This now gets checked only once per
|
||||||
frame to avoid the remote possibility that it could change during the middle
|
frame to avoid the remote possibility that it could change during the middle
|
||||||
|
|
|
@ -901,7 +901,14 @@ FUNC(LS_Thing_SetSpecial) // [BC]
|
||||||
// [RH] Use the SetThingSpecial ACS command instead.
|
// [RH] Use the SetThingSpecial ACS command instead.
|
||||||
// It can set all args and not just the first three.
|
// It can set all args and not just the first three.
|
||||||
{
|
{
|
||||||
if (arg0 != 0)
|
if (arg0 == 0)
|
||||||
|
{
|
||||||
|
it->special = arg1;
|
||||||
|
it->args[0] = arg2;
|
||||||
|
it->args[1] = arg3;
|
||||||
|
it->args[2] = arg4;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
AActor *actor;
|
AActor *actor;
|
||||||
FActorIterator iterator (arg0);
|
FActorIterator iterator (arg0);
|
||||||
|
@ -1513,10 +1520,18 @@ FUNC(LS_Thing_SetTranslation)
|
||||||
range = 0;
|
range = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ( (target = iterator.Next ()) )
|
if (arg0 == 0)
|
||||||
{
|
{
|
||||||
ok = true;
|
ok = true;
|
||||||
target->Translation = range==0? target->GetDefault()->Translation : range;
|
it->Translation = range==0? it->GetDefault()->Translation : range;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
while ( (target = iterator.Next ()) )
|
||||||
|
{
|
||||||
|
ok = true;
|
||||||
|
target->Translation = range==0? target->GetDefault()->Translation : range;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
// More stuff that needs to be different for derivatives.
|
// More stuff that needs to be different for derivatives.
|
||||||
#define GAMENAME "ZDoom"
|
#define GAMENAME "ZDoom"
|
||||||
#define FORUM_URL "http://forum.zdoom.org"
|
#define FORUM_URL "http://forum.zdoom.org"
|
||||||
|
#define BUGS_FORUM_URL "http://forum.zdoom.org/index.php?c=3"
|
||||||
|
|
||||||
#ifdef unix
|
#ifdef unix
|
||||||
#define HOME_DIR "~/.zdoom"
|
#define HOME_DIR "~/.zdoom"
|
||||||
|
|
|
@ -65,8 +65,6 @@
|
||||||
|
|
||||||
// MACROS ------------------------------------------------------------------
|
// MACROS ------------------------------------------------------------------
|
||||||
|
|
||||||
#define BUGS_FORUM_URL "http://forum.zdoom.org/index.php?c=3"
|
|
||||||
|
|
||||||
#define REMOTE_HOST "localhost"
|
#define REMOTE_HOST "localhost"
|
||||||
#define REMOTE_PORT "80"
|
#define REMOTE_PORT "80"
|
||||||
#define UPLOAD_URI "/test.php"
|
#define UPLOAD_URI "/test.php"
|
||||||
|
|
Loading…
Reference in a new issue