mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-03 19:15:37 +00:00
60 lines
1.6 KiB
D
60 lines
1.6 KiB
D
|
/*
|
||
|
Monster - an advanced game scripting language
|
||
|
Copyright (C) 2007, 2008 Nicolay Korslund
|
||
|
Email: <korslund@gmail.com>
|
||
|
WWW: http://monster.snaptoad.com/
|
||
|
|
||
|
This file (monster.d) is part of the Monster script language
|
||
|
package.
|
||
|
|
||
|
Monster is distributed as free software: you can redistribute it
|
||
|
and/or modify it under the terms of the GNU General Public License
|
||
|
version 3, as published by the Free Software Foundation.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful, but
|
||
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
version 3 along with this program. If not, see
|
||
|
http://www.gnu.org/licenses/ .
|
||
|
|
||
|
*/
|
||
|
|
||
|
module monster.monster;
|
||
|
|
||
|
public
|
||
|
{
|
||
|
// These should contain all you need for normal usage.
|
||
|
import monster.vm.mclass;
|
||
|
import monster.vm.mobject;
|
||
|
import monster.vm.stack;
|
||
|
import monster.vm.vm;
|
||
|
import monster.vm.scheduler;
|
||
|
import monster.vm.idlefunction;
|
||
|
import monster.vm.arrays;
|
||
|
import monster.vm.params;
|
||
|
import monster.vm.error;
|
||
|
}
|
||
|
|
||
|
private import monster.compiler.tokenizer;
|
||
|
private import monster.compiler.properties;
|
||
|
private import monster.compiler.scopes;
|
||
|
|
||
|
version(LittleEndian) {}
|
||
|
else static assert(0, "This library does not yet support big endian systems.");
|
||
|
|
||
|
static this()
|
||
|
{
|
||
|
// Initialize compiler constructs
|
||
|
initTokenizer();
|
||
|
initProperties();
|
||
|
initScope();
|
||
|
|
||
|
// Initialize VM
|
||
|
scheduler.init();
|
||
|
stack.init();
|
||
|
arrays.initialize();
|
||
|
}
|