mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Removed the deprecation warnings for the state assignment commands
in DECORATE. While it is still recommended not to use them anymore they will continue to work with custom state support and existing DECORATE code doesn't have to be changed. However, they will remain limited to the existing functionality, nothing more. SVN r377 (trunk)
This commit is contained in:
parent
ae1eb01649
commit
9c529b8aa4
3 changed files with 10 additions and 14 deletions
|
@ -1,3 +1,10 @@
|
|||
November 5, 2006 (Changes by Graf Zahl)
|
||||
- Removed the deprecation warnings for the state assignment commands
|
||||
in DECORATE. While it is still recommended not to use them anymore
|
||||
they will continue to work with custom state support and existing
|
||||
DECORATE code doesn't have to be changed. However, they will remain
|
||||
limited to the existing functionality, nothing more.
|
||||
|
||||
November 4, 2006 (Changes by Graf Zahl)
|
||||
- Replaced the static string buffer in ProcessStates with an FString.
|
||||
- After doing some tests with state label scopes I had to conclude that
|
||||
|
|
|
@ -16,16 +16,6 @@ class ARocket : public AActor
|
|||
public:
|
||||
};
|
||||
|
||||
class AArchvile : public AActor
|
||||
{
|
||||
DECLARE_ACTOR (AArchvile, AActor)
|
||||
};
|
||||
|
||||
class ALostSoul : public AActor
|
||||
{
|
||||
DECLARE_ACTOR (ALostSoul, AActor)
|
||||
};
|
||||
|
||||
class APlasmaBall : public AActor
|
||||
{
|
||||
DECLARE_ACTOR (APlasmaBall, AActor)
|
||||
|
|
|
@ -2474,16 +2474,14 @@ void ProcessActor(void (*process)(FState *, int))
|
|||
//
|
||||
// StatePropertyIsDeprecated
|
||||
//
|
||||
// Deprecated means it will be removed in a future version.
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
static void StatePropertyIsDeprecated (const char *actorname, const char *prop)
|
||||
{
|
||||
/*
|
||||
static bool warned = false;
|
||||
|
||||
Printf (TEXTCOLOR_YELLOW "In actor %s, the %s property is deprecated and will be removed in 2.2.0.\n",
|
||||
actorname, prop);
|
||||
Printf (TEXTCOLOR_YELLOW "In actor %s, the %s property is deprecated.\n", actorname, prop);
|
||||
if (!warned)
|
||||
{
|
||||
warned = true;
|
||||
|
@ -2491,6 +2489,7 @@ static void StatePropertyIsDeprecated (const char *actorname, const char *prop)
|
|||
TEXTCOLOR_YELLOW " %s:\n"
|
||||
TEXTCOLOR_YELLOW " Goto <state>\n", prop, prop);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue