Skip to content

Commit

Permalink
Update standard functions and add new standard functions
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed Feb 28, 2017
1 parent a2a790a commit f2ff40d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions lib/zcommon.bcs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ enum {
DAMAGE_PLAYERS = 0x1,
DAMAGE_NONPLAYERS = 0x2,
DAMAGE_IN_AIR = 0x4,
DAMAGE_SUBCLASSES_PROTECT = 0x8
DAMAGE_SUBCLASSES_PROTECT = 0x8,
DAMAGE_NO_ARMOR = 0x16
};

enum {
Expand Down Expand Up @@ -1191,7 +1192,7 @@ special
14:Door_Animated(int,int,int;int):int,
15:Autosave():int,
16:Transfer_WallLight(int,int):int:0,
17:Thing_Raise(int):int,
17:Thing_Raise(int;int):int,
18:StartConversation(int;int):int,
19:Thing_Stop(int):int,
20:Floor_LowerByValue(int,int,int;int):int,
Expand Down Expand Up @@ -1223,7 +1224,7 @@ special
46:Floor_CrushStop(int):int,
47:Ceiling_MoveToValue(int,int,int;int,int):int,
48:Sector_Attach3dMidTex(int,int,int):int:0,
49:GlassBreak(int):int,
49:GlassBreak(;int,int):int,
50:ExtraFloor_LightOnly(int,int):int:0,
51:Sector_SetLink(int,int,int,int):int,
52:Scroll_Wall(int,int,int,int,int):int,
Expand Down Expand Up @@ -1425,6 +1426,9 @@ special
271:Stairs_BuildUpDoomSync(int,int,int,int):int,
272:Stairs_BuildDownDoomSync(int,int,int,int):int,
273:Stairs_BuildUpDoomCrush(int,int,int,int,int):int,
274:Door_AnimatedClose(int,int):int,
275:Floor_Stop(int):int,
276:Ceiling_Stop(int):int,

// Extension functions
-1:GetLineUdmfInt(int,str):int,
Expand Down Expand Up @@ -1565,6 +1569,12 @@ special
-203:SetTranslation(int,str):void,
-204:GetActorFloorTexture(int):str,
-205:GetActorFloorTerrain(int):str,
-206:StrArg(str):int,
-207:Floor(fixed):fixed,
-208:Round(fixed):fixed,
-209:Ceil(fixed):fixed,

// Eternity.
-300:GetLineX(int,fixed,fixed):fixed,
-301:GetLineY(int,fixed,fixed):fixed,

Expand Down

0 comments on commit f2ff40d

Please sign in to comment.