forked from rosebudai/OpenRCT2-Web
Merge branch 'develop' into random-map
Conflicts: projects/openrct2.vcxproj.user
This commit is contained in:
commit
647d9a42a5
26 files changed
+560
-497
No files matched your search
@@ -2722,24 +2722,24 @@ STR_2716 :/
|
||||
STR_2717 :'
|
||||
STR_2718 :???
|
||||
STR_2719 :???
|
||||
STR_2720 :???
|
||||
STR_2721 :???
|
||||
STR_2722 :???
|
||||
STR_2723 :???
|
||||
STR_2724 :???
|
||||
STR_2725 :???
|
||||
STR_2726 :???
|
||||
STR_2727 :???
|
||||
STR_2728 :???
|
||||
STR_2729 :???
|
||||
STR_2730 :???
|
||||
STR_2731 :???
|
||||
STR_2732 :???
|
||||
STR_2733 :???
|
||||
STR_2734 :???
|
||||
STR_2735 :???
|
||||
STR_2736 :???
|
||||
STR_2737 :???
|
||||
STR_2720 :{UINT16}sec
|
||||
STR_2721 :{UINT16}secs
|
||||
STR_2722 :{UINT16}min:{UINT16}sec
|
||||
STR_2723 :{UINT16}min:{UINT16}secs
|
||||
STR_2724 :{UINT16}mins:{UINT16}sec
|
||||
STR_2725 :{UINT16}mins:{UINT16}secs
|
||||
STR_2726 :{UINT16}min
|
||||
STR_2727 :{UINT16}mins
|
||||
STR_2728 :{UINT16}hour:{UINT16}min
|
||||
STR_2729 :{UINT16}hour:{UINT16}mins
|
||||
STR_2730 :{UINT16}hours:{UINT16}min
|
||||
STR_2731 :{UINT16}hours:{UINT16}mins
|
||||
STR_2732 :{COMMA16}ft
|
||||
STR_2733 :{COMMA16}m
|
||||
STR_2734 :{COMMA16}mph
|
||||
STR_2735 :{COMMA16}km/h
|
||||
STR_2736 :{MONTH}, Year {COMMA16}
|
||||
STR_2737 :{STRINGID} {MONTH}, Year {COMMA16}
|
||||
STR_2738 :Title screen music
|
||||
STR_2739 :None
|
||||
STR_2740 :RollerCoaster Tycoon 1
|
||||
|
||||
@@ -2722,24 +2722,24 @@ STR_2716 :/
|
||||
STR_2717 :'
|
||||
STR_2718 :???
|
||||
STR_2719 :???
|
||||
STR_2720 :???
|
||||
STR_2721 :???
|
||||
STR_2722 :???
|
||||
STR_2723 :???
|
||||
STR_2724 :???
|
||||
STR_2725 :???
|
||||
STR_2726 :???
|
||||
STR_2727 :???
|
||||
STR_2728 :???
|
||||
STR_2729 :???
|
||||
STR_2730 :???
|
||||
STR_2731 :???
|
||||
STR_2732 :???
|
||||
STR_2733 :???
|
||||
STR_2734 :???
|
||||
STR_2735 :???
|
||||
STR_2736 :???
|
||||
STR_2737 :???
|
||||
STR_2720 :{UINT16}sec
|
||||
STR_2721 :{UINT16}secs
|
||||
STR_2722 :{UINT16}min:{UINT16}sec
|
||||
STR_2723 :{UINT16}min:{UINT16}secs
|
||||
STR_2724 :{UINT16}mins:{UINT16}sec
|
||||
STR_2725 :{UINT16}mins:{UINT16}secs
|
||||
STR_2726 :{UINT16}min
|
||||
STR_2727 :{UINT16}mins
|
||||
STR_2728 :{UINT16}hour:{UINT16}min
|
||||
STR_2729 :{UINT16}hour:{UINT16}mins
|
||||
STR_2730 :{UINT16}hours:{UINT16}min
|
||||
STR_2731 :{UINT16}hours:{UINT16}mins
|
||||
STR_2732 :{COMMA16}ft
|
||||
STR_2733 :{COMMA16}m
|
||||
STR_2734 :{COMMA16}mph
|
||||
STR_2735 :{COMMA16}km/h
|
||||
STR_2736 :{MONTH}, Year {COMMA16}
|
||||
STR_2737 :{STRINGID} {MONTH}, Year {COMMA16}
|
||||
STR_2738 :Title screen music
|
||||
STR_2739 :None
|
||||
STR_2740 :RollerCoaster Tycoon 1
|
||||
|
||||
+195
-176
@@ -983,28 +983,30 @@ STR_0973 :OK
|
||||
STR_0974 :Atrakcje
|
||||
STR_0975 :Sklepy
|
||||
STR_0976 :Toalety i Punkty Informacyjne
|
||||
# ------------------------------------------ Polish end
|
||||
STR_0977 :New Transport Rides
|
||||
STR_0978 :New Gentle Rides
|
||||
STR_0979 :New Roller Coasters
|
||||
STR_0980 :New Thrill Rides
|
||||
STR_0981 :New Water Rides
|
||||
STR_0982 :New Shops & Stalls
|
||||
STR_0983 :Research & Development
|
||||
STR_0977 :Nowa atrakcja transportowa
|
||||
STR_0978 :Nowa łagodna atrakcja
|
||||
STR_0979 :Nowa kolejka górska
|
||||
STR_0980 :Nowa intensywna atrakcja
|
||||
STR_0981 :Nowa wodna atrakcja
|
||||
STR_0982 :Nowy sklep lub stoisko
|
||||
STR_0983 :Badania i rozwój
|
||||
STR_0984 :{WINDOW_COLOUR_2}{UP}{BLACK} {CURRENCY2DP}
|
||||
STR_0985 :{WINDOW_COLOUR_2}{DOWN}{BLACK} {CURRENCY2DP}
|
||||
STR_0986 :{BLACK}{CURRENCY2DP}
|
||||
# ------------------------------------------ Polish end
|
||||
STR_0987 :Too many rides/attractions
|
||||
STR_0988 :Can't create new ride/attraction...
|
||||
STR_0989 :{STRINGID}
|
||||
STR_0990 :{SMALLFONT}{BLACK}Construction
|
||||
STR_0991 :Station platform
|
||||
STR_0992 :{SMALLFONT}{BLACK}Demolish entire ride/attraction
|
||||
STR_0993 :Demolish ride/attraction
|
||||
STR_0994 :Demolish
|
||||
STR_0995 :{WINDOW_COLOUR_1}Are you sure you want to completely demolish {STRINGID}?
|
||||
STR_0996 :Overall view
|
||||
STR_0997 :{SMALLFONT}{BLACK}View selection
|
||||
# ------------------------------------------ Polish start
|
||||
STR_0992 :{SMALLFONT}{BLACK}Zniszcz całą atrakcję
|
||||
STR_0993 :Zniszcz atrakcję
|
||||
STR_0994 :Zniszcz
|
||||
STR_0995 :{WINDOW_COLOUR_1}Jesteś pewien, że chcesz zniszczyć {STRINGID}?
|
||||
STR_0996 :Widok ogólny
|
||||
STR_0997 :{SMALLFONT}{BLACK}Wybór widoku
|
||||
# ------------------------------------------ Polish end
|
||||
STR_0998 :No more stations allowed on this ride
|
||||
STR_0999 :Requires a station platform
|
||||
STR_1000 :Track is not a complete circuit
|
||||
@@ -1015,13 +1017,15 @@ STR_1004 :Can't close {POP16}{POP16}{POP16}{STRINGID}...
|
||||
STR_1005 :Can't start construction on {POP16}{POP16}{POP16}{STRINGID}...
|
||||
STR_1006 :Must be closed first
|
||||
STR_1007 :Unable to create enough vehicles
|
||||
STR_1008 :{SMALLFONT}{BLACK}Open, close, or test ride/attraction
|
||||
STR_1009 :{SMALLFONT}{BLACK}Open or close all rides/attractions
|
||||
STR_1010 :{SMALLFONT}{BLACK}Open or close park
|
||||
STR_1011 :Close all
|
||||
STR_1012 :Open all
|
||||
STR_1013 :Close park
|
||||
STR_1014 :Open park
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1008 :{SMALLFONT}{BLACK}Otwórz, zamknij lub testuj atrakcję
|
||||
STR_1009 :{SMALLFONT}{BLACK}Otwórz / zamknij wszystkie atrakcje
|
||||
STR_1010 :{SMALLFONT}{BLACK}Otwórz / zamknij park
|
||||
STR_1011 :Zamknij wszystkie
|
||||
STR_1012 :Otwórz wszystkie
|
||||
STR_1013 :Zamknij park
|
||||
STR_1014 :Otwórz park
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1015 :Unable to operate with more than one station platform in this mode
|
||||
STR_1016 :Unable to operate with less than two stations in this mode
|
||||
STR_1017 :Can't change operating mode...
|
||||
@@ -1043,27 +1047,29 @@ STR_1032 :Can only build this on water!
|
||||
STR_1033 :Can only build this above ground!
|
||||
STR_1034 :Can only build this on land!
|
||||
STR_1035 :Local authority won't allow construction above tree-height!
|
||||
STR_1036 :Load Game
|
||||
STR_1037 :Load Landscape
|
||||
STR_1038 :Convert saved game to scenario
|
||||
STR_1039 :Install new track design
|
||||
STR_1040 :Save Game
|
||||
STR_1041 :Save Scenario
|
||||
STR_1042 :Save Landscape
|
||||
STR_1043 :RollerCoaster Tycoon 2 Saved Game
|
||||
STR_1044 :RollerCoaster Tycoon 2 Scenario File
|
||||
STR_1045 :RollerCoaster Tycoon 2 Landscape File
|
||||
STR_1046 :RollerCoaster Tycoon 2 Track Design File
|
||||
STR_1047 :Game save failed!
|
||||
STR_1048 :Scenario save failed!
|
||||
STR_1049 :Landscape save failed!
|
||||
STR_1050 :Failed to load...{NEWLINE}File contains invalid data!
|
||||
STR_1051 :Invisible Supports
|
||||
STR_1052 :Invisible People
|
||||
STR_1053 :{SMALLFONT}{BLACK}Rides/attractions in park
|
||||
STR_1054 :{SMALLFONT}{BLACK}Name ride/attraction
|
||||
STR_1055 :{SMALLFONT}{BLACK}Name person
|
||||
STR_1056 :{SMALLFONT}{BLACK}Name staff member
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1036 :Wczytaj grę
|
||||
STR_1037 :Wczytaj krajobraz
|
||||
STR_1038 :Przekonwertuj zapis gry do scenariusza
|
||||
STR_1039 :Dodaj nowy projekt trasy
|
||||
STR_1040 :Zapisz grę
|
||||
STR_1041 :Zapisz scenariusz
|
||||
STR_1042 :Zapisz krajobraz
|
||||
STR_1043 :Zapis gry RollerCoaster Tycoon 2
|
||||
STR_1044 :Scenariusz RollerCoaster Tycoon 2
|
||||
STR_1045 :Krajobrazu RollerCoaster Tycoon 2
|
||||
STR_1046 :Projekt trasy RollerCoaster Tycoon 2
|
||||
STR_1047 :Zapis gry nieudany!
|
||||
STR_1048 :Zapis scenariusza nieudany!
|
||||
STR_1049 :Zapis krajobrazu nieudany!
|
||||
STR_1050 :Nie udało się wczytać...{NEWLINE}Plik zawiera błędne dane!
|
||||
STR_1051 :Przezroczyste wsporniki
|
||||
STR_1052 :Przezroczyści ludzie
|
||||
STR_1053 :{SMALLFONT}{BLACK}Atrakcje w parku
|
||||
STR_1054 :{SMALLFONT}{BLACK}Nazwij atrakcję
|
||||
STR_1055 :{SMALLFONT}{BLACK}Nazwij osobę
|
||||
STR_1056 :{SMALLFONT}{BLACK}Nazwij pracownika
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1057 :Ride/attraction name
|
||||
STR_1058 :Enter new name for this ride/attraction:
|
||||
STR_1059 :Can't rename ride/attraction...
|
||||
@@ -1155,25 +1161,25 @@ STR_1144 :Can't build/move entrance for this ride/attraction...
|
||||
STR_1145 :Can't build/move exit for this ride/attraction...
|
||||
STR_1146 :Entrance not yet built
|
||||
STR_1147 :Exit not yet built
|
||||
STR_1148 :Quarter load
|
||||
STR_1149 :Half load
|
||||
STR_1150 :Three-quarter load
|
||||
STR_1151 :Full load
|
||||
STR_1152 :Any load
|
||||
STR_1153 :Height Marks on Ride Tracks
|
||||
STR_1154 :Height Marks on Land
|
||||
STR_1155 :Height Marks on Paths
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1148 :25% zapełnienia
|
||||
STR_1149 :50% zapełnienia
|
||||
STR_1150 :70% zapełnienia
|
||||
STR_1151 :100% zapełnienia
|
||||
STR_1152 :dowolne zapełnienie
|
||||
STR_1153 :Znaczniki wysokości torów
|
||||
STR_1154 :Znaczniki wysokości terenu
|
||||
STR_1155 :Znaczniki wysokości chodników
|
||||
STR_1156 :{MOVE_X}{SMALLFONT}{STRINGID}
|
||||
STR_1157 :{TICK}{MOVE_X}{SMALLFONT}{STRINGID}
|
||||
STR_1158 :Can't remove this...
|
||||
STR_1159 :{SMALLFONT}{BLACK}Place scenery, gardens, and other accessories
|
||||
STR_1160 :{SMALLFONT}{BLACK}Create/adjust lakes & water
|
||||
STR_1161 :Can't position this here...
|
||||
STR_1158 :Nie można tego usunąć...
|
||||
STR_1159 :{SMALLFONT}{BLACK}Buduj scenerię, ogrody i inne akcesoria
|
||||
STR_1160 :{SMALLFONT}{BLACK}Twórz i zmieniaj obszary wodne
|
||||
STR_1161 :Nie można tego tu umieścić...
|
||||
STR_1162 :{OUTLINE}{TOPAZ}{STRINGID}
|
||||
STR_1163 :{STRINGID}{NEWLINE}(Right-Click to Modify)
|
||||
STR_1164 :{STRINGID}{NEWLINE}(Right-Click to Remove)
|
||||
STR_1163 :{STRINGID}{NEWLINE}(Kliknij PPM by zmodyfikować)
|
||||
STR_1164 :{STRINGID}{NEWLINE}(Kliknij PPM by usunąć)
|
||||
STR_1165 :{STRINGID} - {STRINGID} {COMMA16}
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1166 :Nie można tu obniżyć poziomu wody...
|
||||
STR_1167 :Nie można tu podnieść poziomu wody...
|
||||
STR_1168 :Opcje
|
||||
@@ -1214,21 +1220,21 @@ STR_1202 :1 osoba w kolejce
|
||||
STR_1203 :{COMMA16} osób w kolejce
|
||||
STR_1204 :{COMMA16} minuta czekania
|
||||
STR_1205 :{COMMA16} minut czekania
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1206 :{WINDOW_COLOUR_2}Wait for:
|
||||
STR_1207 :{WINDOW_COLOUR_2}Leave if another train arrives at station
|
||||
STR_1208 :{WINDOW_COLOUR_2}Leave if another boat arrives at station
|
||||
STR_1209 :{SMALLFONT}{BLACK}Select whether should wait for passengers before departing
|
||||
STR_1210 :{SMALLFONT}{BLACK}Select whether should leave if another vehicle arrives at the same station
|
||||
STR_1211 :{WINDOW_COLOUR_2}Minimum waiting time:
|
||||
STR_1212 :{WINDOW_COLOUR_2}Maximum waiting time:
|
||||
STR_1213 :{SMALLFONT}{BLACK}Select minimum length of time to wait before departing
|
||||
STR_1214 :{SMALLFONT}{BLACK}Select maximum length of time to wait before departing
|
||||
STR_1215 :{WINDOW_COLOUR_2}Synchronize with adjacent stations
|
||||
STR_1216 :{SMALLFONT}{BLACK}Select whether to synchronize departure with all adjacent stations (for 'racing')
|
||||
STR_1217 :{COMMA16} seconds
|
||||
STR_1206 :{WINDOW_COLOUR_2}Czekaj na:
|
||||
STR_1207 :{WINDOW_COLOUR_2}Wyrusz, gdy inna kolejka trafi na tą samą stację
|
||||
STR_1208 :{WINDOW_COLOUR_2}Wyrusz, gdy inna łódka trafi na tą samą stację
|
||||
STR_1209 :{SMALLFONT}{BLACK}Ustal, czy pojazdy powinny czekać na pasażerów przed wyruszeniem ze stacji
|
||||
STR_1210 :{SMALLFONT}{BLACK}Ustal, czy pojazdy powinny wyruszać ze stacj gdy tylko inny pojazd dotrze do tej samej stacji
|
||||
STR_1211 :{WINDOW_COLOUR_2}Minimalny czas oczekiwania:
|
||||
STR_1212 :{WINDOW_COLOUR_2}Maksymalny czas oczekiwania:
|
||||
STR_1213 :{SMALLFONT}{BLACK}Wybierz minimalny czas oczekiwania na stacji przed wyruszeniem
|
||||
STR_1214 :{SMALLFONT}{BLACK}Wybierz maksymalny czas oczekiwania na stacji przed wyruszeniem
|
||||
STR_1215 :{WINDOW_COLOUR_2}Synchronizuj z sąsiadującymi stacjami
|
||||
STR_1216 :{SMALLFONT}{BLACK}Wybierz, czy kolejki mają synchronizować start z innymi stacjami (dla 'wyścigów')
|
||||
STR_1217 :{COMMA16} sekund
|
||||
STR_1218 :{BLACK}{SMALLUP}
|
||||
STR_1219 :{BLACK}{SMALLDOWN}
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1220 :Exit only
|
||||
STR_1221 :No entrance
|
||||
STR_1222 :No exit
|
||||
@@ -1666,20 +1672,22 @@ STR_1650 :{SMALLFONT}{OPENQUOTES}Wow! A new ride being built!{ENDQUOTES}
|
||||
STR_1651 :{SMALLFONT}{OPENQUOTES}Nice ride! But not as good as the Phoenix...{ENDQUOTES}
|
||||
STR_1652 :{SMALLFONT}{OPENQUOTES}I'm so excited - It's an Intamin ride!{ENDQUOTES}
|
||||
STR_1653 :{SMALLFONT}{OPENQUOTES}...and here we are on {STRINGID}!{ENDQUOTES}
|
||||
STR_1654 :{WINDOW_COLOUR_2}Recent thoughts:
|
||||
STR_1655 :{SMALLFONT}{BLACK}Construct footpath on land
|
||||
STR_1656 :{SMALLFONT}{BLACK}Construct bridge or tunnel footpath
|
||||
STR_1657 :{WINDOW_COLOUR_2}Preferred ride
|
||||
STR_1658 :{WINDOW_COLOUR_2}intensity: {BLACK}less than {COMMA16}
|
||||
STR_1659 :{WINDOW_COLOUR_2}intensity: {BLACK}between {COMMA16} and {COMMA16}
|
||||
STR_1660 :{WINDOW_COLOUR_2}intensity: {BLACK}more than {COMMA16}
|
||||
STR_1661 :{WINDOW_COLOUR_2}Nausea tolerance: {BLACK}{STRINGID}
|
||||
STR_1662 :{WINDOW_COLOUR_2}Happiness:
|
||||
STR_1663 :{WINDOW_COLOUR_2}Nausea:
|
||||
STR_1664 :{WINDOW_COLOUR_2}Energy:
|
||||
STR_1665 :{WINDOW_COLOUR_2}Hunger:
|
||||
STR_1666 :{WINDOW_COLOUR_2}Thirst:
|
||||
STR_1667 :{WINDOW_COLOUR_2}Bathroom:
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1654 :{WINDOW_COLOUR_2}Ostatnie myśli:
|
||||
STR_1655 :{SMALLFONT}{BLACK}Buduj ścieżki na ziemi
|
||||
STR_1656 :{SMALLFONT}{BLACK}Buduj ścieżki w powietrzu lub pod ziemią
|
||||
STR_1657 :{WINDOW_COLOUR_2}Preferowana
|
||||
STR_1658 :{WINDOW_COLOUR_2}intensywność: {BLACK}poniżej {COMMA16}
|
||||
STR_1659 :{WINDOW_COLOUR_2}intensywność: {BLACK}między {COMMA16} a {COMMA16}
|
||||
STR_1660 :{WINDOW_COLOUR_2}intensywność: {BLACK}powyżej {COMMA16}
|
||||
STR_1661 :{WINDOW_COLOUR_2}Odporność na mdłości: {BLACK}{STRINGID}
|
||||
STR_1662 :{WINDOW_COLOUR_2}Szczęście:
|
||||
STR_1663 :{WINDOW_COLOUR_2}Mdłości:
|
||||
STR_1664 :{WINDOW_COLOUR_2}Energia:
|
||||
STR_1665 :{WINDOW_COLOUR_2}Głód:
|
||||
STR_1666 :{WINDOW_COLOUR_2}Pragnienie:
|
||||
STR_1667 :{WINDOW_COLOUR_2}Pęcherz:
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1668 :{WINDOW_COLOUR_2}Satisfaction: {BLACK}Unknown
|
||||
STR_1669 :{WINDOW_COLOUR_2}Satisfaction: {BLACK}{COMMA16}%
|
||||
STR_1670 :{WINDOW_COLOUR_2}Total customers: {BLACK}{COMMA32}
|
||||
@@ -1840,48 +1848,51 @@ STR_1822 :{WINDOW_COLOUR_2}Guests thinking about {POP16}{STRINGID}
|
||||
STR_1823 :{SMALLFONT}{BLACK}Show guests' thoughts about this ride/attraction
|
||||
STR_1824 :{SMALLFONT}{BLACK}Show guests on this ride/attraction
|
||||
STR_1825 :{SMALLFONT}{BLACK}Show guests queuing for this ride/attraction
|
||||
STR_1826 :Status
|
||||
STR_1827 :Popularity
|
||||
STR_1828 :Satisfaction
|
||||
STR_1829 :Profit
|
||||
STR_1830 :Queue length
|
||||
STR_1831 :Queue time
|
||||
STR_1832 :Reliability
|
||||
STR_1833 :Down-time
|
||||
STR_1834 :Guests favorite
|
||||
STR_1835 :Popularity: Unknown
|
||||
STR_1836 :Popularity: {COMMA16}%
|
||||
STR_1837 :Satisfaction: Unknown
|
||||
STR_1838 :Satisfaction: {COMMA16}%
|
||||
STR_1839 :Reliability: {COMMA16}%
|
||||
STR_1840 :Down-time: {COMMA16}%
|
||||
STR_1841 :Profit: {CURRENCY} per hour
|
||||
STR_1842 :Favorite of: {COMMA16} guest
|
||||
STR_1843 :Favorite of: {COMMA16} guests
|
||||
STR_1844 :{SMALLFONT}{BLACK}Select information type to show in ride/attraction list
|
||||
# ------------------------------------------ Polish start
|
||||
STR_1826 :Stan
|
||||
STR_1827 :Popularność
|
||||
STR_1828 :Satysfakcja
|
||||
STR_1829 :Zysk
|
||||
STR_1830 :Długość kolejki
|
||||
STR_1831 :Czas w kolejce
|
||||
STR_1832 :Niezawodność
|
||||
STR_1833 :Przestoje
|
||||
STR_1834 :Ulubieniec gości
|
||||
STR_1835 :Popularność: Nieznana
|
||||
STR_1836 :Popularność: {COMMA16}%
|
||||
STR_1837 :Satysfakcja: Nieznana
|
||||
STR_1838 :Satysfakcja: {COMMA16}%
|
||||
STR_1839 :Niezawodność: {COMMA16}%
|
||||
STR_1840 :Przestoje w pracy: {COMMA16}%
|
||||
STR_1841 :Zysk: {CURRENCY} per hour
|
||||
STR_1842 :Ulubiony dla: {COMMA16} gościa
|
||||
STR_1843 :Ulubiony dla: {COMMA16} gości
|
||||
STR_1844 :{SMALLFONT}{BLACK}Wybierz rodzaj informacji do pokazania
|
||||
STR_1845 :{MONTHYEAR}
|
||||
STR_1846 :{COMMA16} guests
|
||||
STR_1847 :{INLINE_SPRITE}{11}{20}{00}{00}{COMMA16} guests
|
||||
STR_1848 :{INLINE_SPRITE}{10}{20}{00}{00}{COMMA16} guests
|
||||
STR_1849 :{WINDOW_COLOUR_2}Play music
|
||||
STR_1850 :{SMALLFONT}{BLACK}Select whether music should be played for this ride
|
||||
STR_1851 :{WINDOW_COLOUR_2}Running cost: {BLACK}{CURRENCY2DP} per hour
|
||||
STR_1852 :{WINDOW_COLOUR_2}Running cost: {BLACK}Unknown
|
||||
STR_1853 :{WINDOW_COLOUR_2}Built: {BLACK}This Year
|
||||
STR_1854 :{WINDOW_COLOUR_2}Built: {BLACK}Last Year
|
||||
STR_1855 :{WINDOW_COLOUR_2}Built: {BLACK}{COMMA16} Years Ago
|
||||
STR_1856 :{WINDOW_COLOUR_2}Profit per item sold: {BLACK}{CURRENCY2DP}
|
||||
STR_1857 :{WINDOW_COLOUR_2}Loss per item sold: {BLACK}{CURRENCY2DP}
|
||||
STR_1858 :{WINDOW_COLOUR_2}Cost: {BLACK}{CURRENCY} per month
|
||||
STR_1859 :Handymen
|
||||
STR_1860 :Mechanics
|
||||
STR_1861 :Security Guards
|
||||
STR_1862 :Entertainers
|
||||
STR_1863 :Handyman
|
||||
STR_1864 :Mechanic
|
||||
STR_1865 :Security Guard
|
||||
STR_1866 :Entertainer
|
||||
STR_1846 :{COMMA16} gości
|
||||
STR_1847 :{INLINE_SPRITE}{11}{20}{00}{00}{COMMA16} gości
|
||||
STR_1848 :{INLINE_SPRITE}{10}{20}{00}{00}{COMMA16} gości
|
||||
STR_1849 :{WINDOW_COLOUR_2}Graj muzykę
|
||||
STR_1850 :{SMALLFONT}{BLACK}Wybierz, czy w tej atrakcji może grać muzyka
|
||||
STR_1851 :{WINDOW_COLOUR_2}Koszty utrzymania: {BLACK}{CURRENCY2DP} na godzinę
|
||||
STR_1852 :{WINDOW_COLOUR_2}Koszty utrzymania: {BLACK}Nieznane
|
||||
STR_1853 :{WINDOW_COLOUR_2}Zbudowany: {BLACK}W tym roku
|
||||
STR_1854 :{WINDOW_COLOUR_2}Zbudowany: {BLACK}W zeszłym roku
|
||||
STR_1855 :{WINDOW_COLOUR_2}Zbudowany: {BLACK}{COMMA16} lat temu
|
||||
STR_1856 :{WINDOW_COLOUR_2}Zysk na sztuce: {BLACK}{CURRENCY2DP}
|
||||
STR_1857 :{WINDOW_COLOUR_2}Strata na sztuce: {BLACK}{CURRENCY2DP}
|
||||
# could be "pensja" but I'm not sure if it's used outside of staff window
|
||||
STR_1858 :{WINDOW_COLOUR_2}Koszt: {BLACK}{CURRENCY} miesięcznie
|
||||
STR_1859 :dozorcy
|
||||
STR_1860 :mechanicy
|
||||
STR_1861 :strażnicy
|
||||
STR_1862 :klauni
|
||||
STR_1863 :dozorca
|
||||
STR_1864 :mechanik
|
||||
STR_1865 :strażnik
|
||||
STR_1866 :klaun
|
||||
STR_1867 :{BLACK}{COMMA16} {STRINGID}
|
||||
# ------------------------------------------ Polish end
|
||||
STR_1868 :Can't change number of rotations...
|
||||
STR_1869 :{WINDOW_COLOUR_2}Number of rotations:
|
||||
STR_1870 :{SMALLFONT}{BLACK}Number of complete rotations
|
||||
@@ -2273,7 +2284,7 @@ STR_2252 :Można budować tylko w poprzek chodników!
|
||||
STR_2253 :Transport
|
||||
STR_2254 :Łagodne atrakcje
|
||||
STR_2255 :Kolejki górskie
|
||||
STR_2256 :Mocne atrakcje
|
||||
STR_2256 :Intensywne atrakcje
|
||||
STR_2257 :Wodne atrakcje
|
||||
STR_2258 :Sklepy i stoiska
|
||||
STR_2259 :Scenerie i dekoracje
|
||||
@@ -2298,7 +2309,7 @@ STR_2277 :Nieznany
|
||||
STR_2278 :Transport
|
||||
STR_2279 :Łagodne atrakcje
|
||||
STR_2280 :Kolejki górskie
|
||||
STR_2281 :Mocne atrakcje
|
||||
STR_2281 :Intensywne atrakcje
|
||||
STR_2282 :Wodne atrakcje
|
||||
STR_2283 :Sklepy i stoiska
|
||||
STR_2284 :Scenerie i dekoracje
|
||||
@@ -2309,20 +2320,22 @@ STR_2288 :Nieznane
|
||||
STR_2289 :{STRINGID} {STRINGID}
|
||||
STR_2290 :{SMALLFONT}{BLACK}{STRINGID} {STRINGID}
|
||||
STR_2291 :Wybierz scenariusz dla nowej gry
|
||||
STR_2292 :{WINDOW_COLOUR_2}Odwiedzone atrakcje:
|
||||
STR_2293 :{BLACK} Nic
|
||||
# ------------------------------------------ Polish end
|
||||
STR_2292 :{WINDOW_COLOUR_2}Rides been on:
|
||||
STR_2293 :{BLACK} Nothing
|
||||
STR_2294 :{SMALLFONT}{BLACK}Change base land style
|
||||
STR_2295 :{SMALLFONT}{BLACK}Change vertical edges of land
|
||||
STR_2296 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} paid to enter park
|
||||
STR_2297 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} ride
|
||||
STR_2298 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} rides
|
||||
STR_2299 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} item of food
|
||||
STR_2300 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} items of food
|
||||
STR_2301 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} drink
|
||||
STR_2302 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} drinks
|
||||
STR_2303 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} souvenir
|
||||
STR_2304 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} spent on {BLACK}{COMMA16} souvenirs
|
||||
# ------------------------------------------ Polish start
|
||||
STR_2296 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na wejście do parku
|
||||
STR_2297 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} atrakcji
|
||||
STR_2298 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} atrakcjach
|
||||
STR_2299 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} posiłku
|
||||
STR_2300 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} posiłkach
|
||||
STR_2301 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} napoju
|
||||
STR_2302 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} napojach
|
||||
STR_2303 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} pamiątce
|
||||
STR_2304 :{BLACK}{CURRENCY2DP}{WINDOW_COLOUR_2} wydane na {BLACK}{COMMA16} pamiątkach
|
||||
# ------------------------------------------ Polish end
|
||||
STR_2305 :Track design files
|
||||
STR_2306 :Save track design
|
||||
STR_2307 :Select {STRINGID} design
|
||||
@@ -2367,18 +2380,16 @@ STR_2344 :Imperialne
|
||||
STR_2345 :Metryczne
|
||||
STR_2346 :Grafika
|
||||
STR_2347 :{RED}{STRINGID} utonął!
|
||||
# ------------------------------------------ Polish end
|
||||
STR_2348 :{SMALLFONT}{BLACK}Show statistics for this staff member
|
||||
STR_2349 :{WINDOW_COLOUR_2}Wages: {BLACK}{CURRENCY} per month
|
||||
STR_2350 :{WINDOW_COLOUR_2}Employed: {BLACK}{MONTHYEAR}
|
||||
STR_2351 :{WINDOW_COLOUR_2}Lawns mown: {BLACK}{COMMA16}
|
||||
STR_2352 :{WINDOW_COLOUR_2}Gardens watered: {BLACK}{COMMA16}
|
||||
STR_2353 :{WINDOW_COLOUR_2}Litter swept: {BLACK}{COMMA16}
|
||||
STR_2354 :{WINDOW_COLOUR_2}Bins emptied: {BLACK}{COMMA16}
|
||||
STR_2355 :{WINDOW_COLOUR_2}Rides fixed: {BLACK}{COMMA16}
|
||||
STR_2356 :{WINDOW_COLOUR_2}Rides inspected: {BLACK}{COMMA16}
|
||||
STR_2357 :House
|
||||
# ------------------------------------------ Polish start
|
||||
STR_2348 :{SMALLFONT}{BLACK}Pokaż statystyki tego pracownika
|
||||
STR_2349 :{WINDOW_COLOUR_2}Pensja: {BLACK}{CURRENCY} miesięcznie
|
||||
STR_2350 :{WINDOW_COLOUR_2}Zatrudniony: {BLACK}{MONTHYEAR}
|
||||
STR_2351 :{WINDOW_COLOUR_2}Skoszone trawniki: {BLACK}{COMMA16}
|
||||
STR_2352 :{WINDOW_COLOUR_2}Podlane ogrody: {BLACK}{COMMA16}
|
||||
STR_2353 :{WINDOW_COLOUR_2}Sprzątnięte śmieci: {BLACK}{COMMA16}
|
||||
STR_2354 :{WINDOW_COLOUR_2}Opróżnione kosze: {BLACK}{COMMA16}
|
||||
STR_2355 :{WINDOW_COLOUR_2}Naprawione atrakcje: {BLACK}{COMMA16}
|
||||
STR_2356 :{WINDOW_COLOUR_2}Skontrolowane atrakcje: {BLACK}{COMMA16}
|
||||
STR_2357 :Dom
|
||||
STR_2358 :Jednostki
|
||||
STR_2359 :Prawdziwe wartości
|
||||
STR_2360 :{WINDOW_COLOUR_2}Rozdzielczość:
|
||||
@@ -2744,30 +2755,36 @@ STR_2716 :/
|
||||
STR_2717 :'
|
||||
STR_2718 :???
|
||||
STR_2719 :???
|
||||
STR_2720 :???
|
||||
STR_2721 :???
|
||||
STR_2722 :???
|
||||
STR_2723 :???
|
||||
STR_2724 :???
|
||||
STR_2725 :???
|
||||
STR_2726 :???
|
||||
STR_2727 :???
|
||||
STR_2728 :???
|
||||
STR_2729 :???
|
||||
STR_2730 :???
|
||||
STR_2731 :???
|
||||
STR_2732 :???
|
||||
STR_2733 :???
|
||||
STR_2734 :???
|
||||
STR_2735 :???
|
||||
STR_2736 :???
|
||||
STR_2737 :???
|
||||
STR_2738 :???
|
||||
STR_2739 :???
|
||||
STR_2740 :???
|
||||
STR_2741 :???
|
||||
STR_2742 :???
|
||||
STR_2743 :???
|
||||
# New strings (previously these were ???)
|
||||
# sec, secs
|
||||
STR_2720 :{UINT16}sek
|
||||
STR_2721 :{UINT16}sek
|
||||
# min+sec, min+secs, mins+sec, mins+secs
|
||||
STR_2722 :{UINT16}min:{UINT16}sek
|
||||
STR_2723 :{UINT16}min:{UINT16}sek
|
||||
STR_2724 :{UINT16}min:{UINT16}sek
|
||||
STR_2725 :{UINT16}min:{UINT16}sek
|
||||
# min, mins
|
||||
STR_2726 :{UINT16}min
|
||||
STR_2727 :{UINT16}min
|
||||
# hour+min, hour+mins, hours+min, hours+mins
|
||||
STR_2728 :{UINT16}godz:{UINT16}min
|
||||
STR_2729 :{UINT16}godz:{UINT16}min
|
||||
STR_2730 :{UINT16}godz:{UINT16}min
|
||||
STR_2731 :{UINT16}godz:{UINT16}min
|
||||
STR_2732 :{COMMA16}ft
|
||||
STR_2733 :{COMMA16}m
|
||||
STR_2734 :{COMMA16}mph
|
||||
STR_2735 :{COMMA16}km/h
|
||||
STR_2736 :{MONTH}, Rok {COMMA16}
|
||||
STR_2737 :{STRINGID} {MONTH}, Rok {COMMA16}
|
||||
STR_2738 :Muzyka tytułowa
|
||||
STR_2739 :Brak
|
||||
STR_2740 :RollerCoaster Tycoon 1
|
||||
STR_2741 :RollerCoaster Tycoon 2
|
||||
STR_2742 :Nie znaleziono css50.dat
|
||||
STR_2743 :Przekopiuj data\css17.dat z folderu RCT1 do data\css50.dat folderu instalacji RCT2.
|
||||
# End of new strings
|
||||
STR_2744 :[
|
||||
STR_2745 :\
|
||||
STR_2746 :]
|
||||
@@ -3137,9 +3154,11 @@ STR_3103 :Can't re-paint this...
|
||||
STR_3104 :{SMALLFONT}{BLACK}List rides
|
||||
STR_3105 :{SMALLFONT}{BLACK}List shops and stalls
|
||||
STR_3106 :{SMALLFONT}{BLACK}List information kiosks and other guest facilities
|
||||
STR_3107 :Close
|
||||
STR_3108 :Test
|
||||
STR_3109 :Open
|
||||
# ------------------------------------------ Polish start
|
||||
STR_3107 :Zamknij
|
||||
STR_3108 :Testuj
|
||||
STR_3109 :Otwórz
|
||||
# ------------------------------------------ Polish end
|
||||
STR_3110 :{WINDOW_COLOUR_2}Block Sections: {BLACK}{COMMA16}
|
||||
STR_3111 :{SMALLFONT}{BLACK}Click on design to build it
|
||||
STR_3112 :{SMALLFONT}{BLACK}Click on design to rename or delete it
|
||||
|
||||
@@ -7,12 +7,10 @@
|
||||
<LocalDebuggerCommand>$(TargetDir)\openrct2.exe</LocalDebuggerCommand>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
|
||||
<LocalDebuggerCommandArguments>edit</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LocalDebuggerCommand>$(TargetDir)\openrct2.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>edit</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
+7
-5
@@ -397,12 +397,10 @@
|
||||
|
||||
#define RCT2_ADDRESS_COMMON_STRING_FORMAT_BUFFER 0x0141ED68
|
||||
|
||||
#define RCT2_ADDRESS_AUDIO_INFO 0x01425B40
|
||||
#define RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE 0x0141F56C
|
||||
|
||||
#define RCT2_ADDRESS_SOUND_CHANNEL_LIST 0x014262E0
|
||||
|
||||
#define RCT2_ADDRESS_WATER_RAISE_COST 0x0141F738
|
||||
#define RCT2_ADDRESS_WATER_LOWER_COST 0x0141F73C
|
||||
#define RCT2_ADDRESS_WATER_RAISE_COST 0x0141F738
|
||||
#define RCT2_ADDRESS_WATER_LOWER_COST 0x0141F73C
|
||||
|
||||
#define RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_1 0x0141F740
|
||||
#define RCT2_ADDRESS_CURRENT_WINDOW_COLOUR_2 0x0141F741
|
||||
@@ -493,6 +491,10 @@
|
||||
|
||||
#define RCT2_ADDRESS_INPUT_QUEUE 0x01424340
|
||||
|
||||
#define RCT2_ADDRESS_AUDIO_INFO 0x01425B40
|
||||
|
||||
#define RCT2_ADDRESS_SOUND_CHANNEL_LIST 0x014262E0
|
||||
|
||||
#define RCT2_ADDRESS_COMMON_FORMAT_ARGS 0x013CE952
|
||||
|
||||
#define RCT2_ADDRESS_STAFF_MODE_ARRAY 0x013CA672
|
||||
|
||||
+27
-70
@@ -436,7 +436,7 @@ int game_do_command_p(int command, int *eax, int *ebx, int *ecx, int *edx, int *
|
||||
//
|
||||
if (!(flags & 0x20)) {
|
||||
// Update money balance
|
||||
finance_payment(cost, RCT2_GLOBAL(0x0141F56C, uint8));
|
||||
finance_payment(cost, RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) / 4);
|
||||
if (RCT2_GLOBAL(0x0141F568, uint8) == RCT2_GLOBAL(0x013CA740, uint8)) {
|
||||
// Create a +/- money text effect
|
||||
if (cost != 0)
|
||||
@@ -465,18 +465,9 @@ int game_do_command_p(int command, int *eax, int *ebx, int *ecx, int *edx, int *
|
||||
*
|
||||
* rct2: 0x00667C15
|
||||
*/
|
||||
void game_pause_toggle()
|
||||
void game_pause_toggle(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp)
|
||||
{
|
||||
char input_bl;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov input_bl, bl
|
||||
#else
|
||||
__asm__ ( "mov %[input_bl], bl " : [input_bl] "+m" (input_bl) );
|
||||
#endif
|
||||
|
||||
|
||||
if (input_bl & 1) {
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_GAME_PAUSED, uint32) ^= 1;
|
||||
window_invalidate_by_class(WC_TOP_TOOLBAR);
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_GAME_PAUSED, uint32) & 1)
|
||||
@@ -484,64 +475,30 @@ void game_pause_toggle()
|
||||
else
|
||||
unpause_sounds();
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov ebx, 0
|
||||
#else
|
||||
__asm__ ( "mov ebx, 0 " );
|
||||
#endif
|
||||
|
||||
*ebx = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x0066DB5F
|
||||
*/
|
||||
static void game_load_or_quit()
|
||||
static void game_load_or_quit(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp)
|
||||
{
|
||||
char input_bl, input_dl;
|
||||
short input_di;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov input_bl, bl
|
||||
#else
|
||||
__asm__ ( "mov %[input_bl], bl " : [input_bl] "+m" (input_bl) );
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov input_dl, dl
|
||||
#else
|
||||
__asm__ ( "mov %[input_dl], dl " : [input_dl] "+m" (input_dl) );
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov input_di, di
|
||||
#else
|
||||
__asm__ ( "mov %[input_di], di " : [input_di] "+m" (input_di) );
|
||||
#endif
|
||||
|
||||
if (!(input_bl & 1))
|
||||
return; // 0;
|
||||
|
||||
switch (input_dl) {
|
||||
case 0:
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SAVE_PROMPT_MODE, uint16) = input_di;
|
||||
window_save_prompt_open();
|
||||
break;
|
||||
case 1:
|
||||
window_close_by_class(WC_SAVE_PROMPT);
|
||||
break;
|
||||
default:
|
||||
game_load_or_quit_no_save_prompt();
|
||||
break;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
switch (*edx & 0xFF) {
|
||||
case 0:
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SAVE_PROMPT_MODE, uint16) = *edi & 0xFF;
|
||||
window_save_prompt_open();
|
||||
break;
|
||||
case 1:
|
||||
window_close_by_class(WC_SAVE_PROMPT);
|
||||
break;
|
||||
default:
|
||||
game_load_or_quit_no_save_prompt();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov ebx, 0
|
||||
#else
|
||||
__asm__ ( "mov ebx, 0 " );
|
||||
#endif
|
||||
|
||||
*ebx = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -861,10 +818,10 @@ void game_load_or_quit_no_save_prompt()
|
||||
static uint32 game_do_command_table[58] = {
|
||||
0x006B2FC5,
|
||||
0x0066397F,
|
||||
(uint32)game_pause_toggle,
|
||||
0,
|
||||
0x006C511D,
|
||||
0x006C5B69,
|
||||
(uint32)game_load_or_quit,
|
||||
0,
|
||||
0x006B3F0F,
|
||||
0x006B49D9,
|
||||
0x006B4EA6,
|
||||
@@ -898,8 +855,8 @@ static uint32 game_do_command_table[58] = {
|
||||
0x006666E7,
|
||||
0,
|
||||
0x006CD8CE,
|
||||
(uint32)game_command_set_park_entrance_fee,
|
||||
(uint32)game_command_update_staff_colour, // 40
|
||||
0,
|
||||
0, // 40
|
||||
0x006E519A,
|
||||
0x006E5597,
|
||||
0x006B893C,
|
||||
@@ -924,10 +881,10 @@ void game_command_emptysub(int* eax, int* ebx, int* ecx, int* edx, int* esi, int
|
||||
static GAME_COMMAND_POINTER* new_game_command_table[58] = {
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_pause_toggle,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_load_or_quit,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
@@ -961,8 +918,8 @@ static GAME_COMMAND_POINTER* new_game_command_table[58] = {
|
||||
game_command_emptysub,
|
||||
game_command_remove_park_entrance,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub, // 40
|
||||
game_command_set_park_entrance_fee,
|
||||
game_command_update_staff_colour, // 40
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
game_command_emptysub,
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ void game_reduce_game_speed();
|
||||
|
||||
void game_load_or_quit_no_save_prompt();
|
||||
int game_load_save(const char *path);
|
||||
void game_pause_toggle();
|
||||
void game_pause_toggle(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
char save_game();
|
||||
void rct2_exit();
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ typedef struct rct_window {
|
||||
};
|
||||
sint16 page; // 0x48A
|
||||
sint16 var_48C;
|
||||
sint16 frame_no; // 0x48E updated every tic for motion in windows sprites
|
||||
uint16 frame_no; // 0x48E updated every tic for motion in windows sprites
|
||||
uint16 list_information_type; // 0x490 0 for none, Used as current position of marquee in window_peep
|
||||
sint16 var_492;
|
||||
uint32 var_494;
|
||||
|
||||
@@ -343,6 +343,84 @@ void format_currency_2dp(char **dest, long long value)
|
||||
}
|
||||
}
|
||||
|
||||
void format_date(char **dest, uint16 value)
|
||||
{
|
||||
uint16 args[] = { date_get_month(value), date_get_year(value) + 1 };
|
||||
uint16 *argsRef = args;
|
||||
format_string_part(dest, 2736, (char**)&argsRef);
|
||||
(*dest)--;
|
||||
}
|
||||
|
||||
void format_length(char **dest, uint16 value)
|
||||
{
|
||||
rct_string_id stringId = 2733;
|
||||
|
||||
if (gGeneral_config.measurement_format == MEASUREMENT_FORMAT_IMPERIAL) {
|
||||
value = metres_to_feet(value);
|
||||
stringId--;
|
||||
}
|
||||
|
||||
uint16 *argRef = &value;
|
||||
format_string_part(dest, stringId, (char**)&argRef);
|
||||
}
|
||||
|
||||
void format_velocity(char **dest, uint16 value)
|
||||
{
|
||||
rct_string_id stringId = 2734;
|
||||
|
||||
if (gGeneral_config.measurement_format == MEASUREMENT_FORMAT_METRIC) {
|
||||
value = mph_to_kmph(value);
|
||||
stringId++;
|
||||
}
|
||||
|
||||
uint16 *argRef = &value;
|
||||
format_string_part(dest, stringId, (char**)&argRef);
|
||||
}
|
||||
|
||||
void format_duration(char **dest, uint16 value)
|
||||
{
|
||||
uint16 minutes = value / 60;
|
||||
uint16 seconds = value % 60;
|
||||
uint16 args[] = { minutes, seconds };
|
||||
uint16 *argsRef = &args[1];
|
||||
rct_string_id stringId = 2720;
|
||||
|
||||
if (minutes > 0) {
|
||||
stringId += 2;
|
||||
if (minutes != 1)
|
||||
stringId += 2;
|
||||
|
||||
argsRef--;
|
||||
}
|
||||
|
||||
if (seconds != 1)
|
||||
stringId++;
|
||||
|
||||
format_string_part(dest, stringId, (char**)&argsRef);
|
||||
}
|
||||
|
||||
void format_realtime(char **dest, uint16 value)
|
||||
{
|
||||
uint16 hours = value / 60;
|
||||
uint16 minutes = value % 60;
|
||||
uint16 args[] = { hours, minutes };
|
||||
uint16 *argsRef = &args[1];
|
||||
rct_string_id stringId = 2726;
|
||||
|
||||
if (hours > 0) {
|
||||
stringId += 2;
|
||||
if (hours != 1)
|
||||
stringId += 2;
|
||||
|
||||
argsRef--;
|
||||
}
|
||||
|
||||
if (minutes != 1)
|
||||
stringId++;
|
||||
|
||||
format_string_part(dest, stringId, (char**)&argsRef);
|
||||
}
|
||||
|
||||
void format_string_code(unsigned char format_code, char **dest, char **args)
|
||||
{
|
||||
int value;
|
||||
@@ -419,13 +497,7 @@ void format_string_code(unsigned char format_code, char **dest, char **args)
|
||||
value = *((uint16*)*args);
|
||||
*args += 2;
|
||||
|
||||
uint16 dateArgs[] = { date_get_month(value), date_get_year(value) + 1 };
|
||||
uint16 *dateArgs2 = dateArgs;
|
||||
char formatString[] = "?, Year ?";
|
||||
formatString[0] = FORMAT_MONTH;
|
||||
formatString[8] = FORMAT_COMMA16;
|
||||
format_string_part_from_raw(dest, formatString, (char**)&dateArgs2);
|
||||
(*dest)--;
|
||||
format_date(dest, value);
|
||||
break;
|
||||
case FORMAT_MONTH:
|
||||
// Pop argument
|
||||
@@ -440,15 +512,7 @@ void format_string_code(unsigned char format_code, char **dest, char **args)
|
||||
value = *((sint16*)*args);
|
||||
*args += 2;
|
||||
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CONFIG_METRIC, uint8)) {
|
||||
format_comma_separated_integer(dest, mph_to_kmph(value));
|
||||
strcpy(*dest, "kmh");
|
||||
*dest += strlen(*dest);
|
||||
} else {
|
||||
format_comma_separated_integer(dest, value);
|
||||
strcpy(*dest, "mph");
|
||||
*dest += strlen(*dest);
|
||||
}
|
||||
format_velocity(dest, value);
|
||||
break;
|
||||
case FORMAT_POP16:
|
||||
*args += 2;
|
||||
@@ -461,45 +525,21 @@ void format_string_code(unsigned char format_code, char **dest, char **args)
|
||||
value = *((uint16*)*args);
|
||||
*args += 2;
|
||||
|
||||
if (value / 60 > 0) {
|
||||
format_integer(dest, value / 60);
|
||||
strcpy(*dest, value / 60 == 1 ? "min:" : "mins:");
|
||||
*dest += strlen(*dest);
|
||||
}
|
||||
|
||||
format_integer(dest, value % 60);
|
||||
strcpy(*dest, value % 60 == 1 ? "sec" : "secs");
|
||||
*dest += strlen(*dest);
|
||||
format_duration(dest, value);
|
||||
break;
|
||||
case FORMAT_REALTIME:
|
||||
// Pop argument
|
||||
value = *((uint16*)*args);
|
||||
*args += 2;
|
||||
|
||||
if (value / 60 > 0) {
|
||||
format_integer(dest, value / 60);
|
||||
strcpy(*dest, value / 60 == 1 ? "hour:" : "hours:");
|
||||
*dest += strlen(*dest);
|
||||
}
|
||||
|
||||
format_integer(dest, value % 60);
|
||||
strcpy(*dest, value % 60 == 1 ? "min" : "mins");
|
||||
*dest += strlen(*dest);
|
||||
format_realtime(dest, value);
|
||||
break;
|
||||
case FORMAT_LENGTH:
|
||||
// Pop argument
|
||||
value = *((sint16*)*args);
|
||||
*args += 2;
|
||||
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CONFIG_METRIC, uint8)) {
|
||||
format_comma_separated_integer(dest, value);
|
||||
strcpy(*dest, "m");
|
||||
*dest += strlen(*dest);
|
||||
} else {
|
||||
format_comma_separated_integer(dest, metres_to_feet(value));
|
||||
strcpy(*dest, "ft");
|
||||
*dest += strlen(*dest);
|
||||
}
|
||||
format_length(dest, value);
|
||||
break;
|
||||
case FORMAT_SPRITE:
|
||||
// Pop argument
|
||||
|
||||
@@ -44,6 +44,8 @@ const money32 research_cost_table[4] = {
|
||||
MONEY(400,00) // Maximum funding
|
||||
};
|
||||
|
||||
int dword_988E60[] = { 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0 };
|
||||
|
||||
/**
|
||||
* Pay an amount of money.
|
||||
* rct2: 0x069C674
|
||||
@@ -58,7 +60,7 @@ void finance_payment(money32 amount, rct_expenditure_type type)
|
||||
//overflow check
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONEY_ENCRYPTED, sint32) = ENCRYPT_MONEY(new_money);
|
||||
RCT2_ADDRESS(RCT2_ADDRESS_EXPENDITURE_TABLE, money32)[type] -= amount;
|
||||
if (RCT2_ADDRESS(0x00988E60, uint32)[type] & 1)
|
||||
if (dword_988E60[type] & 1)
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_EXPENDITURE, money32) -= amount; // Cumulative amount of money spent this day
|
||||
|
||||
|
||||
@@ -133,7 +135,7 @@ void finance_pay_ride_upkeep()
|
||||
if (upkeep != -1) {
|
||||
ride->total_profit -= upkeep;
|
||||
ride->var_14D |= 2;
|
||||
finance_payment(upkeep, RCT2_EXPENDITURE_TYPE_RIDE_UPKEEP);
|
||||
finance_payment(upkeep, RCT_EXPENDITURE_TYPE_RIDE_RUNNING_COSTS);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -268,7 +270,7 @@ void game_command_set_current_loan(int* eax, int* ebx, int* ecx, int* edx, int*
|
||||
money = DECRYPT_MONEY(RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONEY_ENCRYPTED, money32));
|
||||
loanDifference = currentLoan - newLoan;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 52;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_INTEREST * 4;
|
||||
if (newLoan > currentLoan) {
|
||||
if (newLoan > RCT2_GLOBAL(RCT2_ADDRESS_MAXIMUM_LOAN, money32)) {
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, uint16) = STR_BANK_REFUSES_TO_INCREASE_LOAN;
|
||||
|
||||
@@ -26,10 +26,20 @@
|
||||
typedef int rct_expenditure_type;
|
||||
|
||||
enum {
|
||||
RCT2_EXPENDITURE_TYPE_RIDE_UPKEEP = 1,
|
||||
RCT_EXPENDITURE_TYPE_WAGES = 10,
|
||||
RCT_EXPENDITURE_TYPE_RESEARCH = 12,
|
||||
RCT_EXPENDITURE_TYPE_INTEREST = 13
|
||||
RCT_EXPENDITURE_TYPE_RIDE_CONSRUCTION,
|
||||
RCT_EXPENDITURE_TYPE_RIDE_RUNNING_COSTS,
|
||||
RCT_EXPENDITURE_TYPE_LAND_PURCHASE,
|
||||
RCT_EXPENDITURE_TYPE_LANDSCAPING,
|
||||
RCT_EXPENDITURE_TYPE_PARK_ENTRANCE_TICKETS,
|
||||
RCT_EXPENDITURE_TYPE_PARK_RIDE_TICKETS,
|
||||
RCT_EXPENDITURE_TYPE_SHOP_SHOP_SALES,
|
||||
RCT_EXPENDITURE_TYPE_SHOP_STOCK,
|
||||
RCT_EXPENDITURE_TYPE_FOODDRINK_SALES,
|
||||
RCT_EXPENDITURE_TYPE_FOODDRINK_STOCK,
|
||||
RCT_EXPENDITURE_TYPE_WAGES,
|
||||
RCT_EXPENDITURE_TYPE_MARKETING,
|
||||
RCT_EXPENDITURE_TYPE_RESEARCH,
|
||||
RCT_EXPENDITURE_TYPE_INTEREST
|
||||
};
|
||||
|
||||
extern const money32 research_cost_table[4];
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "../game.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/finance.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "marketing.h"
|
||||
#include "news_item.h"
|
||||
@@ -152,7 +153,7 @@ void game_command_start_campaign(int* eax, int* ebx, int* ecx, int* edx, int* es
|
||||
int rideOrItem = (*edx >> 8) & 0xFF;
|
||||
int numWeeks = (*ebx >> 8) & 0xFF;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 44;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_MARKETING * 4;
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_PARK_FLAGS, uint32) & PARK_FLAGS_FORBID_MARKETING_CAMPAIGN) {
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, uint16) = 3048;
|
||||
*ebx = MONEY32_UNDEFINED;
|
||||
|
||||
@@ -22,10 +22,11 @@
|
||||
#include "../game.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/date.h"
|
||||
#include "../management/finance.h"
|
||||
#include "../scenario.h"
|
||||
#include "../world/scenery.h"
|
||||
#include "news_item.h"
|
||||
#include "research.h"
|
||||
#include "../scenario.h"
|
||||
|
||||
const int _researchRate[] = { 0, 160, 250, 400 };
|
||||
|
||||
@@ -344,7 +345,7 @@ void game_command_set_research_funding(int* eax, int* ebx, int* ecx, int* edx, i
|
||||
int fundingAmount = *edx;
|
||||
int activeCategories = *edx;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 48;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_RESEARCH * 4;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
if (!setPriorities)
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_RESEARCH_LEVEL, uint8) = fundingAmount;
|
||||
|
||||
+43
-24
@@ -426,7 +426,6 @@ void peep_update_falling(rct_peep* peep){
|
||||
}
|
||||
|
||||
// If not drowning then falling. Note: peeps 'fall' after leaving a ride/enter the park.
|
||||
|
||||
rct_map_element *map_element = map_get_first_element_at(peep->x / 32, peep->y / 32);
|
||||
rct_map_element *saved_map = NULL;
|
||||
int saved_height = 0;
|
||||
@@ -892,7 +891,7 @@ static void peep_update_emptying_bin(rct_peep* peep){
|
||||
|
||||
rct_scenery_entry* scenery_entry = g_pathBitSceneryEntries[(map_element->properties.path.additions & 0xF) - 1];
|
||||
if (
|
||||
!(scenery_entry->small_scenery.flags & SMALL_SCENERY_FLAG1)
|
||||
!(scenery_entry->path_bit.var_06 & 1)
|
||||
|| map_element->flags & (1 << 5)
|
||||
|| map_element->properties.path.additions & (1 << 7)
|
||||
) {
|
||||
@@ -900,7 +899,7 @@ static void peep_update_emptying_bin(rct_peep* peep){
|
||||
return;
|
||||
}
|
||||
|
||||
map_element->properties.path.addition_status = ((3 << peep->var_37) << peep->var_37);
|
||||
map_element->properties.path.addition_status |= ((3 << peep->var_37) << peep->var_37);
|
||||
|
||||
gfx_invalidate_scrollingtext(peep->next_x, peep->next_y, map_element->base_height * 8, map_element->clearance_height * 8);
|
||||
|
||||
@@ -1230,19 +1229,19 @@ static int peep_update_walking_find_bin(rct_peep* peep){
|
||||
|
||||
uint8 chosen_edge = scenario_rand() & 0x3;
|
||||
|
||||
//ecx
|
||||
uint8 addition_status = map_element->properties.path.addition_status;
|
||||
// Note: Bin qunatity is inverted 0 = full, 3 = empty
|
||||
uint8 bin_quantities = map_element->properties.path.addition_status;
|
||||
|
||||
chosen_edge = ror8(ror8(addition_status, chosen_edge),chosen_edge);
|
||||
|
||||
|
||||
// Rotate the bin to the correct edge. Makes it easier for next calc.
|
||||
bin_quantities = ror8(ror8(bin_quantities, chosen_edge), chosen_edge);
|
||||
|
||||
for (uint8 free_edge = 4; free_edge != 0; free_edge--){
|
||||
if (addition_status & 0x3){
|
||||
// If not full
|
||||
if (bin_quantities & 0x3){
|
||||
if (edges&(1 << chosen_edge))break;
|
||||
}
|
||||
chosen_edge = (chosen_edge + 1) & 0x3;
|
||||
addition_status = ror8(addition_status, 2);
|
||||
bin_quantities = ror8(bin_quantities, 2);
|
||||
if ((free_edge - 1) == 0) return 0;
|
||||
}
|
||||
|
||||
@@ -1431,6 +1430,8 @@ static void peep_update_buying(rct_peep* peep)
|
||||
|
||||
/* rct2: 0x00691089 */
|
||||
static void peep_update_using_bin(rct_peep* peep){
|
||||
//RCT2_CALLPROC_X(0x0691089, 0, 0, 0, 0, peep, 0, 0);
|
||||
//return;
|
||||
if (peep->sub_state == 0){
|
||||
if (!sub_68F3AE(peep))return;
|
||||
|
||||
@@ -1479,17 +1480,28 @@ static void peep_update_using_bin(rct_peep* peep){
|
||||
return;
|
||||
}
|
||||
|
||||
uint8 edge = 0x3 & (map_element->properties.path.addition_status >> (peep->var_37 * 2));
|
||||
if (map_element->properties.path.additions & 0x80){
|
||||
peep_state_reset(peep);
|
||||
return;
|
||||
}
|
||||
|
||||
// Bin selection is one of 4 corners
|
||||
uint8 selected_bin = peep->var_37 * 2;
|
||||
|
||||
// This counts down 2 = No rubbish, 0 = full
|
||||
uint8 rubbish_in_bin = 0x3 & (map_element->properties.path.addition_status >> selected_bin);
|
||||
uint32 empty_containers = peep_empty_container_standard_flag(peep);
|
||||
|
||||
for (uint8 cur_container = 0; cur_container < 32; cur_container++){
|
||||
if (!(empty_containers & (1 << cur_container))) continue;
|
||||
|
||||
if (edge != 0){
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_TICKS, uint32) & 7) edge--;
|
||||
if (rubbish_in_bin != 0){
|
||||
// OpenRCT2 modification: This previously used
|
||||
// the tick count as a simple random function
|
||||
// switched to scenario_rand as it is more reliable
|
||||
if (scenario_rand() & 7) rubbish_in_bin--;
|
||||
peep->item_standard_flags &= ~(1 << cur_container);
|
||||
peep->var_45 |= 8;
|
||||
|
||||
RCT2_CALLPROC_X(0x0069B8CC, 0, 0, 0, 0, (int)peep, 0, 0);
|
||||
continue;
|
||||
}
|
||||
@@ -1506,14 +1518,18 @@ static void peep_update_using_bin(rct_peep* peep){
|
||||
RCT2_CALLPROC_X(0x0069B8CC, 0, 0, 0, 0, (int)peep, 0, 0);
|
||||
}
|
||||
|
||||
edge = 0x3 & (map_element->properties.path.addition_status >> (peep->var_37 * 2));
|
||||
// Original bug: This would clear any rubbish placed by the previous function
|
||||
//rubbish_in_bin = 0x3 & (map_element->properties.path.addition_status >> selected_bin);
|
||||
empty_containers = peep_empty_container_extra_flag(peep);
|
||||
|
||||
for (uint8 cur_container = 0; cur_container < 32; cur_container++){
|
||||
if (!(empty_containers & (1 << cur_container))) continue;
|
||||
|
||||
if (edge != 0){
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_TICKS, uint32) & 7) edge--;
|
||||
if (rubbish_in_bin != 0){
|
||||
// OpenRCT2 modification: This previously used
|
||||
// the tick count as a simple random function
|
||||
// switched to scenario_rand as it is more reliable
|
||||
if (scenario_rand() & 7) rubbish_in_bin--;
|
||||
peep->item_extra_flags &= ~(1 << cur_container);
|
||||
peep->var_45 |= 8;
|
||||
|
||||
@@ -1533,9 +1549,10 @@ static void peep_update_using_bin(rct_peep* peep){
|
||||
RCT2_CALLPROC_X(0x0069B8CC, 0, 0, 0, 0, (int)peep, 0, 0);
|
||||
}
|
||||
|
||||
edge <<= peep->var_37 * 2;
|
||||
map_element->properties.path.addition_status &= ~(3 << (peep->var_37 * 2));
|
||||
map_element->properties.path.addition_status |= edge;
|
||||
// Place new amount in bin by first clearing the value
|
||||
map_element->properties.path.addition_status &= ~(3 << selected_bin);
|
||||
// Then placeing the new value.
|
||||
map_element->properties.path.addition_status |= rubbish_in_bin << selected_bin;
|
||||
|
||||
gfx_invalidate_scrollingtext(peep->next_x, peep->next_y, map_element->base_height << 3, map_element->clearance_height << 3);
|
||||
peep_state_reset(peep);
|
||||
@@ -2606,14 +2623,16 @@ static int peep_has_empty_container(rct_peep* peep){
|
||||
static int peep_should_find_bench(rct_peep* peep){
|
||||
if (!(peep->flags & PEEP_FLAGS_LEAVING_PARK)){
|
||||
if (peep_has_food(peep)){
|
||||
if (peep->hunger > 128 && peep->happiness > 128){
|
||||
return 0;
|
||||
if (peep->hunger < 128 || peep->happiness < 128){
|
||||
if (!(peep->next_var_29 & 0x1C)){
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (peep->nausea <= 170 || peep->energy > 50){
|
||||
if (peep->nausea <= 170 && peep->energy > 50){
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
if (!(peep->next_var_29 & 0x1C)){
|
||||
return 1;
|
||||
}
|
||||
|
||||
+22
-50
@@ -28,38 +28,23 @@
|
||||
#include "staff.h"
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x00669E55
|
||||
*/
|
||||
void game_command_update_staff_colour()
|
||||
*
|
||||
* rct2: 0x00669E55
|
||||
*/
|
||||
void game_command_update_staff_colour(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp)
|
||||
{
|
||||
uint8 staff_type, colour, _bl;
|
||||
uint8 staffType, colour;
|
||||
int spriteIndex;
|
||||
rct_peep *peep;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov _bl, bl
|
||||
#else
|
||||
__asm__("mov %[_bl], bl " : [_bl] "+m" (_bl));
|
||||
#endif
|
||||
staffType = (*ebx >> 8) & 0xFF;
|
||||
colour = (*edx >> 8) & 0xFF;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov staff_type, bh
|
||||
#else
|
||||
__asm__("mov %[staff_type], bh " : [staff_type] "+m" (staff_type));
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov colour, dh
|
||||
#else
|
||||
__asm__("mov %[colour], bh " : [colour] "+m" (colour));
|
||||
#endif
|
||||
|
||||
if (_bl & 1) {
|
||||
RCT2_ADDRESS(RCT2_ADDRESS_HANDYMAN_COLOUR, uint8)[staff_type] = colour;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
RCT2_ADDRESS(RCT2_ADDRESS_HANDYMAN_COLOUR, uint8)[staffType] = colour;
|
||||
|
||||
FOR_ALL_PEEPS(spriteIndex, peep) {
|
||||
if (peep->type == PEEP_TYPE_STAFF && peep->staff_type == staff_type) {
|
||||
if (peep->type == PEEP_TYPE_STAFF && peep->staff_type == staffType) {
|
||||
peep->tshirt_colour = colour;
|
||||
peep->trousers_colour = colour;
|
||||
}
|
||||
@@ -67,25 +52,19 @@ void game_command_update_staff_colour()
|
||||
}
|
||||
|
||||
gfx_invalidate_screen();
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov ebx, 0
|
||||
#else
|
||||
__asm__("mov ebx, 0 ");
|
||||
#endif
|
||||
*ebx = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006BEFA1
|
||||
*/
|
||||
void game_command_hire_new_staff_member(int* eax, int* ebx, int* ecx, int* edx,
|
||||
int* esi, int* edi, int* ebp)
|
||||
*
|
||||
* rct2: 0x006BEFA1
|
||||
*/
|
||||
void game_command_hire_new_staff_member(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp)
|
||||
{
|
||||
uint8 _bl = *ebx & 0xFF, staff_type = (*ebx & 0xFF00) >> 8;
|
||||
uint16 _ax = *eax & 0xFFFF, _cx = *ecx & 0xFFFF, _dx = *edx & 0xFFFF;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 0x28;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_WAGES * 4;
|
||||
RCT2_GLOBAL(0x009DEA5E, uint16) = _ax;
|
||||
RCT2_GLOBAL(0x009DEA60, uint16) = _cx;
|
||||
RCT2_GLOBAL(0x009DEA62, uint16) = _dx;
|
||||
@@ -234,30 +213,23 @@ void game_command_hire_new_staff_member(int* eax, int* ebx, int* ecx, int* edx,
|
||||
|
||||
/*
|
||||
* Updates the colour of the given staff type.
|
||||
*/
|
||||
void update_staff_colour(uint8 staff_type, uint16 colour)
|
||||
*/
|
||||
void update_staff_colour(uint8 staffType, uint16 colour)
|
||||
{
|
||||
game_do_command(
|
||||
0,
|
||||
(staff_type << 8) + 1,
|
||||
0,
|
||||
(colour << 8) + 4,
|
||||
GAME_COMMAND_SET_STAFF_COLOUR,
|
||||
0,
|
||||
0);
|
||||
game_do_command(0, (staffType << 8) | GAME_COMMAND_FLAG_APPLY, 0, (colour << 8) | 4, GAME_COMMAND_SET_STAFF_COLOUR, 0, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Hires a new staff member of the given type. If the hire cannot be completed (eg. the maximum
|
||||
* number of staff is reached or there are too many people in the game) it returns 0xFFFF.
|
||||
*/
|
||||
uint16 hire_new_staff_member(uint8 staff_type)
|
||||
*/
|
||||
uint16 hire_new_staff_member(uint8 staffType)
|
||||
{
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_STRING_ID, uint16) = STR_CANT_HIRE_NEW_STAFF;
|
||||
|
||||
int eax, ebx, ecx, edx, esi, edi, ebp;
|
||||
eax = 0x8000;
|
||||
ebx = staff_type << 8 | 1;
|
||||
ebx = staffType << 8 | GAME_COMMAND_FLAG_APPLY;
|
||||
|
||||
int result = game_do_command_p(GAME_COMMAND_HIRE_NEW_STAFF_MEMBER, &eax, &ebx, &ecx, &edx, &esi, &edi, &ebp);
|
||||
|
||||
|
||||
+4
-4
@@ -40,11 +40,11 @@ enum STAFF_TYPE {
|
||||
STAFF_TYPE_ENTERTAINER
|
||||
};
|
||||
|
||||
void game_command_update_staff_colour();
|
||||
void game_command_hire_new_staff_member(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp);
|
||||
void game_command_update_staff_colour(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
void game_command_hire_new_staff_member(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
|
||||
void update_staff_colour(uint8 staff_type, uint16 color);
|
||||
uint16 hire_new_staff_member(uint8 staff_type);
|
||||
void update_staff_colour(uint8 staffType, uint16 color);
|
||||
uint16 hire_new_staff_member(uint8 staffType);
|
||||
void sub_6C0C3F();
|
||||
int mechanic_is_location_in_patrol(rct_peep *mechanic, int x, int y);
|
||||
|
||||
|
||||
+2
-1
@@ -26,6 +26,7 @@
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/date.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/finance.h"
|
||||
#include "../management/news_item.h"
|
||||
#include "../peep/peep.h"
|
||||
#include "../peep/staff.h"
|
||||
@@ -2713,7 +2714,7 @@ void game_command_set_ride_name(int *eax, int *ebx, int *ecx, int *edx, int *esi
|
||||
int rideIndex = (*ebx >> 8) & 0xFF;
|
||||
int nameChunkIndex = *eax & 0xFFFF;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 4;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_RIDE_RUNNING_COSTS * 4;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
int nameChunkOffset = nameChunkIndex - 1;
|
||||
if (nameChunkOffset < 0)
|
||||
|
||||
+73
-24
@@ -39,6 +39,8 @@
|
||||
#include "world/park.h"
|
||||
#include "world/sprite.h"
|
||||
|
||||
static int scenario_create_ducks();
|
||||
|
||||
/**
|
||||
* Loads only the basic information from a scenario.
|
||||
* rct2: 0x006761D6
|
||||
@@ -595,21 +597,24 @@ void scenario_update()
|
||||
|
||||
if ((current_days_in_month * next_month_tick) >> 16 != (current_days_in_month * month_tick) >> 16) {
|
||||
// daily checks
|
||||
finance_update_daily_profit(); // daily profit update
|
||||
finance_update_daily_profit();
|
||||
RCT2_CALLPROC_EBPSAFE(0x0069C35E); // some kind of peeps days_visited update loop
|
||||
get_local_time();
|
||||
RCT2_CALLPROC_EBPSAFE(0x0066A13C); // objective 6 dragging
|
||||
if (objective_type == 10 || objective_type == 9 || objective_type == 8 ||
|
||||
objective_type == 6 || objective_type == 5) {
|
||||
RCT2_CALLPROC_EBPSAFE(0x0066A13C); // objective 6 dragging
|
||||
switch (objective_type) {
|
||||
case OBJECTIVE_REPLAY_LOAN_AND_PARK_VALUE:
|
||||
case OBJECTIVE_FINISH_5_ROLLERCOASTERS:
|
||||
case OBJECTIVE_10_ROLLERCOASTERS_LENGTH:
|
||||
case OBJECTIVE_GUESTS_AND_RATING:
|
||||
case OBJECTIVE_10_ROLLERCOASTERS:
|
||||
scenario_objectives_check();
|
||||
break;
|
||||
}
|
||||
|
||||
window_invalidate_by_class(WC_BOTTOM_TOOLBAR);
|
||||
}
|
||||
|
||||
|
||||
//if ( (unsigned int)((4 * current_day) & 0xFFFF) >= 0xFFEFu) {
|
||||
if ( next_month_tick % 0x4000 == 0) {
|
||||
if (next_month_tick % 0x4000 == 0) {
|
||||
// weekly checks
|
||||
finance_pay_wages();
|
||||
finance_pay_research();
|
||||
@@ -620,18 +625,9 @@ void scenario_update()
|
||||
ride_update_favourited_stat();
|
||||
|
||||
if (month <= 1 && RCT2_GLOBAL(0x009ADAE0, sint32) != -1 && RCT2_GLOBAL(0x009ADAE0 + 14, uint16) & 1) {
|
||||
for (int i = 0; i < 100; ++i) {
|
||||
int carry;
|
||||
RCT2_CALLPROC_EBPSAFE(0x006744A9); // clears carry flag on failure -.-
|
||||
#ifdef _MSC_VER
|
||||
__asm mov carry, 0;
|
||||
__asm adc carry, 0;
|
||||
#else
|
||||
__asm__ ( "mov %[carry], 0; " : [carry] "+m" (carry) );
|
||||
__asm__ ( "adc %[carry], 0; " : [carry] "+m" (carry) );
|
||||
#endif
|
||||
|
||||
if (!carry)
|
||||
// 100 attempts at finding some water to create a few ducks at
|
||||
for (int i = 0; i < 100; i++) {
|
||||
if (scenario_create_ducks())
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -639,7 +635,6 @@ void scenario_update()
|
||||
park_calculate_size();
|
||||
}
|
||||
|
||||
//if ( (unsigned int)((2 * current_day) & 0xFFFF) >= 0xFFF8) {
|
||||
if (next_month_tick % 0x8000 == 0) {
|
||||
// fortnightly
|
||||
finance_pay_ride_upkeep();
|
||||
@@ -655,13 +650,67 @@ void scenario_update()
|
||||
scenario_entrance_fee_too_high_check();
|
||||
award_update_all();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E37D2
|
||||
*/
|
||||
*
|
||||
* rct2: 0x006744A9
|
||||
*/
|
||||
static int scenario_create_ducks()
|
||||
{
|
||||
int i, j, r, c, x, y, waterZ, centreWaterZ, x2, y2;
|
||||
|
||||
r = scenario_rand();
|
||||
x = ((r >> 16) & 0xFFFF) & 0x7F;
|
||||
y = (r & 0xFFFF) & 0x7F;
|
||||
x = (x + 64) * 32;
|
||||
y = (y + 64) * 32;
|
||||
|
||||
if (!map_is_location_in_park(x, y))
|
||||
return 0;
|
||||
|
||||
centreWaterZ = (map_element_height(x, y) >> 16) & 0xFFFF;
|
||||
if (centreWaterZ == 0)
|
||||
return 0;
|
||||
|
||||
// Check 7x7 area around centre tile
|
||||
x2 = x - (32 * 3);
|
||||
y2 = y - (32 * 3);
|
||||
c = 0;
|
||||
for (i = 0; i < 7; i++) {
|
||||
for (j = 0; j < 7; j++) {
|
||||
waterZ = (map_element_height(x2, y2) >> 16) & 0xFFFF;
|
||||
if (waterZ == centreWaterZ)
|
||||
c++;
|
||||
|
||||
x2 += 32;
|
||||
}
|
||||
x2 -= 224;
|
||||
y2 += 32;
|
||||
}
|
||||
|
||||
// Must be at least 25 water tiles of the same height in 7x7 area
|
||||
if (c < 25)
|
||||
return 0;
|
||||
|
||||
// Set x, y to the centre of the tile
|
||||
x += 16;
|
||||
y += 16;
|
||||
c = (scenario_rand() & 3) + 2;
|
||||
for (i = 0; i < c; i++) {
|
||||
r = scenario_rand();
|
||||
x2 = (r >> 16) & 0x7F;
|
||||
y2 = (r & 0xFFFF) & 0x7F;
|
||||
create_duck(x + x2 - 64, y + y2 - 64);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E37D2
|
||||
*/
|
||||
unsigned int scenario_rand()
|
||||
{
|
||||
int eax = RCT2_GLOBAL(RCT2_ADDRESS_SCENARIO_SRAND_0, uint32);
|
||||
|
||||
@@ -477,20 +477,16 @@ static void window_game_bottom_toolbar_draw_right_panel(rct_drawpixelinfo *dpi,
|
||||
y = window_game_bottom_toolbar_widgets[WIDX_RIGHT_OUTSET].top + w->y + 2;
|
||||
|
||||
// Date
|
||||
char *freeStr = (char*)0x009BC677;
|
||||
freeStr[0] = FORMAT_STRINGID;
|
||||
freeStr[1] = ' ';
|
||||
freeStr[2] = FORMAT_MONTHYEAR;
|
||||
freeStr[3] = 0;
|
||||
|
||||
int month = RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, sint16) & 7;
|
||||
int year = date_get_year(RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, sint16)) + 1;
|
||||
int month = date_get_month(RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, sint16) & 7);
|
||||
int day = ((RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_TICKS, uint16) * days_in_month[month]) >> 16) & 0xFF;
|
||||
|
||||
RCT2_GLOBAL(0x013CE952, short) = STR_DATE_DAY_1 + day;
|
||||
RCT2_GLOBAL(0x013CE954, short) = RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_MONTH_YEAR, sint16);
|
||||
RCT2_GLOBAL(0x013CE954, short) = month;
|
||||
RCT2_GLOBAL(0x013CE956, short) = year;
|
||||
gfx_draw_string_centred(
|
||||
dpi,
|
||||
3165,
|
||||
2737,
|
||||
x,
|
||||
y,
|
||||
(RCT2_GLOBAL(RCT2_ADDRESS_CURSOR_OVER_WINDOWCLASS, rct_windowclass) == 2 && RCT2_GLOBAL(RCT2_ADDRESS_CURSOR_OVER_WIDGETINDEX, sint32) == WIDX_DATE ? 2 : w->colours[0] & 0x7F),
|
||||
|
||||
+4
-4
@@ -1361,12 +1361,12 @@ static void window_park_price_mousedown(int widgetIndex, rct_window*w, rct_widge
|
||||
window_park_set_page(w, widgetIndex - WIDX_TAB_1);
|
||||
break;
|
||||
case WIDX_INCREASE_PRICE:
|
||||
newFee = min(1000, RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, uint16) + 10);
|
||||
game_do_command(0, 1, 0, 0, GAME_COMMAND_SET_PARK_ENTRANCE_FEE, newFee, 0);
|
||||
newFee = min(MONEY(100,00), RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, money16) + MONEY(1,00));
|
||||
park_set_entrance_fee(newFee);
|
||||
break;
|
||||
case WIDX_DECREASE_PRICE:
|
||||
newFee = max(0, RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, uint16) - 10);
|
||||
game_do_command(0, 1, 0, 0, GAME_COMMAND_SET_PARK_ENTRANCE_FEE, newFee, 0);
|
||||
newFee = max(MONEY(0,00), RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, money16) - MONEY(1,00));
|
||||
park_set_entrance_fee(newFee);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3060,6 +3060,7 @@ static void window_ride_operating_invalidate()
|
||||
break;
|
||||
case RIDE_MODE_STATION_TO_STATION:
|
||||
RCT2_GLOBAL(0x013CE964, uint16) = (ride->var_0D0 * 9) / 4;
|
||||
format = 1331;
|
||||
caption = STR_SPEED;
|
||||
tooltip = STR_SPEED_TIP;
|
||||
break;
|
||||
|
||||
+3
-2
@@ -22,6 +22,7 @@
|
||||
#include "../game.h"
|
||||
#include "../localisation/date.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/finance.h"
|
||||
#include "climate.h"
|
||||
#include "map.h"
|
||||
#include "park.h"
|
||||
@@ -590,7 +591,7 @@ money32 map_try_clear_scenery(int x, int y, rct_map_element *mapElement, int fla
|
||||
entry = g_smallSceneryEntries[mapElement->properties.scenery.type];
|
||||
cost = entry->small_scenery.removal_price * 10;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 12;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_LANDSCAPING * 4;
|
||||
RCT2_GLOBAL(0x009DEA5E, uint32) = x * 32 + 16;
|
||||
RCT2_GLOBAL(0x009DEA60, uint32) = y * 32 + 16;
|
||||
RCT2_GLOBAL(0x009DEA62, uint32) = mapElement->base_height * 8;
|
||||
@@ -718,7 +719,7 @@ money32 map_clear_scenery(int x0, int y0, int x1, int y1, int flags)
|
||||
int x, y, z;
|
||||
money32 totalCost, cost;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 12;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_LANDSCAPING * 4;
|
||||
|
||||
x = (x0 + x1) / 2 + 16;
|
||||
y = (y0 + y1) / 2 + 16;
|
||||
|
||||
+16
-33
@@ -579,40 +579,23 @@ void park_update_histories()
|
||||
RCT2_CALLPROC_EBPSAFE(0x0066A231);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x00669E30
|
||||
*/
|
||||
void game_command_set_park_entrance_fee()
|
||||
void park_set_entrance_fee(money32 value)
|
||||
{
|
||||
uint8 _bl;
|
||||
uint16 new_fee;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov _bl, bl
|
||||
#else
|
||||
__asm__("mov %[_bl], bl " : [_bl] "+m" (_bl));
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov new_fee, di
|
||||
#else
|
||||
__asm__("mov %[new_fee], di " : [new_fee] "+m" (new_fee));
|
||||
#endif
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 0x10;
|
||||
|
||||
if (_bl & 1){
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, uint16) = new_fee;
|
||||
game_do_command(0, GAME_COMMAND_FLAG_APPLY, 0, 0, GAME_COMMAND_SET_PARK_ENTRANCE_FEE, value, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x00669E30
|
||||
*/
|
||||
void game_command_set_park_entrance_fee(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp)
|
||||
{
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_PARK_ENTRANCE_TICKETS * 4;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PARK_ENTRANCE_FEE, money16) = (*edi & 0xFFFF);
|
||||
window_invalidate_by_class(WC_PARK_INFORMATION);
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__asm mov ebx, 0
|
||||
#else
|
||||
__asm__("mov ebx, 0 ");
|
||||
#endif
|
||||
*ebx = 0;
|
||||
}
|
||||
|
||||
void park_set_open(int open)
|
||||
@@ -633,7 +616,7 @@ void game_command_set_park_open(int* eax, int* ebx, int* ecx, int* edx, int* esi
|
||||
|
||||
int dh = (*edx >> 8) & 0xFF;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 16;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_PARK_ENTRANCE_TICKETS * 4;
|
||||
switch (dh) {
|
||||
case 0:
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_PARK_FLAGS, uint32) & PARK_FLAGS_PARK_OPEN) {
|
||||
@@ -718,7 +701,7 @@ void game_command_remove_park_entrance(int *eax, int *ebx, int *ecx, int *edx, i
|
||||
y = *ecx & 0xFFFF;
|
||||
z = *edx * 16;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint32) = 8;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint32) = RCT_EXPENDITURE_TYPE_LAND_PURCHASE * 4;
|
||||
RCT2_GLOBAL(0x009DEA5E, uint16) = x;
|
||||
RCT2_GLOBAL(0x009DEA60, uint16) = y;
|
||||
RCT2_GLOBAL(0x009DEA62, uint16) = z;
|
||||
@@ -773,7 +756,7 @@ void game_command_set_park_name(int *eax, int *ebx, int *ecx, int *edx, int *esi
|
||||
|
||||
int nameChunkIndex = *eax & 0xFFFF;
|
||||
|
||||
RCT2_GLOBAL(0x0141F56C, uint8) = 12;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE, uint8) = RCT_EXPENDITURE_TYPE_LANDSCAPING * 4;
|
||||
if (*ebx & GAME_COMMAND_FLAG_APPLY) {
|
||||
int nameChunkOffset = nameChunkIndex - 1;
|
||||
if (nameChunkOffset < 0)
|
||||
|
||||
+3
-2
@@ -63,9 +63,10 @@ uint8 calculate_guest_initial_happiness(uint8 percentage);
|
||||
|
||||
void park_set_open(int open);
|
||||
void park_set_name(const char *name);
|
||||
void park_set_entrance_fee(money32 value);
|
||||
|
||||
void game_command_set_park_entrance_fee();
|
||||
void game_command_set_park_open(int* eax, int* ebx, int* ecx, int* edx, int* esi, int* edi, int* ebp);
|
||||
void game_command_set_park_entrance_fee(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
void game_command_set_park_open(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
void game_command_remove_park_entrance(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
void game_command_set_park_name(int *eax, int *ebx, int *ecx, int *edx, int *esi, int *edi, int *ebp);
|
||||
|
||||
|
||||
@@ -33,6 +33,15 @@ void create_balloon(int x, int y, int z, int colour)
|
||||
RCT2_CALLPROC_X(0x006736C7, x, colour << 8, y, z, 0, 0, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x0067440F
|
||||
*/
|
||||
void create_duck(int targetX, int targetY)
|
||||
{
|
||||
RCT2_CALLPROC_X(0x0067440F, targetX, 0, targetY, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
/* rct2: 0x006EC473 */
|
||||
void invalidate_sprite(rct_sprite* sprite){
|
||||
if (sprite->unknown.sprite_left == (sint16)0x8000) return;
|
||||
|
||||
@@ -97,6 +97,7 @@ typedef union {
|
||||
extern rct_sprite* g_sprite_list;
|
||||
|
||||
void create_balloon(int x, int y, int z, int colour);
|
||||
void create_duck(int targetX, int targetY);
|
||||
rct_sprite *create_sprite(uint8 bl);
|
||||
void reset_sprite_list();
|
||||
void reset_0x69EBE4();
|
||||
|
||||
Reference in new issue
Block a user