mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-26 22:11:58 +00:00
8c99d7b034
* scriptable CVARs. * GLES update * various ZScript improvements.
272 lines
3.6 KiB
C
272 lines
3.6 KiB
C
// common names
|
|
|
|
// 'None' must always be the first name.
|
|
xx(None)
|
|
xx(Null)
|
|
xx(_)
|
|
|
|
xx(Super)
|
|
xx(Object)
|
|
xx(Actor)
|
|
xx(Class)
|
|
xx(Thinker)
|
|
xx(Crosshairs)
|
|
|
|
xx(Untranslated)
|
|
|
|
// Render styles
|
|
xx(Normal)
|
|
xx(SoulTrans)
|
|
xx(OptFuzzy)
|
|
xx(Add)
|
|
xx(Shaded)
|
|
xx(AddShaded)
|
|
xx(TranslucentStencil)
|
|
xx(Shadow)
|
|
xx(Subtract)
|
|
xx(Subtractive)
|
|
xx(FillColor)
|
|
xx(ColorBlend)
|
|
xx(ColorAdd)
|
|
xx(Multiply)
|
|
|
|
// Special names for compiler backend
|
|
xx(Name)
|
|
xx(Clamp)
|
|
xx(Abs)
|
|
xx(Random)
|
|
xx(FRandom)
|
|
xx(Random2)
|
|
xx(RandomPick)
|
|
xx(FRandomPick)
|
|
xx(SetRandomSeed)
|
|
xx(BuiltinRandomSeed)
|
|
xx(BuiltinNew)
|
|
xx(GetClass)
|
|
xx(GetParentClass)
|
|
xx(GetClassName)
|
|
xx(IsAbstract)
|
|
xx(GetDefaultByType)
|
|
xx(Floor)
|
|
xx(Exp)
|
|
xx(Log)
|
|
xx(Log10)
|
|
xx(Ceil)
|
|
xx(ACos)
|
|
xx(ASin)
|
|
xx(ATan)
|
|
xx(Cos)
|
|
xx(Sin)
|
|
xx(Tan)
|
|
xx(CosH)
|
|
xx(SinH)
|
|
xx(TanH)
|
|
xx(Round)
|
|
xx(ATan2)
|
|
xx(VectorAngle)
|
|
xx(Sqrt)
|
|
xx(New)
|
|
|
|
xx(Static)
|
|
xx(Staticconst)
|
|
|
|
// compatibility crap that GZDoom needs in the backend.
|
|
xx(ACS_NamedExecuteWithResult)
|
|
xx(__decorate_internal_int__)
|
|
xx(__decorate_internal_bool__)
|
|
xx(__decorate_internal_float__)
|
|
|
|
// Per-actor sound channels (for deprecated PlaySoundEx function) Do not separate this block!!!
|
|
xx(Auto)
|
|
xx(Weapon)
|
|
xx(BobPivot3D)
|
|
xx(Voice)
|
|
xx(Item)
|
|
xx(Body)
|
|
xx(SoundSlot5)
|
|
xx(SoundSlot6)
|
|
xx(SoundSlot7)
|
|
|
|
xx(LevelLocals)
|
|
xx(Level)
|
|
|
|
xy(menu_cursor, "menu/cursor")
|
|
xy(menu_choose, "menu/choose")
|
|
xy(menu_backup, "menu/backup")
|
|
xy(menu_clear, "menu/clear")
|
|
xy(menu_dismiss, "menu/dismiss")
|
|
xy(menu_change, "menu/change")
|
|
xy(menu_advance, "menu/advance")
|
|
|
|
// basic type names
|
|
xx(Default)
|
|
xx(sByte)
|
|
xx(Byte)
|
|
xx(Short)
|
|
xx(uShort)
|
|
xx(Int)
|
|
xx(uInt)
|
|
xx(Bool)
|
|
xx(uint8)
|
|
xx(int8)
|
|
xx(uint16)
|
|
xx(int16)
|
|
xx(Float)
|
|
xx(Float32)
|
|
xx(Float64)
|
|
xx(Double)
|
|
xx(String)
|
|
xx(Vector)
|
|
xx(Map)
|
|
xx(MapIterator)
|
|
xx(Array)
|
|
xx(Include)
|
|
xx(Sound)
|
|
xx(State)
|
|
xx(Fixed)
|
|
xx(Vector2)
|
|
xx(Vector3)
|
|
xx(Vector4)
|
|
xx(Quat)
|
|
xx(FVector2)
|
|
xx(FVector3)
|
|
xx(FVector4)
|
|
xx(FQuat)
|
|
xx(let)
|
|
|
|
xx(Min)
|
|
xx(Max)
|
|
xx(Min_Normal)
|
|
xx(Min_Denormal)
|
|
xx(Epsilon)
|
|
xx(NaN)
|
|
xx(Infinity)
|
|
xx(Dig)
|
|
xx(Min_Exp)
|
|
xx(Max_Exp)
|
|
xx(Mant_Dig)
|
|
xx(Min_10_Exp)
|
|
xx(Max_10_Exp)
|
|
|
|
// implicit function parameters
|
|
xx(self)
|
|
xx(invoker)
|
|
xx(stateinfo)
|
|
|
|
xx(DamageFunction)
|
|
xx(Length)
|
|
xx(LengthSquared)
|
|
xx(Sum)
|
|
xx(Unit)
|
|
xx(Angle)
|
|
xx(PlusZ)
|
|
xx(ToVector)
|
|
xx(Size)
|
|
xx(Push)
|
|
xx(Insert)
|
|
xx(InsertNew)
|
|
xx(Remove)
|
|
xx(Get)
|
|
xx(GetIfExists)
|
|
xx(GetValue)
|
|
xx(GetKey)
|
|
xx(SetValue)
|
|
xx(CheckKey)
|
|
xx(CheckValue)
|
|
xx(Value)
|
|
xx(Copy)
|
|
xx(Move)
|
|
xx(Voidptr)
|
|
xx(StateLabel)
|
|
xx(SpriteID)
|
|
xx(TextureID)
|
|
xx(Overlay)
|
|
xx(IsValid)
|
|
xx(IsNull)
|
|
xx(Exists)
|
|
xx(SetInvalid)
|
|
xx(SetNull)
|
|
xx(Key)
|
|
xx(Index)
|
|
xx(Find)
|
|
|
|
// color channels
|
|
xx(a)
|
|
xx(r)
|
|
xx(g)
|
|
xx(b)
|
|
|
|
xx(X)
|
|
xx(Y)
|
|
xx(Z)
|
|
xx(W)
|
|
xx(XY)
|
|
xx(XYZ)
|
|
|
|
xx(Prototype)
|
|
xx(Void)
|
|
xx(Label)
|
|
xx(Pointer)
|
|
xx(Enum)
|
|
xx(StaticArray)
|
|
xx(DynArray)
|
|
xx(Struct)
|
|
xx(ReflectType)
|
|
xx(MessageBoxMenu)
|
|
|
|
xx(Both)
|
|
xx(Physical)
|
|
xx(Visual)
|
|
|
|
// blacklisted former CVARs (used by common menu code)
|
|
xx(snd_waterlp)
|
|
xx(snd_output)
|
|
xx(snd_output_format)
|
|
xx(snd_speakermode)
|
|
xx(snd_resampler)
|
|
xx(AlwaysRun)
|
|
|
|
// menu names
|
|
xx(Mainmenu)
|
|
xx(Episodemenu)
|
|
xx(Skillmenu)
|
|
xx(Startgame)
|
|
xx(StartgameConfirm)
|
|
xx(StartgameConfirmed)
|
|
xx(Loadgamemenu)
|
|
xx(Savegamemenu)
|
|
xx(Optionsmenu)
|
|
xx(OptionsmenuSimple)
|
|
xx(OptionsmenuFull)
|
|
xx(Quitmenu)
|
|
xx(Savemenu)
|
|
xx(EndGameMenu)
|
|
xx(HelpMenu)
|
|
xx(SoundMenu)
|
|
xx(ConfirmPlayerReset)
|
|
xx(JoystickOptions)
|
|
|
|
xx(OptionMenuItemSubmenu)
|
|
xx(OptionMenuItemCommand)
|
|
xx(OptionMenuItemControlBase)
|
|
xx(OptionMenuItemOptionBase)
|
|
xx(OptionMenuSliderBase)
|
|
xx(OptionMenuFieldBase)
|
|
xx(OptionMenuItemColorPicker)
|
|
xx(OptionMenuItemStaticText)
|
|
xx(OptionMenuItemStaticTextSwitchable)
|
|
|
|
xx(Color)
|
|
|
|
xx(Mididevices)
|
|
xx(Aldevices)
|
|
xx(Alresamplers)
|
|
|
|
// Decorate compatibility functions
|
|
xx(BuiltinRandom)
|
|
xx(BuiltinRandom2)
|
|
xx(BuiltinFRandom)
|
|
xx(BuiltinNameToClass)
|
|
xx(BuiltinClassCast)
|
|
|
|
xx(ScreenJobRunner)
|