equal
deleted
inserted
replaced
6 #include "map.h" |
6 #include "map.h" |
7 #include "tile.h" |
7 #include "tile.h" |
8 |
8 |
9 #define VARDEF |
9 #define VARDEF |
10 #include "ttd.h" |
10 #include "ttd.h" |
|
11 #include "mixer.h" |
11 #include "spritecache.h" |
12 #include "spritecache.h" |
12 #include "gfx.h" |
13 #include "gfx.h" |
13 #include "gui.h" |
14 #include "gui.h" |
14 #include "station.h" |
15 #include "station.h" |
15 #include "vehicle.h" |
16 #include "vehicle.h" |
624 InitializeDynamicVariables(); |
625 InitializeDynamicVariables(); |
625 |
626 |
626 // Sample catalogue |
627 // Sample catalogue |
627 DEBUG(misc, 1) ("Loading sound effects..."); |
628 DEBUG(misc, 1) ("Loading sound effects..."); |
628 _os_version = GetOSVersion(); |
629 _os_version = GetOSVersion(); |
629 MxInitialize(11025, "sample.cat"); |
630 MxInitialize(11025); |
|
631 SoundInitialize("sample.cat"); |
630 |
632 |
631 // This must be done early, since functions use the InvalidateWindow* calls |
633 // This must be done early, since functions use the InvalidateWindow* calls |
632 InitWindowSystem(); |
634 InitWindowSystem(); |
633 |
635 |
634 GfxLoadSprites(); |
636 GfxLoadSprites(); |