8 var |
8 var |
9 /////// init flags /////// |
9 /////// init flags /////// |
10 cScreenWidth : LongInt = 1024; |
10 cScreenWidth : LongInt = 1024; |
11 cScreenHeight : LongInt = 768; |
11 cScreenHeight : LongInt = 768; |
12 cBits : LongInt = 32; |
12 cBits : LongInt = 32; |
13 //ipcPort is in uIO |
13 ipcPort : Word = 0; |
14 cFullScreen : boolean = false; |
14 cFullScreen : boolean = false; |
15 isSoundEnabled : boolean = true; |
15 isSoundEnabled : boolean = true; |
16 isMusicEnabled : boolean = false; |
16 isMusicEnabled : boolean = false; |
17 cLocaleFName : shortstring = 'en.txt'; |
17 cLocaleFName : shortstring = 'en.txt'; |
18 cInitVolume : LongInt = 100; |
18 cInitVolume : LongInt = 100; |
19 cTimerInterval : LongInt = 8; |
19 cTimerInterval : LongInt = 8; |
20 PathPrefix : shortstring = './'; |
20 PathPrefix : shortstring = './'; |
21 cShowFPS : boolean = false; |
21 cShowFPS : boolean = false; |
22 cAltDamage : boolean = true; |
22 cAltDamage : boolean = true; |
23 cReducedQuality : LongWord = rqNone; |
23 cReducedQuality : LongWord = rqNone; |
24 //userNick is in uChat |
24 UserNick : shortstring = ''; |
25 recordFileName : shortstring = ''; |
25 recordFileName : shortstring = ''; |
26 cReadyDelay : Longword = 5000; |
26 cReadyDelay : Longword = 5000; |
27 cLogfileBase : shortstring = 'debug'; |
27 cLogfileBase : shortstring = 'debug'; |
28 cStereoMode : TStereoMode = smNone; |
28 cStereoMode : TStereoMode = smNone; |
29 ////////////////////////// |
29 ////////////////////////// |
2300 begin |
2302 begin |
2301 // re-init flags so they will always contain safe values |
2303 // re-init flags so they will always contain safe values |
2302 cScreenWidth := 1024; |
2304 cScreenWidth := 1024; |
2303 cScreenHeight := 768; |
2305 cScreenHeight := 768; |
2304 cBits := 32; |
2306 cBits := 32; |
2305 //ipcPort is in uIO |
2307 ipcPort := 0; |
2306 cFullScreen := false; |
2308 cFullScreen := false; |
2307 isSoundEnabled := true; |
2309 isSoundEnabled := true; |
2308 isMusicEnabled := false; |
2310 isMusicEnabled := false; |
2309 cLocaleFName := 'en.txt'; |
2311 cLocaleFName := 'en.txt'; |
2310 cInitVolume := 100; |
2312 cInitVolume := 100; |
2311 cTimerInterval := 8; |
2313 cTimerInterval := 8; |
2312 PathPrefix := './'; |
2314 PathPrefix := './'; |
2313 cShowFPS := false; |
2315 cShowFPS := false; |
2314 cAltDamage := true; |
2316 cAltDamage := true; |
2315 cReducedQuality := rqNone; |
2317 cReducedQuality := rqNone; |
2316 //userNick is in uChat |
2318 UserNick := ''; |
2317 recordFileName := ''; |
2319 recordFileName := ''; |
2318 cReadyDelay := 5000; |
2320 cReadyDelay := 5000; |
2319 cStereoMode := smNone; |
2321 cStereoMode := smNone; |
2320 end; |
2322 end; |
2321 |
2323 |