Rename API -> SYSTEM
This commit is contained in:
@@ -6,37 +6,37 @@
|
||||
|
||||
-- --- Global APIs load --
|
||||
-- Class
|
||||
dofile(core.get_modpath('smc__api__class')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__class')..'/init.lua')
|
||||
|
||||
-- Ensure
|
||||
dofile(core.get_modpath('smc__api__ensure')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__ensure')..'/init.lua')
|
||||
|
||||
-- Logger
|
||||
dofile(core.get_modpath('smc__api__logger')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__logger')..'/init.lua')
|
||||
|
||||
-- Math
|
||||
dofile(core.get_modpath('smc__api__math')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__math')..'/init.lua')
|
||||
|
||||
-- Require
|
||||
dofile(core.get_modpath('smc__api__require')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__require')..'/init.lua')
|
||||
|
||||
-- Mod
|
||||
dofile(core.get_modpath('smc__api__mod')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__mod')..'/init.lua')
|
||||
|
||||
-- TODO: исправить загрузку строковых библиотек (хотя они пока что не юзаются в мапгене)
|
||||
-- Они не работают из-за get_current_modname внутри utf8
|
||||
-- UTF-8
|
||||
-- dofile(core.get_modpath('smc__api__utf8')..'/init.lua')
|
||||
-- dofile(core.get_modpath('smc__system__utf8')..'/init.lua')
|
||||
|
||||
-- String
|
||||
-- dofile(core.get_modpath('smc__api__string')..'/init.lua')
|
||||
-- dofile(core.get_modpath('smc__system__string')..'/init.lua')
|
||||
|
||||
-- Table
|
||||
dofile(core.get_modpath('smc__api__table')..'/init.lua')
|
||||
dofile(core.get_modpath('smc__system__table')..'/init.lua')
|
||||
|
||||
-- TODO: пока что закоментировано, поскольку вызывает ошибку из-за global_step
|
||||
-- Api loader
|
||||
-- dofile(core.get_modpath('smc__api__api')..'/init.lua')
|
||||
-- Smc lib loader
|
||||
-- dofile(core.get_modpath('smc__system__helper_lib')..'/init.lua')
|
||||
|
||||
---@type MapGen
|
||||
local mapGenerator = dofile(core.get_modpath('smc__core__map_generator')..'/src/mapGenerator.lua')
|
||||
|
||||
Reference in New Issue
Block a user