Skip to content

Commit

Permalink
Added new mobj flag MF3_CLIENTACTION
Browse files Browse the repository at this point in the history
Flag allows the states of a mobj to perform action functions
locally on the client. Intended for visual effects like sparks.
  • Loading branch information
skyjake committed Dec 23, 2011
1 parent a5bc870 commit 294234f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/plugins/jdoom/defs/flags.ded
Expand Up @@ -56,3 +56,4 @@ Flag { ID = "mf2_dontdraw"; Value = 0x100000; }

# Mobj flags3:
Flag { ID = "mf3_noinfight"; Value = 0x1; }
Flag { ID = "mf3_clientaction"; Value = 0x2; }
1 change: 1 addition & 0 deletions doomsday/plugins/jdoom/include/p_mobj.h
Expand Up @@ -137,6 +137,7 @@
// --- mobj.flags3 ---

#define MF3_NOINFIGHT 0x00000001 // Mobj will never be targeted for in-fighting
#define MF3_CLIENTACTION 0x00000002 // States' action funcs are executed by client

// --- mobj.intflags ---
// Internal mobj flags cannot be set using an external definition.
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jdoom64/defs/flags.ded
Expand Up @@ -56,3 +56,4 @@ Flag { ID = "mf2_dontdraw"; Value = 0x100000; }

# Mobj flags3:
Flag { ID = "mf3_noinfight"; Value = 0x1; }
Flag { ID = "mf3_clientaction"; Value = 0x2; }
1 change: 1 addition & 0 deletions doomsday/plugins/jdoom64/include/p_mobj.h
Expand Up @@ -222,6 +222,7 @@
// --- mobj.flags3 ---

#define MF3_NOINFIGHT 0x00000001 // Mobj will never be targeted for in-fighting
#define MF3_CLIENTACTION 0x00000002 // States' action funcs are executed by client

// --- mobj.intflags ---
// Internal mobj flags cannot be set using an external definition.
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jheretic/defs/flags.ded
Expand Up @@ -58,3 +58,4 @@ Flag { ID = "mf2_dontdraw"; Value = 0x100000; }

# Mobj flags3:
Flag { ID = "mf3_noinfight"; Value = 0x1; }
Flag { ID = "mf3_clientaction"; Value = 0x2; }
1 change: 1 addition & 0 deletions doomsday/plugins/jheretic/include/p_mobj.h
Expand Up @@ -135,6 +135,7 @@
// --- mobj.flags3 ---

#define MF3_NOINFIGHT 0x00000001 // Mobj will never be targeted for in-fighting
#define MF3_CLIENTACTION 0x00000002 // States' action funcs are executed by client

// --- mobj.intflags --- (added in MOBJ_SAVEVERSION 6)
// Internal mobj flags cannot be set using an external definition.
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jhexen/defs/flags.ded
Expand Up @@ -69,6 +69,7 @@ Flag { ID = "mf2_reflective"; Value = 0x80000000; }

# Mobj flags3:
Flag { ID = "mf3_noinfight"; Value = 0x1; }
Flag { ID = "mf3_clientaction"; Value = 0x2; }

#
# Obsolete (unused) flags:
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jhexen/include/p_mobj.h
Expand Up @@ -145,6 +145,7 @@
// --- mobj.flags3 ---

#define MF3_NOINFIGHT 0x00000001 // Mobj will never be targeted for in-fighting
#define MF3_CLIENTACTION 0x00000002 // States' action funcs are executed by client

typedef enum dirtype_s {
DI_EAST,
Expand Down

0 comments on commit 294234f

Please sign in to comment.