#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 , 19 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:2 by , 19 years ago
comment:4 by , 19 years ago
| Owner: | changed from to |
|---|---|
| Resolution: | fixed |
| Status: | closed → pending |
comment:5 by , 19 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 , 19 years ago
| Status: | pending → new |
|---|
comment:7 by , 19 years ago
| Owner: | changed from to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:8 by , 19 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 , 7 years ago
| Component: | → Engine: Cruise |
|---|---|
| Game: | → Cruise for a Corpse |

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