From 88dcc37e9406b75490abe96a7f37421491f7b4c4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 3 Oct 2022 22:45:11 +0200 Subject: [PATCH] - got rid of the wrappers for the SO angles. --- source/games/sw/src/game.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/source/games/sw/src/game.h b/source/games/sw/src/game.h index 721768349..9bf2f241e 100644 --- a/source/games/sw/src/game.h +++ b/source/games/sw/src/game.h @@ -1435,21 +1435,6 @@ struct SECTOR_OBJECT double clipbox_vdist[MAX_CLIPBOX]; // mult-clip box variables DAngle clipbox_ang[MAX_CLIPBOX]; // mult-clip box variables - int int_i_ang() const { return ang.Buildang(); } - int int_i_ang_moving() const { return ang_moving.Buildang(); } - int int_i_ang_tgt() const { return ang_tgt.Buildang(); } - int int_i_ang_orig() const { return ang_orig.Buildang(); } - int int_i_last_ang() const { return last_ang.Buildang(); } - int int_i_spin_ang() const { return spin_ang.Buildang(); } - int int_i_spin_speed() const { return spin_speed.Buildang(); } - void set_int_i_spin_speed(int i) { spin_speed = DAngle::fromBuild(i); } - void set_int_i_last_ang(int i) { last_ang = DAngle::fromBuild(i); } - void set_int_i_spin_ang(int i) { spin_ang = DAngle::fromBuild(i); } - void set_int_i_ang(int i) { ang = DAngle::fromBuild(i); } - void set_int_i_ang_tgt(int i) { ang_tgt = DAngle::fromBuild(i); } - void set_int_i_ang_moving(int i) { ang_moving = DAngle::fromBuild(i); } - void set_int_i_ang_orig(int i) { ang_orig = DAngle::fromBuild(i); } - int16_t clipbox_num; DAngle ang; // angle facing