This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/crits.hpp
2017-12-02 17:44:05 +03:00

49 lines
825 B
C++

/*
* crits.h
*
* Created on: Feb 25, 2017
* Author: nullifiedcat
*/
#ifndef CRITS_HPP_
#define CRITS_HPP_
class CUserCmd;
class IClientEntity;
// BUGBUG TODO this struct is outdated
struct crithack_saved_state
{
float unknown2868;
float unknown2864;
int unknown2620;
float unknown2880;
char unknown2839;
float bucket2616;
int seed2876;
void Save(IClientEntity *entity);
void Load(IClientEntity *entity);
};
extern CatVar crit_info;
extern CatVar crit_key;
extern CatVar crit_melee;
namespace criticals
{
void create_move();
void draw();
bool random_crits_enabled();
}
#include <beforecheaders.hpp>
#include <unordered_map>
#include <aftercheaders.hpp>
extern int *g_PredictionRandomSeed;
extern std::unordered_map<int, int> command_number_mod;
#endif /* CRITS_HPP_ */