project_files/hwc/rtl/Types.h
author koda
Tue, 21 Jan 2014 22:38:13 +0100
changeset 10015 4feced261c68
parent 8047 25a4daa6473c
permissions -rw-r--r--
partial merge of the webgl branch This commit contains the new pas2c conversion tool, the pascal to c build structure and the opengl2 rendering backend. Patch reviewed by unC0Rr.
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