mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-31 06:49:01 +03:00
166 lines
4.1 KiB
C
166 lines
4.1 KiB
C
/*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*
|
|
* In addition, as a special exception, the author gives permission to
|
|
* link the code of this program with the Half-Life Game Engine ("HL
|
|
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
* respects for all of the code used other than the HL Engine and MODs
|
|
* from Valve. If you modify this file, you may extend this exception
|
|
* to your version of the file, but you are not obligated to do so. If
|
|
* you do not wish to do so, delete this exception statement from your
|
|
* version.
|
|
*
|
|
*/
|
|
|
|
#include "extdll.h"
|
|
|
|
#ifdef REGAMEDLL_ADD
|
|
#define VFUNC virtual
|
|
#else
|
|
#define VFUNC
|
|
#endif
|
|
|
|
#ifdef REGAMEDLL_API
|
|
using VectorRef = Vector&;
|
|
using FloatRef = float&;
|
|
#else
|
|
using VectorRef = Vector;
|
|
using FloatRef = float;
|
|
#endif
|
|
|
|
#include "archtypes.h"
|
|
#include "enginecallback.h"
|
|
#include "entity_state.h"
|
|
#include "screenfade.h"
|
|
#include "utlvector.h"
|
|
|
|
// SDK
|
|
#include "usercmd.h"
|
|
#include "weaponinfo.h"
|
|
#include "customentity.h"
|
|
|
|
// Globals vars
|
|
#include "globals.h"
|
|
#include "saverestore.h"
|
|
|
|
// GameInit
|
|
#include "game.h"
|
|
|
|
// PM
|
|
#include "pm_shared/pm_defs.h"
|
|
#include "pm_shared/pm_materials.h"
|
|
#include "pm_shared/pm_movevars.h"
|
|
#include "pm_shared/pm_debug.h"
|
|
#include "pm_shared/pm_shared.h"
|
|
#include "pm_shared/pm_math.h"
|
|
|
|
#include "decals.h"
|
|
#include "hltv.h"
|
|
#include "cbase.h"
|
|
|
|
#include "sound.h"
|
|
#include "basemonster.h"
|
|
#include "monsters.h"
|
|
#include "unisignals.h"
|
|
#include "maprules.h"
|
|
#include "ammo.h"
|
|
#include "mortar.h"
|
|
#include "effects.h"
|
|
#include "lights.h"
|
|
#include "healthkit.h"
|
|
#include "vehicle.h"
|
|
#include "func_tank.h"
|
|
#include "func_break.h"
|
|
#include "doors.h"
|
|
#include "bmodels.h"
|
|
|
|
#include "debug.h"
|
|
#include "observer.h"
|
|
#include "client.h"
|
|
|
|
#include "trains.h"
|
|
#include "pathcorner.h"
|
|
#include "plats.h"
|
|
#include "buttons.h"
|
|
|
|
// CSBOT and Nav
|
|
#include "game_shared/GameEvent.h" // Game event enum used by career mode, tutor system, and bots
|
|
#include "game_shared/bot/bot_util.h"
|
|
#include "game_shared/bot/simple_state_machine.h"
|
|
|
|
#include "game_shared/steam_util.h"
|
|
#include "game_shared/counter.h"
|
|
|
|
#include "game_shared/bot/bot_manager.h"
|
|
#include "game_shared/bot/bot_constants.h"
|
|
#include "game_shared/bot/bot.h"
|
|
|
|
#include "game_shared/shared_util.h"
|
|
#include "game_shared/bot/bot_profile.h"
|
|
|
|
#include "game_shared/bot/nav.h"
|
|
#include "game_shared/bot/improv.h"
|
|
#include "game_shared/bot/nav_node.h"
|
|
#include "game_shared/bot/nav_area.h"
|
|
#include "game_shared/bot/nav_file.h"
|
|
#include "game_shared/bot/nav_path.h"
|
|
|
|
#include "airtank.h"
|
|
#include "h_cycler.h"
|
|
#include "h_battery.h"
|
|
|
|
// Hostage
|
|
#include "hostage/hostage.h"
|
|
#include "hostage/hostage_localnav.h"
|
|
|
|
#include "bot/cs_bot.h"
|
|
|
|
// Addons
|
|
#include "addons/item_airbox.h"
|
|
#include "addons/trigger_setorigin.h"
|
|
#include "addons/trigger_random.h"
|
|
|
|
// Tutor
|
|
#include "tutor.h"
|
|
#include "tutor_base_states.h"
|
|
#include "tutor_base_tutor.h"
|
|
#include "tutor_cs_states.h"
|
|
#include "tutor_cs_tutor.h"
|
|
|
|
#include "revert_saved.h"
|
|
#include "triggers.h"
|
|
#include "subs.h"
|
|
#include "doors.h"
|
|
#include "explode.h"
|
|
#include "gamerules.h"
|
|
#include "mapinfo.h"
|
|
#include "career_tasks.h"
|
|
#include "training_gamerules.h"
|
|
#include "maprules.h"
|
|
#include "monsterevent.h"
|
|
#include "skill.h"
|
|
#include "soundent.h"
|
|
#include "spectator.h"
|
|
#include "talkmonster.h"
|
|
#include "animation.h"
|
|
|
|
#include "com_model.h"
|
|
#include "studio.h"
|
|
#include "r_studioint.h"
|
|
|
|
#include "shake.h"
|