ref: 69a8ad95840704e1061dca31b2427599291a6add
parent: 425b850cd5c7685ecccb588acf93dd47b30f91e1
author: Thomas A. Birkel <[email protected]>
date: Thu Oct 20 13:26:08 EDT 2016
Update branch with requested changes, third pass Improve comments and alignment.
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -151,7 +151,7 @@
settings->timelimit = 0;
settings->lowres_turn = M_ParmExists("-record")
- && !M_ParmExists("-longtics");
+ && !M_ParmExists("-longtics");
}
static void InitConnectData(net_connect_data_t *connect_data)
@@ -171,7 +171,7 @@
// Are we recording a demo? Possibly set lowres turn mode
connect_data->lowres_turn = M_ParmExists("-record")
- && !M_ParmExists("-longtics");
+ && !M_ParmExists("-longtics");
// Read checksums of our WAD directory and dehacked information
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -527,12 +527,14 @@
extern int GetWeaponAmmo[NUMWEAPONS];
extern boolean demorecording;
-extern boolean lowres_turn; // Truncate angleturn in ticcmds to nearest 256.
- // Used when recording Vanilla demos in netgames.
-extern boolean longtics; // specifies 16-bit angleturn resolution in demos
+extern boolean longtics; // specify high resolution turning in demos
extern boolean demoplayback;
extern boolean demoextend; // allow demos to persist through exit/respawn
extern int skytexture;
+
+// Truncate angleturn in ticcmds to nearest 256.
+// Used when recording Vanilla demos in netgames.
+extern boolean lowres_turn;
extern gamestate_t gamestate;
extern skill_t gameskill;
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -626,8 +626,6 @@
BT_SPECIAL | BTS_SAVEGAME | (savegameslot << BTS_SAVESHIFT);
}
- // low-res turning
-
if (lowres_turn)
{
if (shortticfix)
--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -163,7 +163,7 @@
settings->timelimit = 0;
settings->lowres_turn = M_ParmExists("-record")
- && !M_ParmExists("-longtics");
+ && !M_ParmExists("-longtics");
}
static void InitConnectData(net_connect_data_t *connect_data)
@@ -182,7 +182,7 @@
// Are we recording a demo? Possibly set lowres turn mode
connect_data->lowres_turn = M_ParmExists("-record")
- && !M_ParmExists("-longtics");
+ && !M_ParmExists("-longtics");
connect_data->drone = false;
connect_data->max_players = maxplayers;
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -627,8 +627,6 @@
BT_SPECIAL | BTS_SAVEGAME | (savegameslot << BTS_SAVESHIFT);
}
- // low-res turning
-
if (lowres_turn)
{
if (shortticfix)
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -632,12 +632,14 @@
extern boolean DebugSound; // debug flag for displaying sound info
-extern boolean lowres_turn; // Truncate angleturn in ticcmds to nearest 256.
- // Used when recording Vanilla demos in netgames.
-extern boolean longtics; // specifies 16-bit angleturn resolution in demos
+extern boolean longtics; // specify high resolution turning in demos
extern boolean demoplayback;
extern boolean demoextend; // allow demos to persist through exit/respawn
extern int maxzone; // Maximum chunk allocated for zone heap
+
+// Truncate angleturn in ticcmds to nearest 256.
+// Used when recording Vanilla demos in netgames.
+extern boolean lowres_turn;
extern int Sky1Texture;
extern int Sky2Texture;