Fixed up the ModLoader Project; replaced the old sources with the new

This commit is contained in:
Robert MacGregor 2014-08-05 18:31:30 -04:00
parent 83b8016a30
commit a3a954b22f
12 changed files with 62 additions and 163 deletions

View file

@ -1,7 +0,0 @@
/*
* config.h
* Contains configuration information for BulletDLL
* Copyright (c) 2013 Robert MacGregor
*/
#define MAXIMUM_BULLET_NODES 256

View file

@ -0,0 +1,8 @@
/*
* modLoader.h
*/
#include <t2api.h>
// Mod Loader Implementation
bool conLoadMod(SimObject *obj,S32 argc, const char* argv[]);

View file

@ -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"

View file

@ -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[]);

View file

@ -1,5 +1,7 @@
#pragma once
#include <string.h>
void initT2Api();