Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
#ifdef WIN32
#define UINT8 WIN32API_UINT8
#define UINT16 WIN32API_UINT16
extern "C" {
#include "zlib.h"
#include "png.h"
- #include "jpeglib.h"
+ #ifdef WIN32
+ #define INT32 INT32_jpeg
+ #include "jpeglib.h"
+ #undef INT32
+ #else
+ #include "jpeglib.h"
+ #endif
}
static bool load_image(const char * fname, TGAImageRec & tex);
#include "gamegl.h"
#include "MacCompatibility.h"
+
#ifdef WIN32
#include <shellapi.h>
#endif
-#include "res/resource.h"
+#include "win-res/resource.h"
using namespace std;
if (!SetUp (game))
return 42;
- while (!gDone&&!game.quit&&(!game.tryquit||!game.registered))
+ while (!gDone&&!game.quit&&(!game.tryquit))
{
if (IsFocused())
{
}
}
+
bool LoadImage(const char * fname, TGAImageRec & tex)
{
bool res = true;