equal
deleted
inserted
replaced
49 uLocale in 'uLocale.pas', |
49 uLocale in 'uLocale.pas', |
50 uAmmos in 'uAmmos.pas', |
50 uAmmos in 'uAmmos.pas', |
51 uSHA in 'uSHA.pas', |
51 uSHA in 'uSHA.pas', |
52 uFloat in 'uFloat.pas', |
52 uFloat in 'uFloat.pas', |
53 uStats in 'uStats.pas', |
53 uStats in 'uStats.pas', |
54 uChat in 'uChat.pas'; |
54 uChat in 'uChat.pas', |
|
55 uLandTexture; |
55 |
56 |
56 {$INCLUDE options.inc} |
57 {$INCLUDE options.inc} |
57 |
58 |
58 // also: GSHandlers.inc |
59 // also: GSHandlers.inc |
59 // CCHandlers.inc |
60 // CCHandlers.inc |
124 procedure OnDestroy; |
125 procedure OnDestroy; |
125 begin |
126 begin |
126 {$IFDEF DEBUGFILE}AddFileLog('Freeing resources...');{$ENDIF} |
127 {$IFDEF DEBUGFILE}AddFileLog('Freeing resources...');{$ENDIF} |
127 if isSoundEnabled then ReleaseSound; |
128 if isSoundEnabled then ReleaseSound; |
128 StoreRelease; |
129 StoreRelease; |
|
130 FreeLand; |
129 SendKB; |
131 SendKB; |
130 CloseIPC; |
132 CloseIPC; |
131 TTF_Quit; |
133 TTF_Quit; |
132 SDL_Quit; |
134 SDL_Quit; |
133 halt |
135 halt |