- made a few more names common.

These are needed by the ZScript compiler backend.
This commit is contained in:
Christoph Oelckers 2022-01-20 00:53:02 +01:00
parent 673f06c05f
commit 6a92470846
2 changed files with 22 additions and 20 deletions

View file

@ -10,6 +10,7 @@ xx(Object)
xx(Actor) xx(Actor)
xx(Class) xx(Class)
xx(Thinker) xx(Thinker)
xx(Crosshairs)
xx(Untranslated) xx(Untranslated)
@ -30,6 +31,9 @@ xx(ColorAdd)
xx(Multiply) xx(Multiply)
// Special names for compiler backend // Special names for compiler backend
xx(Name)
xx(Clamp)
xx(Abs)
xx(Random) xx(Random)
xx(FRandom) xx(FRandom)
xx(Random2) xx(Random2)
@ -43,7 +47,9 @@ xx(GetParentClass)
xx(GetClassName) xx(GetClassName)
xx(IsAbstract) xx(IsAbstract)
xx(GetDefaultByType) xx(GetDefaultByType)
xx(Floor)
xx(Exp) xx(Exp)
xx(Log)
xx(Log10) xx(Log10)
xx(Ceil) xx(Ceil)
xx(ACos) xx(ACos)
@ -64,6 +70,16 @@ xx(New)
xx(Static) xx(Static)
xx(Staticconst) 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__)
xx(Weapon)
xx(Item)
xx(LevelLocals)
xx(Level)
xy(menu_cursor, "menu/cursor") xy(menu_cursor, "menu/cursor")
xy(menu_choose, "menu/choose") xy(menu_choose, "menu/choose")
xy(menu_backup, "menu/backup") xy(menu_backup, "menu/backup")
@ -145,6 +161,11 @@ xx(r)
xx(g) xx(g)
xx(b) xx(b)
xx(X)
xx(Y)
xx(Z)
xx(XY)
xx(Prototype) xx(Prototype)
xx(Void) xx(Void)
xx(Label) xx(Label)
@ -186,6 +207,7 @@ xx(EndGameMenu)
xx(HelpMenu) xx(HelpMenu)
xx(SoundMenu) xx(SoundMenu)
xx(ConfirmPlayerReset) xx(ConfirmPlayerReset)
xx(JoystickOptions)
xx(OptionMenuItemSubmenu) xx(OptionMenuItemSubmenu)
xx(OptionMenuItemCommand) xx(OptionMenuItemCommand)
@ -211,6 +233,3 @@ xx(BuiltinNameToClass)
xx(BuiltinClassCast) xx(BuiltinClassCast)
xx(ScreenJobRunner) xx(ScreenJobRunner)

View file

@ -32,9 +32,7 @@ xx(Armor)
// Per-actor sound channels (for deprecated PlaySoundEx function) // Per-actor sound channels (for deprecated PlaySoundEx function)
xx(Auto) xx(Auto)
xx(Weapon)
xx(Voice) xx(Voice)
xx(Item)
xx(Body) xx(Body)
xx(SoundSlot5) xx(SoundSlot5)
xx(SoundSlot6) xx(SoundSlot6)
@ -330,8 +328,6 @@ xx(InternalDynamicLight)
xx(_a_chase_default) xx(_a_chase_default)
xx(MapMarker) xx(MapMarker)
xx(Spawn2) xx(Spawn2)
xx(LevelLocals)
xx(Level)
xx(PlayerTeam) xx(PlayerTeam)
xx(PlayerColors) xx(PlayerColors)
xx(PlayerSkin) xx(PlayerSkin)
@ -362,7 +358,6 @@ xx(GenericCrush)
// Bounce state names // Bounce state names
xx(Bounce) xx(Bounce)
xx(Wall) xx(Wall)
xx(Floor)
xx(Ceiling) xx(Ceiling)
xx(Creature) xx(Creature)
@ -432,7 +427,6 @@ xx(MapColorMenu)
xx(GameplayOptions) xx(GameplayOptions)
xx(CompatibilityOptions) xx(CompatibilityOptions)
xx(MouseOptions) xx(MouseOptions)
xx(JoystickOptions)
xx(SoundOptions) xx(SoundOptions)
xx(AdvSoundOptions) xx(AdvSoundOptions)
xx(ModReplayerOptions) xx(ModReplayerOptions)
@ -487,9 +481,6 @@ xx(Key)
xx(RipSound) xx(RipSound)
xx(Archvile) xx(Archvile)
xx(__decorate_internal_int__)
xx(__decorate_internal_bool__)
xx(__decorate_internal_float__)
xx(ResolveState) xx(ResolveState)
@ -507,19 +498,14 @@ xx(Special)
xx(TID) xx(TID)
xx(TIDtoHate) xx(TIDtoHate)
xx(WaterLevel) xx(WaterLevel)
xx(X)
xx(Y)
xx(Z)
xx(XY) xx(XY)
xx(MomX) xx(MomX)
xx(MomY) xx(MomY)
xx(MomZ) xx(MomZ)
xx(Threshold) xx(Threshold)
xx(DefThreshold) xx(DefThreshold)
xx(Abs)
xx(TeleportSpecial) xx(TeleportSpecial)
xx(Teleport) xx(Teleport)
xx(ACS_NamedExecuteWithResult)
xx(CallACS) xx(CallACS)
xx(IsPointerEqual) xx(IsPointerEqual)
xx(Pick) xx(Pick)
@ -535,7 +521,6 @@ xx(MeleeRange)
xx(Speed) xx(Speed)
xx(FastSpeed) xx(FastSpeed)
xx(HowlSound) xx(HowlSound)
xx(Clamp)
xx(VisibleStartAngle) xx(VisibleStartAngle)
xx(VisibleStartPitch) xx(VisibleStartPitch)
xx(VisibleEndAngle) xx(VisibleEndAngle)
@ -842,14 +827,12 @@ xx(Text)
xx(Displaycost) xx(Displaycost)
xx(Yesmessage) xx(Yesmessage)
xx(Nomessage) xx(Nomessage)
xx(Log)
xx(Giveitem) xx(Giveitem)
xx(Nextpage) xx(Nextpage)
xx(Closedialog) xx(Closedialog)
xx(Cost) xx(Cost)
xx(Page) xx(Page)
xx(Count) xx(Count)
xx(Name)
xx(Panel) xx(Panel)
xx(Dialog) xx(Dialog)
xx(Ifitem) xx(Ifitem)