Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#3188 closed defect (fixed)

CRUISE: does not compile

Reported by: SF/thomasklausner Owned by: fingolfin
Priority: normal Component: Engine: Cruise
Version: Keywords:
Cc: Game: Cruise for a Corpse

Description

Hi!

Perhaps it's too early for bug reports against --enable-cruise, if that's so, please let me know.

I thought it might interest you that scummvm from subversion doesn't currently compile (for a few weeks now) on NetBSD-4.99.19/amd64 (gcc-4.1.2 20070110 prerelease NetBSD nb1), with: engines/cruise/actor.cpp:584: error: expected ',' or '...' before numeric constant engines/cruise/actor.cpp: In function 'int16 Cruise::computePathfinding(int16*, int16)': engines/cruise/actor.cpp:596: error: 'oldPathId' was not declared in this scope engines/cruise/actor.cpp:625: error: 'stepX' was not declared in this scope engines/cruise/actor.cpp:626: error: 'stepY' was not declared in this scope engines/cruise/actor.cpp:629: error: '_Y' was not declared in this scope engines/cruise/actor.cpp:630: error: 'destX' was not declared in this scope engines/cruise/actor.cpp:631: error: 'destY' was not declared in this scope engines/cruise/actor.cpp:646: error: 'destX' was not declared in this scope engines/cruise/actor.cpp:646: error: '_Y' was not declared in this scope engines/cruise/actor.cpp:646: error: 'destY' was not declared in this scope engines/cruise/actor.cpp:655: error: '_Y' was not declared in this scope engines/cruise/actor.cpp:688: error: 'stepX' was not declared in this scope engines/cruise/actor.cpp:689: error: 'stepY' was not declared in this scope engines/cruise/actor.cpp:691: error: 'destX' was not declared in this scope engines/cruise/actor.cpp:692: error: 'destY' was not declared in this scope engines/cruise/actor.cpp: In function 'void Cruise::processAnimation()': engines/cruise/actor.cpp:585: error: too many arguments to function 'int16 Cruis e::computePathfinding(int16*, int16)' engines/cruise/actor.cpp:789: error: at this point in file engines/cruise/actor.cpp:585: error: too many arguments to function 'int16 Cruis e::computePathfinding(int16*, int16)' engines/cruise/actor.cpp:825: error: at this point in file

Ticket imported from: #1716109. Ticket imported from: bugs/3188.

Change History (9)

comment:1 by fingolfin, 18 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed

comment:2 by fingolfin, 18 years ago

It is indeed *way* to early for bug reports, but I fixed this one nevertheless.

comment:3 by sev-, 18 years ago

I committed possible fix. Please, test.

comment:4 by sev-, 18 years ago

Owner: changed from fingolfin to sev-
Resolution: fixed
Status: closedpending

comment:5 by SF/thomasklausner, 18 years ago

Original problem is gone, thank you!

Compilation now stops in engines/cruise/function.cpp: In function 'void Cruise::checkCollisionWithWalkBoxesBoundingBoxes(int, int)': engines/cruise/function.cpp:1086: error: cast from 'Cruise::ctpVar19Struct*' to 'int' loses precision however (64bit problem? this is on amd64)

comment:6 by SF/thomasklausner, 18 years ago

Status: pendingnew

comment:7 by fingolfin, 18 years ago

Owner: changed from sev- to fingolfin
Resolution: fixed
Status: newclosed

comment:8 by fingolfin, 18 years ago

OK, I fixed that one, too. However, note that we do not actually accept bug reports for CRUISE yet -- it's not even enabled by default so far, and even farther from being declared to be officially supported.

comment:9 by digitall, 6 years ago

Component: Engine: Cruise
Game: Cruise for a Corpse
Note: See TracTickets for help on using tickets.