The game works fine in console mode, But when I try to load up the graphical mode it instantly crashes with a Division By Zero error.
Error.log
----------------------------------------------------------------------
Timestamp : 20/03/2013 19:13:31
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $5CACDBA8 :
EDivByZero : Division by zero
$5CACDBA8
$5C56AFDE
$5C597BA0
$5C596A5A
$5C324F2C
$5C34A974
$5C34D8E0
$5C543BDB
$5C539688
$5C53AC70
$5C53AA2D
$5C54939E
$5BC621E6
$5C024A19
$5BD8A796
$004F34EF
$004E1684
Log.txt
19:34:04 : INFO : --- Logging start : 20/03/2013 19:34:04 ---
19:34:04 : REPORT : ---------------------- Compiler info -------------------------
19:34:04 : REPORT : This program was compiled at 18:13:01 on 2013/03/19 by
19:34:04 : REPORT : Compiler version : 2.6.0
19:34:04 : REPORT : Target OS : Win32
19:34:04 : REPORT : Target CPU : i386
19:34:04 : REPORT : ---------------------- OS runtime info -----------------------
19:34:04 : REPORT : Current dir : C:\Users\Arron\Desktop\doomrl-win-0997
19:34:04 : REPORT : Local time : 03/20/2013 19:34:04
19:34:04 : INFO : Root path set to - C:\Users\Arron\Desktop\doomrl-win-0997\
19:34:04 : INFO : <TDoom//0> Initialized.
19:34:04 : INFO : <TDoom//0> 0.9.9.7
19:34:04 : INFO : <TDownloadTask> DoomNet: downloading doom.chaosforge.net/info.xml to C:\Users\Arron\Desktop\doomrl-win-0997\info.xml...
19:34:04 : INFO : HTTP/1.1 200 OK
19:34:04 : INFO : <TDownloadTask> DoomNet: download completed - 425 bytes received
19:34:04 : INFO : <TDoomNetwork> Remote stable - 0.9.9.7 (
http://doom.chaosforge.net/mods/0997/modules.xml)
19:34:04 : INFO : <TDoomNetwork> Remote beta - 0.9.9.7 GOLD(
http://doom.chaosforge.net/mods/0997/modules.xml)
19:34:04 : INFO : <TDoomNetwork> MOTD - ChaosForge Network is online! | DoomRL 0.9.9.7 has been RELEASED!
19:34:04 : INFO : <TDoomModules> DoomModules loading...
19:34:04 : INFO : <TDoomModules> DoomModules loaded.
19:34:04 : INFO : <TSDLIODriver> Initializing SDL...
19:34:04 : INFO : <TSDLIODriver> Checking mode 800x600/32bit...
19:34:05 : INFO : <TSDLIODriver> Mode 800x600/32 set.
19:34:05 : INFO : <TSDLIODriver> SDL IO system ready.
19:34:05 : INFO : <TVDataFile> Loading "C:\Users\Arron\Desktop\doomrl-win-0997\doomrl.wad"...
19:34:05 : INFO : <TVDataFile> Loaded "C:\Users\Arron\Desktop\doomrl-win-0997\doomrl.wad" (85 files).
19:34:05 : INFO : <TGLConsoleRenderer> Requesting capabilities [ CON_CURSOR ]...
19:34:05 : INFO : <TGLConsoleRenderer> Initializing GL Console Renderer...
19:34:05 : INFO : <TDoomIO//0> Initialized.
19:34:05 : INFO : <TDoomIO//0> Closed.
19:34:05 : INFO : <TDoomModules> DoomModules destroyed.
19:34:05 : INFO : <TSystems//0> Closed.
19:34:05 : INFO : <TDoom//0> Doom destroyed.
19:34:05 : INFO : <TDoom//0> Closed.
19:34:12 : INFO : --- Logging end : 20/03/2013 19:34:12 ---