1 diff -Naur love-0.5-0/src/love.cpp love-0.5-0.new/src/love.cpp
2 --- love-0.5-0/src/love.cpp 2008-09-20 16:40:20.000000000 +0200
3 +++ love-0.5-0.new/src/love.cpp 2009-12-26 20:07:41.000000000 +0100
5 STATIC_MOD_EXTERN(love_sdljoystick);
6 STATIC_MOD_EXTERN(love_system);
9 + using namespace love;
11 + static char* fakeExeName = "/usr/bin/love";
13 + int main(int argc, char* argv[])
16 + // fake exe name to allow call by other name than love, i.e. love05 (without symlink)
17 + argv[0] = fakeExeName;
19 -int main(int argc, char* argv[])
22 pCore core(new Core());
24 diff -Naur love-0.5-0/src/opengl/Image.cpp love-0.5-0.new/src/opengl/Image.cpp
25 --- love-0.5-0/src/opengl/Image.cpp 2008-09-20 16:40:14.000000000 +0200
26 +++ love-0.5-0.new/src/opengl/Image.cpp 2009-12-26 20:05:52.000000000 +0100
30 // Create the new image
31 - ilTexImage(width, height, depth, bpp, format, type, (ILvoid*)d);
32 + ilTexImage(width, height, depth, bpp, format, type, (void*)d);
34 // Set new "real" dimensions
35 this->textureWidth = width;
39 // Create the new image
40 - ilTexImage(width, height, depth, bpp, format, type, (ILvoid*)data);
41 + ilTexImage(width, height, depth, bpp, format, type, (void*)data);
43 // Set the new image dimensions.
44 this->textureWidth = width;
45 diff -Naur love-0.5-0/src/opengl/ImageFont.cpp love-0.5-0.new/src/opengl/ImageFont.cpp
46 --- love-0.5-0/src/opengl/ImageFont.cpp 2008-09-20 16:40:14.000000000 +0200
47 +++ love-0.5-0.new/src/opengl/ImageFont.cpp 2009-12-26 20:05:52.000000000 +0100
49 #include "ImageFont.h"
52 #include <SDL_opengl.h>
60 diff -Naur love-0.5-0/src/opengl/love_opengl.cpp love-0.5-0.new/src/opengl/love_opengl.cpp
61 --- love-0.5-0/src/opengl/love_opengl.cpp 2008-09-20 16:40:14.000000000 +0200
62 +++ love-0.5-0.new/src/opengl/love_opengl.cpp 2009-12-26 20:05:52.000000000 +0100
65 ilGenImages(1, &image);
67 - ilTexImage(w, h, 1, 3, IL_RGB, IL_UNSIGNED_BYTE, (ILvoid*)pixels);
68 + ilTexImage(w, h, 1, 3, IL_RGB, IL_UNSIGNED_BYTE, (void*)pixels);
71 ilSaveL(IL_BMP, pixels, 0);
72 diff -Naur love-0.5-0/src/physfs/File.cpp love-0.5-0.new/src/physfs/File.cpp
73 --- love-0.5-0/src/physfs/File.cpp 2008-09-20 16:40:17.000000000 +0200
74 +++ love-0.5-0.new/src/physfs/File.cpp 2009-12-26 20:05:52.000000000 +0100