mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-02-14 20:23:38 +00:00
Initial commit.
This commit is contained in:
parent
9538049d44
commit
44e5f33ee7
99 changed files with 2363 additions and 0 deletions
22
Mod Sources/TSExtension/BaseMod/BaseMod.cpp
Normal file
22
Mod Sources/TSExtension/BaseMod/BaseMod.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// BaseMod.cpp : Defines the exported functions for the DLL application.
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "BaseMod.h"
|
||||
|
||||
#include "DXAPI.h"
|
||||
#include "LinkerAPI.h"
|
||||
|
||||
#include "DXConCmds.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
BASEMOD_API void ModInitialize(void)
|
||||
{
|
||||
Con::addMethodB("Player", "isjumping", &conPlayerGetJumpingState,"Returns whether or not the player is jumping", 2, 2);
|
||||
Con::addMethodB("Player", "isjetting", &conPlayerGetJettingState,"Returns whether or not the player is jetting", 2, 2);
|
||||
|
||||
Con::addMethodB("GrenadeProjectile", "explode", &conProjectileExplode,"Explodes the given projectile", 5, 5);
|
||||
Con::addMethodB("Projectile", "explode", &conProjectileExplode,"Explodes the given projectile", 5, 5);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue