Quote Originally Posted by Vexus
[pascal]
type
TForm1 = class(TForm)
DXDraw1: TDXDraw;
DXInput1: TDXInput;
DXTimer1: TDXTimer;
DXSpriteEngine1: TDXSpriteEngine;
DXSound1: TDXSound;
DXWaveList1: TDXWaveList;
DXImageList1: TDXImageList;
TGameState = (gsStart, gsMenu, gsReset, gsGame, gsEndGame, gsGameOver, gsInstructions, gsEnd); //I GET AN ERROR HERE about '='
private
{ Private declarations }
public
{ Public declarations }
end;[/pascal]
The TGameState definition should be outside the class definition, i.e.:
[pascal]
type
TGameState = (gsStart, gsMenu, gsReset, gsGame, gsEndGame, gsGameOver, gsInstructions, gsEnd); //I GET AN ERROR HERE about '='

TForm1 = class(TForm)
DXDraw1: TDXDraw;
DXInput1: TDXInput;
DXTimer1: TDXTimer;
DXSpriteEngine1: TDXSpriteEngine;
DXSound1: TDXSound;
DXWaveList1: TDXWaveList;
DXImageList1: TDXImageList;
private
{ Private declarations }
public
{ Public declarations }
end;[/pascal]

[size=9px]P.S. For the love of God, change your signature to 'bear with me' before people start stripping off![/size]