~ubuntu-branches/debian/sid/astromenace/sid

« back to all changes in this revision

Viewing changes to AstroMenaceSource/Core/Text/Text.h

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-04-09 02:04:25 UTC
  • Revision ID: package-import@ubuntu.com-20130409020425-a7fl9xk4diamw6di
Tags: upstream-1.3.1+repack
Import upstream version 1.3.1+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/************************************************************************************
 
2
 
 
3
        AstroMenace (Hardcore 3D space shooter with spaceship upgrade possibilities)
 
4
        Copyright © 2006-2012 Michael Kurinnoy, Viewizard
 
5
 
 
6
 
 
7
        AstroMenace is free software: you can redistribute it and/or modify
 
8
        it under the terms of the GNU General Public License as published by
 
9
        the Free Software Foundation, either version 3 of the License, or
 
10
        (at your option) any later version.
 
11
 
 
12
        AstroMenace is distributed in the hope that it will be useful,
 
13
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
15
        GNU General Public License for more details.
 
16
 
 
17
        You should have received a copy of the GNU General Public License
 
18
        along with AstroMenace. If not, see <http://www.gnu.org/licenses/>.
 
19
 
 
20
 
 
21
        Web Site: http://www.viewizard.com/
 
22
        Project: http://sourceforge.net/projects/openastromenace/
 
23
        E-mail: viewizard@viewizard.com
 
24
 
 
25
*************************************************************************************/
 
26
 
 
27
 
 
28
#ifndef TEXT_H
 
29
#define TEXT_H
 
30
 
 
31
 
 
32
#include "../Base.h"
 
33
#include "../Font/Font.h"
 
34
#include "../VirtualFileSystem/VFS.h"
 
35
 
 
36
 
 
37
 
 
38
 
 
39
// загружаем текстовый .csv
 
40
void vw_InitText(const char *FileName, const char SymbolSeparator, const char SymbolEndOfLine);
 
41
// устанавливаем язык
 
42
void vw_SetTextLanguage(int Language);
 
43
// получаем текст из файлы
 
44
const char *vw_GetText(const char *ItemID);
 
45
// проверяем, есть ли символ в фонте, перебираем по тексту всех языков
 
46
int vw_CheckFontCharsInText();
 
47
// освобождаем данные
 
48
void vw_ReleaseText();
 
49
 
 
50
 
 
51
 
 
52
#endif // TEXT_H
 
53