1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-24 13:45:47 +00:00

little fix, replaying ryan's patch to libogg and an oversight in GridRender that got lost

This commit is contained in:
fgenesis 2012-01-18 03:16:00 +00:00
parent 9dbdac547e
commit a551d70a6d
2 changed files with 10 additions and 1 deletions

View file

@ -84,7 +84,7 @@ void GridRender::onRender()
break;
}
int obsType = this->obsType;
const signed char obsType = this->obsType;
Vector camPos = core->cameraPos;
camPos.x -= core->getVirtualOffX() * (core->invGlobalScale);
const TileVector ct(camPos);

View file

@ -140,7 +140,16 @@
#else
/* @@AQUARIA: just force this to stdint.h.
# include <ogg/config_types.h>
*/
# include <stdint.h>
typedef int16_t ogg_int16_t;
typedef uint16_t ogg_uint16_t;
typedef int32_t ogg_int32_t;
typedef uint32_t ogg_uint32_t;
typedef int64_t ogg_int64_t;
typedef uint64_t ogg_uint64_t;
#endif