Ok, I wormed out all my errors, now all I have are warnings. For some reason my game isint finding the right tile.
I'm getting this error:
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\User 1>CD C:\Borland\BCC55\BIN
C:\Borland\BCC55\Bin>BCC32 C:\MazeOfPain.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\MazeOfPain.cpp:
Warning W8068 C:\MOPEngine.h 162: Constant out of range in comparison in functio
n MoveRight()
Warning W8068 C:\MOPEngine.h 162: Constant out of range in comparison in functio
n MoveRight()
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Now, my problem is that MoveRight() is pritty big. I isolated line 162:
My line before that however:
Code:
if(Saveme[0] == Enemy1 || Saveme[0] == Enemy2 || Saveme[0] == Enemy3 || Saveme[0] == Enemy4)
Death(); //162
I have them declared as they should be:
Code:
#define Enemy1 '@'
#define Enemy2 '&'
#define Enemy3 '$'
#define Enemy4 '%'
Death function:
Code:
void Death() { //Not finished.
clrscr();
exit(0);
}
I dont get why its saying its out of range?? I have like 50 other constants that work just fine.