Rework connected tile rendering

Might drop FPS to about 50 in certain special circumstances on o3DS
This commit is contained in:
Andre Schweiger 2015-12-28 22:20:20 +01:00
parent d93e3753f0
commit ccdb63fb1e
12 changed files with 210 additions and 433 deletions

View file

@ -74,17 +74,14 @@ sf2d_texture *bottombg;
sf2d_texture * minimap[5];
u8 map[5][128*128];
u8 data[5][128*128];
u8 treeTable[256];
u16 rockTable[256];
u16 grassTable[16];
u32 dirtColor[5];
u32 grassColor[2];
u32 sandColor[2];
u32 grassColor;
u32 sandColor;
u32 waterColor[2];
u32 lavaColor[2];
u32 rockColor[4];
u32 woodColor[2];
u32 woodColor;
char currentFileName[256];
extern u8 currentMenu;