Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
engine_tdb.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#ifndef SCRIPTS_INCLUDE__ENGINE_TDB_H
13#define SCRIPTS_INCLUDE__ENGINE_TDB_H
14#include "scripts.h"
15
23SCRIPTS_API const char *Get_Translated_String(unsigned long ID);
24
32SCRIPTS_API const wchar_t *Get_Wide_Translated_String(unsigned long ID);
33
41SCRIPTS_API const char *Get_Translated_Preset_Name(GameObject *obj);
42
51SCRIPTS_API const char *Get_Translated_Weapon(GameObject *obj,int position);
52
60SCRIPTS_API const char *Get_Current_Translated_Weapon(GameObject *obj);
61
69SCRIPTS_API const wchar_t *Get_Current_Wide_Translated_Weapon(GameObject *obj);
70
78SCRIPTS_API const char *Get_Team_Name(int Team);
79
87SCRIPTS_API StringClass Get_Short_Team_Name(int Team);
88
96SCRIPTS_API const wchar_t *Get_Wide_Team_Name(int Team);
97
105SCRIPTS_API const char *Get_Vehicle_Name(GameObject *obj);
106
114SCRIPTS_API const wchar_t *Get_Wide_Vehicle_Name(GameObject *obj); //Get the name of a vehicle (as used for the HUD display) as a wide character string
115
123SCRIPTS_API const char *Get_Translated_Definition_Name(const char *preset);
124
133SCRIPTS_API bool Is_Valid_String_ID(unsigned long ID);
134
145SCRIPTS_API unsigned long Get_String_ID_By_Desc(const char *desc); //Get the ID of a string given it's ID_Desc
146
157SCRIPTS_API unsigned long Get_String_Sound_ID(unsigned long ID);
158
159#endif