This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Global { | |
virtual Script cleanupPatches(()) {} | |
virtual Script updatePatchedTerCounterGui(( string loadedTerCount, string totalTerCount )) {} | |
virtual Script updateForestPatchingCounterGui(( string loadedTerCount, string totalTerCount )) {} | |
virtual Script updateObjPatchingCounterGui(( string loadedTerCount, string totalTerCount )) {} | |
virtual Script updateGeoPatchingCounterGui(( string loadedTerCount, string totalTerCount )) {} | |
virtual Script updatePatchingCounterGui(( string patchedTerCount, string totalTerCount )) {} | |
virtual Script joinToRemoteServer(( string addr, string password )) {} | |
virtual Script initLocalConnection(( string port )) {} | |
virtual Script updateVersionBarText(()) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================================================================= | |
// | |
// Starling Framework | |
// Copyright Gamua GmbH. All Rights Reserved. | |
// | |
// This program is free software. You can redistribute and/or modify it | |
// in accordance with the terms of the accompanying license agreement. | |
// | |
// ================================================================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Draw rectangles with rounded corners with LÖVE (http://love2d.org) | |
local modname = ... | |
local M = {} | |
_G[modname] = M | |
package.loaded[modname] = M | |
local ipairs = ipairs | |
local lg = love.graphics | |
local PI = math.pi | |
local sin = math.sin |