project_files/hwc/rtl/Types.h
author Wuzzy <Wuzzy2@mail.ru>
Fri, 09 Mar 2018 19:05:59 +0100
changeset 13145 5083fb0a2992
parent 10015 4feced261c68
permissions -rw-r--r--
A Classic Fairytale: Harden all missions against missing campaign variables in team file and assume default values This assumes the worst case in which the team file is missing all campaign variables except Progress. This has been successfully tested with all 10 missions and still generates a logical storyline. By default, the game assumes: - The cyborg's offer in mission 2 was refused - The traitor in mission 5 was killed As a consequence, missions 8 and 10 use the princessScene cut scene.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10015
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     1
#ifndef _TYPES_H_
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     2
#define _TYPES_H_
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     3
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     4
#include "pas2c.h"
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     5
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     6
/*
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     7
 * Not very useful currently
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     8
 */
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
     9
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    10
typedef double TDate;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    11
typedef double TTime;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    12
typedef double TDateTime;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    13
typedef string255 TMonthNameArray[13];
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    14
typedef string255 TWeekNameArray[8];
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    15
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    16
typedef struct {
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    17
    Byte CurrencyFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    18
    Byte NegCurrFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    19
    Char ThousandSeparator;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    20
    Char DecimalSeparator;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    21
    Byte CurrencyDecimals;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    22
    Char DateSeparator;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    23
    Char TimeSeparator;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    24
    Char ListSeparator;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    25
    string255 CurrencyString;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    26
    string255 ShortDateFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    27
    string255 LongDateFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    28
    string255 TimeAMString;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    29
    string255 TimePMString;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    30
    string255 ShortTimeFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    31
    string255 LongTimeFormat;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    32
    TMonthNameArray ShortMonthNames;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    33
    TMonthNameArray LongMonthNames;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    34
    TWeekNameArray ShortDayNames;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    35
    TWeekNameArray LongDayNames;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    36
    Word TwoDigitYearCenturyWindow;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    37
}TFormatSettings;
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    38
4feced261c68 partial merge of the webgl branch
koda
parents: 8047
diff changeset
    39
#endif