Fixes window icons with SDL, hooking it through the var $Core::windowIcon as the path.

Also adjusted the splash window icon to use the var $Core::splashWindowImage for it's path.
This commit is contained in:
Areloch 2016-12-22 00:52:34 -06:00
parent d3dd5ce235
commit 170cdadf60
4 changed files with 56 additions and 1 deletions

View file

@ -28,6 +28,8 @@ $defaultGame = "scripts";
// Set profile directory
$Pref::Video::ProfilePath = "core/profile";
$Core::windowIcon = "core/torque.png";
$Core::splashWindowImage = "art/gui/splash.bmp";
function createCanvas(%windowTitle)
{

View file

@ -28,6 +28,8 @@ $defaultGame = "scripts";
// Set profile directory
$Pref::Video::ProfilePath = "core/profile";
$Core::windowIcon = "core/torque.png";
$Core::splashWindowImage = "art/gui/splash.bmp";
function createCanvas(%windowTitle)
{