mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 08:55:32 +00:00
6668ad6e1c
minimap, PatchRData, renderer: fix ELOSState comparison vs & and use SAFE_DELETE ia32: add rounding control constants (for FISTP) premake: set /QIfist compiler setting which causes float->int casts to go through FISTP instruction instead of _ftol2() (much faster, but requires CPU state to have been set) LOSManager.cpp: cache m_TilesPerSize; use MIN/MAX; use CTerrain::CalcFromPosition; clean up GetUnitState a bit. now runs at 203ns, down from 222 This was SVN commit r3099.