mirror of
https://github.com/astromaddie/HaloCE-VR.git
synced 2026-10-23 07:00:12 +02:00
67 lines
1.1 KiB
C
67 lines
1.1 KiB
C
/*
|
|
CHEATS.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __CHEATS_H
|
|
#define __CHEATS_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct cheat_globals
|
|
{
|
|
boolean deathless_player;
|
|
boolean jetpack;
|
|
boolean infinite_ammo;
|
|
boolean bump_possession;
|
|
boolean super_jump;
|
|
boolean reflexive_damage_effects;
|
|
boolean medusa;
|
|
boolean omnipotent;
|
|
boolean controller_enabled;
|
|
boolean bottomless_clip;
|
|
};
|
|
|
|
/* ---------- prototypes/CHEATS.C */
|
|
|
|
void cheats_initialize(
|
|
void);
|
|
void cheats_initialize_for_new_map(
|
|
void);
|
|
void cheat_teleport_to_camera(
|
|
void);
|
|
void cheat_active_camouflage(
|
|
void);
|
|
void cheat_all_weapons(
|
|
void);
|
|
void cheat_all_powerups(
|
|
void);
|
|
void cheat_all_vehicles(
|
|
void);
|
|
void cheats_dispose(
|
|
void);
|
|
void cheats_dispose_from_old_map(
|
|
void);
|
|
void cheats_update(
|
|
void);
|
|
void cheats_network_client_enforce(
|
|
void);
|
|
void cheats_load(
|
|
void);
|
|
void cheat_active_camouflage_local_player(
|
|
short player_index);
|
|
|
|
/* ---------- globals */
|
|
|
|
extern struct cheat_globals cheat;
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __CHEATS_H
|