project_files/hwc/rtl/Types.h
author Wuzzy <Wuzzy2@mail.ru>
Sun, 12 May 2019 04:16:40 +0200
changeset 14920 06af4f0a92bd
parent 10015 4feced261c68
permissions -rw-r--r--
Fix Birdy being drawn behind hogs and other gears (bug #453)

#ifndef _TYPES_H_
#define _TYPES_H_

#include "pas2c.h"

/*
 * Not very useful currently
 */

typedef double TDate;
typedef double TTime;
typedef double TDateTime;
typedef string255 TMonthNameArray[13];
typedef string255 TWeekNameArray[8];

typedef struct {
    Byte CurrencyFormat;
    Byte NegCurrFormat;
    Char ThousandSeparator;
    Char DecimalSeparator;
    Byte CurrencyDecimals;
    Char DateSeparator;
    Char TimeSeparator;
    Char ListSeparator;
    string255 CurrencyString;
    string255 ShortDateFormat;
    string255 LongDateFormat;
    string255 TimeAMString;
    string255 TimePMString;
    string255 ShortTimeFormat;
    string255 LongTimeFormat;
    TMonthNameArray ShortMonthNames;
    TMonthNameArray LongMonthNames;
    TWeekNameArray ShortDayNames;
    TWeekNameArray LongDayNames;
    Word TwoDigitYearCenturyWindow;
}TFormatSettings;

#endif