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/chatstack.hpp
LightCat 558bf0dcbf oof
2018-08-19 22:32:22 +02:00

33 lines
463 B
C++

/*
* chatstack.h
*
* Created on: Jan 24, 2017
* Author: nullifiedcat
*/
#pragma once
#define CHATSTACK_INTERVAL 0.8f
#include "config.h"
#include <string>
#include <stack>
#include <functional>
namespace chat_stack
{
struct msg_t
{
std::string text;
bool team;
};
void Say(const std::string &message, bool team = false);
void OnCreateMove();
void Reset();
extern std::stack<msg_t> stack;
extern float last_say;
} // namespace chat_stack