Battleship.pas

GAME AND FORM EVENTS
 Quit1Click
 NewGame1Click
 About1Click
 FormCreate
 btnDonePlacingClick
 BoardMouseDown
 btnPlaceShipClick
 btnPlayClick
 BoardSelectCell
 FormPaint
 btnRandomPlaceClick
 FormKeyDown
 FormClose
 MediaPlayerNotify

PLACMENT 
 PlaceBoat
 BoatPlaced
 PlaceInProgress
 SetEndPt
 PlaceHorizontal
 PlaceVertical
 SuccessPlace
 CheckVertical
 CheckHorizontal
 ShowButtons
 CheckStatus
 SetPlacements
 ClearPlacements

PAINT
 PaintGame
 PaintCellStates
 PaintShips
 PaintShip
 ErasePaint
 GetBearing
 ColorCell
 PaintPic

OTHER GAME
 SizeSelect
 CannonFired
 CheckBoard
 CheckSink
 EndTurn
 CurrentMouseToCell
 OpposingMouseToCell
 GetShipName
 StartNewGame
 StartSinglePlayerGame
 StartMultiPlayerGame
 StartInternetGame
 ShowGame
 HideGame
 ResetGame
 DeclareVictory
 RandomPlace

AI 
 GetShotCoord
 DoComputerTurn

INTERNET
 DecodeData
 SendData
 btnChatClick
 TCPServerConnectionRequest
 TCPServerDataArrival
 TCPServerError
 TCPClientConnect
 TCPClientError
 TCPClientDataArrival
 SendMessage
 PostMessage
 InternetBoardMouseDown
 InternetbtnDonePlacingClick
 DisconnectError
 CannotConnectError

ENCODE/DECODE
 DecodeMove
 DecodeMessage
 DecodePlace
 DecodeOther
 EncodeMove
 EncodePlace

SAVE / LOAD GAME
 SaveGame1Click
 MediaPlayer1Notify
 LoadGame1Click
 LoadGame
 SaveGame
 SaveCellState
 SaveShipType
 LoadCellState
 LoadShipType

HIGHSCORE
 fillscorearray
 writehighScores
 searchScores
 TopScores1Click

RANDOM PLACEMENT 
PlaceHorizontalRandom
PlaceVerticalRandom

[ Main ]