mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-07-11 20:04:35 +00:00
Fixed up the ModLoader Project; replaced the old sources with the new
This commit is contained in:
parent
83b8016a30
commit
a3a954b22f
12 changed files with 62 additions and 163 deletions
|
|
@ -1,7 +0,0 @@
|
|||
/*
|
||||
* config.h
|
||||
* Contains configuration information for BulletDLL
|
||||
* Copyright (c) 2013 Robert MacGregor
|
||||
*/
|
||||
|
||||
#define MAXIMUM_BULLET_NODES 256
|
||||
8
ModLoader/include/modLoader.h
Normal file
8
ModLoader/include/modLoader.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
* modLoader.h
|
||||
*/
|
||||
|
||||
#include <t2api.h>
|
||||
|
||||
// Mod Loader Implementation
|
||||
bool conLoadMod(SimObject *obj,S32 argc, const char* argv[]);
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
// Modify the following defines if you have to target a platform prior to the ones specified below.
|
||||
// Refer to MSDN for the latest info on corresponding values for different platforms.
|
||||
#ifndef WINVER // Allow use of features specific to Windows XP or later.
|
||||
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
||||
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
||||
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
|
||||
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
|
||||
#endif
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
// Windows Header Files:
|
||||
#include <windows.h>
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
||||
#include "t2api.h"
|
||||
#include "config.h"
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* t2conCmds.h
|
||||
* Original code by Linker
|
||||
* Modified by Robert MacGregor
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
// Linker's original functions
|
||||
const char* conGuiTsCtrlProject(SimObject *obj,S32 argc, const char* argv[]);
|
||||
bool conNetObjectSetGhostable(SimObject *obj,S32 argc, const char* argv[]);
|
||||
const char* conGetVariable(SimObject *obj,S32 argc, const char* argv[]);
|
||||
|
||||
// Mod Loader Implementation
|
||||
bool conLoadMod(SimObject *obj,S32 argc, const char* argv[]);
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <string.h>
|
||||
|
||||
void initT2Api();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue