mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@645 3b4a5df2-a311-0410-b5c6-a8a6f20db521
61 lines
2.1 KiB
C
61 lines
2.1 KiB
C
#ifndef __LANGUAGE_DEFINES_H
|
|
#define __LANGUAGE_DEFINES_H
|
|
|
|
#pragma once
|
|
|
|
/* ============================================================================
|
|
* ONLY ONE OF THESE LANGUAGES CAN BE DEFINED AT A TIME!
|
|
* BUT now You can define it _here_ by uncommenting one _or_ (better):
|
|
* You can comment them all out and then set it _global_ in "Preprocessor
|
|
* options" (do it for ALL projects in the workspace and both debug & release)
|
|
* _or_
|
|
* give it do Your MAKEFILE, f.i. make ENGLISH, but keep in mind that some
|
|
* weird make tools will require 'make ENGLISH=1' instead
|
|
*
|
|
* using one of the two later methods will keep this SVN file unchanged for the
|
|
* future, only Your private project files (workspace/solution) will differ
|
|
* from the SVN stuff.
|
|
* (2006-10-10, Sergeant_Kolja)
|
|
*/
|
|
|
|
#if !defined(ENGLISH) && !defined(GERMAN) && !defined(RUSSIAN) && !defined(DUTCH) && !defined(POLISH)
|
|
/* please set one manually here (by uncommenting) if not willingly to set Workspace wide */
|
|
#define ENGLISH
|
|
//#define GERMAN
|
|
//#define RUSSIAN
|
|
//#define DUTCH
|
|
//#define POLISH
|
|
#endif
|
|
|
|
|
|
|
|
/* ====================================================================
|
|
* Regardless of if we did it Workspace wide or by uncommenting above,
|
|
* HERE we must see, what language was selected. If one, we
|
|
*/
|
|
#if defined(ENGLISH)
|
|
# pragma message(" (Language set to ENGLISH, You'll need english CDs)")
|
|
#elif defined(GERMAN)
|
|
# pragma message(" (Language set to GERMAN, You'll need Topware/german CDs)")
|
|
#elif defined(RUSSIAN)
|
|
# pragma message(" (Language set to RUSSIAN, You'll need russian CDs)")
|
|
#elif defined(DUTCH)
|
|
# pragma message(" (Language set to DUTCH, You'll need dutch CDs)")
|
|
#elif defined(POLISH)
|
|
# pragma message(" (Language set to POLISH, You'll need polish CDs)")
|
|
#else
|
|
# error "At least You have to specify a Language somewhere. See comments above."
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define BLOOD_N_GORE_ENABLED
|
|
|
|
//if the language represents words as single chars
|
|
#ifdef TAIWAN
|
|
#define SINGLE_CHAR_WORDS
|
|
#endif
|
|
|
|
#endif |