mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-02 22:14:37 +00:00
Fix obstruction grid edge rendering.
This patch adds the functionality of the removed hack added in 07bc370c1680, but without the runtime performance impact. OT_* obstruction types are now a bitmask; as a side effect, Game::baseGrid is no longer needed, which reduces memory usage by 4 MB.
This commit is contained in:
parent
ed767d150b
commit
9e675be651
6 changed files with 83 additions and 86 deletions
|
@ -97,6 +97,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include "glext.h"
|
||||
#endif
|
||||
|
||||
#define compile_assert(pred) switch(0){case 0:case (pred):;}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4786)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue