stransky / berusky2

Berusky 2 (Bugs Escape 3D) is a game that challenges your visual/spatial thinking and ability to find a way to resolve a logic task. Using five bugs, you'll go through an adventure full of various puzzles spread across nine episodes. Individual episodes differ in appearance and difficulty, which increases throughout the game.
http://anakreon.cz/en/Berusky2.htm
GNU General Public License v3.0
14 stars 3 forks source link

kofola/font3d.cpp conversion between int* and apuLong* #2

Closed stativ closed 13 years ago

stativ commented 13 years ago

The build fails with gcc 4.6

kofola/font3d.cpp:776:63: error: cannot convert ‘int’ to ‘apuLong’ for argument ‘3’ to ‘void agetbuffer(FILE_, char_, apuLong)’

stransky commented 13 years ago

Do you use 64-bit system?

stativ commented 13 years ago

Yep, it's Archlinux 64bit

stransky commented 13 years ago

64-bit systems are not supported yet.

aapo commented 13 years ago

One fix is needed to compile it under 64bit Linux, but game is not working (as 'not supported' means).

diff --git a/src/kofola/font3d.cpp b/src/kofola/font3d.cpp index f0bb09c..98c9d80 100644 --- a/src/kofola/font3d.cpp +++ b/src/kofola/font3d.cpp @@ -747,7 +747,7 @@ int fn2_Set_Font(char *cPAK) return 0; } else {

stransky commented 13 years ago

The 64-bit patch is ready, done by Milan Crha. I have to merge it with latest master.

stransky commented 13 years ago

Fixed by 0.5.