get_config_text(3alleg4) Allegro manual get_config_text(3alleg4)NAME
get_config_text - Returns a string translated to the current language. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
const char *get_config_text(const char *msg);
DESCRIPTION
This function is primarily intended for use by internal library code, but it may perhaps be helpful to application programmers as well. It
uses the `language.dat' or `XXtext.cfg' files (where XX is a language code) to look up a translated version of the parameter in the cur-
rently selected language.
This is basically the same thing as calling get_config_string() with `[language]' as the section, `msg' as the variable name, and `msg' as
the default value, but it contains some special code to handle Unicode format conversions. The `msg' parameter is always given in ASCII
format, but the returned string will be converted into the current text encoding, with memory being allocated as required, so you can
assume that this pointer will persist without having to manually allocate storage space for each string.
Note that if you are planning on distributing your game on the Unix platform there is a special issue with how to deal with the `lan-
guage.dat' file. Read section "Files shared by Allegro" of the chapter "Unix specifics" to learn more about this.
RETURN VALUE
Returns a suitable translation if one can be found or a copy of the parameter if nothing else is available.
SEE ALSO get_config_string(3alleg4), reload_config_texts(3alleg4)Allegro version 4.4.2 get_config_text(3alleg4)
Check Out this Related Man Page
get_config_text(3alleg4) Allegro manual get_config_text(3alleg4)NAME
get_config_text - Returns a string translated to the current language. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
const char *get_config_text(const char *msg);
DESCRIPTION
This function is primarily intended for use by internal library code, but it may perhaps be helpful to application programmers as well. It
uses the `language.dat' or `XXtext.cfg' files (where XX is a language code) to look up a translated version of the parameter in the cur-
rently selected language.
This is basically the same thing as calling get_config_string() with `[language]' as the section, `msg' as the variable name, and `msg' as
the default value, but it contains some special code to handle Unicode format conversions. The `msg' parameter is always given in ASCII
format, but the returned string will be converted into the current text encoding, with memory being allocated as required, so you can
assume that this pointer will persist without having to manually allocate storage space for each string.
Note that if you are planning on distributing your game on the Unix platform there is a special issue with how to deal with the `lan-
guage.dat' file. Read section "Files shared by Allegro" of the chapter "Unix specifics" to learn more about this.
RETURN VALUE
Returns a suitable translation if one can be found or a copy of the parameter if nothing else is available.
SEE ALSO get_config_string(3alleg4), reload_config_texts(3alleg4)Allegro version 4.4.2 get_config_text(3alleg4)
Hi folksss..
I know this one is out of the topic...
but want to ask:
Does anyone have HP UX Unix that I can get from ??
Please help.
I want to learn it very much.
P.S: I have DSL... :)
Thanks (5 Replies)
I've got a 15" PB running Panther and I truly want to delve into the Unix base. I want to learn what is going on under my system and I want to learn how to be able to work in the Unix environment. I've had some experience with Redhat and Mandrake Linux, so I'm not afraid of the shell prompt. I'd... (2 Replies)
Hi,
I have HP-UX Cds and I need to know if is it possible to install it on a common PC because I have a HP-9000 with HP-UX 10.x and I have to learn Unix.
Yo nunca he trabajado con Unix, yo tengo la experiencia en la administración de Sistema operativo de Windows.
I have looked for... (3 Replies)
Ok i want to learn a programming language just to fool around with and such. Eventually going to try to customize an OS to what i want it to be. What is the best programming language to start out with? Also where can i get information on that for beginners. Any info, and if possible reasons why... (3 Replies)
Hi,
Apologies if this question has been asked before.
I would like to know which language is better to learn in terms of programming in unix? is C dying out and being replaced by C++ or is it a combination of the 2 or just mainly C?
Thanks
C19 (2 Replies)
Hello friends. I am new to Unix although i am very flexible to any programming language. i was a window user. Now, no more. I have decided myself to switch to unix.
Here is my problem:
I burned the free BSD into my new RW CD's. I inserted the bootable manager first then, it was scanning and... (5 Replies)
Hello to all Gurus out there,
Could you show me a source code in Unix platform using C language. I want to read the status or voltage level of the DSR and CTS.
Thanks a lot,
Swing5 (2 Replies)
Hello fellow programmers!:)
First of all excuse me for my English, i am from abroad...
I am trying to learn the C++ programming language as it is one of the most basic languages.So,instead of just creating small examples for each feature(like class,input/output etc), I decided to create a mini... (6 Replies)
I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm asking... (1 Reply)
I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm... (3 Replies)
Hello,
I'm a newbi to Unix and the last few weeks I have been trying to learn Unix through a book called Unix in 24 hours. I have tried advanced shell programming (that's what the chapter is called) today and what the excersise was all about was to create mylocate - a version of locate that is... (1 Reply)