forked from mirror/OpenTTD
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
This commit is contained in:
20
src/cheat_func.h
Normal file
20
src/cheat_func.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* $Id$ */
|
||||
|
||||
/** @file cheat_func.h Functions related to cheating. */
|
||||
|
||||
#ifndef CHEAT_FUNC_H
|
||||
#define CHEAT_FUNC_H
|
||||
|
||||
#include "cheat_type.h"
|
||||
|
||||
extern Cheats _cheats;
|
||||
|
||||
void ShowCheatWindow();
|
||||
|
||||
/**
|
||||
* Return true if any cheat has been used, false otherwise
|
||||
* @return has a cheat been used?
|
||||
*/
|
||||
bool CheatHasBeenUsed();
|
||||
|
||||
#endif /* CHEAT_FUNC_H */
|
Reference in New Issue
Block a user