mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
save window position and size
This commit is contained in:
14
modules/addon_mapeffects/mapeffects.lua
Normal file
14
modules/addon_mapeffects/mapeffects.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
MapEffects = {}
|
||||
|
||||
function MapEffects.init()
|
||||
local box = createWidget('ComboBox')
|
||||
box:moveTo({x=100, y=8})
|
||||
box:addOption('Normal')
|
||||
box:addOption('Bloom')
|
||||
box:addOption('TV')
|
||||
--displayUI(box)
|
||||
end
|
||||
|
||||
function MapEffects.terminate()
|
||||
|
||||
end
|
16
modules/addon_mapeffects/mapeffects.otmod
Normal file
16
modules/addon_mapeffects/mapeffects.otmod
Normal file
@@ -0,0 +1,16 @@
|
||||
Module
|
||||
name: mapeffects
|
||||
description: Contains experimental shader effects for map
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
// console can be loaded after core
|
||||
autoLoad: true
|
||||
autoLoadPriority: 1000
|
||||
|
||||
onLoad: |
|
||||
require 'mapeffects'
|
||||
MapEffects.init()
|
||||
|
||||
onUnload: |
|
||||
MapEffects.terminate()
|
Reference in New Issue
Block a user