DEADSOFTWARE

can load map scripts from wads now
[d2df-sdl.git] / src / game / g_scriptprocs.pas
1 (* Copyright (C) DooM 2D:Forever Developers
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *)
16 {$MODE DELPHI}
17 unit g_scriptprocs;
19 interface
21 uses
22 g_scripts;
24 function SP_Lua_ConPrint(L: PScriptContext): Integer; cdecl;
26 implementation
28 uses
29 lua, g_console;
31 function SP_Lua_ConPrint(L: PScriptContext): Integer; cdecl;
32 begin
33 g_Console_Add(lua_tostring(L, -1));
34 Result := 0;
35 end;
37 end.