reorganize modules

This commit is contained in:
Eduardo Bart
2011-12-05 16:27:07 -02:00
parent ffeb34e0e7
commit cf0aab6d4d
90 changed files with 186 additions and 181 deletions

13
modules/client/client.lua Normal file
View File

@@ -0,0 +1,13 @@
Client = { }
-- TODO: load and save configurations
function Client.init()
g_window.move({ x=220, y=220 })
g_window.resize({ width=800, height=600 })
g_window.setTitle('OTClient')
g_window.setIcon('clienticon.png')
return true
end
function Client.terminate()
end

View File

@@ -0,0 +1,22 @@
Module
name: client
description: Load all other otclient dependecies
author: OTClient team
website: https://github.com/edubart/otclient
// NOTE: order does matter
dependencies:
- client_background
- client_topmenu
- client_tibiafiles
- client_about
- client_options
- client_entergame
- game
onLoad: |
require 'client'
return Client.init()
onUnload: |
Client.terminate()

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B