I can't seem to get the linux version to run. I tried to compile it but that has a few problems as well. you must be using a very old fpc because the declarations are in a bad order
Code:
TImage = class(TControl)
private
procedure DrawBox;
public
procedure Draw; override;
TextureId : gluint;
end;
images.pas(19,5) Error: Fields cannot appear after a method or property definition, start a new visibility section first
Code:
TGameObj = class
protected
procedure setGoalX(const AValue: Real); virtual;
procedure setGoalY(const AValue: Real); virtual;
procedure setGoalZ(const AValue: Real); virtual;
public
{$IFDEF CLIENT}
Gravity: boolean;
{$ENDIF}
//XMin, ZMin, XMax, ZMax: Real; //Walk Range
X, Y, Z: Real; //Current Position
function CurPos: T3DCoord;
RX, RY, RZ: Real; //Current Orientation
fGoalX, fGoalY, fGoalZ: Real; //Goal Position
GoalRX, GoalRY, GoalRZ: Real; //Goal Orientation
Id: Integer;
property GoalX: Real read FGoalX write SetGoalX;
property GoalY: Real read FGoalY write SetGoalY;
property GoalZ: Real read FGoalZ write SetGoalZ;
constructor Create; {$IFDEF SERVER}virtual;{$ENDIF}
destructor Destroy; override;
{$IFDEF CLIENT}
procedure Draw; virtual; abstract;
{$ENDIF}
end;
/home/carver413/Downloads/mundo021/src/common/games.pas(50,5) Error: Fields cannot appear after a method or property definition, start a new visibility section first
there are numerous errors like this all threw the code.
Bookmarks