mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-01-20 02:24:46 +00:00
22 lines
727 B
C++
22 lines
727 B
C++
// 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);
|
|
}
|
|
} |