Commit graph

12 commits

Author SHA1 Message Date
Denis Pauk
29df38f239 Fix logical errors
src/p_client.c:2888:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
src/p_client.c:2891:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
2021-01-30 20:16:40 +02:00
Denis Pauk
7b0918b2e8 Sync declarations 2021-01-30 20:02:48 +02:00
Denis Pauk
c30b70ea00 Remove unused varibales
src/g_cmds.c:2095:10: warning: unused variable ‘vel’ [-Wunused-variable]
src/g_cmds.c:2094:10: warning: unused variable ‘pos’ [-Wunused-variable]
src/g_trigger.c:1422:10: warning: unused variable ‘endpos’ [-Wunused-variable]
src/p_client.c:1277:15: warning: unused variable ‘nostatus’ [-Wunused-variable]
src/p_client.c:2247:10: warning: unused variable ‘weapon’ [-Wunused-variable]
2021-01-30 18:52:45 +02:00
Denis Pauk
701b470ded Remove unused variables
src/g_chase.c:10:9: warning: variable ‘oldgoal’ set but not used [-Wunused-but-set-variable]
src/g_crane.c:118:9: warning: variable ‘origin’ set but not used [-Wunused-but-set-variable]
src/g_crane.c:380:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_func.c:101:15: warning: variable ‘sr’ set but not used [-Wunused-but-set-variable]
src/g_func.c:101:11: warning: variable ‘cr’ set but not used [-Wunused-but-set-variable]
src/g_func.c:836:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_func.c:1942:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_func.c:2488:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_func.c:3487:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_func.c:3642:10: warning: variable ‘oldorg’ set but not used [-Wunused-but-set-variable]
src/g_func.c:3790:9: warning: variable ‘origin’ set but not used [-Wunused-but-set-variable]
src/g_misc.c:1251:9: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/g_newai.c:36:11: warning: variable ‘playerVisible’ set but not used [-Wunused-but-set-variable]
src/g_newai.c:482:28: warning: variable ‘count3’ set but not used [-Wunused-but-set-variable]
src/g_newai.c:481:8: warning: variable ‘field’ set but not used [-Wunused-but-set-variable]
src/g_newai.c:928:11: warning: variable ‘errors’ set but not used [-Wunused-but-set-variable]
src/g_phys.c:35:10: warning: variable ‘fall_time’ set but not used [-Wunused-but-set-variable]
src/g_phys.c:891:16: warning: variable ‘maxs’ set but not used [-Wunused-but-set-variable]
src/g_phys.c:891:10: warning: variable ‘mins’ set but not used [-Wunused-but-set-variable]
src/g_trigger.c:1423:12: warning: variable ‘what’ set but not used [-Wunused-but-set-variable]
src/g_trigger.c:1402:10: warning: variable ‘tr’ set but not used [-Wunused-but-set-variable]
src/g_tracktrain.c:1014:11: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
src/m_boss2.c:566:11: warning: variable ‘enemy_infront’ set but not used [-Wunused-but-set-variable]
src/m_boss32.c:596:8: warning: variable ‘range’ set but not used [-Wunused-but-set-variable]
src/m_boss32.c:738:11: warning: variable ‘enemy_infront’ set but not used [-Wunused-but-set-variable]
src/m_boss31.c:548:8: warning: variable ‘range’ set but not used [-Wunused-but-set-variable]
src/m_boss31.c:613:11: warning: variable ‘enemy_infront’ set but not used [-Wunused-but-set-variable]
src/p_hud.c:157:7: warning: variable ‘picnum’ set but not used [-Wunused-but-set-variable]
2021-01-30 18:44:41 +02:00
Denis Pauk
52e8de3cb5 Fix brackets 2021-01-30 17:02:49 +02:00
Yamagi
09c37f30c0
Merge pull request #1 from mjr4077au/Client_AimFixWithCVAR
Implement accurate-aiming CVAR in slightmechanicaldestruction game code.
2020-04-21 12:45:13 +02:00
Mitchell Richters
7080348691 Implement accurate-aiming CVAR in slightmechanicaldestruction game code. 2020-04-22 02:53:04 +10:00
Yamagi Burmeister
11e1ee6b9b Add a standard .gitignore. 2017-10-31 18:18:49 +01:00
Yamagi Burmeister
5dabb4237a Add Alan "Alkaline" Cofers port of SMD to YQ2.
This is a best efford port of SMD to YQ2 done by Alan "Alkaline" Cofers.
While this is not a perfect port it's good enough to compile with modern
gcc and clang versions. It's possible to play through the whole mod
without (too many) bugs. All credits and honor for this go to Alkaline!
2017-10-31 18:15:39 +01:00
Yamagi Burmeister
832a9ef8e1 Add the changes between Lazarus 2.105 and Slight Mechanical Destruction.
Again the license is unclear, I suspect that the SDL license applies.
2017-10-31 18:13:01 +01:00
Yamagi Burmeister
b6ac03efe4 Add the official Lazarus 2.105 sources.
The license of this code is somewhat unclear. The original code is based
upon the Quake II SDK, thus released under the SDK license. At a later
time the author	apparently agreed to redistribute it under the terms of
the GPL2, but I'm unable to find anything about that.
2017-10-31 18:08:44 +01:00
Yamagi Burmeister
a8e70eef2b Base commit for 'Slight Mechanical Destruction'. 2017-10-31 17:50:12 +01:00