From 7493d4e334571275f53de4cd9f7dcdb02f1e44f2 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 3 Aug 2020 23:01:53 +1000 Subject: [PATCH] - remove unused getters from `player_struct`. --- source/games/duke/src/types.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/games/duke/src/types.h b/source/games/duke/src/types.h index be4b1a516..85d1b4b75 100644 --- a/source/games/duke/src/types.h +++ b/source/games/duke/src/types.h @@ -219,11 +219,9 @@ struct player_struct // Access helpers for the widened angle and horizon fields. - int getlookang() { return q16look_ang >> FRACBITS; } void setlookang(int b) { q16look_ang = b << FRACBITS; } void addlookang(int b) { q16look_ang += b << FRACBITS; } void addlookang(double b) { q16look_ang += int(b *65536.); } - int getrotscrnang() { return q16rotscrnang >> FRACBITS; } void setrotscrnang(int b) { q16rotscrnang = b << FRACBITS; } void addrotscrnang(int b) { q16rotscrnang += b << FRACBITS; } void addrotscrnang(double b) { q16rotscrnang += int(b *65536.); }