Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
cbottoken.h
Go to the documentation of this file.
1 // * This file is part of the COLOBOT source code
2 // * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
3 // *
4 // * This program is free software: you can redistribute it and/or modify
5 // * it under the terms of the GNU General Public License as published by
6 // * the Free Software Foundation, either version 3 of the License, or
7 // * (at your option) any later version.
8 // *
9 // * This program is distributed in the hope that it will be useful,
10 // * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // * GNU General Public License for more details.
13 // *
14 // * You should have received a copy of the GNU General Public License
15 // * along with this program. If not, see http://www.gnu.org/licenses/.
16 
22 #pragma once
23 
24 
25 #include "object/object.h"
26 
27 
28 
29 // Procedures.
30 
31 extern const char* GetObjectName(ObjectType type);
32 extern const char* GetObjectAlias(ObjectType type);
33 extern std::string GetHelpFilename(ObjectType type);
34 extern std::string GetHelpFilename(const char *token);
35 extern bool IsType(const char *token);
36 extern bool IsFunction(const char *token);
37 extern const char* GetHelpText(const char *token);
38