Azaezel
555610f69f
Addresses roughly half of the C4189 errors though the following methodologies:
...
1) truly unused vars removed
2) vars leading to remmed out code for debugging remmed in turn.
left out:
vars in macros.
2015-07-29 03:03:27 -05:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
Areloch
73c6db715d
Corrected spacing on the brackets to line them back up
2015-07-19 02:02:07 -05:00
Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Ben Payne
b721288d6b
Use the wonderful empty() member instead of abusing size()
2015-02-20 18:42:31 -05:00
Ben Payne
0ffd7f5620
Fix member vars left uninitialized in constructors
2015-02-20 18:41:51 -05:00
LuisAntonRebollo
57698599e0
Add missing <cfloat> and <limits>
2015-02-07 20:30:07 +01:00
Daniel Buckmaster
0d1f1aeeb9
Base navmesh size 1x1x1.
2015-01-29 22:23:26 +11:00
Daniel Buckmaster
cb047bd7f0
Rename all instances of Walkabout.
2015-01-29 21:09:32 +11:00
Daniel Buckmaster
37159bf9ad
Take object scale into account.
2015-01-02 13:59:16 +11:00
Daniel Buckmaster
199d98d096
Made navmesh links render over the top of the mesh.
2014-11-29 11:59:00 +11:00
Daniel Buckmaster
86a9417cfd
Removed another demo block.
2014-11-28 20:47:11 +11:00
Daniel Buckmaster
f42e12940c
Navmesh load/save now uses builtin file abstraction.
2014-11-28 20:24:11 +11:00
Daniel Buckmaster
f4c940f4fe
Added basic Walkabout with #define renamed and no editor.
2014-11-28 19:42:10 +11:00
Daniel Buckmaster
2ae879ec70
NavPath::alwaysRender works the same as NavMesh::alwaysRender.
2014-07-08 14:42:59 +02:00
Andy Maloney
396a7064dc
Minor cleanups
...
- remove redundant conditional
- remove unused vars
- remove extra ags to printf
- reduce scope of decl
2013-12-04 16:45:09 -05:00
Daniel Buckmaster
7556f29c09
Check whether findNearestPoly actually did find a poly.
2013-11-09 12:14:30 +11:00
Daniel Buckmaster
df2abed2c4
Added navmesh wrapper code and module.
2013-07-04 17:27:48 +10:00