Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge qaisjp's commits from the 9th-13th September
- Loading branch information
Showing
83 changed files
with
14,311 additions
and
11,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/***************************************************************************** | ||
* | ||
* PROJECT: Multi Theft Auto v1.x | ||
* LICENSE: See LICENSE in the top level directory | ||
* FILE: mods/deathmatch/logic/luadefs/CLuaAccountDefs.cpp | ||
* PURPOSE: Lua function definitions class | ||
* | ||
* Multi Theft Auto is available from http://www.multitheftauto.com/ | ||
* | ||
*****************************************************************************/ | ||
|
||
#include "StdInc.h" | ||
|
||
void CLuaAccountDefs::LoadFunctions () | ||
{ | ||
// Shape create funcs | ||
CLuaCFunctions::AddFunction ( "createColCircle", CreateColCircle ); | ||
CLuaCFunctions::AddFunction ( "createColCuboid", CreateColCuboid ); | ||
CLuaCFunctions::AddFunction ( "createColSphere", CreateColSphere ); | ||
CLuaCFunctions::AddFunction ( "createColRectangle", CreateColRectangle ); | ||
CLuaCFunctions::AddFunction ( "createColPolygon", CreateColPolygon ); | ||
CLuaCFunctions::AddFunction ( "createColTube", CreateColTube ); | ||
} | ||
|
||
void CLuaAccountDefs::AddClass ( lua_State* luaVM ) | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/***************************************************************************** | ||
* | ||
* PROJECT: Multi Theft Auto v1.x | ||
* LICENSE: See LICENSE in the top level directory | ||
* FILE: mods/deathmatch/logic/luadefs/CLuaAccountDefs.h | ||
* PURPOSE: Lua function definitions class | ||
* | ||
* Multi Theft Auto is available from http://www.multitheftauto.com/ | ||
* | ||
*****************************************************************************/ | ||
|
||
#pragma once | ||
#include "CLuaDefs.h" | ||
|
||
class CLuaAccountDefs : public CLuaDefs | ||
{ | ||
public: | ||
static void LoadFunctions ( void ); | ||
static void AddClass ( lua_State* luaVM ); | ||
|
||
// Account get funcs | ||
LUA_DECLARE ( GetAccount ); | ||
LUA_DECLARE ( GetAccounts ); | ||
LUA_DECLARE ( GetAccountName ); | ||
LUA_DECLARE ( GetAccountPlayer ); | ||
LUA_DECLARE ( IsGuestAccount ); | ||
LUA_DECLARE ( GetAccountData ); | ||
LUA_DECLARE ( GetAllAccountData ); | ||
LUA_DECLARE ( GetAccountSerial ); | ||
LUA_DECLARE ( GetAccountsBySerial ); | ||
|
||
// Account set funcs | ||
LUA_DECLARE ( AddAccount ); | ||
LUA_DECLARE ( RemoveAccount ); | ||
LUA_DECLARE ( SetAccountPassword ); | ||
LUA_DECLARE ( SetAccountData ); | ||
LUA_DECLARE ( CopyAccountData ); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.