Game Development Community

Window Title

by Davide Archetti · in Torque Game Engine Advanced · 11/01/2004 (12:21 am) · 3 replies

I noticed that the window's title is hardcoded in the c++ code but this is a parameter passed to the initCanvas function in the example/client/init.cs file. To fix this, just open the file in the platformWin32/winwindow.cpp look for the function platform::initWindow and where you find the function call Win32Window->createWindow(...) replace the hardcoded string with the param "name".
Note, this bug is present only in the window version, the unix and mac version use the variable passed from the script

#1
11/01/2004 (2:08 am)
Hehe, probably something that slipped by from an older version of TGE.
#2
11/01/2004 (8:27 am)
Another item for the todo list, good eye!
#3
11/04/2004 (4:55 pm)
Fixed, thanks Davide.