91e6b23d3f
NMAKE-VS2012 Error LNK2011 while NMAKE-VS2010 does not complain we need to link the pch.obj file see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx ** PCH Support for Ninja Ninja need to add property OBJECT_DEPENDS for using PCH OBJECT_OUTPUTS for create PCH see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
17 lines
516 B
Lua
17 lines
516 B
Lua
-- go to the home page of the ring window
|
|
|
|
function browseRingWindowHomePage()
|
|
local adminWindow = getUI("ui:interface:r2ed_ring_window")
|
|
if adminWindow then
|
|
adminWindow:find("ring_page"):browse(getMainPageURL() .. "?ingame=1&charSlot=" .. getCharSlot())
|
|
-- adminWindow:find("admin_web_page"):browse("http://r2linux03/ring/web_start.php?ingame=1")
|
|
end
|
|
end
|
|
|
|
local firstBrowseDone = false
|
|
function onRingWindowShown()
|
|
if not firstBrowseDone then
|
|
browseRingWindowHomePage()
|
|
firstBrowseDone = true
|
|
end
|
|
end
|