diff options
Diffstat (limited to 'src/game/g_protocol.h')
| -rw-r--r-- | src/game/g_protocol.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/game/g_protocol.h b/src/game/g_protocol.h index b0d84916..f7d26900 100644 --- a/src/game/g_protocol.h +++ b/src/game/g_protocol.h @@ -12,6 +12,7 @@ enum OBJTYPE_PLAYER_INFO, OBJTYPE_PLAYER_CHARACTER, // use this if you are searching for the player entity OBJTYPE_PROJECTILE, + OBJTYPE_LASER, OBJTYPE_POWERUP, OBJTYPE_FLAG, EVENT_EXPLOSION, @@ -136,12 +137,19 @@ struct obj_game struct obj_projectile { - int type; int x, y; int vx, vy; // should be an angle instead + int type; int start_tick; }; +struct obj_laser +{ + int x, y; + int from_x, from_y; + int eval_tick; +}; + struct obj_powerup { int x, y; |