ACC: Added GetArmorInfo() and several missing constants to ZDoom_ACC.cfg

ACC: Also updated zdefs.acs and zspecial.acs
This commit is contained in:
MaxED 2014-08-08 11:00:49 +00:00
parent 6e46203b38
commit ae0fc036da
4 changed files with 35 additions and 4 deletions

View file

@ -1,4 +1,3 @@
//**************************************************************************
//**
//** zdefs.acs
@ -289,6 +288,7 @@
#define APROP_MeleeRange 38
#define APROP_ViewHeight 39
#define APROP_AttackZOffset 40
#define APROP_StencilColor 41
// Render Styles ------------------------------------------------------------
@ -296,12 +296,16 @@
#define STYLE_Normal 1 // Normal; just copy the image to the screen
#define STYLE_Fuzzy 2 // Draw silhouette using "fuzz" effect
#define STYLE_SoulTrans 3 // Draw translucent with amount in r_transsouls
#define STYLE_OptFuzzy 4 // Draw as fuzzy or translucent, based on user preference
#define STYLE_OptFuzzy 4 // Draw as fuzzy, translucent or shadow, based on user preference
#define STYLE_Stencil 5 // Draw as solid color
#define STYLE_AddStencil 6 // Draw as additive solid color
#define STYLE_AddShaded 7 //
#define STYLE_Translucent 64 // Draw translucent
#define STYLE_Add 65 // Draw additive
#define STYLE_Shaded 66 //
#define STYLE_TranslucentStencil 67
#define STYLE_Shadow 68 // Draw dark translucent stencil
#define STYLE_Subtract 69 // Draw subtractive
// Properties you can use with GetLevelInfo() -------------------------------
@ -762,6 +766,14 @@
#define SPAC_None 0
// GetArmorInfo
#define ARMORINFO_CLASSNAME 0
#define ARMORINFO_SAVEAMOUNT 1
#define ARMORINFO_SAVEPERCENT 2
#define ARMORINFO_MAXABSORB 3
#define ARMORINFO_MAXFULLABSORB 4
// ==========================================================================
// Skulltag Definitions
// ==========================================================================

View file

@ -320,6 +320,10 @@ special
-75:CheckFlag(2),
-76:SetLineActivation(2),
-77:GetLineActivation(1),
-78:GetActorPowerupTics(2),
-79:ChangeActorAngle(2,3),
-80:ChangeActorPitch(2,3),
-81:GetArmorInfo(1),
// Zandronum's
-100:ResetMap(0),

View file

@ -197,6 +197,7 @@ keywords
GetActorZ = "fixed GetActorZ(int tid)";
GetAirSupply = "int GetAirSupply(int playernum)";
GetAmmoCapacity = "int GetAmmoCapacity(str classname)";
GetArmorInfo = "mixed GetArmorInfo(int infotype)";
GetArmorType = "int GetArmorType(str armortype, int playernum)";
GetChar = "int GetChar(str string, int index)";
GetCVar = "int GetCVar(str cvar)";
@ -559,10 +560,16 @@ constants
APROP_Species;
APROP_Speed;
APROP_Stamina;
APROP_StencilColor;
APROP_TargetTID;
APROP_TracerTID;
APROP_ViewHeight;
APROP_Waterlevel;
ARMORINFO_ClassName;
ARMORINFO_SaveAmount;
ARMORINFO_SavePercent;
ARMORINFO_MaxAbsorb;
ARMORINFO_MaxFullAbsorb;
ATTN_IDLE;
ATTN_NONE;
ATTN_NORM;
@ -832,13 +839,17 @@ constants
SPAC_MPush;
SPAC_UseBack;
STYLE_Add;
STYLE_AddStencil;
STYLE_AddShaded;
STYLE_Fuzzy;
STYLE_None;
STYLE_Normal;
STYLE_OptFuzzy;
STYLE_Shaded;
STYLE_Shadow;
STYLE_SoulTrans;
STYLE_Stencil;
STYLE_Subtract;
STYLE_Translucent;
STYLE_TranslucentStencil;
T_ABADDON;

View file

@ -88,13 +88,17 @@ namespace CodeImp.DoomBuilder.GZBuilder.Windows
"In Soviet Russia, exception throws YOU!",
"...and then GZDB was the demons!",
"B U S T E D",
"Freeze mode on",
"Freeze mode enabled",
"You feel strange...",
"That doesn't seem to work",
"This function is only available in the retail version of GZDoom Builder",
"You picked up the Random Exception.",
"Pinky says that you're the new hope. Bear that in mind.",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"Deal with it",
"Error 47",
"YOU DIED",
"Thanks, Obama"
};
this.Text = titles[new Random().Next(0, titles.Length - 1)];
}