1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 17:49:10 +00:00

Compare commits

..

1577 Commits

Author SHA1 Message Date
rubidium
d919787743 (svn r23767) -Release: 1.2.0-beta2 2012-01-06 22:25:55 +00:00
rubidium
8711395682 (svn r23766) -Update: some documentation 2012-01-06 22:22:17 +00:00
translators
23204aa404 (svn r23765) -Update from WebTranslator v3.0:
dutch - 7 changes by Yexo
english_US - 5 changes by Rubidium
french - 8 changes by glx
german - 2 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 123 changes by Tranzistors
slovenian - 36 changes by ntadej
urdu - 48 changes by haider
2012-01-06 22:19:25 +00:00
rubidium
bddfcaef95 (svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable 2012-01-06 21:49:06 +00:00
rubidium
9d958ff581 (svn r23763) -Fix [FS#4956]: check whether a water tile is really empty when overbuilding it with an object 2012-01-06 19:49:44 +00:00
alberth
c19d7bfdae (svn r23762) -Fix [FS#4954]: Removed double words in three strings, and one change 'cost' to 'income' in english.txt (thanks Tranzistors) 2012-01-06 19:42:41 +00:00
translators
1b4e13bd49 (svn r23761) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
bulgarian - 50 changes by kokobongo
english_AU - 6 changes by tomas4g
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
german - 20 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 202 changes by Tranzistors
norwegian_bokmal - 17 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
serbian - 25 changes by etran
spanish - 20 changes by Terkhen
welsh - 1 changes by kazzie
2012-01-06 18:46:26 +00:00
frosch
fa0949577e (svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited. 2012-01-05 20:03:15 +00:00
smatz
597ef4e7b1 (svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working 2012-01-05 19:56:48 +00:00
michi_cc
ee0fcb2567 (svn r23758) -Feature: [NewGRF] Alternate rail type label list. 2012-01-05 19:40:34 +00:00
frosch
69e197c87f (svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings. 2012-01-05 19:32:51 +00:00
rubidium
2fb393fcd0 (svn r23756) -Fix (r23755): ... and WT3 likes some strings that strgen doesn't like ;) 2012-01-05 19:28:42 +00:00
translators
b476537d29 (svn r23755) -Update from WebTranslator v3.0:
croatian - 3 changes by VoyagerOne
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
lithuanian - 32 changes by Devastator
norwegian_bokmal - 8 changes by eloekset
norwegian_nynorsk - 299 changes by eloekset
romanian - 20 changes by kkmic
russian - 21 changes by akasoft
swedish - 8 changes by tobjork
2012-01-05 18:45:42 +00:00
rubidium
d2c643df63 (svn r23754) -Fix (r23752): the locks aren't reentrant 2012-01-05 17:08:49 +00:00
rubidium
d0770c8319 (svn r23753) -Fix [FS#4952]: use plurals for the infrastructure stats 2012-01-05 06:14:08 +00:00
rubidium
c530450193 (svn r23752) -Fix [FS#4938]: missing locking causing crash is extreme case when being in the MP lobby 2012-01-04 22:11:26 +00:00
rubidium
531e501b5a (svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive name, and move the UDP specific bits to network_udp 2012-01-04 22:08:43 +00:00
translators
b80fb93b1b (svn r23750) -Update from WebTranslator v3.0:
belarusian - 19 changes by Wowanxm
croatian - 19 changes by VoyagerOne
english_AU - 20 changes by tomas4g
italian - 20 changes by lorenzodv
lithuanian - 161 changes by BlinK_
norwegian_bokmal - 22 changes by eloekset, mantaray
norwegian_nynorsk - 32 changes by eloekset
vietnamese - 5 changes by nglekhoi
welsh - 19 changes by kazzie
2012-01-04 18:45:54 +00:00
michi_cc
52175a4260 (svn r23749) -Fix: [Win32] Work around a possible deadlock when initialising threaded drawing. 2012-01-04 00:45:36 +00:00
frosch
bc9c8db287 (svn r23748) -Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs. 2012-01-03 23:53:53 +00:00
truebrain
3c355da531 (svn r23747) -Fix (r23746): forgot one more case 2012-01-03 23:13:53 +00:00
truebrain
251687f795 (svn r23746) -Fix: also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads 2012-01-03 23:09:48 +00:00
frosch
00ec5da361 (svn r23745) -Fix (r23087): If autorefit fails, count the vehicle capacity nevertheless, if it is already carrying the right thing. 2012-01-03 23:08:15 +00:00
frosch
7ff95b9e97 (svn r23744) -Fix (r23142) [FS#4923]: Check the version of the right GRF. 2012-01-03 22:36:35 +00:00
frosch
f5ebbc96e9 (svn r23743) -Fix [FS#4906]: Call CB 15E for all vehicles before actually executing any refit. 2012-01-03 22:04:12 +00:00
rubidium
d906c6865a (svn r23742) -Revert (r23735): for some reason gcc-trunk is more picky than basically everything else :( 2012-01-03 21:58:26 +00:00
rubidium
d8d2f74559 (svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on 2012-01-03 21:47:01 +00:00
rubidium
6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain
d880056415 (svn r23739) -Fix (r23738): owh vim, when can you learn to copy/paste tabs correctly? 2012-01-03 20:41:38 +00:00
truebrain
ecb725b34b (svn r23738) -Fix (r23731): forgot to sync the new window with the script API 2012-01-03 20:38:41 +00:00
truebrain
a32154eaa0 (svn r23737) -Fix: fix the svn:properties of a few files that got added lately 2012-01-03 20:37:56 +00:00
truebrain
f4770d0b0a (svn r23736) -Document: document correctly that WC_GOAL_QUESTION has a WindowNumber which is identical to the uniqueid given by the GameScript 2012-01-03 20:28:28 +00:00
rubidium
e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 2012-01-03 20:26:05 +00:00
rubidium
9856282d0b (svn r23734) -Cleanup: remove the translated strings as well 2012-01-03 19:22:33 +00:00
rubidium
abbc0f052b (svn r23733) -Fix-ish [FS#4939]: cheating to different climates messes things even more up than changing NewGRFs in-game... so guess what happened 2012-01-03 19:21:32 +00:00
translators
aa482051ed (svn r23732) -Update from WebTranslator v3.0:
bulgarian - 7 changes by kokobongo
croatian - 3 changes by VoyagerOne
dutch - 20 changes by Yexo
english_US - 20 changes by Rubidium
finnish - 22 changes by jpx_
french - 20 changes by glx
german - 1 changes by planetmaker
lithuanian - 1 changes by BlinK_
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
russian - 1 changes by akasoft
serbian - 1 changes by etran
ukrainian - 27 changes by Fixer
2012-01-03 18:46:13 +00:00
truebrain
34d90da509 (svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17 2012-01-03 16:36:24 +00:00
rubidium
18ac3f2bd8 (svn r23730) -Add: Australian translation 2012-01-03 16:04:58 +00:00
truebrain
2aa6086256 (svn r23729) -Fix (r23670) [FS#4941]: if you increase the buffer size, also increase the bytes per pixel 2012-01-03 10:50:06 +00:00
truebrain
9a05d03e2c (svn r23728) -Fix [#FS4942-ish]: when cheating into another company, the SignList was not updated 2012-01-03 10:27:14 +00:00
truebrain
8dbb654e39 (svn r23727) -Codechange: speedup the 32bpp palette animation by reducing the amount of compares. This is possible because the function is called with only 2 possible conditions: from 0 to 255 (full palette update, 8bpp only) or from PALETTE_ANIM_START to 255 2012-01-03 09:46:37 +00:00
4da7f2b723 (svn r23726) -Fix (r23670): Remove debugging code added accidentally 2012-01-03 02:38:35 +00:00
yexo
f5caf142c0 (svn r23725) -Fix (r23723): compile before commit 2012-01-03 00:47:56 +00:00
yexo
5f79b4c5d1 (svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check 2012-01-03 00:45:22 +00:00
yexo
b9e19cc6c1 (svn r23723) -Codechange: speedup flood checks a bit 2012-01-03 00:44:23 +00:00
frosch
4027e58ba3 (svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window. 2012-01-03 00:22:14 +00:00
yexo
c4e2dfdd89 (svn r23721) -Fix (r23070): reading memory of a temporary (already deconstructed) object is invalid 2012-01-02 22:58:15 +00:00
rubidium
d2f776ef3e (svn r23720) -Fix/Feature [FS#4935]: show the script debug window also when the game script crashes 2012-01-02 22:44:28 +00:00
rubidium
8371ecc922 (svn r23719) -Fix [FS#4930]: extraction of music packs failed 2012-01-02 21:57:29 +00:00
rubidium
37b136576d (svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened 2012-01-02 20:39:50 +00:00
rubidium
caa5762636 (svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving the dock while the game is paused 2012-01-02 20:39:18 +00:00
smatz
3655d5105b (svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences 2012-01-02 19:47:52 +00:00
translators
2d368a37b9 (svn r23715) -Update from WebTranslator v3.0:
luxembourgish - 48 changes by Phreeze
portuguese - 7 changes by SupSuper
turkish - 100 changes by niw3
ukrainian - 11 changes by Fixer
welsh - 1 changes by kazzie
2012-01-02 18:45:26 +00:00
truebrain
091bc25a90 (svn r23714) -Codechange: don't mix Viewport with non-viewport code 2012-01-02 13:44:37 +00:00
truebrain
0d929e877f (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 2012-01-02 13:44:30 +00:00
truebrain
19004a77f8 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 2012-01-02 12:07:50 +00:00
truebrain
0e9a98619d (svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one 2012-01-02 12:07:42 +00:00
rubidium
6ed84aff8d (svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name 2012-01-01 22:35:19 +00:00
rubidium
9a921fd0ae (svn r23709) -Feature-ish: try harder to sort text instead of fancy characters in the server names 2012-01-01 22:32:26 +00:00
truebrain
cb414b09d2 (svn r23708) -Codechange: apply the same trick as r23701 to GetTileSlope(), gaining similar benefits 2012-01-01 19:20:08 +00:00
translators
62b00c1da8 (svn r23707) -Update from WebTranslator v3.0:
catalan - 22 changes by arnau
indonesian - 19 changes by rusydan
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
2012-01-01 18:45:38 +00:00
smatz
bcd3f2bb59 (svn r23706) -Codechange: prevent 'unknown command' doxygen errors 2012-01-01 17:36:19 +00:00
smatz
a90b767995 (svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster 2012-01-01 17:32:45 +00:00
alberth
4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 2012-01-01 17:22:32 +00:00
truebrain
da460f6928 (svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often 2012-01-01 16:38:38 +00:00
truebrain
3b2ecfab01 (svn r23702) -Codechange: avoid using TileAddWrap() in FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D) 2012-01-01 16:23:05 +00:00
truebrain
6f6035ce0b (svn r23701) -Codechange: give TileAddWrap() a 27% speed-up, by swapping entries in an if() statement, and reusing already calculated values (tnx to SmatZ for the ideas) 2012-01-01 16:01:51 +00:00
truebrain
39f2d75e03 (svn r23700) -Fix: the size of the Subsidies pool used a random macro, which didn't really make sense in the grand scheme of things 2012-01-01 10:50:46 +00:00
truebrain
a057b8c634 (svn r23699) -Fix [FS#4928] (r23630): too much copy/pasting only allowed a silly low amount of goals to be created. 2012-01-01 10:50:38 +00:00
rubidium
b111813d0b (svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo 2012-01-01 00:05:02 +00:00
translators
6d0cf1d2ea (svn r23697) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
czech - 2 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 13 changes by Rubidium
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 1 changes by rril
indonesian - 85 changes by rusydan
norwegian_bokmal - 116 changes by mantaray
romanian - 1 changes by tonny
spanish - 2 changes by Terkhen
2011-12-31 18:45:53 +00:00
rubidium
167813aded (svn r23696) -Fix (r23695): 5 <-> 6... today is not my day 2011-12-31 15:02:14 +00:00
rubidium
8b223f0274 (svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots 2011-12-31 14:56:39 +00:00
rubidium
20931c5af8 (svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant... 2011-12-31 13:57:09 +00:00
rubidium
a137c838f9 (svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour 2011-12-31 13:52:54 +00:00
rubidium
1a6d352b92 (svn r23692) -Fix: use smallest_x of your children only when you let the children update it 2011-12-31 11:14:03 +00:00
truebrain
f27b7e2a78 (svn r23691) -Fix: signed/unsigned issues, causing asserts for some languages in relation to the serverlist 2011-12-31 10:55:00 +00:00
rubidium
440b63da33 (svn r23690) -Fix: massive typo ;) 2011-12-31 10:08:18 +00:00
translators
4d71d3868d (svn r23689) -Update from WebTranslator v3.0:
simplified_chinese - 23 changes by chenwt0315
norwegian_bokmal - 236 changes by mantaray
swedish - 9 changes by tobjork
2011-12-30 18:45:18 +00:00
michi_cc
977c1fa68a (svn r23688) -Codechange: No need to check if a train needs servicing if we only extend a train's path without actually calling the pathfinder. The path extension will stop when hitting a junction tile, so it is impossible to miss a depot this way. 2011-12-30 17:56:37 +00:00
rubidium
433af5215a (svn r23687) -Fix [FS#4922]: document where the game script directory is 2011-12-30 12:07:28 +00:00
michi_cc
24d530b55d (svn r23686) -Fix [FS#4921] (r23413): Infrastructure count of canals/locks/ship depots wasn't updated properly when a company went into bankruptcy or was taken over. 2011-12-29 20:10:06 +00:00
translators
35b76bc8a9 (svn r23685) -Update from WebTranslator v3.0:
norwegian_bokmal - 67 changes by mantaray
swedish - 25 changes by tobjork
vietnamese - 1 changes by nglekhoi
welsh - 50 changes by kazzie
2011-12-29 18:45:21 +00:00
rubidium
fbbfaac819 (svn r23684) -Cleanup: let the highway take the highway 2011-12-28 20:06:51 +00:00
rubidium
8d125a60ce (svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing 2011-12-28 19:48:04 +00:00
translators
660e5b286f (svn r23682) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
serbian - 11 changes by etran
2011-12-28 18:45:12 +00:00
rubidium
7d2061516a (svn r23681) -Fix [FS#4914]: vehicle numbers got misaccounted when autoreplacing failed due to length checks 2011-12-28 17:34:44 +00:00
rubidium
98fdf81320 (svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local player is in 2011-12-28 17:33:12 +00:00
translators
156e25d375 (svn r23679) -Update from WebTranslator v3.0:
swedish - 48 changes by tobjork
tamil - 26 changes by aswn
2011-12-27 18:45:10 +00:00
truebrain
96e1f0a8f0 (svn r23678) -Fix: close the editbox of settings when changing an AI, to avoid invalid memory read/write (reported by SmatZ) 2011-12-27 15:35:47 +00:00
truebrain
0e6ca77e1a (svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI 2011-12-27 15:17:42 +00:00
rubidium
2c09939bd3 (svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache 2011-12-27 13:45:30 +00:00
translators
3f7b812891 (svn r23675) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
indonesian - 18 changes by fanioz
persian - 47 changes by Peymanpn
urdu - 19 changes by haider
2011-12-26 18:45:19 +00:00
michi_cc
47171c7829 (svn r23674) -Fix (r23670): Don't read invalid memory in the 32bpp simple blitter. 2011-12-26 14:53:19 +00:00
rubidium
f7c7271ecf (svn r23673) -Codechange: prepare the installers for some (future) massive changes in OpenGFX w.r.t. compatability with earlier versions 2011-12-26 13:21:37 +00:00
rubidium
1143f0451a (svn r23672) -Fix: WT3 validation failure 2011-12-25 18:47:48 +00:00
translators
cf4f7399a1 (svn r23671) -Update from WebTranslator v3.0:
hebrew - 1 changes by rril
indonesian - 10 changes by fanioz
korean - 123 changes by telk5093
russian - 2 changes by Lone_Wolf
vietnamese - 32 changes by nglekhoi
2011-12-25 18:45:29 +00:00
3ef77e55c5 (svn r23670) -Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites 2011-12-24 23:33:45 +00:00
translators
dc497258d6 (svn r23669) -Update from WebTranslator v3.0:
estonian - 112 changes by notAbot
hebrew - 2 changes by rril
slovenian - 33 changes by ntadej
swedish - 7 changes by Zuu
2011-12-24 18:45:21 +00:00
smatz
2fb22e8214 (svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript 2011-12-24 13:08:11 +00:00
rubidium
2bbbff64e4 (svn r23666) -Document: the usual pre-Christmas documentation spree 2011-12-24 08:56:18 +00:00
truebrain
7702151a62 (svn r23665) -Fix (r23664): revert, and apply other fix, which allows switching companies safely in SinglePlayer 2011-12-23 23:34:19 +00:00
truebrain
d6e88a7cab (svn r23664) -Fix: adding goals with a company were still added for all companies. Tnx to Zuu for reporting (although cryptic :D) 2011-12-23 23:29:59 +00:00
rubidium
1ceef81cd3 (svn r23663) -Fix: WT3 validation fluke 2011-12-23 18:46:56 +00:00
translators
d517421ab7 (svn r23662) -Update from WebTranslator v3.0:
hungarian - 20 changes by Brumi
indonesian - 9 changes by fanioz
korean - 5 changes by junho2813, telk5093
polish - 2 changes by xaxa
serbian - 35 changes by etran
vietnamese - 9 changes by nglekhoi
2011-12-23 18:45:38 +00:00
e514ca39cc (svn r23661) -Fix (r23438): Remaining parts of configuration were skipped when grfcodec/nforenum were not usable. 2011-12-23 08:57:24 +00:00
rubidium
d175528220 (svn r23660) -Feature-ish: add the game script to the crash log 2011-12-22 20:05:52 +00:00
rubidium
3f48d127b7 (svn r23659) -Doc: behaviour of file searching in general, and in tars specifically 2011-12-22 19:51:40 +00:00
translators
aa06dee034 (svn r23658) -Update from WebTranslator v3.0:
german - 12 changes by planetmaker
hungarian - 52 changes by Brumi, IPG
indonesian - 17 changes by fanioz
italian - 4 changes by Snail_, lorenzodv
malay - 156 changes by kazlan68
romanian - 1 changes by tonny
russian - 1 changes by akasoft
swedish - 10 changes by Zuu
ukrainian - 22 changes by Fixer
2011-12-22 18:45:48 +00:00
yexo
ecc9997277 (svn r23657) -Fix (r22958): loading of very old savegames with custom town names failed 2011-12-22 17:07:54 +00:00
yexo
dd502e1448 (svn r23656) -Fix: make all vcs ignore docs/gamedocs/ just like docs/aidocs/ 2011-12-22 16:32:13 +00:00
translators
c5904ace20 (svn r23655) -Update from WebTranslator v3.0:
belarusian - 45 changes by KorneySan
croatian - 2 changes by VoyagerOne
czech - 49 changes by ReisRyos, TheLamer, marek995
dutch - 8 changes by Parody, habell
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
french - 10 changes by glx
indonesian - 24 changes by fanioz
italian - 43 changes by lorenzodv
macedonian - 307 changes by RCTMASTA
malay - 544 changes by kazlan68
brazilian_portuguese - 35 changes by leandromoh
romanian - 2 changes by kkmic
russian - 6 changes by Lone_Wolf
slovak - 2 changes by teso
spanish - 2 changes by Terkhen
swedish - 2 changes by Zuu
ukrainian - 134 changes by Fixer
welsh - 48 changes by kazzie
2011-12-21 18:46:37 +00:00
rubidium
9b192efc58 (svn r23654) -Fix [FS#4904]: missing this-> (adf88) 2011-12-21 17:15:56 +00:00
truebrain
8456d5de69 (svn r23653) -Fix: also show GameScripts when you click Check Online Content (SubVersion does not allow translated commit messages, I am sorry) in AI / Game Settings 2011-12-21 15:15:43 +00:00
truebrain
ac306fc138 (svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable 2011-12-21 15:06:00 +00:00
yexo
5988659eea (svn r23651) -Feature: [NoGo] GSText now accepts string arguments as parameters to the constructor 2011-12-21 14:55:28 +00:00
yexo
a55478aaa6 (svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation 2011-12-21 14:30:08 +00:00
truebrain
5f7268cbdc (svn r23649) -Fix [FS#4905) (r23634): loading a savegame with an empty GSTR chunk caused assert 2011-12-21 12:40:29 +00:00
truebrain
e1f04b89c3 (svn r23648) -Revert (r23646): partial revert; nobody has to know about my local changes and attempts 2011-12-21 12:28:02 +00:00
truebrain
726ce254ff (svn r23647) -Add: add rescan_game as console command (patch by Xaroth) 2011-12-21 12:25:17 +00:00
truebrain
da8777d4e5 (svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one. 2011-12-21 12:25:10 +00:00
truebrain
0f8360eee9 (svn r23645) -Fix: missing 2 strings 2011-12-20 23:33:00 +00:00
rubidium
c02aabf1b8 (svn r23644) -Fix [FS#4899]: prevent game scripts using StringIDs that are not coming from themselves, so the game script doesn't "accidentally" try to display an invalid string or try to display a town name in from an unknown town name generator 2011-12-20 22:11:22 +00:00
rubidium
c5203c652e (svn r23643) -Fix [FS#4896]: dates cut off in the message history 2011-12-20 19:57:03 +00:00
rubidium
dbb85e5cc1 (svn r23642) -Fix [FS#4893]: OSK window got hidden by query window 2011-12-20 19:48:33 +00:00
translators
bdb0d7eaf3 (svn r23641) -Update from WebTranslator v3.0:
afrikaans - 98 changes by Maccie123, kdzar
bulgarian - 4 changes by Tvel
catalan - 44 changes by arnau
simplified_chinese - 62 changes by ww9980
traditional_chinese - 46 changes by elleryq, ww9980
croatian - 43 changes by VoyagerOne
danish - 188 changes by majbom, mgarde
dutch - 44 changes by habell
english_US - 32 changes by Rubidium
finnish - 43 changes by jpx_
french - 43 changes by glx
frisian - 16 changes by Fopper
german - 44 changes by NG, planetmaker
greek - 49 changes by kyrm
indonesian - 31 changes by fanioz
korean - 39 changes by junho2813, telk5093
lithuanian - 66 changes by BlinK_, Devastator
malay - 36 changes by Syed
maltese - 20 changes by ercolesptr
norwegian_bokmal - 6 changes by kristoffer_hh
norwegian_nynorsk - 1 changes by Utvik
polish - 68 changes by lion, matma6, nouwak, wojteks86
portuguese - 104 changes by ABCRic
romanian - 148 changes by kneekoo, tonny
russian - 43 changes by Lone_Wolf, MajestiC, akasoft
slovak - 135 changes by teso
spanish - 43 changes by Terkhen
swedish - 38 changes by Zuu, urdh
ukrainian - 28 changes by Madvin
vietnamese - 3 changes by nglekhoi
2011-12-20 18:47:16 +00:00
truebrain
1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
rubidium
7a38642a1c (svn r23639) -Fix [FS#4892]: fix transparency for steel mill, colour translations in some arctic buildings and a wrongly replaced sprites (PaulC) 2011-12-20 17:04:31 +00:00
rubidium
9a27c28270 (svn r23638) -Fix [FS#4894]: glitch in the monospace font (PaulC) 2011-12-20 17:03:11 +00:00
truebrain
44b70d176c (svn r23637) -Change: bump the savegame, to store all the new goodies 2011-12-19 21:06:42 +00:00
truebrain
102f811d02 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 2011-12-19 21:06:06 +00:00
truebrain
b0ac529a6f (svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network 2011-12-19 21:05:57 +00:00
truebrain
2ae87e7213 (svn r23634) -Add: support language files for GameScript (Rubidium) 2011-12-19 21:05:46 +00:00
truebrain
9b6b2cabc1 (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 2011-12-19 21:05:36 +00:00
truebrain
cc3f42794d (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 2011-12-19 21:05:25 +00:00
truebrain
403cd3acdb (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 2011-12-19 21:05:14 +00:00
truebrain
3ada3b9cc5 (svn r23630) -Add: a Goal GUI to show your current goals 2011-12-19 21:03:17 +00:00
truebrain
084f4e6aac (svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript 2011-12-19 21:02:33 +00:00
truebrain
5858c53420 (svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only) 2011-12-19 21:01:12 +00:00
truebrain
e0ffe4faf2 (svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only) 2011-12-19 21:01:03 +00:00
truebrain
ad48ab9237 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 2011-12-19 21:00:55 +00:00
truebrain
894216083d (svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only) 2011-12-19 21:00:48 +00:00
truebrain
d85a628dde (svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get the owner of those objects (GameScript only) 2011-12-19 21:00:40 +00:00
truebrain
3a535690d4 (svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript 2011-12-19 21:00:32 +00:00
truebrain
77b7366c29 (svn r23622) -Add: a set of events to trigger in a GameScript 2011-12-19 20:59:36 +00:00
truebrain
e7cd301d3c (svn r23621) -Add: allow manipulation of signs via GameScripts 2011-12-19 20:59:29 +00:00
truebrain
afcf07ac8a (svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only) 2011-12-19 20:59:19 +00:00
truebrain
c7c1deaf41 (svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only) 2011-12-19 20:59:12 +00:00
truebrain
55de5d336c (svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only) 2011-12-19 20:58:59 +00:00
truebrain
5ff98b45c1 (svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only) 2011-12-19 20:57:51 +00:00
truebrain
e53b2f2ab0 (svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings (GameScript only) 2011-12-19 20:57:43 +00:00
truebrain
9359c6fc47 (svn r23615) -Add: more API functions exposed to NoGo (part 2) 2011-12-19 20:57:34 +00:00
truebrain
436cf09923 (svn r23614) -Add: more API functions exposed to NoGo (part 1) 2011-12-19 20:57:23 +00:00
truebrain
1616961ea2 (svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can select this GS via the GUI (optional, defaults to false) 2011-12-19 20:57:08 +00:00
truebrain
963802e9a7 (svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library) 2011-12-19 20:56:59 +00:00
truebrain
83f2785f54 (svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so 2011-12-19 20:56:50 +00:00
truebrain
cbe43abe5d (svn r23610) -Add: Doxygen files for NoGo API (Yexo) 2011-12-19 20:56:42 +00:00
truebrain
f239a61406 (svn r23609) -Add: save/load all GameScript related material 2011-12-19 20:56:34 +00:00
truebrain
de5494af8f (svn r23608) -Fix: remove now unused strings from all other languages too 2011-12-19 20:56:23 +00:00
truebrain
5718c2e2e3 (svn r23607) -Add: wire GameScript in all the GUIs 2011-12-19 20:56:06 +00:00
truebrain
c99950c215 (svn r23606) -Add: GameScanner, to auto-detect game scripts, and wire it in the console 2011-12-19 20:55:56 +00:00
truebrain
b4f832f29f (svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory 2011-12-19 20:54:37 +00:00
truebrain
12aa5b6a58 (svn r23604) -Add: initial support for GameScripts 2011-12-19 20:50:54 +00:00
truebrain
5cda1d7c90 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 2011-12-19 20:50:44 +00:00
truebrain
577fe0238e (svn r23602) -Add: support for DEITY commands, commands where no real company was involved in (Rubidium) 2011-12-19 20:50:36 +00:00
truebrain
561b25d031 (svn r23601) -Fix: fix the conflict in window number 2011-12-19 20:50:21 +00:00
truebrain
bcbdc3933c (svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class 2011-12-19 20:46:17 +00:00
truebrain
285621eb9a (svn r23599) -Codechange: document WC_ entries, and reoder a bit 2011-12-19 20:44:47 +00:00
truebrain
f8203f09ca (svn r23598) -Fix: harden FormatString against abuse 2011-12-19 20:44:39 +00:00
truebrain
e75153d8ac (svn r23597) -Codechange: fix up squirrel export script a bit 2011-12-19 20:44:31 +00:00
translators
fceed4758c (svn r23596) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
italian - 1 changes by lorenzodv
lithuanian - 1 changes by Devastator
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 1 changes by Zuu
2011-12-19 18:46:12 +00:00
rubidium
df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
rubidium
eaadd215be (svn r23594) -Codechange: follow coding style with multi line comments 2011-12-19 17:40:54 +00:00
michi_cc
aba9f98a73 (svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings. 2011-12-19 14:24:12 +00:00
truebrain
b827694aec (svn r23592) -Fix (r23590): forgot one case 2011-12-18 19:39:24 +00:00
translators
7ec12936b5 (svn r23591) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
french - 1 changes by glx
serbian - 51 changes by etran
2011-12-18 18:45:16 +00:00
rubidium
fefe22b4aa (svn r23590) -Codechange: make the string validation settings better expandable 2011-12-18 18:37:54 +00:00
frosch
6ae8cac432 (svn r23589) -Codechange: Make the AI-start-delay setting translateable. 2011-12-18 18:21:55 +00:00
smatz
33d283fdb1 (svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls 2011-12-18 17:17:18 +00:00
rubidium
88f1acd26b (svn r23587) -Fix-ish: MSVC warnings in case strgen would be in the main project file 2011-12-18 11:56:53 +00:00
frosch
1bb9639862 (svn r23586) -Fix: Draw PBS reservation also for bridges with railtype overlays. 2011-12-17 23:22:27 +00:00
rubidium
50b63c5870 (svn r23585) -Codechange: replace some magic numbers with less magic constants 2011-12-17 23:16:16 +00:00
frosch
89c263c2df (svn r23584) -Fix: Draw PBS reservations also for tunnels with railtype overlays. 2011-12-17 23:14:28 +00:00
rubidium
8c6a37d4b4 (svn r23583) -Codechange: prevent name collision with strgen variable 2011-12-17 22:35:22 +00:00
rubidium
ab974bee97 (svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A
-Change: make extra characters more consistent with the original font
  All by PaulC.
2011-12-17 21:42:11 +00:00
frosch
fba9c756c7 (svn r23581) -Fix (r23518) [FS#4890]: Cloning of vehicles crashed. 2011-12-17 21:22:10 +00:00
rubidium
d0e7b0fd9d (svn r23580) -Codechange: put the infrastructure maintenance cache testing behind the desync debug level guard, improving the game's speed significantly 2011-12-17 21:20:41 +00:00
frosch
4e4a87bd3c (svn r23579) -Fix (r23525): Most up/down arrows stopped working. 2011-12-17 20:52:07 +00:00
translators
82469946ab (svn r23578) -Update from WebTranslator v3.0:
turkish - 5 changes by niw3
urdu - 300 changes by haider
2011-12-17 18:45:11 +00:00
rubidium
5ba483cbf4 (svn r23577) -Fix (r23576): strgen project files aren't automatically updated :( 2011-12-17 18:39:29 +00:00
rubidium
1f083c3ac8 (svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files 2011-12-17 18:34:03 +00:00
rubidium
c97b2a5224 (svn r23575) -Codechange: split class definition and implementation of base strgen classes 2011-12-17 17:25:50 +00:00
rubidium
9c34bc52db (svn r23574) -Codechange/Feature-ish: allow converting multiple translations with the same master language instance in a single strgen run 2011-12-17 17:03:38 +00:00
rubidium
17c0756da2 (svn r23573) -Fix (r23571): MSVC doesn't like variable array sizes 2011-12-17 16:59:16 +00:00
rubidium
ad7f577931 (svn r23572) -Codechange: split actual file reading from logic for parsing 2011-12-17 16:56:32 +00:00
rubidium
4fbbbdd78f (svn r23571) -Codechange: make the number of 'tabs' the generate configurable 2011-12-17 15:02:09 +00:00
rubidium
ab37a923c2 (svn r23570) -Codechange: move version generation code to StringData 2011-12-17 14:50:35 +00:00
rubidium
343d0d8176 (svn r23569) -Codechange: put more logic in some of the strgen structs, e.g. allocating and freeing its memory, and don't use a global variable for the string data 2011-12-17 14:41:10 +00:00
rubidium
6c31b25e22 (svn r23568) -Codechange: only allocate the buffer for writing when it is really needed 2011-12-17 13:33:36 +00:00
rubidium
b7b3ac8859 (svn r23567) -Codechange: use SmallVector for the buffer in strgen 2011-12-17 13:23:01 +00:00
rubidium
5d37791157 (svn r23566) -Fix (r23565): hopefully fix MSVC compilation error 2011-12-17 12:19:22 +00:00
rubidium
15906ca874 (svn r23565) -Codechange: create some classes for writing language header and translation files 2011-12-17 12:15:19 +00:00
michi_cc
24b7be856b (svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a partially reserved rail station could fail. 2011-12-17 02:02:28 +00:00
rubidium
719b4707dc (svn r23563) -Cleanup: remove useless global variable from strgen; it would always be false at the point it would be read 2011-12-16 22:03:59 +00:00
truebrain
ed816477ec (svn r23562) -Codechange: don't be lazy with the spacebar 2011-12-16 19:09:26 +00:00
truebrain
1d4eeb063e (svn r23561) -Codechange: forgot to document 1 widget enum 2011-12-16 19:08:39 +00:00
truebrain
20a7276510 (svn r23560) -Codechange: final pieces of consistency through widgets 2011-12-16 18:57:27 +00:00
planetmaker
6bbae674b8 (svn r23559) -Codechange: Document and name consistently road build widgets 2011-12-16 18:52:15 +00:00
rubidium
ff4bfded7a (svn r23558) -Fix (r23556): ctrl-z too few ;) 2011-12-16 18:47:46 +00:00
translators
794c9bac08 (svn r23557) -Update from WebTranslator v3.0:
german - 9 changes by NG
brazilian_portuguese - 110 changes by Tucalipe
swedish - 10 changes by Zuu
urdu - 160 changes by haider
2011-12-16 18:45:27 +00:00
rubidium
95642f956f (svn r23556) -Codechange: unify rail widget naming and document them 2011-12-16 18:43:38 +00:00
truebrain
7e0df0aeb3 (svn r23555) -Fix (r23554): save before commit 2011-12-16 18:43:36 +00:00
truebrain
7b80b821ff (svn r23554) -Codechange: some minor consistency fixes 2011-12-16 18:42:20 +00:00
truebrain
bcf00dbb8f (svn r23553) -Fix: avoid naming conflict in widget enums 2011-12-16 18:33:02 +00:00
truebrain
6d0673f0c1 (svn r23552) -Codechange: unify naming of the news widgets 2011-12-16 18:32:57 +00:00
truebrain
e4887d4dc4 (svn r23551) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:27:50 +00:00
rubidium
bdb6280e79 (svn r23550) -Codechange: unify naming of the on screen keyboard widgets 2011-12-16 18:27:39 +00:00
planetmaker
365bf148b5 (svn r23549) -Codechange: Document and consistently name widgets of order GUI 2011-12-16 18:25:06 +00:00
rubidium
1470e41fe4 (svn r23548) -Codechange: unify and document toolbar widgets 2011-12-16 18:23:35 +00:00
truebrain
e2726ca3f1 (svn r23547) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:21:13 +00:00
truebrain
9266bde593 (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:14:11 +00:00
planetmaker
985d178c37 (svn r23545) -Codechange: Consistently name widgets in build object window 2011-12-16 18:06:16 +00:00
truebrain
e2d8abeec5 (svn r23544) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:02:27 +00:00
planetmaker
78ca3e3358 (svn r23543) -Codechange: Document and name consistently widgets of NewGRF window 2011-12-16 17:46:47 +00:00
rubidium
2988509dd0 (svn r23542) -Codechange: unify and document town related widgets 2011-12-16 17:23:41 +00:00
planetmaker
7c7bd7fe86 (svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window 2011-12-16 17:15:40 +00:00
rubidium
4de1f3be88 (svn r23540) -Codechange: unify and document vehicle widgets 2011-12-16 16:58:55 +00:00
rubidium
b8640b986f (svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details 2011-12-16 16:57:56 +00:00
planetmaker
5ade484ce4 (svn r23538) -Codechange: Consistent naming of widgets in tree plant gui 2011-12-16 16:57:15 +00:00
truebrain
219393ba5f (svn r23537) -Fix (r23529): typo in the word 'because' (tnx to Alberth for noticing) 2011-12-16 16:53:16 +00:00
truebrain
05af1d176b (svn r23536) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:49:53 +00:00
planetmaker
4453288f3f (svn r23535) -Codechange: unify widget naming of transparency toolbar 2011-12-16 16:42:04 +00:00
truebrain
cb8e37197d (svn r23534) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:39:48 +00:00
truebrain
f578edd3bc (svn r23533) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:32:48 +00:00
rubidium
b6a303387c (svn r23532) -Codechange: unify widget naming of (extra) viewport 2011-12-16 16:29:53 +00:00
truebrain
e9f584ac21 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:27:45 +00:00
rubidium
b90aa80e77 (svn r23530) -Codechange: begin unify the naming of widgets and add comments to them, in this case the waypoint view widgets 2011-12-16 16:25:34 +00:00
truebrain
98d3f11d45 (svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile 2011-12-16 16:23:50 +00:00
truebrain
2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
rubidium
fd559171b4 (svn r23527) -Codechange: unify colo(u)r as far as it goes 2011-12-15 22:02:00 +00:00
rubidium
3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
truebrain
df0afdf0dc (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
2011-12-15 19:54:23 +00:00
truebrain
2ecbe89509 (svn r23524) -Codechange: move the name of the scanner to a level deeper 2011-12-15 19:52:44 +00:00
rubidium
efb37bb919 (svn r23523) -Fix: language compilation error 2011-12-15 18:48:19 +00:00
translators
d85996bb32 (svn r23522) -Update from WebTranslator v3.0:
catalan - 19 changes by arnau
korean - 22 changes by junho2813, telk5093
urdu - 1 changes by haider
2011-12-15 18:45:15 +00:00
rubidium
18d929aa21 (svn r23521) -Codechange: use the actual enum values from the 'core' in the API when they refer to the in-game values in the cases where that is possible and sensible 2011-12-15 18:40:15 +00:00
rubidium
bb564bc34d (svn r23520) -Fix-ish: wrong @param name causing missing documentation 2011-12-15 18:36:29 +00:00
rubidium
1eb17c8307 (svn r23519) -Change: do not export enum values in the AI documentation 2011-12-15 18:35:46 +00:00
michi_cc
caebb5ac63 (svn r23518) -Fix (r23124): [NewGRF] The refit cost callback wasn't called if only the subtype differed. 2011-12-14 22:38:15 +00:00
frosch
66d1848f5e (svn r23517) -Fix (r23336, etc.): Give map generation window the same priority as the start server window. 2011-12-14 20:47:33 +00:00
frosch
dad042585c (svn r23516) -Fix [FS#4886]: ScriptSign::BuildSign() returned wrong result if the sign name was too long. 2011-12-14 20:26:54 +00:00
frosch
0a7b49e398 (svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and relatives. 2011-12-14 20:13:18 +00:00
frosch
7f3227cd5c (svn r23514) -Fix: squirrel_export.sh failed for svn working copies. 2011-12-14 19:59:49 +00:00
translators
e0974b8632 (svn r23513) -Update from WebTranslator v3.0:
croatian - 25 changes by VoyagerOne
finnish - 1 changes by jpx_
french - 4 changes by glx
italian - 9 changes by lorenzodv
korean - 4 changes by junho2813
russian - 1 changes by Lone_Wolf
2011-12-14 18:45:30 +00:00
planetmaker
8c48fd1fe5 (svn r23512) -Change [FS#4872]: Allow to place locks also on river rapids and restore rivers, if locks are deleted 2011-12-13 23:01:36 +00:00
planetmaker
86c1947579 (svn r23511) -Fix [FS#4885] (r23504): Aircraft orders could not be shared anymore when they had no range property declared (Hirundo) 2011-12-13 21:10:43 +00:00
translators
994b541fcf (svn r23510) -Update from WebTranslator v3.0:
belarusian - 9 changes by Wowanxm
dutch - 25 changes by habell
english_US - 9 changes by Rubidium
finnish - 13 changes by jpx_
french - 5 changes by glx
german - 9 changes by planetmaker
hungarian - 12 changes by Brumi
luxembourgish - 37 changes by Phreeze
polish - 1 changes by matma6
romanian - 25 changes by kkmic
russian - 9 changes by Lone_Wolf
spanish - 9 changes by Terkhen
vietnamese - 45 changes by myquartz
2011-12-13 18:46:38 +00:00
frosch
19c9fe96f6 (svn r23509) -Fix [FS#4884]: Drawing of newspaper headlines used different padding than the initial sizing of the window. 2011-12-13 18:27:04 +00:00
michi_cc
7f8162c324 (svn r23508) -Add: Engine sorter for aircraft range. 2011-12-13 01:18:40 +00:00
michi_cc
2a776a6ca3 (svn r23507) -Fix (r23505): Comment typo. 2011-12-13 00:54:13 +00:00
michi_cc
a085ea9e4b (svn r23506) -Add: [NoAI] Support for dealing with aircraft range. 2011-12-13 00:43:59 +00:00
michi_cc
34ffd08a19 (svn r23505) -Add: Indication in the order list if the next destination of an order is out of range. 2011-12-13 00:43:48 +00:00
michi_cc
def8e7215b (svn r23504) -Feature: Aircraft range. 2011-12-13 00:43:35 +00:00
frosch
686f51d810 (svn r23503) -Fix (r23143): Desync debug wants to resolve vehicle variables of vehicles without NewGRF. So, let it. 2011-12-12 19:31:47 +00:00
frosch
44dc83b73f (svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF. 2011-12-12 19:30:36 +00:00
yexo
89854e0ab1 (svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore 2011-12-12 18:55:04 +00:00
translators
ea99c28d70 (svn r23500) -Update from WebTranslator v3.0:
belarusian - 24 changes by Wowanxm
czech - 65 changes by ReisRyos
estonian - 16 changes by runekri3
french - 3 changes by glx
german - 6 changes by NG
hungarian - 30 changes by Brumi
italian - 3 changes by lorenzodv
korean - 3 changes by junho2813
russian - 5 changes by Lone_Wolf, akasoft
spanish - 16 changes by Terkhen
2011-12-12 18:45:52 +00:00
translators
4d9daf6d7f (svn r23498) -Update from WebTranslator v3.0:
english_US - 3 changes by Rubidium
finnish - 3 changes by jpx_
german - 2 changes by planetmaker
italian - 13 changes by Snail_, lorenzodv
russian - 13 changes by Lone_Wolf
swedish - 15 changes by Zuu
vietnamese - 2 changes by nglekhoi
2011-12-11 18:45:51 +00:00
frosch
1ea449630d (svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore) 2011-12-11 15:55:31 +00:00
yexo
8f36e70e35 (svn r23496) -Fix: [Squirrel] Provide a proper error message when the _cmp meta-function doesn't return an integer 2011-12-11 15:52:18 +00:00
yexo
686297c2c6 (svn r23495) -Feature: button in NewGRF window to open URL from action14 2011-12-11 12:55:28 +00:00
yexo
7a7d9a7b6b (svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url 2011-12-11 12:55:04 +00:00
rubidium
f3b78bf076 (svn r23493) -Fix (r23476): clearing errors didn't clear the currently shown critical error 2011-12-11 12:20:02 +00:00
yexo
e0e5e51e2a (svn r23492) -Feature: add 'view website' button to the online content window 2011-12-11 11:57:52 +00:00
rubidium
93b568469a (svn r23491) -Document [FS#4846]: why we're not saving settings when OpenTTD crashes 2011-12-11 11:54:44 +00:00
yexo
b4fdba2fb3 (svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes 2011-12-11 11:47:08 +00:00
yexo
0143f00d6f (svn r23489) -Change: don't wrap around the console history and give an empty line if you click the down-key enough 2011-12-11 11:37:03 +00:00
rubidium
7e7c262167 (svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse moving with the allegro video driver 2011-12-11 07:26:13 +00:00
frosch
2fe8e89a45 (svn r23487) -Change/Fix: Make autoreplace, autorenew, cloning and autorefit check all articulated parts of a vehicle to find a shared cargo subtype. 2011-12-10 21:09:21 +00:00
truebrain
a8960f64be (svn r23486) -Fix (r22764): 3 for the price of 1: fix up ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting) 2011-12-10 21:07:04 +00:00
frosch
14c6a7465a (svn r23485) -Fix: Autorefit failed if the first part of an articulated vehicle did not carry any cargo. 2011-12-10 21:00:57 +00:00
rubidium
b5a2183214 (svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order 2011-12-10 19:20:30 +00:00
translators
d800fcae1d (svn r23483) -Update from WebTranslator v3.0:
catalan - 14 changes by arnau
czech - 8 changes by ReisRyos
english_US - 13 changes by Rubidium
finnish - 13 changes by jpx_
french - 13 changes by glx
german - 13 changes by planetmaker
hungarian - 7 changes by Brumi
2011-12-10 18:45:34 +00:00
michi_cc
7099faba28 (svn r23482) -Change: [Win32] Move re-painting the window and doing palette animation into a separate thread. 2011-12-10 16:54:46 +00:00
michi_cc
a0f3649c1a (svn r23481) -Add: Function to get the CPU core count. 2011-12-10 16:54:41 +00:00
rubidium
0ca25fb3af (svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible 2011-12-10 16:05:26 +00:00
rubidium
e88a982fc6 (svn r23479) -Codechange: keep a copy of raw strings from the parameters of the error messages 2011-12-10 16:04:32 +00:00
rubidium
c06a3555fb (svn r23478) -Codechange: add a method to copy string parameters *and* its raw strings 2011-12-10 16:03:12 +00:00
rubidium
7bb4a0b825 (svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user interface ;) 2011-12-10 15:41:39 +00:00
rubidium
2bf0fc3c5c (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 2011-12-10 15:16:58 +00:00
rubidium
420d358fef (svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any 2011-12-10 15:14:11 +00:00
rubidium
58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 2011-12-10 13:54:10 +00:00
rubidium
8315b00b32 (svn r23473) -Codechange: refactor the error message data into a separate structure 2011-12-10 12:57:30 +00:00
rubidium
ebb3ad33ff (svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ability to find a font 2011-12-10 12:56:37 +00:00
rubidium
6cbeb9e745 (svn r23471) -Codechange: move the error related code out of misc_gui.cpp into error_gui.cpp 2011-12-10 08:49:42 +00:00
rubidium
b231e80125 (svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files 2011-12-10 08:31:14 +00:00
yexo
1db365d0e2 (svn r23469) -Fix (r23468): gcc warning about initialization order 2011-12-10 01:49:50 +00:00
yexo
e2a9dd1b0a (svn r23468) -Feature [FS#4827]: when looking for missing content, automatically select it so you can easily start the download 2011-12-10 00:01:28 +00:00
yexo
e31ed7db25 (svn r23467) -Feature [FS#4827]: automatically close the online content window after confirming the download with 'ok' 2011-12-09 22:44:06 +00:00
rubidium
6153dc57f5 (svn r23466) -Fix [FS#4871, FS#4874]: assertion triggered when resizing a window during ReInit by an amount that's not a multiple of the resize interval 2011-12-09 22:07:00 +00:00
yexo
dcba6c25ea (svn r23465) -Feature [FS#4827]: add 'find missing content online' button to 'load savegame' and 'find network game' windows 2011-12-09 21:49:52 +00:00
rubidium
d9b9ac6013 (svn r23464) -Fix [FS#4876]: clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy. 2011-12-09 20:48:13 +00:00
yexo
7af041d12d (svn r23463) -Fix (r23461): unused variable 2011-12-09 20:27:59 +00:00
yexo
16eb11e988 (svn r23462) -Codechange: use AirportTileTableIterator in a few more places to make the code easier to read 2011-12-09 19:53:42 +00:00
yexo
c9be5d50da (svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed 2011-12-09 19:30:30 +00:00
translators
42c4fdf9ab (svn r23460) -Update from WebTranslator v3.0:
czech - 42 changes by ReisRyos
brazilian_portuguese - 33 changes by Tucalipe
urdu - 154 changes by haider
2011-12-09 18:45:15 +00:00
yexo
b8ee5c018d (svn r23459) -Fix: don't crash trying to draw airport tiles when the airport grf is missing 2011-12-09 17:14:03 +00:00
yexo
2b1a380902 (svn r23458) -Fix: don't assume all industries that cut trees have tile 0,0
-Fix: wait until all tiles of an industry are completed before starting to cut trees
2011-12-09 16:12:38 +00:00
yexo
6aae285b72 (svn r23457) -Codechange: introduce Industry::TileBelongsToIndustry() to simplify code checking for that 2011-12-09 16:11:42 +00:00
yexo
e7777f44b9 (svn r23456) -Fix (r23441): oilrigs don't have any layouts nor do they provide airport noise 2011-12-09 15:16:21 +00:00
truebrain
c53440c103 (svn r23455) -Fix (r23438): send the stderr in the right part to /dev/null 2011-12-09 15:06:14 +00:00
01745c8226 (svn r23454) -Change: Mark company window dirty when moving a rail engine creates or deletes a train. 2011-12-09 08:10:15 +00:00
yexo
b5d707b7a0 (svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID) 2011-12-08 23:28:43 +00:00
yexo
ca57514b9f (svn r23452) -Codechange: document instead of writing to stderr that ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT 2011-12-08 23:28:02 +00:00
rubidium
ccededbf77 (svn r23451) -Codechange: [SDL] Move 32bpp-anim palette animation to the draw thread instead of the single threaded bit of the game loop. This causes a speedup of up to 15% when animation is turned on with the 32bpp-anim blitter 2011-12-08 20:01:31 +00:00
frosch
9a0f9c3a2d (svn r23450) -Fix (r23449): Forgot unfinished languages. 2011-12-08 19:49:29 +00:00
frosch
a46de3e501 (svn r23449) -Fix (r23140): Wrong parameters in error message. 2011-12-08 19:47:45 +00:00
rubidium
61625e53c9 (svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL) 2011-12-08 19:37:33 +00:00
translators
8630e97b4f (svn r23447) -Update from WebTranslator v3.0:
catalan - 42 changes by arnau
dutch - 1 changes by Jacco011
polish - 26 changes by matma6
brazilian_portuguese - 27 changes by Tucalipe
urdu - 150 changes by haider
2011-12-08 18:45:30 +00:00
rubidium
2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 2011-12-08 18:13:29 +00:00
rubidium
9e8b76650a (svn r23445) -Fix [FS#4715]: document behaviour with aircraft/ships poking outside of the depot before getting hidden 2011-12-07 21:09:10 +00:00
translators
df8e0594d8 (svn r23444) -Update from WebTranslator v3.0:
urdu - 92 changes by haider
2011-12-07 18:45:05 +00:00
frosch
85ba182fde (svn r23443) -Fix (r23413): Building of locks in SE failed. 2011-12-07 18:41:38 +00:00
rubidium
390bc7aea3 (svn r23442) -Fix [FS#4511]: document that some video card drivers have trouble going to 8bpp mode 2011-12-07 16:01:43 +00:00
rubidium
de46e9647b (svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout into account resulting in wrong noise levels or nearests towns (patch by Zuu) 2011-12-06 21:02:57 +00:00
translators
c0a6ce3025 (svn r23440) -Update from WebTranslator v3.0:
estonian - 35 changes by hellohboy
french - 25 changes by glx
hungarian - 35 changes by Brumi
italian - 2 changes by lorenzodv
japanese - 4 changes by ikanotheokara
korean - 21 changes by junho2813
luxembourgish - 99 changes by Phreeze
tamil - 37 changes by aswn
urdu - 4 changes by haider
2011-12-06 18:46:15 +00:00
yexo
52c3e45cf1 (svn r23439) -Fix: Use the DEBUG macro to output the reason for a compile failure in info.nut instead of printing it directly to stderr 2011-12-06 15:09:02 +00:00
rubidium
d60ec55983 (svn r23438) -Fix [FS#4867]: perform checks for nforenum/grfcodec in configure, including a version check so a proper error can be given when a too old grfcodec or nforenum is used 2011-12-05 20:11:42 +00:00
translators
ce21a91db7 (svn r23437) -Update from WebTranslator v3.0:
belarusian - 27 changes by Wowanxm
dutch - 25 changes by habell
finnish - 1 changes by jpx_
italian - 25 changes by lorenzodv
korean - 24 changes by junho2813
romanian - 22 changes by kkmic
russian - 28 changes by Lone_Wolf, akasoft
tamil - 29 changes by aswn
vietnamese - 5 changes by nglekhoi
2011-12-05 18:46:07 +00:00
rubidium
100b46463e (svn r23436) -Merge: documentation updates from 1.1 2011-12-04 20:11:20 +00:00
rubidium
6bf2b30035 (svn r23433) -Fix [FS#4868]: recolouring of some animated colours from the windows palette went wrong 2011-12-04 19:07:24 +00:00
translators
09683301ed (svn r23432) -Update from WebTranslator v3.0:
croatian - 27 changes by VoyagerOne
english_US - 25 changes by Rubidium
finnish - 27 changes by jpx_
german - 25 changes by planetmaker
korean - 1 changes by junho2813
romanian - 5 changes by kkmic
spanish - 25 changes by Terkhen
swedish - 27 changes by Zuu
tamil - 90 changes by aswn
2011-12-04 18:45:55 +00:00
truebrain
4df85af950 (svn r23431) -Fix: typo in @param variable 2011-12-04 15:48:15 +00:00
glx
634796b860 (svn r23430) -Fix (r23219): also consider the old directories when playing a song 2011-12-04 14:17:51 +00:00
rubidium
8b5d315d2a (svn r23429) -Fix [FS#4842]: prevent windows to be resized beyond the bounds of the (main) window 2011-12-04 14:00:23 +00:00
michi_cc
6711026011 (svn r23428) -Fix (r23415): Initial size of the infrastructure details windows was sometimes too small. 2011-12-04 13:27:24 +00:00
frosch
34f9c4d00f (svn r23427) -Fix: Do not load screen resolution and other basic stuff after bootstrap is finished. It was already loaded before, and might got changed already. 2011-12-04 13:21:51 +00:00
alberth
40186486de (svn r23426) -Change [FS#4685] (r23423): Put currency window above game options. 2011-12-04 12:11:27 +00:00
rubidium
b2dc4d9c1d (svn r23425) -Document [FS#4815]: why vehicles might be continuously changing speed up and down 2011-12-04 12:07:19 +00:00
frosch
1f9f73d2b6 (svn r23424) -Change: Make the company GUI somewhat smaller if there are no shareholders. 2011-12-04 11:59:08 +00:00
alberth
2cf284154c (svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority. 2011-12-04 11:58:56 +00:00
rubidium
5891099f24 (svn r23422) -Fix [FS#4863] (r22797): the default palette setting wasn't applied correctly anymore as the configuration file is loaded after the first NewGRF scan 2011-12-04 11:18:43 +00:00
alberth
87fdac852c (svn r23421) -Fix [FS#4865, FS#4861] (r23393): The priority of WC_GAME_OPTIONS windows were too high, causing hiding of currency window as well. 2011-12-04 10:52:08 +00:00
frosch
51da427dae (svn r23420) -Change: Put the manager name directly under the picture instead of vertically centering it. 2011-12-04 10:47:57 +00:00
rubidium
5fc4ce1eb1 (svn r23419) -Fix [FS#4864] (r23316): the sprite aligner was broken as it didn't scale properly to 'GUI' scale 2011-12-04 09:15:13 +00:00
rubidium
432c16d5b9 (svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name generator would trigger a "savegame corrupt" exception 2011-12-04 08:20:01 +00:00
rubidium
a37e8ebe43 (svn r23417) -Fix: wrong argument to printf 2011-12-03 23:47:42 +00:00
michi_cc
0e5e8fff12 (svn r23416) -Add: [NoAI] API for querying infrastructure costs. 2011-12-03 23:40:57 +00:00
michi_cc
d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 2011-12-03 23:40:46 +00:00
michi_cc
f98312eb77 (svn r23414) -Add: Company infrastructure counts for stations/airports. 2011-12-03 23:40:30 +00:00
michi_cc
c06bbb4863 (svn r23413) -Add: Company infrastructure counts for canals. 2011-12-03 23:40:23 +00:00
michi_cc
a29a9d94b7 (svn r23412) -Add: Company infrastructure counts for road. 2011-12-03 23:40:18 +00:00
michi_cc
d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 2011-12-03 23:40:13 +00:00
michi_cc
6083d6ffb4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 2011-12-03 23:40:08 +00:00
glx
eadbb5764b (svn r23409) -Change: reorder files in langs project 2011-12-03 22:34:15 +00:00
terkhen
50e08f333a (svn r23408) -Feature: Allow to create subsidies for any combination of source and destination types.
-Change: Do not rely in TownEffects for awarding subsidies.
2011-12-03 22:26:30 +00:00
terkhen
de0bf0663a (svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns. 2011-12-03 22:23:10 +00:00
terkhen
0e5f334315 (svn r23406) -Change: Run the monthly subsidy loop after cargo acceptance has been calculated. 2011-12-03 22:22:25 +00:00
terkhen
59d8b0204f (svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc). 2011-12-03 22:21:27 +00:00
terkhen
e9e62b1629 (svn r23404) -Add: Tilematrix structure (michi_cc). 2011-12-03 22:19:09 +00:00
terkhen
bf1b6d570b (svn r23402) -Add: Function to check if a TileArea contains a tile. (michi_cc) 2011-12-03 20:19:33 +00:00
translators
c792125d6a (svn r23401) -Update from WebTranslator v3.0:
korean - 1 changes by junho2813
serbian - 17 changes by etran
2011-12-03 18:45:12 +00:00
planetmaker
c5ed9bd4f5 (svn r23400) -Fix (r23393, r23382): Text query window was hidden in numerous cases 2011-12-03 14:45:02 +00:00
truebrain
5a9523bfa0 (svn r23399) -Fix (r23362): a randomizer should return a random value, not always the first 2011-12-02 23:40:32 +00:00
truebrain
f259e6bf5d (svn r23398) -Fix: the AIEvent.ET_COMPANY_NEW was only triggered if a company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead 2011-12-02 23:40:24 +00:00
truebrain
13c3993e86 (svn r23397) -Change: remove the AI_ prefix from all AIEvent enums 2011-12-02 23:40:16 +00:00
truebrain
c3026bc601 (svn r23396) -Fix: squirrel export script did not ignore Doxygen blocks, causing funny results in some corner cases 2011-12-02 23:40:09 +00:00
rubidium
739c315243 (svn r23395) -Fix [FS#4862]: a character that is path of the 'normal' fonts, but relocated after loading, was missing for the monospace font 2011-12-02 19:58:34 +00:00
translators
0f9c740dd5 (svn r23394) -Update from WebTranslator v3.0:
german - 2 changes by planetmaker
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2011-12-02 18:45:23 +00:00
yexo
fa930b15c7 (svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows 2011-12-02 11:48:54 +00:00
yexo
1bc1a41937 (svn r23392) -Fix: [NoAI] assigning 'null' to an AIList element to remove it didn't work 2011-12-01 22:23:13 +00:00
rubidium
42c92be121 (svn r23391) -Feature: [NewGRF] Allow translating multiple languages with Action 13 in GRFv8 2011-12-01 19:42:51 +00:00
translators
23ab60437c (svn r23390) -Update from WebTranslator v3.0:
belarusian - 2 changes by Wowanxm
dutch - 2 changes by habell
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
french - 2 changes by glx
polish - 1 changes by Spankin
2011-12-01 18:45:32 +00:00
glx
b1f45a81bd (svn r23389) -Fix (r11777, r12077, r12078): wrong include in strgen project 2011-12-01 15:14:56 +00:00
truebrain
96b4e683a8 (svn r23388) -Fix: remove now unused strings from all other languages too 2011-12-01 12:04:36 +00:00
truebrain
9dde1287aa (svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend 2011-12-01 12:04:22 +00:00
truebrain
a8b22e5292 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 2011-12-01 12:04:10 +00:00
truebrain
fedeba5f00 (svn r23385) -Fix: remove now unused strings from all other languages too 2011-12-01 12:03:54 +00:00
truebrain
cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 2011-12-01 12:03:34 +00:00
truebrain
0c2bbdde5c (svn r23383) -Update: bring Squirrel to 2.2.5; besides some nice bug fixes, it mostly solves the sort() issues 2011-12-01 12:03:20 +00:00
yexo
71c1ef5d26 (svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window 2011-12-01 11:57:25 +00:00
glx
721c74d279 (svn r23381) -Fix (r23380): win9x compilation 2011-11-30 20:17:27 +00:00
glx
44918dded0 (svn r23380) -Add: monospace font detection for win32 (also ignore duplicates) 2011-11-30 17:05:14 +00:00
truebrain
a42866cee1 (svn r23379) -Fix: set more SVN properties correctly (should fix my script before committing :D) 2011-11-30 14:11:02 +00:00
truebrain
eab19b9ff3 (svn r23378) -Fix: set SVN properties correctly 2011-11-30 14:02:15 +00:00
rubidium
582601b2f7 (svn r23377) -Fix: compilation failure when networking is disabled 2011-11-30 06:20:14 +00:00
truebrain
160bfd8851 (svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit) 2011-11-30 01:22:18 +00:00
truebrain
1902803b6e (svn r23375) -Change: that name I haven't used for several years. Let it die out now finally, please? 2011-11-29 23:47:49 +00:00
truebrain
0f9954ec1b (svn r23374) -Add: Doxygen files for the NoAI API (Yexo) 2011-11-29 23:31:55 +00:00
truebrain
7158aaea31 (svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel C++ glue templates to script/api/template 2011-11-29 23:29:20 +00:00
truebrain
e60747a604 (svn r23372) -Move: move squirrel export script to script/api/ 2011-11-29 23:29:12 +00:00
truebrain
549e072041 (svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API 2011-11-29 23:27:34 +00:00
truebrain
4d91f645c1 (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions 2011-11-29 23:27:26 +00:00
truebrain
2c877b074e (svn r23369) -Codechange: use script includes when possible, not ai includes 2011-11-29 23:27:17 +00:00
truebrain
e0d4c75cf4 (svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore 2011-11-29 23:27:08 +00:00
truebrain
880f377fa6 (svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid global variable in script_controller 2011-11-29 23:27:01 +00:00
truebrain
3e6d026129 (svn r23366) -Codechange: move most of the Dummy code to script/, unifying it 2011-11-29 23:26:52 +00:00
truebrain
4505edbd47 (svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values) 2011-11-29 23:26:44 +00:00
truebrain
34d7f01ccc (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 2011-11-29 23:26:35 +00:00
truebrain
c38c16773c (svn r23363) -Documentation: document a tiny bit better what is in variables 2011-11-29 23:21:59 +00:00
truebrain
e37149a1de (svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary 2011-11-29 23:21:52 +00:00
truebrain
ae8540f5e0 (svn r23361) -Codechange: move multiplayer DoCommand callback code so other script users can call their own 2011-11-29 23:21:42 +00:00
truebrain
3da8b5097a (svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances 2011-11-29 23:21:33 +00:00
truebrain
75c4bd280a (svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file) 2011-11-29 23:21:24 +00:00
truebrain
bbd9facb44 (svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file) 2011-11-29 23:21:13 +00:00
truebrain
99cb93ef6f (svn r23357) -Codechange: move AIStorage to ScriptStorage 2011-11-29 23:21:04 +00:00
truebrain
c2398c0fe1 (svn r23356) -Fix: some OSX versions have ScriptOrder defined 2011-11-29 23:15:48 +00:00
truebrain
98103121d4 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 2011-11-29 23:15:35 +00:00
truebrain
afdb67a353 (svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium) 2011-11-29 23:07:38 +00:00
truebrain
5f6dc24663 (svn r23353) -Fix (r23350): somehow one file slipped through as unmodified 2011-11-29 22:30:41 +00:00
truebrain
00877dd6d3 (svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel 2011-11-29 22:24:30 +00:00
truebrain
96249564fd (svn r23351) -Add: generate the correct API type when creating Squirrel glue (Rubidium) 2011-11-29 22:24:04 +00:00
truebrain
bff7c33aa9 (svn r23350) -Add: support different ScriptTypes in the helper functions for GetClassName (Rubidium) 2011-11-29 22:23:33 +00:00
truebrain
b13fa6924b (svn r23349) -Fix (r23210): one remaining unneeded GetClassName 2011-11-29 22:23:04 +00:00
rubidium
06fe032a7b (svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval 2011-11-29 21:09:58 +00:00
translators
cdb574b9d1 (svn r23347) -Update from WebTranslator v3.0:
arabic_egypt - 72 changes by kasakg
dutch - 8 changes by habell
portuguese - 24 changes by JayCity
romanian - 41 changes by kkmic
russian - 1 changes by Lone_Wolf
2011-11-29 18:45:24 +00:00
translators
9376f7555a (svn r23346) -Update from WebTranslator v3.0:
swedish - 8 changes by Zuu
2011-11-28 18:45:07 +00:00
rubidium
665c7676b7 (svn r23345) -Fix: gender where no gender can exist 2011-11-27 19:22:42 +00:00
translators
ad8f1e0435 (svn r23344) -Update from WebTranslator v3.0:
croatian - 8 changes by VoyagerOne
korean - 16 changes by junho2813
polish - 36 changes by matma6, xaxa
brazilian_portuguese - 83 changes by Tucalipe
romanian - 25 changes by kkmic
2011-11-27 18:45:26 +00:00
frosch
f8478cecb3 (svn r23343) -Fix (r23332): Incorrect encoding of sprites with much transparency. 2011-11-27 14:53:05 +00:00
rubidium
04c40aa04d (svn r23342) -Fix (r23300): for arctic and desert towns you were required to deliver more than 4 billion units, instead of one or more units 2011-11-27 11:42:52 +00:00
rubidium
251c7fbc8d (svn r23341) -Fix (r23338): memory leak when converting rails 2011-11-27 09:37:30 +00:00
rubidium
80e55c9775 (svn r23340) -Fix [FS#4824]: [Windows] A text in the installer was so long that NSIS didn't display it right anymore 2011-11-26 18:53:07 +00:00
translators
e76b7dc94d (svn r23339) -Update from WebTranslator v3.0:
belarusian - 4 changes by Wowanxm
italian - 13 changes by lorenzodv
korean - 25 changes by junho2813
slovak - 33 changes by klingacik
2011-11-26 18:45:23 +00:00
rubidium
95f88ea537 (svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL 2011-11-26 18:11:22 +00:00
rubidium
104adbdb3a (svn r23337) -Fix [FS#4826]: don't send chat messages to clients that haven't joined yet 2011-11-26 17:28:18 +00:00
rubidium
435b5a08c4 (svn r23336) -Fix [FS#4709]: bring some more order in the ordering of the windows, e.g. don't let a save or load dialog get hidden by a new message (monoid) 2011-11-26 16:09:25 +00:00
frosch
2ba05f1601 (svn r23335) -Change: Make determination of vehicle weight when loaded consistent between road and rail vehicle purchase info. 2011-11-26 14:52:33 +00:00
frosch
3e780a794b (svn r23334) -Fix [FS#4820]: Road vehicle purchase info failed to display vehicles carrying no cargo. (Can only happen when NewGRFs are screwed up.) 2011-11-26 14:51:06 +00:00
349da42ce3 (svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom. 2011-11-26 13:48:06 +00:00
cd6249dfc5 (svn r23332) -Fix (r23316): Length of transparent pixels could exceed a byte. (frosch) 2011-11-26 13:36:38 +00:00
rubidium
a9bdd04072 (svn r23331) -Fix [FS#4851] (rCS, r148): abort building/moving HQ when clicking on the button again, just like when building rail, stations, etc (sbr) 2011-11-26 12:53:05 +00:00
rubidium
61abe29108 (svn r23330) -Fix [FS#4853] (r23316): alignment of signals in the signals menu was incorrect 2011-11-26 12:49:54 +00:00
07633a064c (svn r23329) -Fix (r23316): Scale child sprite pixel offsets unless told not to. Fixes lifts and industry graphics. 2011-11-25 23:06:17 +00:00
2f05d090fb (svn r23328) -Change: Make the viewport vehicle position hash cover the same area. 2011-11-25 23:02:39 +00:00
translators
6dde12a0e8 (svn r23327) -Update from WebTranslator v3.0:
belarusian - 16 changes by KorneySan
finnish - 15 changes by jpx_
german - 8 changes by planetmaker
italian - 8 changes by lorenzodv
korean - 10 changes by junho2813
russian - 1 changes by Lone_Wolf
vietnamese - 15 changes by nglekhoi
welsh - 9 changes by kazzie
2011-11-25 18:45:44 +00:00
rubidium
bf55f58a47 (svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore 2011-11-25 17:33:58 +00:00
03c86ab874 (svn r23325) -Fix (r23316): World screenshot was incorrectly positioned. 2011-11-25 13:01:37 +00:00
8be8d5e843 (svn r23324) -Fix (r15555): Don't free reusable buffer. 2011-11-25 11:45:46 +00:00
truebrain
7ff6daee80 (svn r23323) -Fix: when you fund a town, it should grow; goals reached or not 2011-11-25 11:35:15 +00:00
rubidium
8062c80219 (svn r23322) -Fix: French language used a wrong argument index 2011-11-24 19:34:53 +00:00
3e1aaa1235 (svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at wrong zoom level. 2011-11-24 18:55:56 +00:00
translators
25a5257718 (svn r23320) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
dutch - 7 changes by habell
english_US - 8 changes by Rubidium
french - 15 changes by Snail_, glx
italian - 19 changes by lorenzodv
russian - 10 changes by Lone_Wolf
spanish - 8 changes by Terkhen
welsh - 7 changes by kazzie
2011-11-24 18:45:37 +00:00
3e1d070413 (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. 2011-11-24 17:37:20 +00:00
7337e7ff49 (svn r23318) -Change: Make text effects rise at their previous speed. 2011-11-24 17:15:38 +00:00
aa64a397f9 (svn r23317) -Change: Rename sprite_cache_size setting so that the new default is used. 2011-11-24 16:02:46 +00:00
81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 2011-11-24 12:38:48 +00:00
15d0a22aac (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 2011-11-24 12:26:44 +00:00
4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 2011-11-24 12:20:14 +00:00
truebrain
00db8b8008 (svn r23313) -Fix: economy.fund_buildings was not shown in the GUI 2011-11-23 21:23:41 +00:00
rubidium
560bae8c91 (svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it 2011-11-23 20:36:27 +00:00
truebrain
ecbe29ecb7 (svn r23311) -Remove: removed the silly blitter called 8bpp-debug. You can find him at the same place as you can find CTRL+D. Sorry for those who liked to trip while playing OpenTTD; I truly am sorry :D 2011-11-23 19:36:11 +00:00
truebrain
b9192bdc4c (svn r23310) -Fix: Town GUI was not representing the true conditions of arctic / tropical goals 2011-11-23 18:55:13 +00:00
truebrain
bd3fd1171e (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 2011-11-23 18:54:51 +00:00
translators
31f266f254 (svn r23308) -Update from WebTranslator v3.0:
english_US - 8 changes by Rubidium
german - 34 changes by NG, planetmaker
italian - 16 changes by Snail_
russian - 5 changes by Lone_Wolf
spanish - 7 changes by Terkhen
swedish - 7 changes by Zuu
2011-11-23 18:45:41 +00:00
truebrain
e83c82045f (svn r23307) -Revert (r23306): committed one file too many :s 2011-11-23 16:29:34 +00:00
truebrain
3008ded077 (svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog 2011-11-23 16:25:38 +00:00
rubidium
08fb610592 (svn r23305) -Fix (r23298): warning about comparing different enums 2011-11-23 16:17:13 +00:00
truebrain
d809ea4f23 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 2011-11-23 16:11:15 +00:00
truebrain
e30256692f (svn r23303) -Add: economy.fund_buildings, to disallow funding buildings 2011-11-23 16:10:18 +00:00
truebrain
ef02931a32 (svn r23302) -Add: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing 2011-11-23 16:09:46 +00:00
truebrain
44a1ae8cf2 (svn r23301) -Fix: remove changed strings from all languages and alter those we can 2011-11-23 16:08:31 +00:00
truebrain
f906ebd2a5 (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 2011-11-23 16:07:14 +00:00
truebrain
68b133c110 (svn r23299) -Codechange: remove silly comments from AI documentation 2011-11-23 16:05:59 +00:00
truebrain
229e572663 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 2011-11-23 16:05:19 +00:00
truebrain
4e09cde649 (svn r23297) -Add: {CARGO_TINY} (Rubidium) 2011-11-23 16:04:28 +00:00
truebrain
389ffec7db (svn r23296) -Codechange: I found a fund building, but do I fund found buildings? 2011-11-23 13:42:23 +00:00
truebrain
d03bbdd4ac (svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs) 2011-11-23 13:39:36 +00:00
truebrain
492c96d214 (svn r23294) -Codechange: sq_pop in native callback is just a waste of CPU cycles, as the top is reset in all cases 2011-11-23 13:38:35 +00:00
truebrain
54ec3a2a3f (svn r23293) -Codechange: make LoadScript/LoadFile non-static 2011-11-23 13:37:48 +00:00
translators
f4735ce234 (svn r23292) -Update from WebTranslator v3.0:
catalan - 57 changes by arnau
dutch - 8 changes by habell
swedish - 9 changes by Zuu
2011-11-22 18:45:15 +00:00
michi_cc
d86af7639c (svn r23291) -Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask. (peter1138) 2011-11-21 22:39:59 +00:00
michi_cc
4d2a9e384c (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 2011-11-21 20:51:43 +00:00
translators
3748cab608 (svn r23289) -Update from WebTranslator v3.0:
german - 12 changes by NG
polish - 19 changes by icecrasher, wojteks86
2011-11-21 18:45:14 +00:00
rubidium
d4b4c53a07 (svn r23288) -Feature: use the monospace font for the NewGRF text windows 2011-11-20 19:09:15 +00:00
rubidium
1fde9c7f8a (svn r23287) -Fix (r23274): mono_size is a better name than large_mono for the size variable in the configuration file 2011-11-20 19:06:27 +00:00
translators
59fdb00f1e (svn r23286) -Update from WebTranslator v3.0:
basque - 1 changes by Thadah
croatian - 8 changes by VoyagerOne
welsh - 4 changes by kazzie
2011-11-20 18:45:16 +00:00
rubidium
0759649478 (svn r23285) -Fix: scanning of content after download didn't work 2011-11-20 18:36:54 +00:00
rubidium
56a2c4b177 (svn r23284) -Fix [FS#4845]: Pathfinders go haywire when you build a lock over a ship going perpendicular to the axis of the new lock 2011-11-20 15:39:23 +00:00
rubidium
18a0dc894d (svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts 2011-11-20 15:17:34 +00:00
frosch
107f67bfa4 (svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed. 2011-11-20 14:39:12 +00:00
rubidium
7f390964c3 (svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible 2011-11-20 12:10:41 +00:00
rubidium
9835600cd1 (svn r23278) -Add: monospaced sprite font with the same characters as the normal font 2011-11-20 12:04:09 +00:00
rubidium
33f1636847 (svn r23277) -Codechange: fallback font support for fontcache 2011-11-20 12:02:06 +00:00
rubidium
462b875b4a (svn r23276) -Codechange: add the answer for the question whether we're looking for monospace fonts in the searcher 2011-11-20 12:01:42 +00:00
rubidium
9512838a5e (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 2011-11-20 11:59:36 +00:00
rubidium
dfefcab47d (svn r23274) -Add: internal support for a monospaced sprite font 2011-11-20 11:56:51 +00:00
rubidium
0a4a75b0af (svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings) 2011-11-20 11:52:11 +00:00
rubidium
2075bc702c (svn r23272) -Codechange: pass the initial font size to DrawString and friends 2011-11-20 11:50:12 +00:00
rubidium
542c61397c (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 2011-11-20 08:08:13 +00:00
rubidium
5638eaa307 (svn r23270) -Fix (r23267): compile failure without freetype 2011-11-19 22:27:53 +00:00
rubidium
b8866be093 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 2011-11-19 22:15:44 +00:00
rubidium
d86e6b6162 (svn r23268) -Fix (r23267): compilation failed on Windows 2011-11-19 21:09:52 +00:00
rubidium
4e1c4f9079 (svn r23267) -Codechange: unify the font name setting of the font cache 2011-11-19 21:02:37 +00:00
translators
02bff061f8 (svn r23266) -Update from WebTranslator v3.0:
belarusian - 8 changes by Wowanxm
french - 12 changes by glx
german - 4 changes by planetmaker
italian - 12 changes by lorenzodv
russian - 6 changes by akasoft
serbian - 8 changes by etran
spanish - 4 changes by Terkhen
tamil - 15 changes by aswn
vietnamese - 8 changes by nglekhoi
2011-11-19 18:45:42 +00:00
rubidium
447884fddb (svn r23265) -Codechange: replace the setfallbackfont callback function with a class to call back 2011-11-19 18:43:00 +00:00
truebrain
32b28bb868 (svn r23264) -Fix (r23263): save before commit 2011-11-19 15:51:21 +00:00
truebrain
b927ae5be9 (svn r23263) -Documentation: stop naming AI in comments in script/ files; it makes no sense 2011-11-19 15:50:10 +00:00
truebrain
e9dfd7a897 (svn r23262) -Fix: one annoying typo in a squirrel_export marker line 2011-11-19 15:42:40 +00:00
truebrain
dbd66cf523 (svn r23261) -Codechange: Squirrel glue templates were not inline (tnx to michi_cc) 2011-11-19 15:41:29 +00:00
rubidium
6afcc85be4 (svn r23260) -Codechange: abstract away some NFO by macros 2011-11-19 12:41:19 +00:00
frosch
100971630d (svn r23253) -Fix: Several clipping issues with the display of textfiles, esp. with RTL text direction. 2011-11-18 20:39:40 +00:00
frosch
ca4f0509fc (svn r23252) -Codechange: Add WD_BEVEL_xxx constants. 2011-11-18 20:38:30 +00:00
frosch
8ed02997d4 (svn r23251) -Fix: 3-column view of NewGRF GUI had too much space for certain font sizes. 2011-11-18 19:23:34 +00:00
translators
5c2447d6fc (svn r23250) -Update from WebTranslator v3.0:
basque - 20 changes by Thadah
english_US - 8 changes by Rubidium
esperanto - 55 changes by Christopher
finnish - 9 changes by jpx_
german - 7 changes by planetmaker
hungarian - 71 changes by IPG
latvian - 20 changes by Parastais
russian - 4 changes by Lone_Wolf
spanish - 5 changes by Terkhen
welsh - 4 changes by kazzie
2011-11-18 18:45:42 +00:00
frosch
0d901d599f (svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license. 2011-11-18 14:40:57 +00:00
frosch
b725913f3b (svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic. 2011-11-18 13:05:55 +00:00
rubidium
b7b74ed7dc (svn r23247) -Fix (r23244): compile failure on certain archaic platforms 2011-11-17 21:29:15 +00:00
rubidium
ea54c38e2c (svn r23246) -Codechange: move searching/loading music/sound sets/drivers to later in the process so we could get rid of errors related to that being dumped onto the console 2011-11-17 21:21:45 +00:00
rubidium
be5622d3f4 (svn r23245) -Fix: missing svn properties 2011-11-17 21:18:24 +00:00
rubidium
02b884d923 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 2011-11-17 21:17:17 +00:00
rubidium
4390f6f449 (svn r23243) -Codechange: give a clearer error when the sprite font failed to provide a sprite or fall back to the freetype font if that's loaded 2011-11-17 21:13:05 +00:00
rubidium
881d6d25fd (svn r23242) -Codechange: allow ignoring the sprite font completely when checking whether the font supports a language 2011-11-17 21:11:34 +00:00
rubidium
6e31c2f068 (svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD 2011-11-17 21:09:08 +00:00
rubidium
cc85ef493a (svn r23240) -Codechange: rework the code of the download status window 2011-11-17 21:06:41 +00:00
rubidium
1de7127d62 (svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs 2011-11-17 20:42:12 +00:00
translators
530185a826 (svn r23238) -Update from WebTranslator v3.0:
vietnamese - 23 changes by nglekhoi
2011-11-17 18:45:06 +00:00
rubidium
77b8343d8a (svn r23237) -Fix: ignore special characters, such as the train "character", when determining a fallback font 2011-11-16 23:02:51 +00:00
frosch
50b76125cd (svn r23236) -Fix (r23141): Construction of objects was always rejected. 2011-11-16 20:39:30 +00:00
translators
e407e4af28 (svn r23235) -Update from WebTranslator v3.0:
serbian - 32 changes by etran
2011-11-16 18:45:07 +00:00
rubidium
a3a2fdcfc2 (svn r23234) -Fix [FS#4840]: crash when after downloading content 2011-11-16 16:54:37 +00:00
michi_cc
6548ec6e9e (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 2011-11-15 20:47:53 +00:00
rubidium
88aaeb4092 (svn r23232) -Change: move the "default" overrides out of the baseset in order to ensure they all use the same values 2011-11-15 20:30:58 +00:00
michi_cc
d7d032f70a (svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch. 2011-11-15 19:53:46 +00:00
rubidium
e97b747f5d (svn r23230) -Codechange: stupid casing for UnPause. It's a single word, not two words "CamelCased" after eachother 2011-11-15 19:40:42 +00:00
translators
7ba37dd0fa (svn r23229) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
2011-11-15 18:45:06 +00:00
frosch
1f6c9c6457 (svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets. 2011-11-15 12:14:08 +00:00
frosch
7b86e3e109 (svn r23227) -Fix (r23219): The FileScanner should also consider the old directories. 2011-11-15 00:26:06 +00:00
frosch
52d3be2e05 (svn r23226) -Fix (r23219): If you find a file, also use it. 2011-11-15 00:25:17 +00:00
rubidium
86a168b2e9 (svn r23225) -Fix: create the newgrf/baseset/ai directories in the personal directory so the user has some clue where to place the different files 2011-11-14 21:58:19 +00:00
rubidium
834eac49fd (svn r23224) -Codechange: first load the config file partially so we can push scanning AIs to later in the process (when the GUI is showing the progress bar) 2011-11-14 21:42:54 +00:00
rubidium
5446b40c07 (svn r23223) -Codechange: store the last newgrf count in the misc section 2011-11-14 21:41:23 +00:00
rubidium
4ae8bbea07 (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 2011-11-14 21:40:39 +00:00
rubidium
387e410f3e (svn r23221) -Codechange: update the documentation and installers regarding the new directories 2011-11-14 21:39:14 +00:00
rubidium
79b82b56a8 (svn r23220) -Change: move the baseset files to their new location 2011-11-14 21:38:36 +00:00
rubidium
2b897b4fa0 (svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset 2011-11-14 21:34:27 +00:00
rubidium
9e7174e540 (svn r23218) -Codechange: prepare code for a separate base set directory 2011-11-14 21:32:10 +00:00
rubidium
6d991b3b10 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 2011-11-14 21:30:37 +00:00
rubidium
160294ff22 (svn r23216) -Codechange: introduce the concept of having different tar lists 2011-11-14 21:28:43 +00:00
rubidium
f600429424 (svn r23215) -Codechange: stricter type safety for CommandFlags 2011-11-14 20:38:56 +00:00
rubidium
15f671279d (svn r23214) -Codechange: for base media sets pass the "search in tars" parameter to determine what to do 2011-11-14 19:24:22 +00:00
translators
a06443774f (svn r23213) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
italian - 3 changes by lorenzodv
russian - 1 changes by Lone_Wolf
2011-11-14 18:45:17 +00:00
frosch
b53092e82b (svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update statistics of DEFAULT group. 2011-11-14 16:09:58 +00:00
planetmaker
9309ef58a0 (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits 2011-11-14 10:42:47 +00:00
rubidium
3f7eb71b17 (svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically 2011-11-13 20:52:39 +00:00
truebrain
b7a655bf4c (svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one. 2011-11-13 20:43:48 +00:00
truebrain
407514a590 (svn r23208) -Codechange: mark function with /* static */ in the source file, which are defined static in the header file 2011-11-13 20:42:24 +00:00
truebrain
70b6b3cc2c (svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit) 2011-11-13 20:41:17 +00:00
truebrain
049bea1e8a (svn r23206) -Change: ignore .svn in .hgignore, and .hg in svn:ignore 2011-11-13 20:39:48 +00:00
translators
6a81aea04f (svn r23205) -Update from WebTranslator v3.0:
estonian - 8 changes by Jaanus
italian - 3 changes by Snail_
portuguese - 24 changes by ABCRic
welsh - 34 changes by kazzie
2011-11-13 18:45:20 +00:00
rubidium
47ca0f34e0 (svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it 2011-11-13 17:11:42 +00:00
rubidium
165fb1e9e7 (svn r23203) -Change: make locks more consistently looking (PaulC) 2011-11-13 12:53:46 +00:00
rubidium
aa668ba6bd (svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name 2011-11-12 19:26:53 +00:00
yexo
924a5e06b3 (svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway 2011-11-12 18:48:21 +00:00
translators
e963ff9cf9 (svn r23200) -Update from WebTranslator v3.0:
french - 1 changes by Snail_
italian - 1 changes by Snail_
persian - 31 changes by Peymanpn
vietnamese - 1 changes by nglekhoi
2011-11-12 18:45:21 +00:00
rubidium
fb63543e2a (svn r23199) -Fix [FS#4822]: oil rigs that "expired" did not get removed from the station list 2011-11-12 18:06:34 +00:00
rubidium
7fd1e1df81 (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 2011-11-12 13:00:29 +00:00
smatz
d61b90ac6f (svn r23197) -Fix: -Wno-narrowing didn't have any effect anymore 2011-11-12 10:26:37 +00:00
smatz
92d6c10b06 (svn r23196) -Fix: GCC 4.7 compilation 2011-11-12 10:21:00 +00:00
rubidium
c9a7f572ec (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 2011-11-12 08:37:12 +00:00
rubidium
4f87d2e88c (svn r23194) -Codechange: don't cast away const needlessly 2011-11-12 08:26:30 +00:00
rubidium
bd64bf6372 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
rubidium
a8d33a4d89 (svn r23192) -Codechange: don't cast away const needlessly 2011-11-12 07:58:22 +00:00
rubidium
39263445b0 (svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes 2011-11-11 19:47:28 +00:00
rubidium
624c8a6173 (svn r23190) -Fix: compile error due to Squirrel define messing up another included file 2011-11-11 18:59:47 +00:00
translators
d85e60803c (svn r23189) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
croatian - 49 changes by VoyagerOne
dutch - 4 changes by habell
finnish - 3 changes by jpx_
french - 31 changes by Muxy
german - 1 changes by planetmaker
italian - 4 changes by lorenzodv
russian - 4 changes by akasoft
swedish - 3 changes by Zuu
urdu - 1 changes by enggwaqas
vietnamese - 3 changes by nglekhoi
2011-11-11 18:45:45 +00:00
yexo
bdc4734f65 (svn r23188) -Fix (r23168): fences on steep slopes were broken 2011-11-11 18:01:41 +00:00
yexo
72b1fffe82 (svn r23187) -Fix (r23186): MSVC allowed non-const where const was mandatory 2011-11-10 20:07:14 +00:00
yexo
37797164ca (svn r23186) -Fix [FS#4830]: [Squirrel] replace custom qsort by std::sort to fix stack overflow 2011-11-10 19:40:49 +00:00
translators
a778475eb4 (svn r23185) -Update from WebTranslator v3.0:
belarusian - 23 changes by Wowanxm
english_US - 3 changes by Rubidium
german - 24 changes by planetmaker
spanish - 34 changes by Terkhen
swedish - 45 changes by Zuu
urdu - 1 changes by enggwaqas
vietnamese - 10 changes by nglekhoi
2011-11-10 18:45:32 +00:00
rubidium
8bb62fee78 (svn r23184) -Cleanup: remove the removed strings from the translations as well 2011-11-10 18:09:40 +00:00
rubidium
d4e1efc78b (svn r23183) -Codechange: merge BRIBE_FAILED and BRIBE_FAILED_2 messages (monoid) 2011-11-10 18:09:09 +00:00
yexo
d6bf0d10d0 (svn r23182) -Feature: allow translatable readme files 2011-11-10 18:07:56 +00:00
rubidium
7ec374e5f6 (svn r23181) -Cleanup: remove some unused strings (monoid) 2011-11-10 18:00:50 +00:00
rubidium
dcee792bab (svn r23180) -Cleanup: remove traces of having to double click on the NewGRF for changing the parameters 2011-11-10 17:58:55 +00:00
rubidium
82077965fc (svn r23179) -Codechange: use some tooltips that already existed (monoid) 2011-11-10 17:55:52 +00:00
rubidium
514d887690 (svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro) 2011-11-10 06:15:03 +00:00
translators
3e98a7b504 (svn r23177) -Update from WebTranslator v3.0:
belarusian - 21 changes by Wowanxm
dutch - 14 changes by habell
english_US - 2 changes by Rubidium
italian - 2 changes by lorenzodv
romanian - 6 changes by kkmic
russian - 36 changes by Lone_Wolf, akasoft
tamil - 5 changes by aswn
vietnamese - 26 changes by nglekhoi
2011-11-09 18:45:33 +00:00
frosch
0fbad47371 (svn r23176) -Codechange: Deduplicate code between Engine::DetermineCapacity() and Engine::GetDisplayDefaultCapacity(). 2011-11-09 16:41:36 +00:00
frosch
88b2e687c2 (svn r23175) -Codechange: Refactor Engine::DetermineCapacity(). 2011-11-09 16:40:36 +00:00
frosch
50b480b959 (svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty(). 2011-11-09 16:39:34 +00:00
frosch
026317bb44 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 2011-11-09 16:38:50 +00:00
yexo
e4011426f2 (svn r23172) -Fix (r23088) [FS#4831]: crash when looking at orders from a vehicle that's not in your company 2011-11-09 11:44:12 +00:00
frosch
ab86777efa (svn r23171) -Fix (r23142): Fix comment. 2011-11-09 00:51:50 +00:00
yexo
cb876cd6a0 (svn r23170) -Doc (r23169): add he new value to the AI changelog 2011-11-08 21:51:53 +00:00
yexo
a256bd71e4 (svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu) 2011-11-08 21:48:00 +00:00
yexo
5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 2011-11-08 19:48:47 +00:00
rubidium
704dcc0a47 (svn r23167) -Codechange [FS#4818]: make IsTunnelInWay z parameters signed as well (hackalittlebit) 2011-11-08 19:44:41 +00:00
michi_cc
aca5f7ccf5 (svn r23166) -Change: [NewGRF v8] Don't override rail type prop 1B with prop 09. 2011-11-08 19:23:56 +00:00
translators
fbbffe8bcb (svn r23165) -Update from WebTranslator v3.0:
dutch - 14 changes by habell
english_US - 27 changes by Rubidium
finnish - 28 changes by jpx_
german - 4 changes by planetmaker
italian - 27 changes by lorenzodv
russian - 14 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
2011-11-08 18:45:52 +00:00
frosch
186694369d (svn r23164) -Fix (r23149): Default roadvehicles became somewhat short. 2011-11-08 18:21:56 +00:00
yexo
ed04410f89 (svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille) 2011-11-08 17:51:29 +00:00
frosch
6701a2af45 (svn r23162) -Fix (r23133): Silence gcc warning. 2011-11-08 17:42:34 +00:00
yexo
4d2ca18ee1 (svn r23161) -Fix (r23154): don't convert pointer to bool but actually check the grf_version variable 2011-11-08 17:40:48 +00:00
yexo
6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 2011-11-08 17:37:32 +00:00
frosch
469450e554 (svn r23159) -Feature: Support for NewGRF version 8. 2011-11-08 17:30:19 +00:00
frosch
e58d6cbc63 (svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium) 2011-11-08 17:29:41 +00:00
frosch
7c7285ea9b (svn r23157) -Change: [NewGRF v8] Format of extra callback info for callback 144. (michi_cc) 2011-11-08 17:29:32 +00:00
frosch
8a2342a5e6 (svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44. 2011-11-08 17:29:21 +00:00
frosch
dd3e6d3e44 (svn r23155) -Change: [NewGRF v8] Use heightlevel units in var 8A of callback 28. 2011-11-08 17:29:11 +00:00
frosch
8f4c6d42f9 (svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium) 2011-11-08 17:29:01 +00:00
frosch
5aaecae6e2 (svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0. 2011-11-08 17:28:52 +00:00
frosch
0f28b20a73 (svn r23152) -Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels. 2011-11-08 17:28:42 +00:00
frosch
7d4568361c (svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead. 2011-11-08 17:28:05 +00:00
frosch
8dcbd673cf (svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead. 2011-11-08 17:27:55 +00:00
frosch
c2cf26b451 (svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage. 2011-11-08 17:27:46 +00:00
frosch
52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 2011-11-08 17:27:13 +00:00
frosch
30874b5e81 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 2011-11-08 17:26:49 +00:00
frosch
b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 2011-11-08 17:26:13 +00:00
frosch
b374b92bfb (svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table. 2011-11-08 17:25:51 +00:00
frosch
48f75a6a8d (svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table. 2011-11-08 17:25:42 +00:00
frosch
449d679230 (svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle var 42. 2011-11-08 17:25:32 +00:00
frosch
d8f8909f85 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 2011-11-08 17:24:43 +00:00
frosch
cd029465e1 (svn r23141) -Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and 157 to make them consistent with other slope check callbacks. (michi_cc) 2011-11-08 17:24:31 +00:00
frosch
56e5144f71 (svn r23140) -Add: ErrorUnknownCallbackResult() 2011-11-08 17:24:15 +00:00
frosch
ae11548b4e (svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks. 2011-11-08 17:24:01 +00:00
frosch
1ad7239247 (svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60. 2011-11-08 17:23:30 +00:00
frosch
f97fa89f1a (svn r23137) -Change: [NewGRF v8] New result format for callback 16. 2011-11-08 17:22:49 +00:00
frosch
e08a227b53 (svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??. 2011-11-08 17:22:19 +00:00
yexo
7a3e362763 (svn r23135) -Fix (r23133): always compile before commit 2011-11-08 15:53:32 +00:00
yexo
baf11cf401 (svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAccepting 2011-11-08 15:44:53 +00:00
yexo
b1d49f72dc (svn r23133) -Fix [FS#4823]: AIOrder didn't handle implicit orders correctly in all cases 2011-11-08 15:43:34 +00:00
yexo
80e5d13f25 (svn r23132) -Fix: when any keys on te on-screen keyboard were pressed the text cursor disappeared 2011-11-08 15:10:39 +00:00
yexo
dc1fd2dbe6 (svn r23131) -Fix (r16165): AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones 2011-11-08 15:00:55 +00:00
yexo
d5539f76d3 (svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention 2011-11-08 12:16:17 +00:00
michi_cc
fe574b7e0c (svn r23129) -Add: [NewGRF] Property for the rail type name. 2011-11-07 19:35:02 +00:00
translators
58b75963dd (svn r23128) -Update from WebTranslator v3.0:
vietnamese - 14 changes by nglekhoi
2011-11-07 18:45:07 +00:00
michi_cc
a58b975fd0 (svn r23127) -Fix [FS#4819] (r23086): Don't crash when refitting default vehicles. 2011-11-06 22:14:55 +00:00
translators
09c10af480 (svn r23126) -Update from WebTranslator v3.0:
belarusian - 17 changes by Wowanxm
norwegian_bokmal - 24 changes by eloekset
polish - 17 changes by nouwak
spanish - 17 changes by Terkhen
vietnamese - 17 changes by nglekhoi
welsh - 18 changes by kazzie
2011-11-06 18:45:35 +00:00
frosch
f6ff2a3c15 (svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88) 2011-11-06 15:54:55 +00:00
michi_cc
1b66101bd3 (svn r23124) -Change: [NewGRF] Interpret the result of the refit cost callback as a signed value. 2011-11-06 15:33:23 +00:00
rubidium
1f823f89a1 (svn r23123) -Fix [FS#4790] (r22792): variable was initialised at the wrong moment making things with the cursor go wrong 2011-11-06 09:37:26 +00:00
michi_cc
18d1345d1c (svn r23122) -Fix (23120): Silence GCC warning. 2011-11-05 22:41:04 +00:00
translators
6292bc3ce4 (svn r23121) -Update from WebTranslator v3.0:
italian - 18 changes by lorenzodv
norwegian_bokmal - 90 changes by eloekset
norwegian_nynorsk - 1 changes by eloekset
serbian - 17 changes by etran
tamil - 15 changes by aswn
2011-11-05 18:45:34 +00:00
michi_cc
a22b4f1f91 (svn r23120) -Feature: [NoAI] Support for refit orders. 2011-11-05 15:31:21 +00:00
michi_cc
6a2735d24e (svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a GUI-less video driver. 2011-11-04 23:47:00 +00:00
rubidium
65d0d19b16 (svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick 2011-11-04 23:20:14 +00:00
yexo
02913f40b0 (svn r23117) -Fix: [NoAI] calling require() to include a file gave you 100.000 opcodes for free 2011-11-04 23:14:23 +00:00
michi_cc
3e016e4254 (svn r23116) -Fix (r23114): Ambient sound effect callback was called for unsupported tile types. 2011-11-04 22:59:23 +00:00
rubidium
c8857d4679 (svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral) 2011-11-04 22:32:21 +00:00
michi_cc
707b0f48e6 (svn r23114) -Feature: [NewGRF] Ambient sound effect callback. 2011-11-04 21:05:08 +00:00
translators
a471a20491 (svn r23113) -Update from WebTranslator v3.0:
dutch - 17 changes by habell
english_US - 17 changes by Rubidium
finnish - 17 changes by jpx_
french - 17 changes by glx
german - 17 changes by planetmaker
lithuanian - 7 changes by Stabilitronas
2011-11-04 18:45:28 +00:00
michi_cc
a3e6e113fe (svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting. 2011-11-04 15:04:29 +00:00
michi_cc
ad2fdd8d6f (svn r23111) -Fix: Keep subtype when automatically choosing the cargo for auto-refitting. 2011-11-04 15:04:24 +00:00
rubidium
9782b7bb0a (svn r23110) -Codechange: let the flying altitude return ints are well 2011-11-04 13:40:59 +00:00
michi_cc
81f583de47 (svn r23109) -Fix: Subtract auto-refit costs from the vehicle profit. 2011-11-04 13:21:24 +00:00
rubidium
2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium
459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 2011-11-04 11:36:10 +00:00
rubidium
19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 2011-11-04 11:30:37 +00:00
rubidium
643c54d288 (svn r23105) -Fix (r23104): Kenobi visited me ;) 2011-11-04 11:29:11 +00:00
rubidium
f01b3e2721 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 2011-11-04 11:09:06 +00:00
rubidium
a72544d5e1 (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 2011-11-04 10:32:26 +00:00
rubidium
798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium
a8c4efcff4 (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 2011-11-04 10:31:13 +00:00
rubidium
1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
0b6dbaf664 (svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code 2011-11-04 10:29:26 +00:00
rubidium
f0f17a77ba (svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code 2011-11-04 10:28:31 +00:00
rubidium
d0689c2924 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 2011-11-04 10:28:20 +00:00
rubidium
69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 2011-11-04 10:25:58 +00:00
rubidium
b167c0a396 (svn r23095) -Codechange: remove useless divisions/multiplications by TILE_HEIGHT for the AI API code 2011-11-04 10:25:33 +00:00
rubidium
ecbc56a677 (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 2011-11-04 10:23:48 +00:00
rubidium
2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
a36551dbb4 (svn r23092) -Codechange: create a non-pixel version of some of the Get*PixelZ functions, and let Get*PixelZ wrap around the new function (multiplying the Z by TILE_HEIGHT) just like TileHeight and TilePixelHeight 2011-11-04 10:20:24 +00:00
rubidium
7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
rubidium
47203dbeb5 (svn r23090) -Codechange: use map accessors instead of directly accessing the map (mhl) 2011-11-04 06:05:11 +00:00
michi_cc
3f853e7a56 (svn r23089) -Add: Allow specifying refits for go-to station orders. 2011-11-04 00:38:59 +00:00
michi_cc
5ee765b2b2 (svn r23088) -Change: Extend the train order GUI with space for a forth button. 2011-11-04 00:38:56 +00:00
michi_cc
f200ffa90c (svn r23087) -Feature: Auto-refitting of vehicles during loading at a station when the vehicle allows it. 2011-11-04 00:38:51 +00:00
michi_cc
b9841bba81 (svn r23086) -Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type. 2011-11-04 00:35:05 +00:00
rubidium
2886bb1df3 (svn r23085) -Fix (r23084): SLE_UINT8 might have been the old type, it's not the same as the length of the variable 2011-11-03 23:06:30 +00:00
rubidium
47c5d30b5d (svn r23084) -Codechange: get rid of a redundant variable 2011-11-03 22:49:03 +00:00
yexo
e98be8ed24 (svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game 2011-11-03 12:54:02 +00:00
rubidium
07cb2fd9a8 (svn r23082) -Fix: account for snow line table when determining the snow line for building houses 2011-11-02 22:09:07 +00:00
translators
0ded3f5904 (svn r23081) -Update from WebTranslator v3.0:
maltese - 1 changes by kelinu
2011-11-02 18:45:03 +00:00
frosch
bbc3409942 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
frosch
e802dc66b9 (svn r23079) -Fix (r23077): Retain original behaviour in a silly corner case, which saves us making the specs even more convoluted. 2011-11-01 16:18:28 +00:00
yexo
a95e7982f0 (svn r23078) -Fix (r23077): default ships carrying passengers and oil were suddenly only able to carry coal 2011-11-01 12:15:33 +00:00
frosch
1d1c9f44a1 (svn r23077) -Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines. 2011-11-01 00:29:05 +00:00
frosch
be5fffd133 (svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly. 2011-11-01 00:26:22 +00:00
frosch
acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
frosch
72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 2011-11-01 00:21:08 +00:00
frosch
c366e0d45f (svn r23073) -Update: Add another generated file to .hgignore. 2011-11-01 00:19:38 +00:00
michi_cc
e094d7db62 (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
michi_cc
f66cd97776 (svn r23071) -Codechange: [NewGRF] Allow passing custom extra data through the generic NewGRF animation helper class. 2011-10-31 22:31:35 +00:00
michi_cc
e7f7a749e8 (svn r23070) -Add: [NewGRF] House variable 0x64. 2011-10-31 22:31:31 +00:00
translators
6d32787dfc (svn r23069) -Update from WebTranslator v3.0:
tamil - 54 changes by aswn
2011-10-31 18:45:05 +00:00
michi_cc
a6713244df (svn r23068) -Add: [NewGRF] Long date of last service for vehicles, also available in the purchase list. 2011-10-31 16:33:59 +00:00
rubidium
c6b2145da6 (svn r23067) -Fix [FS#4812]: updating the group statistics got more strict checks, so there was some trouble moving a vehicles and groups from one company to another 2011-10-30 20:24:00 +00:00
translators
a561dadb49 (svn r23066) -Update from WebTranslator v3.0:
tamil - 23 changes by aswn
turkish - 13 changes by niw3
welsh - 1 changes by kazzie
2011-10-30 17:45:12 +00:00
yexo
433f74edd9 (svn r23065) -Add: -q option to read a savegame, write some general info and exit 2011-10-30 13:47:45 +00:00
yexo
bd6d490987 (svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard... 2011-10-29 21:00:11 +00:00
yexo
307ca24427 (svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively 2011-10-29 20:56:58 +00:00
translators
8732e328c4 (svn r23062) -Update from WebTranslator v3.0:
tamil - 236 changes by aswn
2011-10-29 17:45:04 +00:00
translators
42f3aa66ad (svn r23060) -Update from WebTranslator v3.0:
tamil - 124 changes by aswn
2011-10-28 17:45:03 +00:00
yexo
481b1191ef (svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930 2011-10-27 20:28:18 +00:00
translators
a9a095c4b0 (svn r23058) -Update from WebTranslator v3.0:
tamil - 1 changes by aswn
2011-10-27 17:45:04 +00:00
frosch
8b8d4e32b8 (svn r23057) -Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders. 2011-10-25 19:21:36 +00:00
rubidium
c3427b0e56 (svn r23056) -Change: use the currency -> euro conversion rate for currencies that have been replaced with the euro, so when the switch happens the conversion rate at that point is roughly that of the real world conversion rate 2011-10-25 17:07:29 +00:00
frosch
cadaa0a8b6 (svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy. 2011-10-21 21:03:40 +00:00
frosch
3eddb9c23f (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 2011-10-21 19:10:35 +00:00
translators
3e5a758390 (svn r23048) -Update from WebTranslator v3.0:
basque - 29 changes by HerrBasque
japanese - 72 changes by nex259
2011-10-21 17:45:09 +00:00
truebrain
a4809b0b98 (svn r23047) -Documentation: silly typo in comment 2011-10-21 14:53:21 +00:00
yexo
46321ac310 (svn r23045) -Change: copy 6 registers to newgrf textstack after cb23 instead of 4 2011-10-20 19:02:13 +00:00
yexo
cbbea5f521 (svn r23044) -Codechange: reorder parameter order so we can make use of the default=0 more often 2011-10-20 16:53:34 +00:00
yexo
ffa47a563b (svn r23043) -Fix: allow the use of cases only for those cases where strgen allows them and reset the case_index properly after {DATE} and {DATE_LONG} codes 2011-10-20 16:52:57 +00:00
yexo
42e40a2ab0 (svn r23042) -Codechange: make case_index an explicit parameter of GetStringWithArgs instead of hiding it in the stringid parameter 2011-10-20 16:51:54 +00:00
yexo
ac58a850fd (svn r23041) -Codechange: rename slightly unclear parameter name 2011-10-20 16:50:57 +00:00
yexo
d8a80adf0e (svn r23040) -Add: [NewGRF] allow use of newgrf textstack during callback 23 2011-10-20 16:49:30 +00:00
e3b99e3415 (svn r23039) -Fix: Replace e^ and w^ with ê and ŵ respectively. 2011-10-20 06:41:47 +00:00
f0ef9a09ff (svn r23038) -Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work. 2011-10-18 17:57:42 +00:00
translators
7f90fcb5e6 (svn r23037) -Update from WebTranslator v3.0:
italian - 3 changes by Snail_
2011-10-18 17:45:07 +00:00
yexo
743050a9e0 (svn r23036) -Fix (r22970): swapped parameters resulted in wrong vehicle names 2011-10-17 20:28:56 +00:00
rubidium
99ed5eb7c5 (svn r23035) -Fix (r23034): compile failure 2011-10-16 19:59:07 +00:00
rubidium
0656660f22 (svn r23034) -Fix: make sure the custom playlists are 0 terminated 2011-10-16 19:56:47 +00:00
rubidium
f04746a9ff (svn r23033) -Fix [FS#4776]: the last custom playlist items went lost when the files in the .obm are not contiguous 2011-10-16 19:53:02 +00:00
planetmaker
a78f38fdc0 (svn r23032) -Fix (r14224, r22419): Palette conversion windows to DOS for light house / stadium animated colour was mixed up 2011-10-16 11:48:11 +00:00
rubidium
de27205e6c (svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that 2011-10-15 20:42:32 +00:00
rubidium
16e1314f58 (svn r23030) -Fix [FS#4796]: always show a chat message and send an admin packet when a new company is made 2011-10-15 16:45:18 +00:00
yexo
47aaf41d40 (svn r23029) -Fix: [NewGRF] support for cases in strings was broken 2011-10-14 16:51:30 +00:00
yexo
1312c35bb6 (svn r23028) -Fix: when using a gender choice list there was still a value popped twice from the newgrf textstack 2011-10-14 10:54:51 +00:00
yexo
bac8ce6b41 (svn r23027) -Fix: in some cases NewGRF string arguments were popped twice from the newgrf textstack 2011-10-12 19:25:52 +00:00
translators
560b527f6f (svn r23026) -Update from WebTranslator v3.0:
esperanto - 4 changes by Ailanto
latvian - 53 changes by Parastais
2011-10-12 17:45:11 +00:00
2cfd47a09b (svn r23025) -Codechange: Support resized company colour icon in company key window. 2011-10-12 07:22:26 +00:00
635ccea95d (svn r23024) -Codechange: Vertically centre text within a dropdown control. 2011-10-11 19:05:54 +00:00
translators
50477b61b2 (svn r23023) -Update from WebTranslator v3.0:
maltese - 42 changes by rkaptu
welsh - 8 changes by kazzie
2011-10-11 17:45:09 +00:00
279c651a4d (svn r23022) -Codechange: Support resized checkbox and square icons in company colour selection window. 2011-10-11 17:32:17 +00:00
b958fa26ae (svn r23021) -Codechange: Support resized square and warning icons in NewGRF selection window. 2011-10-11 16:58:44 +00:00
b0b93cd4a7 (svn r23020) -Codechange: Vertically centre caption text if the caption height is taller than the text. 2011-10-11 13:22:31 +00:00
e11c39b60b (svn r23019) -Codechange: Support resized company colour icon in dropdown lists that use it. 2011-10-11 13:18:52 +00:00
30d9de9db5 (svn r23018) -Fix (r14004): Pass bottom of dropdown item rather than bottom of dropdown window. 2011-10-11 13:13:20 +00:00
50d1541270 (svn r23017) -Codechange: Add support for resized scrollbars. 2011-10-11 08:07:47 +00:00
719f6618d7 (svn r23016) -Change: Disable palette animation for pixels with alpha, as the alpha and previous colour information will be lost when the palette is animated. 2011-10-11 07:13:36 +00:00
translators
a90e577485 (svn r23015) -Update from WebTranslator v3.0:
persian - 2 changes by Peymanpn
brazilian_portuguese - 3 changes by Rubidium
slovak - 29 changes by klingacik
welsh - 25 changes by kazzie
2011-10-10 17:45:19 +00:00
translators
66c5a63e6b (svn r23014) -Update from WebTranslator v3.0:
welsh - 3 changes by kazzie
2011-10-09 17:45:07 +00:00
frosch
88f8457b83 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 2011-10-09 11:27:54 +00:00
planetmaker
7de0b33086 (svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut) 2011-10-07 18:49:02 +00:00
planetmaker
74f6813a55 (svn r23011) -Fix [FS#4791]: When the last used server is deleted from the list also clear the last used server if it is the same (monoid) 2011-10-07 08:17:47 +00:00
planetmaker
765588f699 (svn r23010) -Add [FS#4797]: Support company colour for the airports' jetways (zeroeight) 2011-10-07 07:56:30 +00:00
8a41530585 (svn r23009) -Change: Improve appearance of antialiased text with shadow. 2011-10-07 07:48:59 +00:00
frosch
ca1df3ddab (svn r23008) -Add: Palette detection and conversion for the M part of 32bpp sprites. 2011-10-06 19:17:49 +00:00
translators
7762bceadb (svn r23007) -Update from WebTranslator v3.0:
welsh - 52 changes by kazzie
2011-10-06 17:45:06 +00:00
translators
32c5e8b9e5 (svn r23006) -Update from WebTranslator v3.0:
latvian - 4 changes by Parastais
persian - 20 changes by Peymanpn
portuguese - 1 changes by JayCity
2011-10-05 17:45:14 +00:00
planetmaker
824f17215e (svn r23005) -Fix (r23004): Of course there's still the 16-sprite version for shore tiles... we should continue to handle it. 2011-10-05 17:39:12 +00:00
planetmaker
162b98faa5 (svn r23004) -Feature [FS#4795]: Allow to use offsets for all types of action5 except sea shores 2011-10-05 17:07:43 +00:00
michi_cc
8c4c616cfe (svn r23003) -Fix (r22999): Missing semicolon. 2011-10-04 22:12:43 +00:00
michi_cc
19f351c589 (svn r23002) -Add: Extend palette information in the NewGRF GUI with the 32 bpp state. 2011-10-04 21:35:57 +00:00
michi_cc
71bd681d87 (svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on NewGRF indication. 2011-10-04 21:35:52 +00:00
michi_cc
c575b5bbd7 (svn r23000) -Feature: Base graphics sets can now specify a preferred blitter which OpenTTD uses to decide which blitter to load. 2011-10-04 21:35:47 +00:00
michi_cc
6dbb050a32 (svn r22999) -Codechange: Allow changing the blitter during the running game. 2011-10-04 21:35:40 +00:00
michi_cc
12e28de818 (svn r22998) -Add [FS#2521]: [NewGRF] Act2 var 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain. 2011-10-04 21:35:35 +00:00
michi_cc
3cb1dcf31c (svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2. 2011-10-04 21:35:29 +00:00
yexo
655cee276c (svn r22996) -Fix: make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks can't change the result between the runs 2011-10-04 20:36:40 +00:00
yexo
534bff1d19 (svn r22994) -Fix [FS#4775]: tile was cleared before the object-placement callback was run, resulting in possible differences in test and exec run 2011-10-04 20:18:12 +00:00
translators
a4fb905335 (svn r22990) -Update from WebTranslator v3.0:
latvian - 38 changes by Parastais
malay - 32 changes by rionix88
2011-10-04 17:45:11 +00:00
truebrain
9528befe52 (svn r22989) -Fix: AIController uses protected members of AIObject, so make them friends (instead of doing it implicit via AIInstance). This fixes all compile errors with clang-2.9 2011-10-04 15:21:07 +00:00
rubidium
f5caf07ee1 (svn r22988) -Fix: don't return ERR_UNKNOWN when the vehicle would become too long 2011-10-03 20:21:56 +00:00
translators
83e8f8bdd3 (svn r22987) -Update from WebTranslator v3.0:
latvian - 54 changes by Parastais
welsh - 122 changes by kazzie
2011-10-03 17:45:15 +00:00
frosch
f722cc2a24 (svn r22986) -Add (r22985): More icons for the vehicle list. 2011-10-03 17:30:05 +00:00
frosch
d071eefc54 (svn r22985) -Feature: Display autoreplace status in group GUI. 2011-10-03 17:26:37 +00:00
frosch
23a2f23eb3 (svn r22984) -Feature: Display profit icons for groups in the group GUI. 2011-10-03 17:25:44 +00:00
frosch
d6e6e8a9d4 (svn r22983) -Feature: Display the number of vehicles in the group GUI also for the ALL and DEFAULT groups. 2011-10-03 17:25:03 +00:00
frosch
1a12008fcf (svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead. 2011-10-03 17:24:31 +00:00
frosch
dd74536bef (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 2011-10-03 17:23:41 +00:00
frosch
5be8f73204 (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 2011-10-03 17:22:56 +00:00
frosch
fafa06e821 (svn r22979) -Codechange: Add GroupStatistics::CountEngine(). 2011-10-03 17:22:09 +00:00
frosch
68f969282e (svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle(). 2011-10-03 17:21:41 +00:00
frosch
b78a459613 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 2011-10-03 17:20:56 +00:00
frosch
b6766c2ed5 (svn r22976) -Codechange: Split group statistics into separate struct. 2011-10-03 17:20:26 +00:00
frosch
7133887ed6 (svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load. 2011-10-03 17:19:54 +00:00
rubidium
decf5c67ea (svn r22974) -Fix: draw buoy sprite without outline on the map 2011-10-02 20:27:20 +00:00
rubidium
1842622d81 (svn r22973) -Add: support for replacing the buoy via action123 2011-10-02 20:26:43 +00:00
translators
10fe88ba26 (svn r22972) -Update from WebTranslator v3.0:
latvian - 6 changes by Parastais
welsh - 74 changes by kazzie
2011-10-02 17:45:12 +00:00
rubidium
62e5f54243 (svn r22971) -Add [FS#4787]: climate aware canal/aqueduct graphics; based on work by PaulC 2011-10-02 13:26:33 +00:00
rubidium
7de22e25da (svn r22970) -Fix [FS#4769]: strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name 2011-10-01 20:31:21 +00:00
translators
5c01ce91e6 (svn r22969) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by sebastian_my
traditional_chinese - 4 changes by sebastian_my
danish - 2 changes by beruic
latvian - 25 changes by Parastais
2011-10-01 17:45:20 +00:00
frosch
804090b317 (svn r22968) -Feature: Allow road corners on steep slopes. 2011-10-01 16:45:25 +00:00
translators
bf12ba4987 (svn r22967) -Update from WebTranslator v3.0:
latvian - 56 changes by Parastais
2011-09-30 18:06:40 +00:00
translators
a17d7e966e (svn r22966) -Update from WebTranslator v3.0:
welsh - 86 changes by kazzie
2011-09-29 17:45:08 +00:00
translators
799cbfcc1e (svn r22965) -Update from WebTranslator v3.0:
belarusian - 16 changes by Wowanxm
korean - 17 changes by telk5093
latvian - 19 changes by Parastais
lithuanian - 35 changes by vytulis7
thai - 57 changes by zetathix
welsh - 1 changes by kazzie
2011-09-28 17:45:34 +00:00
translators
187983a5b2 (svn r22964) -Update from WebTranslator v3.0:
latvian - 59 changes by Parastais
2011-09-27 17:45:10 +00:00
translators
af703077c8 (svn r22963) -Update from WebTranslator v3.0:
basque - 60 changes by HerrBasque, Thadah
belarusian - 42 changes by Wowanxm
latvian - 48 changes by Parastais
thai - 19 changes by originalBlueSin
2011-09-26 17:45:25 +00:00
rubidium
a69c8d22b8 (svn r22962) -Fix/Update: graphical issues from Addi's NewGRF 2011-09-25 19:29:38 +00:00
translators
6fc440b90e (svn r22961) -Update from WebTranslator v3.0:
latvian - 3 changes by Parastais
welsh - 73 changes by kazzie
2011-09-25 17:45:18 +00:00
frosch
8d5c1479f4 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 2011-09-25 13:35:17 +00:00
translators
fa1f8b309e (svn r22959) -Update from WebTranslator v3.0:
finnish - 1 changes by jpx_
2011-09-24 17:45:18 +00:00
rubidium
73a3708a9e (svn r22958) -Fix [FS#4778]: the savegame description and loading of savegames would crash with savegames from a patched stable (which didn't bump the savegame version) 2011-09-23 19:49:45 +00:00
rubidium
a6f9488ae4 (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table 2011-09-23 19:27:15 +00:00
frosch
514fa060a2 (svn r22956) -Codechange: Enhance TEXTID_TO_STRINGID() with an assert_compile(). 2011-09-23 19:27:08 +00:00
rubidium
1f266ec977 (svn r22955) -Fix: guard from reading outside the silly name list 2011-09-23 19:25:48 +00:00
frosch
f65a1bd847 (svn r22954) -Feature: [NewGRF] Allow Action4 to change text IDs 0x00D1 to 0x00E0 for feature 48. 2011-09-23 18:40:54 +00:00
translators
cda4139d87 (svn r22953) -Update from WebTranslator v3.0:
italian - 2 changes by lorenzodv
latvian - 13 changes by Parastais
2011-09-23 17:45:16 +00:00
yexo
babe53351e (svn r22952) -Fix: properly limit the length of strings in a choice list 2011-09-23 12:26:25 +00:00
translators
09c293d2ce (svn r22951) -Update from WebTranslator v3.0:
basque - 25 changes by HerrBasque
italian - 2 changes by Snail_
latvian - 104 changes by Parastais
welsh - 187 changes by kazzie
2011-09-22 17:45:25 +00:00
translators
fa055869e9 (svn r22950) -Update from WebTranslator v3.0:
latvian - 119 changes by Parastais
russian - 19 changes by akasoft, perk11
welsh - 2 changes by kazzie
2011-09-21 17:45:21 +00:00
frosch
1891ba610c (svn r22949) -Fix [FS#4784]: Locale categories LC_NUMERIC and LC_MONETARY of cy_GB are identical to en_GB. 2011-09-21 17:30:49 +00:00
translators
04593de736 (svn r22948) -Update from WebTranslator v3.0:
icelandic - 3 changes by baldur
latvian - 80 changes by Parastais
welsh - 94 changes by kazzie
2011-09-20 17:45:20 +00:00
frosch
2188383658 (svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors. 2011-09-19 19:23:23 +00:00
frosch
427dd736ae (svn r22946) -Fix [FS#4781]: [NewGRF] Crash when accessing vehicle var 44 for a non-front aircraft. 2011-09-19 19:22:18 +00:00
rubidium
64dc7f5ee8 (svn r22945) -Fix-ish: remove bogus plural bits from Persian 2011-09-19 18:52:15 +00:00
translators
2aa0e1177e (svn r22944) -Update from WebTranslator v3.0:
latvian - 65 changes by Parastais
persian - 33 changes by Peymanpn
welsh - 16 changes by kazzie
2011-09-19 17:45:25 +00:00
planetmaker
6a72d64dbe (svn r22943) -Fix: [OSX] Typo broke debug compilation 2011-09-19 05:37:11 +00:00
translators
db50cf9168 (svn r22942) -Update from WebTranslator v3.0:
persian - 26 changes by Peymanpn
slovak - 73 changes by klingacik
spanish - 3 changes by Terkhen
2011-09-18 17:45:25 +00:00
terkhen
7d0811d08e (svn r22941) -Fix: Calculate the size of the start/stop vehicle button correctly. 2011-09-17 20:38:23 +00:00
translators
375f67f56c (svn r22940) -Update from WebTranslator v3.0:
latvian - 29 changes by Parastais
slovak - 160 changes by klingacik
2011-09-17 17:45:17 +00:00
rubidium
973f0afd28 (svn r22939) -Merge: release documentation updates from 1.1 2011-09-15 19:21:11 +00:00
rubidium
998bbde49e (svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started 2011-09-15 18:28:39 +00:00
translators
fd79d18c3f (svn r22933) -Update from WebTranslator v3.0:
hungarian - 4 changes by 
slovenian - 10 changes by Necrolyte
2011-09-15 17:45:17 +00:00
yexo
ad232bd497 (svn r22932) -Fix [FS#4766]: disable the white border on window creation for several windows (based on patch by monoid) 2011-09-15 13:26:27 +00:00
translators
9a6ec0dce7 (svn r22931) -Update from WebTranslator v3.0:
hungarian - 4 changes by 
persian - 16 changes by Peymanpn
slovak - 28 changes by klingacik
2011-09-14 17:45:22 +00:00
translators
8959824f01 (svn r22930) -Update from WebTranslator v3.0:
estonian - 32 changes by notAbot
hungarian - 6 changes by IPG
luxembourgish - 17 changes by Phreeze
slovak - 67 changes by klingacik
turkish - 4 changes by niw3
welsh - 142 changes by kazzie
2011-09-13 17:45:46 +00:00
rubidium
640115fc92 (svn r22929) -Fix (r22929): WT3 validation failure 2011-09-12 17:47:05 +00:00
translators
816baacbee (svn r22928) -Update from WebTranslator v3.0:
hungarian - 8 changes by IPG
slovak - 110 changes by klingacik
slovenian - 26 changes by Necrolyte
2011-09-12 17:45:17 +00:00
translators
d5cacd7a14 (svn r22927) -Update from WebTranslator v3.0:
slovak - 126 changes by klingacik
2011-09-11 17:45:09 +00:00
frosch
4738cd9652 (svn r22926) -Feature: [NewGRF] Extended Action1 format to define arbitrary spriteset IDs. 2011-09-11 15:11:23 +00:00
frosch
1683a91afa (svn r22925) -Feature: [NewGRF] Allow referencing spritesets from different Action1 in a single Action2. 2011-09-11 15:10:56 +00:00
frosch
7f228d6909 (svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset. 2011-09-11 15:10:09 +00:00
frosch
de27360549 (svn r22923) -Codechange: Move application of the construction stage into TileLayoutSpriteGroup::ProcessRegisters(). 2011-09-11 15:09:13 +00:00
frosch
b4d7919f8a (svn r22922) -Codechange: Use wrapper methods to access and register spritesets. 2011-09-11 15:08:17 +00:00
planetmaker
58f00d786c (svn r22921) -Fix: [OSX] Don't allow the old fullscreen mode also not as fallback on OSX 10.7. Also add a few sprinkles of coding style accross cocoa display drivers 2011-09-11 12:52:44 +00:00
yexo
40d5419cd2 (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 2011-09-11 11:47:18 +00:00
planetmaker
07077dc56e (svn r22919) -Doc: Some doxygen sprinkles 2011-09-11 11:14:22 +00:00
planetmaker
3b70f697e1 (svn r22918) -Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified 2011-09-11 09:31:57 +00:00
rubidium
bc52aa11a6 (svn r22917) -Fix: translation failed to conform to rules of strgen 2011-09-10 19:05:23 +00:00
translators
7c3f0c3ffa (svn r22916) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
croatian - 22 changes by VoyagerOne
slovak - 35 changes by klingacik
2011-09-10 17:45:16 +00:00
yexo
bc3b725812 (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 2011-09-09 21:27:57 +00:00
rubidium
a8889fd0e0 (svn r22914) -Fix [FS#4716]: old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames 2011-09-09 21:12:52 +00:00
rubidium
39eaf0e10d (svn r22913) -Fix [OSX]: make splash work again and make it work without needing to bundle it first 2011-09-09 20:28:48 +00:00
rubidium
d78a4850a6 (svn r22912) -Fix [FS#4753]: another attempt at fixing a related crash (can't reproduce it though) 2011-09-09 17:46:21 +00:00
translators
b27715dd21 (svn r22911) -Update from WebTranslator v3.0:
french - 1 changes by ElNounch
persian - 48 changes by Peymanpn
russian - 3 changes by akasoft
2011-09-09 17:45:16 +00:00
rubidium
bffa93a4e9 (svn r22910) -Fix [FS#4617]: icon would (almost) never be shown for SDL builds 2011-09-09 09:13:18 +00:00
rubidium
fb24ab71d0 (svn r22909) -Fix-ish [FS#4749]: let Windows 2000 and XP without service pack 3 use the win9x binary/installer; the newer MSVC compiler of the compile farm does not support those versions of Windows anymore 2011-09-08 20:06:12 +00:00
rubidium
db12a5f703 (svn r22908) -Codechange: silence MSVC warning 2011-09-08 17:54:49 +00:00
translators
6531bf3ded (svn r22907) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2011-09-08 17:45:08 +00:00
rubidium
748bddb31a (svn r22906) -Fix (r22905): variable not properly cleared before use 2011-09-08 10:02:43 +00:00
rubidium
62777dbd84 (svn r22905) -Fix [FS#4753] (r22836): the name of the tar was removed from the AI filenames, so record it differently. Also removes some of the hackery to get the tar's filename 2011-09-08 09:55:04 +00:00
rubidium
414c397000 (svn r22904) -Codechange: add tar filename to file scanning 2011-09-08 09:48:52 +00:00
translators
92244f1663 (svn r22903) -Update from WebTranslator v3.0:
czech - 2 changes by TheLamer
english_US - 7 changes by Rubidium
2011-09-07 17:45:17 +00:00
frosch
81732114f0 (svn r22902) -Fix: The name of the heightmap glitches in the 'play heightmap' window. 2011-09-06 20:33:56 +00:00
frosch
d0a4672cc4 (svn r22901) -Fix (r22767): The river density dropdown was missing in the 'play heightmap' window. 2011-09-06 18:32:48 +00:00
translators
0e76c3f2b9 (svn r22900) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
esperanto - 9 changes by Ailanto
german - 1 changes by planetmaker
romanian - 1 changes by kkmic
2011-09-06 17:45:23 +00:00
terkhen
b0439aff59 (svn r22899) -Add: Allow towns to build bridges over canals and rivers. 2011-09-06 13:32:37 +00:00
glx
2c20738067 (svn r22898) -Codechange: use MSVC compiler intrinsics for byte swapping 2011-09-06 00:10:20 +00:00
frosch
2981404793 (svn r22897) -Change: More suitable default news settings instead of everything on 'full'. 2011-09-05 21:55:05 +00:00
translators
2bdde60397 (svn r22896) -Update from WebTranslator v3.0:
german - 2 changes by planetmaker
korean - 1 changes by junho2813
polish - 3 changes by wojteks86
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
2011-09-05 17:45:21 +00:00
planetmaker
20e359acbe (svn r22895) -Add: [OSX] Alternative code for the API calls deprecated in OSX 10.6 in the quartz video driver 2011-09-05 15:52:04 +00:00
planetmaker
45b099c655 (svn r22894) -Doc: Some sprinkles of doxygen for the cocoa video driver 2011-09-05 05:31:29 +00:00
planetmaker
bce482c76f (svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based on patch by leecbaker)
-Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion
2011-09-04 17:49:08 +00:00
translators
5001b27cce (svn r22892) -Update from WebTranslator v3.0:
arabic_egypt - 41 changes by kasakg
belarusian - 3 changes by Wowanxm
czech - 7 changes by TheLamer
korean - 3 changes by junho2813
2011-09-04 17:45:16 +00:00
planetmaker
5188587a04 (svn r22889) -Fix [FS#4751]: [OSX] MacOSX 10.7 knows already about strndup (leecbaker) 2011-09-04 11:28:43 +00:00
frosch
a3eb319415 (svn r22888) -Doc: Doxygenize Town struct. (adf88) 2011-09-04 09:06:07 +00:00
translators
85bddaf732 (svn r22883) -Update from WebTranslator v3.0:
simplified_chinese - 23 changes by Gavin
czech - 9 changes by TheLamer
finnish - 1 changes by jpx_
hungarian - 6 changes by IPG
italian - 1 changes by lorenzodv
persian - 76 changes by Peymanpn
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
swedish - 1 changes by Zuu
vietnamese - 1 changes by nglekhoi
2011-09-03 17:46:08 +00:00
frosch
0dca1941ad (svn r22882) -Fix [FS#4758]: [NewGRF] DCxx text references via the textstack are not allowed, but caused crash. 2011-09-03 16:10:42 +00:00
frosch
5ccd091fd1 (svn r22881) -Fix (r22875): GCC warnings on 64bit systems. 2011-09-03 12:45:45 +00:00
frosch
275a394bc1 (svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.h 2011-09-03 12:17:36 +00:00
terkhen
5dcc2cc527 (svn r22879) -Fix: Miscalculation of train curve speed limits. (monoid) 2011-09-03 11:21:56 +00:00
frosch
b910ae9886 (svn r22878) -Fix (r22873-ish): Check range before casting to uint16. 2011-09-03 10:52:43 +00:00
terkhen
008b5b6d27 (svn r22877) -Fix (r22874): Fix broken compilation on MinGW. 2011-09-03 10:31:28 +00:00
frosch
b2bc7797bf (svn r22876) -Fix [FS#4712]: Report an error in the news if autoreplace/renew fails due to the engine type being no longer available. 2011-09-02 22:21:07 +00:00
michi_cc
f227e90c24 (svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid) 2011-09-02 20:54:51 +00:00
michi_cc
65637d8941 (svn r22874) -Fix [FS#4747]: Check size of various buffers before allocation. (monoid) 2011-09-02 20:16:41 +00:00
michi_cc
6c7cbb1d46 (svn r22873) -Fix [FS#4747]: Validate image dimensions before loading. (Based on patch by monoid) 2011-09-02 20:16:34 +00:00
michi_cc
655d45e7d3 (svn r22872) -Fix [FS#4746]: Improve handling of slightly invalid BMP files using the under-specified RLE compression. Improve coding style while at it as well. (Based on patch by monoid) 2011-09-02 20:16:29 +00:00
michi_cc
73624abd5e (svn r22871) -Fix [FS#4746]: Perform stricter checks on RLE compressed BMP images. (monoid) 2011-09-02 20:16:23 +00:00
translators
be818a5f95 (svn r22870) -Update from WebTranslator v3.0:
greek - 5 changes by kyrm
persian - 36 changes by Peymanpn
portuguese - 1 changes by JayCity
2011-09-02 17:45:20 +00:00
planetmaker
d0cff8b38b (svn r22869) -Codechange: Use the same constant to set the minimum height of all widgets in the windows title bar 2011-09-02 16:05:19 +00:00
planetmaker
a2ebe437e6 (svn r22868) -Change: Resize the company league window according to the company icon's size 2011-09-02 15:55:52 +00:00
frosch
c9765caf6a (svn r22867) -Fix (r12122): Variables 40 and 81 of callback 18 are not the same as 80. 2011-09-01 19:43:37 +00:00
frosch
cbf3bae992 (svn r22866) -Fix (r16396): Generic callbacks shall chain to the next GRF when the callback fails. 2011-09-01 19:40:51 +00:00
frosch
406bea5303 (svn r22865) -Fix (r13885): The GRFFile parameter for generic callbacks is a return parameter. 2011-09-01 19:37:21 +00:00
translators
5d850ea2f6 (svn r22864) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
dutch - 1 changes by habell
french - 1 changes by Snail_
italian - 3 changes by Snail_, lorenzodv
persian - 63 changes by Peymanpn
polish - 11 changes by wojteks86
portuguese - 24 changes by JayCity
brazilian_portuguese - 8 changes by Tucalipe
romanian - 3 changes by kkmic
serbian - 2 changes by etran
swedish - 13 changes by Zuu
turkish - 1 changes by niw3
vietnamese - 3 changes by nglekhoi
2011-09-01 17:45:54 +00:00
yexo
8575afa362 (svn r22863) -Fix (r22861): AIOrder::SetOrderCondition didn't accept the new condition 2011-09-01 10:04:12 +00:00
planetmaker
56c36aed86 (svn r22862) -Add: Allow the tree build gui to resize according to tree size 2011-08-31 22:52:26 +00:00
yexo
ec9a9bea3a (svn r22861) -Add: [NoAI] support the new conditional order introduced in r22858 (Zuu) 2011-08-31 22:41:10 +00:00
translators
9b56713a69 (svn r22860) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
finnish - 4 changes by jpx_
german - 1 changes by planetmaker
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
spanish - 2 changes by Terkhen
2011-08-31 17:45:24 +00:00
terkhen
1916088d11 (svn r22859) -Fix: Add missing : in slope steepness strings. (monoid) 2011-08-31 09:13:33 +00:00
frosch
4e5d841d66 (svn r22858) -Feature: Conditional order depending on remaining lifetime of a vehicle. (monoid) 2011-08-30 20:21:01 +00:00
frosch
c9982cfbd4 (svn r22857) -Fix: Spelling of lifetime. (monoid) 2011-08-30 20:03:03 +00:00
translators
9207f30439 (svn r22856) -Update from WebTranslator v3.0:
belarusian - 3 changes by KorneySan
french - 2 changes by Snail_
italian - 6 changes by Snail_, lorenzodv
turkish - 40 changes by niw3
2011-08-30 17:45:34 +00:00
translators
30068f2ab7 (svn r22855) -Update from WebTranslator v3.0:
dutch - 2 changes by habell
greek - 6 changes by kyrm
romanian - 2 changes by kkmic
russian - 3 changes by Lone_Wolf, perk11
2011-08-29 17:45:22 +00:00
frosch
36dd5cd685 (svn r22854) -Change: [NewGRF] Allow replacing depot sprites without having to provide rail overlays. (Hirundo) 2011-08-28 20:33:40 +00:00
frosch
286b2aeee5 (svn r22853) -Doc: Add a missing bit of AI documentation. 2011-08-28 20:28:04 +00:00
translators
d8a3c4f9bd (svn r22852) -Update from WebTranslator v3.0:
finnish - 2 changes by USephiroth
persian - 3 changes by Peymanpn
vietnamese - 2 changes by nglekhoi
2011-08-28 17:45:18 +00:00
translators
64c968f14e (svn r22851) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
german - 2 changes by planetmaker
serbian - 2 changes by etran
spanish - 2 changes by Terkhen
vietnamese - 12 changes by nglekhoi
2011-08-27 17:45:18 +00:00
frosch
8a9b68d964 (svn r22850) -Feature: Display separate ocean and canal speeds in the ship purchase list, if they differ. 2011-08-27 10:34:31 +00:00
frosch
e157a23056 (svn r22849) -Codechange: Add ShipVehicleInfo::ApplyWaterClassSpeedFrac() to apply ocean/canal speed fractions to velocities. 2011-08-27 10:33:45 +00:00
frosch
c6e29a5b89 (svn r22848) -Add: The missing bits in station variable 43. 2011-08-27 08:42:24 +00:00
frosch
b642b4a881 (svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew. 2011-08-27 08:41:36 +00:00
translators
4c434ad775 (svn r22846) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
italian - 1 changes by lorenzodv
2011-08-26 17:45:11 +00:00
rubidium
4836a6e50e (svn r22845) -Fix [FS#4745]: perform stricter checks on some commands (monoid) 2011-08-26 16:39:02 +00:00
translators
9975f30eb7 (svn r22844) -Update from WebTranslator v3.0:
dutch - 4 changes by habell
greek - 1 changes by kyrm
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
2011-08-25 17:45:12 +00:00
planetmaker
ef09794faa (svn r22843) -Fix [FS#4748]: Harden savegame load against too many ai config settings (monoid) 2011-08-25 16:37:27 +00:00
rubidium
d839aa0475 (svn r22836) -Codechange: simplify the scanning of (AI) scripts 2011-08-25 10:37:28 +00:00
rubidium
672df52e0c (svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner 2011-08-25 10:31:35 +00:00
rubidium
41169291e3 (svn r22834) -Codechange: unify some code, and extend it to work for other filenames that should end in a particular way 2011-08-25 10:24:49 +00:00
planetmaker
09c3cabc1e (svn r22833) -Fix (r18006): Compilation on OSX was broken 2011-08-24 21:26:03 +00:00
smatz
605bec0985 (svn r22832) -Codechange: add -Wno-free-nonheap-object to CFLAGS in order to prevent some invalid GCC warnings 2011-08-24 18:21:54 +00:00
translators
f5faf834b2 (svn r22831) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 22 changes by kyrm
persian - 1 changes by Peymanpn
serbian - 5 changes by etran
spanish - 17 changes by Terkhen
2011-08-24 17:45:26 +00:00
rubidium
432b1a4aff (svn r22830) -Codechange: move more logic to after the scanning of NewGRFs 2011-08-24 17:04:18 +00:00
rubidium
f5dd74499b (svn r22829) -Codechange: unify the dirtying of windows after an AI scan 2011-08-24 16:38:09 +00:00
rubidium
49d8852f3f (svn r22828) -Codechange: give some variables a better name and clean up the code of loading old style GRFs 2011-08-24 14:31:18 +00:00
rubidium
b4edc30c64 (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one 2011-08-24 13:53:34 +00:00
rubidium
8e5f433b22 (svn r22826) -Codechange: pass sub directory to NewGRF loading functions 2011-08-24 13:48:29 +00:00
rubidium
2a12c9df2f (svn r22825) -Codechange: pass subdir to FioOpenFile 2011-08-24 13:42:06 +00:00
rubidium
05300a00b1 (svn r22824) -Codechange: pass sub directory to ini loading 2011-08-24 13:38:26 +00:00
rubidium
5f06d5067f (svn r22823) -Codechange: pass the sub directory to search in to GetFileTitle 2011-08-24 13:35:46 +00:00
rubidium
0061b5f184 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 2011-08-24 13:33:49 +00:00
terkhen
bbdc8fdba7 (svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor. 2011-08-24 12:19:12 +00:00
rubidium
70179db81e (svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms 2011-08-24 12:18:53 +00:00
rubidium
38ad276acc (svn r22819) -Fix: include the header where it should be included 2011-08-24 12:12:36 +00:00
rubidium
9fe4b959ac (svn r22818) -Fix [FS#4742] (r22796, rlongago): don't spawn threads for world generation and NewGRF scanning when using the dedicated or null video driver regardless of the used blitter 2011-08-24 12:11:10 +00:00
translators
fde0b4ce14 (svn r22817) -Update from WebTranslator v3.0:
belarusian - 11 changes by KorneySan
catalan - 16 changes by arnau
czech - 5 changes by SmatZ
finnish - 17 changes by jpx_
french - 1 changes by glx
german - 8 changes by planetmaker
hungarian - 17 changes by IPG
italian - 28 changes by lorenzodv
persian - 170 changes by Peymanpn
polish - 2 changes by wojteks86
russian - 13 changes by Lone_Wolf
swedish - 11 changes by Zuu
2011-08-23 17:46:06 +00:00
frosch
28117b3eb0 (svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts. 2011-08-22 21:33:58 +00:00
translators
3957f428b1 (svn r22815) -Update from WebTranslator v3.0:
dutch - 10 changes by habell
english_US - 8 changes by Rubidium
german - 1 changes by planetmaker
italian - 10 changes by lorenzodv
polish - 8 changes by xaxa
romanian - 4 changes by kkmic
russian - 4 changes by Lone_Wolf
serbian - 4 changes by etran
2011-08-22 17:45:34 +00:00
rubidium
2cd07511a7 (svn r22814) -Fix (r22813): typo 2011-08-22 17:38:19 +00:00
rubidium
8a58b8680c (svn r22813) -Fix [FS#4575]: make naming of currencies more consistent 2011-08-22 17:35:06 +00:00
rubidium
312e525e33 (svn r22812) -Fix: incorrect currency code 2011-08-22 17:24:09 +00:00
rubidium
21f194bbf2 (svn r22811) -Change: don't try to load static NewGRFs when loading the intro game for the first time 2011-08-22 12:54:17 +00:00
michi_cc
9c73f15cde (svn r22810) -Fix: Growth a town on both ends of a tunnel/bridge if the town centre tile is a bridge ramp/tunnel portal. 2011-08-22 12:41:24 +00:00
rubidium
4c030468e1 (svn r22809) -Fix [FS#4731]: towns expanding from the "wrong" side of a tunnel or bridge 2011-08-22 11:47:15 +00:00
rubidium
9023de2c1f (svn r22808) -Change [FS#4740]: make it less likely that a one tile wide lake is created 2011-08-21 19:36:30 +00:00
rubidium
0ad82be1f3 (svn r22807) -Feature-ish: show a message about missing strings in the intro window if a certain (configurable) threshold has been reached and its not a stable release 2011-08-21 19:23:06 +00:00
rubidium
525e2c9e73 (svn r22806) -Codechange: store the number of untranslated strings in the language file 2011-08-21 19:21:38 +00:00
rubidium
f6b0561cd8 (svn r22805) -Codechange: move use of magic number for version checking to more logical location 2011-08-21 18:57:45 +00:00
translators
786ae457f1 (svn r22804) -Update from WebTranslator v3.0:
english_US - 3 changes by Rubidium
french - 3 changes by glx
german - 3 changes by planetmaker
lithuanian - 13 changes by vytulis7
persian - 182 changes by Peymanpn
brazilian_portuguese - 6 changes by Tucalipe
romanian - 6 changes by tonny
russian - 6 changes by Lone_Wolf
serbian - 6 changes by etran
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2011-08-21 17:45:40 +00:00
rubidium
81e352b4b6 (svn r22803) -Fix (r22796): clicking should not work either when hiding windows 2011-08-21 16:48:31 +00:00
frosch
cb93a7a824 (svn r22802) -Fix (r22781): Coding style. 2011-08-21 14:59:05 +00:00
michi_cc
45b95ed629 (svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account. 2011-08-21 14:13:22 +00:00
rubidium
c10d415723 (svn r22800) -Fix (r22796): don't run the scanning threaded when there is no reason to do so (no UI to update) 2011-08-21 13:19:06 +00:00
rubidium
23e5720392 (svn r22799) -Fix (r22792): compile failure when there is no networking support 2011-08-21 13:10:19 +00:00
rubidium
d89ff5b278 (svn r22798) -Change: jump immediately to the next mode after scanning (if needed) 2011-08-21 12:53:38 +00:00
rubidium
dc5f44883b (svn r22797) -Add: progress bar for scanning NewGRFs 2011-08-21 12:53:13 +00:00
rubidium
2987bcc79b (svn r22796) -Codechange: run the NewGRF scanning in a separate thread 2011-08-21 12:53:00 +00:00
rubidium
5ea6064fab (svn r22795) -Codechange: load the intro game the first time without NewGRFs 2011-08-21 12:52:24 +00:00
rubidium
d1657fae80 (svn r22794) -Codechange: let window drawing determine which windows may be drawn when a modal progress is busy 2011-08-21 12:51:52 +00:00
rubidium
6d51883a87 (svn r22793) -Codechange: remove callback default to make clear they are not forgotten 2011-08-21 12:51:18 +00:00
rubidium
5e7abe58f9 (svn r22792) -Codechange: use scan callback for initial NewGRF scanning 2011-08-21 12:50:47 +00:00
rubidium
2cc2d02643 (svn r22791) -Codechange: use callback for scanning from the NewGRF window 2011-08-21 12:50:13 +00:00
rubidium
d7593d8815 (svn r22790) -Codechange: add callback for when NewGRF scanning is complete 2011-08-21 12:49:51 +00:00
rubidium
e99aec39ef (svn r22789) -Codechange: rename generation window class to modal progress 2011-08-21 12:49:14 +00:00
rubidium
421053a694 (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 2011-08-21 12:48:46 +00:00
rubidium
a67cf6bae1 (svn r22787) -Codechange: rename genworld redraw constant 2011-08-21 12:47:45 +00:00
rubidium
7b7869fba7 (svn r22786) -Codechange: rename genworld mutices to model_progress mutices 2011-08-21 12:47:24 +00:00
rubidium
37415b9cf7 (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 2011-08-21 12:46:46 +00:00
frosch
236075e944 (svn r22784) -Fix: Move Action 2 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 2011-08-21 12:07:15 +00:00
frosch
bb57e0934a (svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage. 2011-08-21 12:06:54 +00:00
frosch
7bd7324b30 (svn r22782) -Fix: Add GrfProcessingState::ClearDataForNextFile() to clear temporary data at a specific spot, esp. clear 'data_blocks' now. 2011-08-21 12:06:24 +00:00
frosch
6963ce6665 (svn r22781) -Codechange: Group global variables temporarily used during GRF loading into a struct. 2011-08-21 12:05:47 +00:00
frosch
aefee3d375 (svn r22780) -Fix: [NewGRF] String codes 84 and 87 print signed values. 2011-08-20 23:16:49 +00:00
frosch
3edfd1c9d2 (svn r22779) -Add: [NewGRF] Stringcode for printing a unsinged word in power units. (Hirundo) 2011-08-20 23:07:37 +00:00
frosch
26530063f1 (svn r22778) -Add: [NewGRF] Stringcodes for printing 0-based dates. (Hirundo) 2011-08-20 22:35:11 +00:00
frosch
cc89bec4a2 (svn r22777) -Fix-ish: [NewGRF] Stringcode 9A 01 is signed, and 9A 0B is kind of unsigned. But since both were already casted to the right types later, this makes actually no difference. 2011-08-20 22:14:27 +00:00
frosch
8d3d7b4e01 (svn r22776) -Codechange: Unify the naming of NewGRF string codes; always include the size of the parameter on the stack. (based on patch by Hirundo) 2011-08-20 22:06:38 +00:00
frosch
7394bcb813 (svn r22775) -Fix: [NewGRF] Stringcodes 82 and 83 are the same as the date codes in old OpenTTD. (Hirundo) 2011-08-20 21:42:05 +00:00
frosch
ca00f98d51 (svn r22774) -Fix: [NewGRF] String codes for dates should use unsigned words, like old OpenTTD did before it learned dates before 1920. (Hirundo) 2011-08-20 21:32:34 +00:00
michi_cc
4261e8fdfd (svn r22773) -Add: Some grass around rivers in desert areas. 2011-08-20 20:07:02 +00:00
rubidium
d7baf7a4a9 (svn r22772) -Fix (r22770): validation error 2011-08-20 17:48:57 +00:00
rubidium
327c5dd10c (svn r22771) -Codechange: unify some NewGRFScan calling code 2011-08-20 17:46:03 +00:00
translators
66bab6aeff (svn r22770) -Update from WebTranslator v3.0:
english_US - 6 changes by Rubidium
french - 6 changes by glx
german - 6 changes by planetmaker
lithuanian - 103 changes by vytulis7
persian - 267 changes by Peymanpn
polish - 2 changes by wojteks86
2011-08-20 17:45:24 +00:00
rubidium
e17d799cb3 (svn r22769) -Fix (r22678): failed patch merging 2011-08-20 14:23:14 +00:00
rubidium
11a4e402c6 (svn r22768) -Add: progress bar updates for river building 2011-08-20 14:15:40 +00:00
rubidium
0041408e4f (svn r22767) -Add: river generation 2011-08-20 14:14:17 +00:00
rubidium
e8a9bb3c0d (svn r22766) -Add: river graphics for the original base set (andythenorth) 2011-08-20 12:52:45 +00:00
planetmaker
b102b58bde (svn r22765) -Cleanup: Remove unused constants and name a magic constant 2011-08-20 05:35:03 +00:00
frosch
27aff44e77 (svn r22764) -Add: [NoAI] AITile::GetTownAuthority(). 2011-08-19 21:19:10 +00:00
frosch
b8f8cef34c (svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence(). 2011-08-19 21:18:32 +00:00
frosch
a7d8195677 (svn r22762) -Fix (r22584): Update ai_company.hpp.sq 2011-08-19 21:14:51 +00:00
planetmaker
4b3aa9f26e (svn r22761) -Fix (r22708): Make invisible signs un-clickable (Zuu) 2011-08-19 20:54:15 +00:00
alberth
f1b792cd01 (svn r22760) -Fix (r19459): Also free allocated depot tables. 2011-08-19 20:44:22 +00:00
translators
5a81e7c8d8 (svn r22759) -Update from WebTranslator v3.0:
dutch - 2 changes by Bennievv
persian - 224 changes by Peymanpn
swedish - 13 changes by Zuu
2011-08-19 17:45:11 +00:00
translators
3e4bf2e907 (svn r22758) -Update from WebTranslator v3.0:
portuguese - 1 changes by ABCRic
2011-08-18 17:45:10 +00:00
planetmaker
86234253a5 (svn r22757) -Fix [FS#4730]: [NewGRF] Invalid memory access when querying the grfID of the default objects 2011-08-18 14:08:51 +00:00
translators
2dd798149b (svn r22756) -Update from WebTranslator v3.0:
danish - 2 changes by zyx
korean - 2 changes by telk5093
persian - 18 changes by Peymanpn
2011-08-17 17:45:11 +00:00
frosch
f34c666bc5 (svn r22755) -Fix [FS#4727]: When marking tile selections dirty, use the height information of the corners instead of the surface slope. This is more accurate when the foundation is kind of undefined. 2011-08-16 21:25:33 +00:00
translators
79508cb5c9 (svn r22754) -Update from WebTranslator v3.0:
malay - 118 changes by kazlan68
persian - 186 changes by Peymanpn
2011-08-16 17:45:07 +00:00
translators
3474e31043 (svn r22753) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
persian - 60 changes by Peymanpn
2011-08-15 17:45:10 +00:00
rubidium
5c13d3a83c (svn r22751) -Merge: documentation updates from 1.1 2011-08-14 18:53:55 +00:00
translators
1fcc679630 (svn r22750) -Update from WebTranslator v3.0:
persian - 118 changes by Peymanpn
vietnamese - 2 changes by nglekhoi
2011-08-14 17:45:12 +00:00
frosch
a2cbae88b0 (svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5. 2011-08-14 13:47:14 +00:00
frosch
da0ee75a70 (svn r22745) -Fix: [NewGRF] SAT_CARGO_TAKEN and AAT_STATION_CARGO_TAKEN shall only be triggered when all cargo was taken. 2011-08-14 13:45:36 +00:00
frosch
99a045d5f0 (svn r22744) -Codechange: Clarify the scope of variables in LoadUnloadVehicle(). 2011-08-14 13:43:27 +00:00
alberth
6aa6c65db8 (svn r22743) -Fix [FS#4696]: Make aircraft point to the exit when leaving the hangar. 2011-08-13 12:47:18 +00:00
alberth
c4118e3f6a (svn r22742) -Add: Add function to query exit direction of hangars at airports. 2011-08-13 12:44:42 +00:00
alberth
bc6d4069fe (svn r22741) -Add: Add exit direction of hangars to airport specifications. 2011-08-13 12:43:05 +00:00
frosch
233065a5d8 (svn r22740) -Fix [FS#4708]: Display the size of the leveled platform in the measurement tooltip of terraforming operations. 2011-08-13 10:44:15 +00:00
frosch
92e701c6ed (svn r22739) -Fix: The measurement tooltip is supposed to be hidden when not dragging an area. 2011-08-13 10:43:11 +00:00
frosch
6bb33acc0d (svn r22738) -Fix [FS#4722] (r21854): Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join. 2011-08-13 08:32:55 +00:00
rubidium
81074e0ca2 (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message 2011-08-12 18:36:47 +00:00
rubidium
c8f19a608d (svn r22736) -Codechange: constify some numbers 2011-08-12 18:34:09 +00:00
rubidium
14fae95134 (svn r22735) -Fix [FS#4718]: triggering NOT_REACHED when playing with a NewGRF that supplies genders/cases for a language that you removed from your installation 2011-08-12 18:14:15 +00:00
translators
fa4f6737d6 (svn r22734) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
persian - 13 changes by Peymanpn
2011-08-12 17:45:12 +00:00
translators
0f2bad6dca (svn r22733) -Update from WebTranslator v3.0:
basque - 78 changes by Thadah
persian - 55 changes by Peymanpn
romanian - 2 changes by tonny
2011-08-11 17:45:15 +00:00
translators
82305ba556 (svn r22732) -Update from WebTranslator v3.0:
latvian - 36 changes by dzhins
romanian - 30 changes by kkmic, tonny
2011-08-10 17:45:11 +00:00
frosch
d10168f211 (svn r22731) -Fix: [NewGRF] The construction stage sprites were incorrectly selected in cases other than 1 or 4 sprites per set. 2011-08-08 21:26:58 +00:00
translators
68068b6eff (svn r22730) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
2011-08-08 17:45:06 +00:00
translators
c20939d4ba (svn r22729) -Update from WebTranslator v3.0:
romanian - 2 changes by tonny
2011-08-07 17:45:08 +00:00
smatz
6e99c40087 (svn r22728) -Codechange: add -Wno-narrowing to cxxflags in order to prevent many useless warnings with GCC 4.7 2011-08-07 11:18:33 +00:00
translators
6a87848809 (svn r22727) -Update from WebTranslator v3.0:
russian - 1 changes by Lone_Wolf
2011-08-06 17:45:11 +00:00
frosch
c76d1c54b7 (svn r22726) -Fix: AITile::GetCargoAcceptance, AITile::GetCargoProduction and AIRail::BuildNewGRFRailStation did not check the cargo argument for validity. 2011-08-06 17:20:21 +00:00
frosch
ba7356b520 (svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour. 2011-08-06 13:56:27 +00:00
frosch
9e2c2490eb (svn r22724) -Codechange: Reduce number of realloc calls when loading VarAct2s. 2011-08-06 13:55:52 +00:00
frosch
f0b723ebaa (svn r22723) -Fix: Do not restrict AdvVarAct2 to 255 operations. 2011-08-06 13:17:18 +00:00
frosch
0625c9007f (svn r22722) -Fix: Skip invisible parent and child sprites due to transparency settings using the same logic as skipping due to grf-defined invisibility. 2011-08-06 11:14:07 +00:00
frosch
2e466cc184 (svn r22721) -Fix (r22518): Conditionally hiding a sprite caused subsequent items of the spritelayout to use wrong registers. 2011-08-06 10:47:37 +00:00
translators
03c1fd5c63 (svn r22720) -Update from WebTranslator v3.0:
hebrew - 8 changes by rril
brazilian_portuguese - 11 changes by Tucalipe
spanish - 2 changes by lpenap
2011-08-05 17:45:18 +00:00
smatz
564dc66131 (svn r22719) -Fix: compilation with gcc 4.7 2011-08-04 20:04:58 +00:00
translators
92dd3bb0e2 (svn r22717) -Update from WebTranslator v3.0:
luxembourgish - 2 changes by Phreeze
2011-08-04 17:45:11 +00:00
planetmaker
ad254f2b7c (svn r22716) -Fix: Murphy is a bitch 2011-08-04 17:22:18 +00:00
planetmaker
d20b5eb915 (svn r22715) -Fix: If there's also no point in opening the air toolbar via custom-defined global hotkeys, if there are no aircraft available 2011-08-04 17:13:24 +00:00
planetmaker
75b92328c2 (svn r22714) -Fix: If there's no point in opening the rail toolbar, don't open it for people who use hotkeys either rather than only for those using GUI elements 2011-08-04 14:04:15 +00:00
michi_cc
08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 2011-08-03 20:55:08 +00:00
translators
442b92ff33 (svn r22712) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
croatian - 1 changes by VoyagerOne
french - 1 changes by glx
italian - 1 changes by lorenzodv
latvian - 165 changes by dzhins
romanian - 1 changes by kkmic
2011-08-03 17:45:24 +00:00
translators
e0cc0f8667 (svn r22711) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
serbian - 1 changes by etran
2011-08-02 17:45:22 +00:00
frosch
bf3a9dfdaf (svn r22710) -Fix [FS#4704]: Allow AIAirport::GetNoiseLevelIncrease() also for expired airports. 2011-08-01 20:15:18 +00:00
alberth
89c7193b8f (svn r22709) -Doc: Doxyment fileio.cpp. 2011-08-01 19:36:11 +00:00
planetmaker
3fb66890ee (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 2011-08-01 18:41:21 +00:00
frosch
536fc42461 (svn r22707) -Codechange: Simplify applying the difficulty settings to prices, and reduce computational errors. (Eddi) 2011-07-31 14:13:01 +00:00
frosch
ae8f53a403 (svn r22706) -Cleanup: A loop is no loop, if it never iterates. 2011-07-31 09:42:05 +00:00
rubidium
7b418502ab (svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88) 2011-07-30 14:10:12 +00:00
rubidium
cfc2c5db42 (svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge or tunnel was undercalculated (adf88) 2011-07-30 13:55:44 +00:00
frosch
9c239bb988 (svn r22698) -Fix [FS#4694]: Only insert cleared object tiles into _cleared_object_areas if clearing actually succeeds, else subsequential tests of the same tile will be skipped and considered successful. 2011-07-30 12:28:49 +00:00
rubidium
059d43fca8 (svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at the wrong place if multitile houses failed some tests 2011-07-30 12:17:46 +00:00
rubidium
36e887591b (svn r22696) -Fix: don't requery the servers when the server list window isn't opened 2011-07-30 10:44:58 +00:00
rubidium
289133be14 (svn r22695) -Fix [FS#4697]: mark addresses that could not be resolved as 'do not resolve anymore' as well, instead of trying to resolve them each and every time the address is accessed 2011-07-30 10:28:52 +00:00
planetmaker
ba7611ed13 (svn r22694) -Cleanup [FS#4579]: Remove unused but confusing widget 2011-07-30 07:38:38 +00:00
frosch
c9e920f1eb (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 2011-07-29 22:23:17 +00:00
rubidium
793ec45a73 (svn r22692) -Update: [Windows] Installer didn't mention 7 all the time 2011-07-29 16:52:18 +00:00
translators
899a66436a (svn r22691) -Update from WebTranslator v3.0:
greek - 14 changes by kyrm
romanian - 1 changes by kkmic
ukrainian - 6 changes by Madvin
2011-07-28 17:45:18 +00:00
frosch
5e0bf4ada8 (svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo. 2011-07-27 19:38:43 +00:00
translators
42804a8605 (svn r22689) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
hungarian - 6 changes by IPG
russian - 1 changes by KorneySan
2011-07-26 17:45:12 +00:00
translators
46c219ecdf (svn r22688) -Update from WebTranslator v3.0:
greek - 4 changes by fumantsu, kyrm
vietnamese - 5 changes by nglekhoi
2011-07-25 17:45:07 +00:00
translators
72d1c3599b (svn r22687) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
2011-07-24 17:45:09 +00:00
translators
cd992bb00f (svn r22683) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
2011-07-23 17:45:08 +00:00
frosch
5c6a7f42d5 (svn r22682) -Fix: [NewGRF] Disallow accessing variable 1B due to desync reasons. 2011-07-22 18:59:10 +00:00
translators
31f6e99000 (svn r22681) -Update from WebTranslator v3.0:
greek - 2 changes by fumantsu
2011-07-22 17:45:09 +00:00
translators
8f017572b1 (svn r22680) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
finnish - 1 changes by jpx_
greek - 66 changes by kyrm
serbian - 1 changes by etran
2011-07-21 17:45:22 +00:00
planetmaker
e188edd8f6 (svn r22679) -Change [FS#4692] (r22655): [NewGRF] Use a value of 0 to indicate the invalid waterclass in the nearby land info (0x60 ind. tiles, 0x62 houses, objects,...) 2011-07-21 17:17:48 +00:00
planetmaker
e3d9879690 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 2011-07-21 16:13:34 +00:00
planetmaker
b09c863e1c (svn r22677) -Doc: A few doxygen sprinkles in toolbar_gui.cpp 2011-07-21 15:51:48 +00:00
translators
16d39f9071 (svn r22676) -Update from WebTranslator v3.0:
czech - 1 changes by Harlequin
english_US - 1 changes by Rubidium
french - 2 changes by glx
german - 1 changes by planetmaker
spanish - 6 changes by Terkhen
2011-07-20 17:45:22 +00:00
planetmaker
3045c3fd2a (svn r22675) -Change: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the newgrf developer tools 2011-07-20 16:19:48 +00:00
translators
a70c37e4c9 (svn r22674) -Update from WebTranslator v3.0:
danish - 5 changes by NeoNmaN
2011-07-19 17:45:05 +00:00
planetmaker
dfa45e79fe (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 2011-07-19 16:52:30 +00:00
translators
a692db0704 (svn r22672) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
german - 5 changes by planetmaker
2011-07-18 17:45:08 +00:00
translators
b36f8bec24 (svn r22671) -Update from WebTranslator v3.0:
czech - 4 changes by Harlequin
korean - 5 changes by telk5093
polish - 7 changes by wojteks86
2011-07-17 17:45:15 +00:00
frosch
718e0090b2 (svn r22670) -Change: Do not spawn explosion effects when bulldozing in paused mode. They block the view. 2011-07-17 16:09:38 +00:00
alberth
d55b380b69 (svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name. 2011-07-16 18:43:22 +00:00
alberth
20c2b5fdde (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 2011-07-16 18:34:04 +00:00
translators
d209369c50 (svn r22667) -Update from WebTranslator v3.0:
belarusian - 6 changes by Wowanxm
2011-07-16 17:45:11 +00:00
translators
264fead679 (svn r22666) -Update from WebTranslator v3.0:
czech - 7 changes by micropro_cz
luxembourgish - 9 changes by Phreeze
2011-07-15 17:45:13 +00:00
translators
b1d68bb3b1 (svn r22665) -Update from WebTranslator v3.0:
portuguese - 5 changes by JayCity
romanian - 5 changes by kkmic
2011-07-14 17:45:11 +00:00
translators
add34b41bf (svn r22664) -Update from WebTranslator v3.0:
serbian - 5 changes by etran
2011-07-13 17:45:11 +00:00
translators
e338449974 (svn r22663) -Update from WebTranslator v3.0:
croatian - 5 changes by VoyagerOne
dutch - 5 changes by habell
french - 5 changes by glx
italian - 6 changes by lorenzodv
russian - 6 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
2011-07-12 17:45:23 +00:00
frosch
371a66e14d (svn r22662) -Fix (r22639)[FS#4683]: Ships can also travel on certain rail tiles. 2011-07-12 17:12:10 +00:00
frosch
7ec119a574 (svn r22661) -Fix (r22659): Silence a gcc warning. 2011-07-12 16:36:53 +00:00
translators
44b49269fc (svn r22660) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
2011-07-11 17:45:18 +00:00
michi_cc
d579af11e8 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 2011-07-11 16:32:35 +00:00
michi_cc
e5dd6f9227 (svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157. 2011-07-11 16:32:30 +00:00
michi_cc
624aec0b19 (svn r22657) -Add: [NewGRF] More default error messages for the industry shape and location callbacks. 2011-07-11 16:32:25 +00:00
michi_cc
206ff68e65 (svn r22656) -Codechange: Deduplicate the custom error message of the industry shape and location callbacks. 2011-07-11 16:32:19 +00:00
michi_cc
1e855be492 (svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby tiles' vars. 2011-07-11 16:32:13 +00:00
frosch
abf286e990 (svn r22649) -Fix [FS#4670]: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty. 2011-07-10 14:44:41 +00:00
frosch
9afe1c1d20 (svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc) 2011-07-10 13:25:52 +00:00
frosch
3639456cc4 (svn r22647) -Codechange: Enhance MP_WATER map accessors with assertions. (adf88) 2011-07-10 13:21:21 +00:00
frosch
a7f7a97825 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
frosch
d4dbe95274 (svn r22645) -Fix [FS#4678]: GetSection() does not return a LockPart. 2011-07-10 13:00:05 +00:00
frosch
570da01d3a (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 2011-07-09 18:10:48 +00:00
michi_cc
8565703a4c (svn r22643) -Fix: Disallow building NewObjects on water tiles owned by another company. 2011-07-08 14:42:18 +00:00
frosch
a6ce6c144b (svn r22642) -Change: Disable the 'set parameters' button in the NewGRF GUI, if the GRF specifies to have no parameters and one would not be able to set any parameters anyway. 2011-07-07 21:52:08 +00:00
frosch
566a9612a0 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 2011-07-07 20:35:48 +00:00
translators
84007b6f9a (svn r22640) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-07-07 17:45:07 +00:00
michi_cc
9218c56cde (svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction). 2011-07-07 14:16:22 +00:00
michi_cc
662a0a9cd3 (svn r22638) -Fix: Keep the previous owner of the upper and lower lock parts if they are built on existing water. 2011-07-07 14:16:16 +00:00
translators
d1be388bc9 (svn r22637) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2011-07-05 17:45:08 +00:00
frosch
412cbe133d (svn r22636) -Fix: Airports should not expose the tile specific random bits of the north tile. Only airport tiles should access those. 2011-07-04 22:07:53 +00:00
frosch
8930337aae (svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles. 2011-07-04 20:37:20 +00:00
frosch
8b18292a2e (svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'. 2011-07-04 20:31:57 +00:00
frosch
d2b236802c (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 2011-07-04 20:25:17 +00:00
translators
0d486446b8 (svn r22632) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Luis_Mizuchiro
2011-07-04 17:45:07 +00:00
frosch
98a9d30bfe (svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour. 2011-07-03 14:49:19 +00:00
frosch
5ea8b07e05 (svn r22630) -Cleanup: Remove SwitchToNormalRefStack() and SwitchToErrorRefStack(). 2011-07-03 14:33:17 +00:00
frosch
2a55273291 (svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters. 2011-07-03 14:32:15 +00:00
frosch
2158f4f1bf (svn r22628) -Codechange: Allow passing the textref stack values to use to StartTextRefStackUsage() instead of always using the temporary NewGRF registers. 2011-07-03 13:53:42 +00:00
frosch
f93c8ce5aa (svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation. 2011-07-03 13:49:29 +00:00
frosch
d29def43b0 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. 2011-07-03 10:59:25 +00:00
frosch
9c015d369e (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 2011-07-02 21:20:37 +00:00
frosch
63d3d8505e (svn r22624) -Fix [FS#4654]: When closing an AI company the local player cheated to, we need to cheat him to another company. 2011-07-02 19:31:01 +00:00
frosch
0b33df7a8f (svn r22623) -Cleanup: DoAcquireCompany() does not need to sell shares, ChangeOwnershipOfCompanyItems() already does that and it does it better. 2011-07-02 19:07:47 +00:00
frosch
a3ede3cea1 (svn r22622) -Fix: When closing down companies their shares in other companies must be sold even if share trading is disabled at that point of time. 2011-07-02 19:05:42 +00:00
frosch
7bf8b1d96e (svn r22621) -Fix: When asking the user to confirm an unsafe unpausing, there is no need to execute a command if 'no' is choosed. This also prevents crashing when clicking unpause while the confirm window is shown. 2011-07-02 17:40:39 +00:00
frosch
55a21a940d (svn r22620) -Change [FS#4651]: Enforce refit orders to be 'always go to depot' orders; service-only and stop-in-depot orders make no sense with refitting. 2011-07-02 16:45:54 +00:00
frosch
1bc1a42ea5 (svn r22619) -Fix [FS#4662]: Consider the size of the vehicle sprite for the lineheight in the company GUI. This also makes the widget containing the sprite not skip drawing it, if the bounds of the widget are outside of the drawing area though the sprite actually needs drawing. 2011-07-02 14:37:03 +00:00
frosch
c544dca519 (svn r22618) -Fix [FS#4653]: When changing difficulty settings over the network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly. 2011-07-02 12:58:37 +00:00
frosch
1688470eb9 (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 2011-07-02 12:49:44 +00:00
frosch
56a41a8852 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +00:00
frosch
4e5534f85e (svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest. 2011-07-02 11:28:22 +00:00
frosch
ff52f85b9e (svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played. 2011-07-02 11:24:39 +00:00
translators
22378a2164 (svn r22613) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-07-01 17:45:10 +00:00
translators
471a3798c8 (svn r22612) -Update from WebTranslator v3.0:
basque - 7 changes by Thadah
thai - 18 changes by nirakanz
2011-06-30 17:45:11 +00:00
translators
01e49d178b (svn r22611) -Update from WebTranslator v3.0:
basque - 10 changes by Thadah
2011-06-28 17:45:06 +00:00
translators
95d72b5470 (svn r22610) -Update from WebTranslator v3.0:
swedish - 4 changes by Zuu
2011-06-27 17:45:06 +00:00
translators
9308ed1ce0 (svn r22609) -Update from WebTranslator v3.0:
hungarian - 3 changes by IPG
ukrainian - 11 changes by Fixer
2011-06-26 17:45:17 +00:00
alberth
a0cd04130a (svn r22608) -Fix[FS#4663]: Use rotated heightmap sizes for reporting scaling problems. 2011-06-26 16:16:04 +00:00
translators
c74fd63af3 (svn r22607) -Update from WebTranslator v3.0:
esperanto - 3 changes by Christopher
2011-06-23 17:45:06 +00:00
frosch
d0294bbd66 (svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context. 2011-06-23 08:25:15 +00:00
translators
def77ce2f4 (svn r22605) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
czech - 3 changes by marek995
2011-06-21 17:45:15 +00:00
rubidium
135f264ef0 (svn r22604) -Document: that there are invalid warnings under some circumstances 2011-06-20 17:06:33 +00:00
translators
424dc0e735 (svn r22603) -Update from WebTranslator v3.0:
korean - 5 changes by telk5093
2011-06-19 17:45:07 +00:00
translators
186f53470b (svn r22596) -Update from WebTranslator v3.0:
esperanto - 21 changes by Christopher
portuguese - 1 changes by JayCity
2011-06-18 17:45:08 +00:00
yexo
87e59dce5a (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations 2011-06-17 20:32:25 +00:00
yexo
bf994b46f1 (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset 2011-06-16 10:59:09 +00:00
yexo
1a0d25dab1 (svn r22593) -Fix [FS#4647]: don't show cargo accepted/produced in the new station window when no tiles are selected (mouse hovering a window or toolbar) 2011-06-16 09:46:24 +00:00
frosch
5f29da4ee0 (svn r22592) -Fix [FS#4645]: Reading of heightmaps with uncommon BMP formats failed due to uninitialised variables. (Parody) 2011-06-15 18:53:58 +00:00
terkhen
4d7a413eda (svn r22591) -Doc: Callback 0x18 (AI purchase selection) is implemented for stations. 2011-06-15 18:52:21 +00:00
translators
d4fb4ebe01 (svn r22590) -Update from WebTranslator v3.0:
indonesian - 1 changes by adjayanto
welsh - 19 changes by welshdragon
2011-06-15 17:45:08 +00:00
frosch
f71a96d584 (svn r22589) -Fix [FS#4641]: PBS order forecasting modified the current order index in case of a goto-nearest-depot order and no depot could be found. 2011-06-14 19:19:13 +00:00
translators
52a3842fe3 (svn r22588) -Update from WebTranslator v3.0:
danish - 11 changes by majbom
korean - 3 changes by junho2813
2011-06-14 17:45:13 +00:00
rubidium
05f16eb849 (svn r22587) -Fix: inconsistency in known-bugs.txt 2011-06-14 04:56:51 +00:00
rubidium
974c6c443c (svn r22586) -Merge: documentation updates from 1.1 2011-06-14 04:55:34 +00:00
translators
f2496edfed (svn r22585) -Update from WebTranslator v3.0:
swedish - 2 changes by Ingerfara
2011-06-13 17:45:09 +00:00
yexo
0dc20c7d5f (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) 2011-06-13 15:23:20 +00:00
frosch
f851a515cc (svn r22583) -Fix [FS#4640] (r22551): Allocate _changed_storage_arrays on the heap, so the point of destruction is well defined ('never' for now). 2011-06-13 11:53:00 +00:00
michi_cc
56b7faed52 (svn r22582) -Fix: Don't increment STL iterators after they've been invalidated. 2011-06-13 10:46:00 +00:00
rubidium
b32a8d11c3 (svn r22581) -Add: 'make regression' support to Makefile.msvc 2011-06-13 10:35:19 +00:00
rubidium
989bc411ef (svn r22580) -Change: make 'make regression' return an error when it fails 2011-06-13 10:09:59 +00:00
rubidium
dcc194e8eb (svn r22579) -Fix (r22576): copy-paste error :( 2011-06-13 08:28:29 +00:00
rubidium
52e40e7cbd (svn r22578) -Fix: another MSVC compile warning 2011-06-13 08:27:12 +00:00
rubidium
dc74518b96 (svn r22577) -Fix: MSVC64 compile warning 2011-06-13 07:43:48 +00:00
rubidium
3d4c35c3ca (svn r22576) -Add: bundle_pdb command to put the pdb into the bundles directory as well 2011-06-13 07:34:55 +00:00
terkhen
b7b0637a10 (svn r22575) -Fix (r22574): Compilation error. 2011-06-13 07:01:36 +00:00
terkhen
7f5612a98f (svn r22574) -Fix (r22566): GetGRFID was using a wrong return type. 2011-06-13 06:28:43 +00:00
terkhen
729d786d5e (svn r22573) -Fix (r22567): Fix operator precedence. 2011-06-13 06:13:57 +00:00
michi_cc
050a212195 (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 2011-06-12 23:42:42 +00:00
terkhen
8ddb3941f7 (svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI. 2011-06-12 20:53:16 +00:00
terkhen
46d1a06215 (svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI. 2011-06-12 20:51:38 +00:00
terkhen
a619ad3789 (svn r22569) -Feature: [NewGRF] Persistent storage for towns. 2011-06-12 20:50:03 +00:00
terkhen
7ffc8c0173 (svn r22568) -Change: Add a list of persistent storages to the Town class. 2011-06-12 20:49:07 +00:00
terkhen
00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 2011-06-12 20:47:45 +00:00
terkhen
9f55abf51a (svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function. 2011-06-12 20:42:23 +00:00
terkhen
281bed03f4 (svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI. 2011-06-12 20:41:17 +00:00
terkhen
0749c65d74 (svn r22564) -Codechange: Rename Get and Store persistent storage functions to GetValue and StoreValue. 2011-06-12 20:40:21 +00:00
terkhen
dc6218aa49 (svn r22563) -Codechange: Use a function for storing values inside the persistent storage. 2011-06-12 20:38:46 +00:00
terkhen
dd8a436cbb (svn r22562) -Codechange: Remove constness from TownGetVariable. 2011-06-12 20:37:26 +00:00
terkhen
f1cde00372 (svn r22561) -Codechange: Remove constness from Object in ResolverObject. 2011-06-12 20:36:33 +00:00
terkhen
76cd19f846 (svn r22560) -Codechange: Remove constness from House in ResolverObject. 2011-06-12 20:35:37 +00:00
terkhen
e8df5563db (svn r22559) -Codechange: Remove constness from Station in ResolverObject. 2011-06-12 20:34:37 +00:00
terkhen
c98a8308cc (svn r22558) -Codechange: Remove constness from BaseStation in ResolverObject. 2011-06-12 20:34:03 +00:00
terkhen
e127fca384 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 2011-06-12 20:32:52 +00:00
terkhen
d7ec492887 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 2011-06-12 20:31:44 +00:00
translators
f12e71e1be (svn r22555) -Update from WebTranslator v3.0:
dutch - 32 changes by Parody
korean - 2 changes by junho2813
norwegian_nynorsk - 27 changes by 2rB
2011-06-12 17:45:15 +00:00
frosch
3f003c0977 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 2011-06-11 21:12:28 +00:00
frosch
d5e7537e14 (svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports. 2011-06-11 20:47:31 +00:00
frosch
b2275b4093 (svn r22551) -Fix: Remove BaseStorageArrays from _changed_storage_arrays on destruction. 2011-06-11 20:40:46 +00:00
translators
86f931a065 (svn r22550) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2011-06-11 17:45:09 +00:00
translators
40345a91a0 (svn r22549) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
dutch - 2 changes by Parody
norwegian_bokmal - 16 changes by kristoffer_hh
swedish - 7 changes by Ingerfara
2011-06-09 17:45:30 +00:00
planetmaker
e5a88a1077 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 2011-06-09 16:35:09 +00:00
translators
692d3433fb (svn r22547) -Update from WebTranslator v3.0:
spanish - 1 changes by Terkhen
2011-06-08 17:45:07 +00:00
frosch
60e48f35b5 (svn r22546) -Doc [FS#4635]: Add 'trains do not crash with their own wagons' to known_bugs. 2011-06-07 17:55:40 +00:00
translators
e2da240cca (svn r22545) -Update from WebTranslator v3.0:
dutch - 37 changes by Parody
brazilian_portuguese - 11 changes by Tucalipe
2011-06-06 17:45:12 +00:00
translators
af38f80f80 (svn r22544) -Update from WebTranslator v3.0:
romanian - 5 changes by tonny
vietnamese - 3 changes by myquartz
2011-06-05 17:45:10 +00:00
terkhen
05f2a0f391 (svn r22543) -Feature: [NewGRF] Support for station variable 0x69. 2011-06-04 21:24:23 +00:00
terkhen
8e00fa39b2 (svn r22542) -Add: Store cargo acceptance stats for stations. 2011-06-04 21:21:00 +00:00
terkhen
9f68c20d10 (svn r22541) -Document: GoodsEntry struct. 2011-06-04 21:19:00 +00:00
terkhen
5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 2011-06-04 21:17:07 +00:00
translators
05b125c42c (svn r22539) -Update from WebTranslator v3.0:
portuguese - 2 changes by JayCity
2011-06-04 17:45:07 +00:00
rubidium
015231a478 (svn r22538) -Fix [FS#4619]: possible crash when opening the airport build window for the first time 2011-06-04 14:48:21 +00:00
rubidium
58e3652bd0 (svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass 2011-06-04 14:24:34 +00:00
rubidium
e95840b6a8 (svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocol 2011-06-04 13:38:54 +00:00
planetmaker
40cdaca849 (svn r22535) -Cleanup: Remove uneeded constants, update and unify some comments relating to sprite numbers 2011-06-03 20:41:30 +00:00
yexo
cf11a1e98e (svn r22534) -Fix [FS#4631] (r21250): doing rescan_ai in a game with running AIs caused a crash 2011-06-03 19:18:39 +00:00
translators
b1812c9b02 (svn r22533) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
czech - 3 changes by rala
2011-06-03 17:45:11 +00:00
michi_cc
c9af6126f8 (svn r22532) -Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list. 2011-06-02 22:41:05 +00:00
translators
dbc5fdeb04 (svn r22531) -Update from WebTranslator v3.0:
simplified_chinese - 5 changes by Gavin
2011-06-02 17:45:06 +00:00
translators
d94a84d5c9 (svn r22530) -Update from WebTranslator v3.0:
frisian - 6 changes by Fopper
polish - 5 changes by nouwak
2011-06-01 17:45:09 +00:00
frosch
9b9b427a26 (svn r22529) -Doc (r22419): Reflect removal of '-i' option in documentation. 2011-05-31 20:51:19 +00:00
translators
b3d496a186 (svn r22526) -Update from WebTranslator v3.0:
serbian - 4 changes by etran
2011-05-31 17:45:09 +00:00
translators
756c5416fd (svn r22525) -Update from WebTranslator v3.0:
belarusian - 3 changes by KorneySan
croatian - 3 changes by VoyagerOne
dutch - 3 changes by Yexo
finnish - 1 changes by jpx_
italian - 3 changes by lorenzodv
russian - 1 changes by KorneySan
2011-05-30 17:45:22 +00:00
rubidium
38028ab423 (svn r22523) -Doc: how OpenTTD finds a font, and what to do when that "fails" 2011-05-29 20:01:39 +00:00
frosch
615e435677 (svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1 2011-05-29 18:35:31 +00:00
rubidium
36526d6b05 (svn r22521) -Fix: tiny typo in translation 2011-05-29 17:57:53 +00:00
translators
5b8ee9c982 (svn r22519) -Update from WebTranslator v3.0:
dutch - 1 changes by Rubidium
english_US - 3 changes by Rubidium
french - 3 changes by glx
german - 3 changes by frosch
spanish - 4 changes by Terkhen
2011-05-29 17:45:19 +00:00
frosch
a241a4ce97 (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 2011-05-29 16:56:22 +00:00
frosch
5b449145f7 (svn r22517) -Fix (r22472): If a NewGRF sprite ran out of bytes at a very specific point, data might be freed twice. 2011-05-29 16:54:40 +00:00
frosch
8f921c8747 (svn r22516) -Codechange: Replace some magic numbers with the appropiate enum values. (Eddi) 2011-05-29 08:56:05 +00:00
translators
c904e7ede5 (svn r22515) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
finnish - 2 changes by jpx_
norwegian_bokmal - 9 changes by kristoffer_hh
russian - 2 changes by Lone_Wolf
slovenian - 1 changes by ntadej
2011-05-28 17:45:18 +00:00
alberth
9bc3d8861f (svn r22514) -Feature: Save heightmap in scenario editor. 2011-05-28 13:56:35 +00:00
alberth
c6f3ded6d5 (svn r22513) -Add: Allow for saving a heightmap from the file dialogue window. 2011-05-28 13:55:59 +00:00
alberth
f1cae9960f (svn r22512) -Add: Save heightmap. 2011-05-28 13:55:34 +00:00
alberth
1838225192 (svn r22511) -Add: Function to make heightmap file paths. 2011-05-28 13:55:05 +00:00
alberth
84f7fc32fa (svn r22510) -Codechange: Extract filepath creation to its own function. 2011-05-28 13:54:42 +00:00
alberth
be048e05f2 (svn r22509) -Add: Save heightmap. 2011-05-28 13:54:18 +00:00
alberth
64745b4d0d (svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName. 2011-05-28 13:53:52 +00:00
alberth
c8cbc8ef97 (svn r22507) -Doc: Document SwitchMode. 2011-05-28 09:56:14 +00:00
frosch
460d24fd83 (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 2011-05-28 09:46:37 +00:00
frosch
71822b6f1b (svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects) 2011-05-28 09:45:12 +00:00
frosch
7c21083227 (svn r22504) -Codechange: Add EV_END and use it to check the lengths of _effect_init_procs and _effect_tick_procs. 2011-05-28 09:43:53 +00:00
frosch
1b34d22620 (svn r22503) -Doc: EffectVehicleType. 2011-05-28 09:43:22 +00:00
glx
986d5e950d (svn r22502) -Fix (r22501): WIN32 compilation 2011-05-28 03:23:34 +00:00
alberth
6e3ef9fa1a (svn r22501) -Codechange: Move FileExists to a better place. 2011-05-27 21:42:51 +00:00
alberth
f5637b7975 (svn r22500) -Doc: Fix and add fios doxygen documentation. 2011-05-27 21:20:07 +00:00
yexo
ffdfa5a213 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 2011-05-27 18:02:55 +00:00
translators
56902191e4 (svn r22498) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
2011-05-27 17:45:06 +00:00
planetmaker
8828acd722 (svn r22497) -Codechange: Simplify button handling in airport build GUI 2011-05-27 16:26:10 +00:00
yexo
00e65d1a4d (svn r22496) -Fix: callback result for airport layout name was incorrectly used 2011-05-27 16:06:23 +00:00
planetmaker
9a744793b0 (svn r22495) -Fix: The layout selectors of the airport build GUI did not latch properly 2011-05-27 15:40:32 +00:00
yexo
4ac6f2a994 (svn r22494) -Fix: airport preview sprite can depend on the layout, so update the cached SpriteID when the layout changes 2011-05-27 15:31:54 +00:00
translators
a222703d4c (svn r22493) -Update from WebTranslator v3.0:
brazilian_portuguese - 1 changes by Tucalipe
2011-05-26 17:45:07 +00:00
frosch
87515d0873 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 2011-05-25 20:10:02 +00:00
terkhen
cee94be7db (svn r22491) -Fix [FS#4623]: [Windows] Generate crashlogs correctly in binaries created with MinGW-w64. (JGR) 2011-05-25 16:40:30 +00:00
terkhen
1f3853249d (svn r22490) -Fix [FS#4623]: [Squirrel] Fix compilation under MinGW-w64. (JGR) 2011-05-25 16:35:23 +00:00
rubidium
197fcab295 (svn r22489) -Fix [FS#4623]: don't cast pointers to unsigned long or vice versa 2011-05-22 21:40:26 +00:00
alberth
63923068a2 (svn r22488) -Doc: Add Doxygen comments to screenshot code. 2011-05-22 20:18:38 +00:00
smatz
92cabe0c9f (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 2011-05-22 19:18:28 +00:00
translators
cfdfda0098 (svn r22486) -Update from WebTranslator v3.0:
dutch - 11 changes by Parody
2011-05-22 17:45:06 +00:00
frosch
1f79304125 (svn r22485) -Fix: EnsureVisibleCaption() did not update viewport positions of windows with viewports but without caption. (only triggerable since r22484) 2011-05-21 22:23:13 +00:00
frosch
351c7ab097 (svn r22484) -Fix: The caption of centered windows could be moved out of the main window and thus become inaccessible when resizing the main window. 2011-05-21 22:22:02 +00:00
translators
da216d9c2a (svn r22483) -Update from WebTranslator v3.0:
dutch - 2 changes by Parody
2011-05-21 17:45:06 +00:00
frosch
474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 2011-05-21 11:26:37 +00:00
smatz
2447efdefd (svn r22481) -Fix: compilation with recent GCC 2011-05-21 08:40:50 +00:00
translators
9b54356d3c (svn r22480) -Update from WebTranslator v3.0:
hungarian - 5 changes by IPG
spanish - 1 changes by Terkhen
2011-05-20 17:45:09 +00:00
frosch
ebb4f0513a (svn r22479) -Codechange/Fix: Months != quarters. (xi) 2011-05-19 21:03:23 +00:00
translators
1e90bc0d30 (svn r22478) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
estonian - 7 changes by notAbot
italian - 1 changes by lorenzodv
2011-05-19 17:45:12 +00:00
planetmaker
28767edb6c (svn r22477) -Doc: Update readme with more extensive information on directories used, font configuration and how to deal with missing NewGRFs 2011-05-19 16:39:48 +00:00
frosch
fae2477143 (svn r22476) -Codechange: Deduplicate code for reading sprite layout sprites. 2011-05-18 18:31:23 +00:00
translators
27e30521de (svn r22475) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
portuguese - 6 changes by ABCRic, JayCity
slovenian - 5 changes by Necrolyte
spanish - 1 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2011-05-18 17:45:29 +00:00
planetmaker
29ac44af7c (svn r22474) -Change: Reflect r22473 also in how it reads in the order list 2011-05-18 12:21:55 +00:00
planetmaker
43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 2011-05-18 12:19:58 +00:00
frosch
bc6b348e7a (svn r22472) -Fix: When a NewGRF assigned station properties 09 and/or 0A multiple times, the previously allocated sprite layouts were not freed. 2011-05-17 20:11:19 +00:00
translators
64cf720234 (svn r22471) -Update from WebTranslator v3.0:
brazilian_portuguese - 2 changes by Tucalipe
2011-05-17 17:45:07 +00:00
translators
9869f92e6a (svn r22470) -Update from WebTranslator v3.0:
luxembourgish - 8 changes by Phreeze
romanian - 2 changes by kkmic
2011-05-16 17:45:11 +00:00
translators
4867556a0c (svn r22466) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
dutch - 2 changes by habell
2011-05-15 17:45:09 +00:00
frosch
b319fb31d5 (svn r22465) -Fix [FS#4613]: When determining the executable path failed, the working directory was used instead, circumventing the not-home-directory check. 2011-05-15 17:18:46 +00:00
terkhen
003dee6e38 (svn r22464) -Fix [FS#4587]: [Windows] Prevent a crash when launching OpenTTD with -d from a MSYS console. Added a note to known-bugs about this issue. 2011-05-15 14:51:06 +00:00
frosch
4c63d8e82f (svn r22463) -Fix [FS#4615]: Update the fios GUI immediatelly after scanning a new directory, so queued events reach the window when already updated. 2011-05-15 12:30:14 +00:00
alberth
990ec6f0a9 (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
alberth
28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 2011-05-14 18:35:40 +00:00
translators
aa4c7e021c (svn r22458) -Update from WebTranslator v3.0:
lithuanian - 10 changes by Fretta
swedish - 1 changes by Ledel
2011-05-14 17:45:11 +00:00
frosch
e55f849a29 (svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately. 2011-05-14 17:33:26 +00:00
frosch
7415b9cca2 (svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors. 2011-05-14 17:25:45 +00:00
frosch
3183cb7907 (svn r22455) -Fix (r22286): x != y 2011-05-14 16:01:40 +00:00
frosch
20e86fd5ea (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 2011-05-14 13:12:47 +00:00
frosch
fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 2011-05-14 12:38:10 +00:00
frosch
930d0c9702 (svn r22452) -Fix (r18708): Zero register 0x100 as specified before resolving custom station foundations. 2011-05-14 12:36:31 +00:00
alberth
a63b22991d (svn r22451) -Codechange: Test for bridges and tunnels during the first pass only while terraforming (HackaLittleBit) 2011-05-14 09:26:16 +00:00
rubidium
772fd8f6b5 (svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu 2011-05-13 20:07:57 +00:00
translators
70eae3a7a3 (svn r22446) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
serbian - 2 changes by etran
2011-05-13 17:45:13 +00:00
translators
05f95f3cb8 (svn r22445) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
french - 2 changes by glx
german - 6 changes by planetmaker
italian - 2 changes by lorenzodv
russian - 2 changes by KorneySan
spanish - 6 changes by Terkhen
2011-05-12 17:45:27 +00:00
frosch
2cec96388c (svn r22444) -Add: When GRFs are disabled via Action E or due to GRM failure, also display an error in the GUI. 2011-05-11 20:23:37 +00:00
frosch
67b9eda8c6 (svn r22443) -Codechange: Deduplicate code for deactivating GRFs. 2011-05-11 20:22:04 +00:00
frosch
b6c4832b1e (svn r22442) -Fix: Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either. 2011-05-11 20:20:21 +00:00
translators
c435fa0f65 (svn r22441) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
2011-05-11 17:45:08 +00:00
terkhen
df8806bdb4 (svn r22440) -Change: [Windows] Remove Cancel button from information messages. 2011-05-09 20:29:01 +00:00
frosch
b7c6424104 (svn r22439) -Fix (r22291, r22426): Drawing lines of length zero failed. 2011-05-08 18:20:21 +00:00
translators
c4a15a6a9e (svn r22438) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
romanian - 6 changes by tonny
2011-05-08 17:45:09 +00:00
frosch
493a45ede5 (svn r22437) -Fix: Catenary was drawn incorrectly next to level crossings with foundations. (same as r3935, but for level crossings) 2011-05-08 16:19:04 +00:00
frosch
76c7cbff70 (svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1. 2011-05-08 15:58:59 +00:00
michi_cc
28067c21d5 (svn r22435) -Fix: Git revision detection would return too much when tags are involved. 2011-05-07 15:13:52 +00:00
terkhen
6cbc7be92b (svn r22434) -Feature [FS#4591]: [NewGRF] Allow to filter by town of the current industry when using industry variable 0x68 (Yexo) 2011-05-07 10:20:29 +00:00
frosch
83c5f77810 (svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices. 2011-05-07 00:22:46 +00:00
frosch
c2be206cd9 (svn r22432) -Codechange: Simplify smallmap colour constants using some more specialised macros. 2011-05-07 00:15:46 +00:00
michi_cc
3536f4086a (svn r22431) -Fix (r22399): NETWORK_RECV_STATUS_MALFORMED_PACKET != false. 2011-05-06 22:17:34 +00:00
frosch
844dc8646f (svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette colours in smallmap/legends etc.. 2011-05-06 22:10:50 +00:00
frosch
5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
michi_cc
4b0a2fbe29 (svn r22428) -Codechange: Reduce code duplication in the smallmap legend. 2011-05-06 20:57:02 +00:00
translators
ddd4981f52 (svn r22427) -Update from WebTranslator v3.0:
belarusian - 3 changes by KorneySan, Wowanxm
catalan - 4 changes by arnau
croatian - 3 changes by VoyagerOne
2011-05-06 17:45:13 +00:00
frosch
f976cddcba (svn r22426) -Fix (r22291): Drawing vertical and horizontal lines of width 1 missed drawing the first pixel. 2011-05-05 20:20:52 +00:00
translators
1e8f2cd7e9 (svn r22425) -Update from WebTranslator v3.0:
french - 3 changes by ElNounch
italian - 3 changes by lorenzodv
polish - 6 changes by lion
russian - 3 changes by Lone_Wolf
serbian - 3 changes by etran
vietnamese - 2 changes by nglekhoi
2011-05-05 17:45:23 +00:00
rubidium
c4aa943aaa (svn r22424) -Document: some more bits 2011-05-05 16:24:48 +00:00
rubidium
944a5cb7aa (svn r22423) -Document: some network stuff 2011-05-04 20:24:23 +00:00
translators
14081d91c9 (svn r22422) -Update from WebTranslator v3.0:
dutch - 3 changes by habell
english_US - 3 changes by Rubidium
finnish - 3 changes by jpx_
brazilian_portuguese - 3 changes by Tucalipe
2011-05-04 17:45:17 +00:00
frosch
22286bd7b6 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
frosch
bfb419f9d8 (svn r22420) -Cleanup: Replace the somewhat mixed DOS+Windows palette with the pure DOS palette. Also blank the animation colours, which are filled from a different array anyway. 2011-05-04 17:15:54 +00:00
frosch
bbcd2bab5d (svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
2011-05-04 17:12:37 +00:00
frosch
c7a9c7dc92 (svn r22418) -Fix (r22417): Messed up the palette detection of the extra base grf. 2011-05-03 20:48:53 +00:00
frosch
bfd09004fe (svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option. 2011-05-03 20:30:26 +00:00
frosch
dbfd156eb6 (svn r22416) -Fix: When action14 specified different values for the palette, the values were OR-ed. Use the last set value instead. 2011-05-03 20:19:57 +00:00
rubidium
3c86fddf4e (svn r22414) -Fix [FS#4606]: kicking thyself via remote console crashes the server 2011-05-03 15:05:15 +00:00
rubidium
ff143c6708 (svn r22413) -Document: even more stuff 2011-05-02 20:59:54 +00:00
translators
cf30941fab (svn r22412) -Update from WebTranslator v3.0:
french - 2 changes by glx
norwegian_nynorsk - 2 changes by 2rB
2011-05-02 17:45:09 +00:00
rubidium
fb5ecb9499 (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
rubidium
4d5dbf5170 (svn r22410) -Document: some more bits ;) 2011-05-02 16:14:23 +00:00
yexo
e9837ff1ec (svn r22409) -Fix: [NewGRF] make sure the action2 ID of a generic feature callback is valid 2011-05-01 21:02:18 +00:00
yexo
6a1eb377ae (svn r22408) -Cleanup: remove unused variable GRFFile::sprite_offset 2011-05-01 20:46:36 +00:00
rubidium
428044e033 (svn r22407) -Document: the "root" driver related stuff 2011-05-01 20:04:09 +00:00
rubidium
5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 2011-05-01 19:51:52 +00:00
rubidium
1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
translators
b27dd1dcd7 (svn r22404) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
2011-05-01 17:45:08 +00:00
rubidium
99ec3a044a (svn r22403) -Document: some more network/core code 2011-05-01 13:29:40 +00:00
rubidium
536c581923 (svn r22401) -Codechange: replace some defines in the udp code so doxygen can create better documentation 2011-05-01 12:18:34 +00:00
rubidium
2e572b98de (svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation 2011-05-01 11:30:03 +00:00
rubidium
d4737e0724 (svn r22399) -Codechange: replace some defines in the tcp/content code so doxygen can create better documentation 2011-05-01 11:13:11 +00:00
rubidium
b2efd73773 (svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation 2011-05-01 11:01:57 +00:00
rubidium
485c7cd99e (svn r22397) -Document: some tidbits of the blitter code 2011-05-01 10:15:33 +00:00
rubidium
70c7ec30b1 (svn r22396) -Document: some AI doxygen stuff 2011-05-01 09:24:19 +00:00
yexo
abc2352537 (svn r22389) -Fix [FS#4600]: try to make sure there is an early house available in the current climate for every townzone, not just a single available house for all climates/townzones 2011-04-30 19:44:20 +00:00
rubidium
0e1ac234d8 (svn r22388) -Fix: when a game uses a lot of NewGRFs the buffer for storing that information in the PNG is too small 2011-04-30 17:44:12 +00:00
rubidium
c2ac411e69 (svn r22387) -Fix-ish [FS#4601]: Windows' recv seems to return "graceful closed" before having passed the remaining buffer which causes OpenTTD to think all connections are "incorrectly" terminated, i.e. without the "I'm leaving" packet from the client. So let the client wait a tiny bit after sending the "I'm leaving" packet and before gracefully closing the connection 2011-04-30 17:41:14 +00:00
frosch
bdc8a59ff4 (svn r22386) -Fix [FS#4602]: When the last AI company gets removed, the 'dead' state was not reset in the AI debug window. 2011-04-30 17:08:18 +00:00
rubidium
46c242b1dc (svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h. 2011-04-30 14:24:23 +00:00
rubidium
1c1e9f6941 (svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots 2011-04-30 12:09:26 +00:00
frosch
1ffd720f81 (svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings. 2011-04-29 20:47:36 +00:00
planetmaker
461b75725c (svn r22382) -Fix (r22381): Apply the change of string names also to the unfinished translations 2011-04-29 19:27:37 +00:00
planetmaker
a04672454f (svn r22381) -Codechange: It's called 'steel', not 'steele' 2011-04-29 15:26:12 +00:00
planetmaker
751d3a7915 (svn r22380) -Fix: Update openttd.grf and the base set description files accordingly 2011-04-29 15:09:29 +00:00
planetmaker
b50b00a7ae (svn r22379) -Fix: Not all pixels which need recolouring were actually in the proper colour 2011-04-29 15:08:44 +00:00
planetmaker
488051ae30 (svn r22378) -Fix: The recolouring scheme applied to the silicon bridge recoloured too much 2011-04-29 15:03:14 +00:00
translators
2169b85f24 (svn r22377) -Update from WebTranslator v3.0:
hungarian - 3 changes by IPG
spanish - 1 changes by Terkhen
2011-04-27 17:45:09 +00:00
translators
1f85bb5260 (svn r22376) -Update from WebTranslator v3.0:
simplified_chinese - 6 changes by Gavin
portuguese - 1 changes by JayCity
slovenian - 2 changes by Necrolyte
2011-04-25 17:45:14 +00:00
translators
f1a87e25a8 (svn r22375) -Update from WebTranslator v3.0:
portuguese - 3 changes by jomasaco
2011-04-24 17:45:06 +00:00
translators
3336886cfe (svn r22374) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
slovenian - 32 changes by
2011-04-23 17:45:12 +00:00
yexo
d30a9ea6a2 (svn r22373) -Fix (r19955) (r20041) [FS#4592]: crash when clicking a removed company in the vehiclelist dropdowns 2011-04-22 21:51:34 +00:00
rubidium
380d4b277b (svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP 2011-04-22 19:53:28 +00:00
rubidium
75b87c554f (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 2011-04-22 16:09:46 +00:00
rubidium
ce91f6b45e (svn r22370) -Codechange/fix: keep better accounting of the order in which clients joined:
* Clients can't be starved from joining the game
 * Clients will see the amount of clients actually waiting in front of them, instead of the amount of waiting clients in total
2011-04-22 16:07:47 +00:00
rubidium
cdfc0ec4a3 (svn r22369) -Codechange: allocate ClientInfo when needed, i.e. don't allocate it for clients that are there to just get a list of companies. This means that these short lived clients won't be seen by the admin network in their client queries anymore 2011-04-22 16:05:05 +00:00
rubidium
2cae0cd54c (svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket 2011-04-22 16:03:48 +00:00
rubidium
146d532d51 (svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots" 2011-04-22 16:03:13 +00:00
rubidium
c61abe0019 (svn r22366) -Codechange: make GetClientIP a function of the server's ClientSocket, after all the Socket is the bit that's associated with the network 2011-04-22 16:02:21 +00:00
rubidium
caf02450fb (svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses 2011-04-22 15:59:32 +00:00
rubidium
1c419d99bc (svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients 2011-04-22 15:57:05 +00:00
rubidium
f1d0c1a746 (svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID 2011-04-22 15:54:42 +00:00
rubidium
bc9a803ea9 (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID 2011-04-22 15:54:16 +00:00
rubidium
393fb8e46b (svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client) 2011-04-22 15:53:40 +00:00
rubidium
2802c742a4 (svn r22360) -Codechange: use globally unique client id to mark the selected client instead of the position in the client list 2011-04-22 15:52:50 +00:00
rubidium
2f9b6156ee (svn r22359) -Codechange: pass client info pointers instead of the position to the client popup list's callbacks 2011-04-22 15:51:52 +00:00
rubidium
835ae31f45 (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups 2011-04-22 15:50:13 +00:00
smatz
e2d5ce1b0e (svn r22357) -Fix (r22345): crash when opening the chat box or company password input box 2011-04-22 15:03:08 +00:00
glx
e6659eb875 (svn r22356) -Fix (r22342): somehow empty and useless new files were added 2011-04-21 19:21:02 +00:00
translators
454999ff9f (svn r22355) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
slovenian - 32 changes by
2011-04-21 17:45:14 +00:00
translators
ba7b0237de (svn r22354) -Update from WebTranslator v3.0:
czech - 3 changes by SmatZ
dutch - 1 changes by habell
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 32 changes by 
swedish - 1 changes by Ledel
vietnamese - 1 changes by nglekhoi
2011-04-20 17:45:33 +00:00
smatz
e27d8e03ec (svn r22353) -Cleanup (r22352): remove unused strings from all language files 2011-04-19 18:50:03 +00:00
smatz
c3f1fd5716 (svn r22352) -Change: make YAPF the default pathfinder for ships, don't discourage players from using it 2011-04-19 18:47:36 +00:00
smatz
9eafc6c28f (svn r22351) -Revert (r17101): and reinstall r16546. Hash tables are much smaller now, so it shouldn't cause crash anymore 2011-04-19 18:20:34 +00:00
smatz
0c55cbfa73 (svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%) 2011-04-19 18:12:47 +00:00
translators
b1e3b098d1 (svn r22349) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
russian - 1 changes by KorneySan
slovenian - 32 changes by 
vietnamese - 1 changes by nglekhoi
2011-04-19 17:45:16 +00:00
smatz
6e011e9e68 (svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp 2011-04-19 15:00:11 +00:00
translators
64cd6a62a2 (svn r22347) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
portuguese - 1 changes by JayCity
serbian - 1 changes by etran
slovenian - 32 changes by 
spanish - 1 changes by Terkhen
2011-04-18 17:45:34 +00:00
terkhen
8bc9925ade (svn r22346) -Cleanup: Textbuf::max_pixels is not required anymore. 2011-04-17 18:45:36 +00:00
terkhen
5bb7a48cd2 (svn r22345) -Change: Remove pixel limiter for text buffers. 2011-04-17 18:44:09 +00:00
terkhen
0bd44f60e9 (svn r22344) -Codechange: Remove width constant from the sign list window. 2011-04-17 18:43:17 +00:00
terkhen
10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
glx
e874f0e16e (svn r22342) -Fix (r22338): fix the right place and run the script 2011-04-17 17:56:33 +00:00
d91d61d643 (svn r22341) -Change: Remove string unused since r22337 2011-04-17 17:56:31 +00:00
translators
9f3062f6ac (svn r22340) -Update from WebTranslator v3.0:
french - 1 changes by glx
german - 1 changes by planetmaker
brazilian_portuguese - 1 changes by Tucalipe
slovenian - 32 changes by 
swedish - 2 changes by Ledel
2011-04-17 17:45:20 +00:00
glx
e7cebee7fe (svn r22339) -Fix: french uses NBSP as digit separator, not dot 2011-04-17 17:34:18 +00:00
2080002461 (svn r22338) -Fix (r22337): Compile-before-commit... 2011-04-17 17:34:09 +00:00
7b4620d66b (svn r22337) -Fix: Overly specific error message 2011-04-17 17:28:33 +00:00
frosch
f4649c7ce7 (svn r22336) -Fix (r22304): {DECIMAL} printed too many thousand separators. 2011-04-17 17:17:09 +00:00
smatz
b1286bbcda (svn r22335) -Cleanup (r22308): remove superfluous tabs 2011-04-17 13:36:51 +00:00
translators
ec45870fc4 (svn r22334) -Update from WebTranslator v3.0:
slovenian - 72 changes by klemenkosir
2011-04-16 17:45:08 +00:00
frosch
204a6b16c3 (svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones. 2011-04-16 17:20:08 +00:00
frosch
74069dbda3 (svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders. 2011-04-16 17:18:04 +00:00
frosch
8dd2f413bd (svn r22331) -Change: When inserting an (automatic) order A in front of an order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself) 2011-04-16 17:06:59 +00:00
frosch
181fd5e3ab (svn r22330) -Change: When a conditional order triggers and causes skipping to a particular order, disable modifications to automatic orders. till reaching the next real order, as we do not know whether to change the targets of conditional orders when inserting automatic orders. (So, when the vehicle skips to an order and later inserts an automatic order, the conditional order will still point to the same order, so the automatic order will be inserted again the next time.) 2011-04-16 17:02:28 +00:00
frosch
709f0e4f83 (svn r22329) -Change: When the current orders are interrupted for non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328) 2011-04-16 16:56:24 +00:00
frosch
194a941a37 (svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal of automatic orders until the next real order is reached. 2011-04-16 16:45:35 +00:00
frosch
aedd38255b (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 2011-04-16 16:41:02 +00:00
frosch
30b4bad60c (svn r22326) -Fix: Destinations of conditional orders were update incorrectly when deleting orders in front of the conditional orders, if the target order wwas the order just before of the conditional order. 2011-04-16 16:26:08 +00:00
rubidium
52b7c63683 (svn r22325) -Fix: Slovenian iso code was wrong 2011-04-15 19:04:42 +00:00
frosch
5eafcd8de6 (svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders failed. 2011-04-15 19:03:55 +00:00
translators
2cbffe0423 (svn r22323) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by 2rB
norwegian_nynorsk - 41 changes by 2rB
slovenian - 2 changes by ntadej
2011-04-15 17:45:13 +00:00
planetmaker
2f226fb725 (svn r22322) -Fix [FS#4593]: Obey the law of conservation of parantheses in the console help 2011-04-15 06:20:01 +00:00
translators
c4a4866316 (svn r22321) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
russian - 1 changes by KorneySan
2011-04-13 17:45:11 +00:00
orudge
8d8fda5662 (svn r22320) -Fix [FS#4590]: "Shopping centre" is more accurate in British English 2011-04-13 14:45:49 +00:00
translators
e1ed80d76e (svn r22319) -Update from WebTranslator v3.0:
portuguese - 1 changes by JayCity
thai - 1 changes by kenny
vietnamese - 1 changes by nglekhoi
2011-04-12 17:45:13 +00:00
translators
4ea89306e2 (svn r22318) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
korean - 1 changes by junho2813
2011-04-11 17:45:14 +00:00
translators
988145d72b (svn r22317) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 2 changes by Rubidium
italian - 1 changes by lorenzodv
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
2011-04-10 17:45:28 +00:00
frosch
12bed9ac5a (svn r22316) -Fix: [NewGRF] When determining refittability use the cargo translation table of the GRF setting the refitmask instead of the GRF defining the action 3. 2011-04-10 17:21:43 +00:00
frosch
338cc7874d (svn r22315) -Fix (r22314): Update comment as well. 2011-04-10 16:10:06 +00:00
frosch
fa7c1d8a34 (svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list. 2011-04-10 16:08:14 +00:00
frosch
f3ea5524d2 (svn r22313) -Cleanup (r22312): Remove some dead code. 2011-04-10 15:30:24 +00:00
frosch
93276c1c03 (svn r22312) -Codechange: Add GameOptionsWindow::BuildDropDownList() for construction of all dropdown lists in the GameOptionsWindow.
-Change: Sort the items in the currency dropdown; separate the "Custom" item with a horizontal line from the rest.
-Change: Separate default and NewGRF-supplied townnames with a horizontal line and only sort them within these groups.
-Fix: Resize all dropdown lists in the GameOptionsWindow, so no text is truncated.
2011-04-10 15:30:08 +00:00
frosch
ea1ca5bf1e (svn r22311) -Add: DropDownListStringItem::NatSortFunc() which can be used as comparator function in DropDownList::sort(). 2011-04-10 15:01:14 +00:00
frosch
18f0add50a (svn r22310) -Codechange: Derive DropDownListCharStringItem from DropDownListStringItem. 2011-04-10 14:56:14 +00:00
frosch
5bf90860f8 (svn r22309) -Fix: Make road vehicles, ships and aircraft skip orders if they are leaving a depot and heading to the same one again; just like trains since r16322. 2011-04-10 10:47:21 +00:00
rubidium
d1a50a01b4 (svn r22308) -Fix [FS#4574]: waiting on a server could kick the client, or rather the client would kick itself due to an unexpected packet 2011-04-09 21:52:38 +00:00
frosch
6ce83c0aaa (svn r22307) -Fix: When drawing the town authority window, check whether the availability of the actions changed, and force a complete redraw in that case. 2011-04-09 21:15:24 +00:00
rubidium
af2f6de903 (svn r22306) -Fix-ish: WT3 still doesn't validate the amount of plural parameters 2011-04-09 20:33:07 +00:00
frosch
ce993e7cd4 (svn r22305) -Add: One digit for the fractional part of train lengths in the depot view. 2011-04-09 20:27:34 +00:00
frosch
70f9a6747e (svn r22304) -Add: {DECIMAL} string code to print decimal fractions. 2011-04-09 20:26:14 +00:00
frosch
2c8b7a980f (svn r22303) -Codechange: Simplify the 'zerofill' parameter of FormatNumber() and reduce usage of magic numbers. 2011-04-09 20:12:45 +00:00
frosch
ecb3701210 (svn r22302) -Codechange: Replace a linear search with a binary search. 2011-04-09 11:32:11 +00:00
translators
1e64012e9f (svn r22301) -Update from WebTranslator v3.0:
simplified_chinese - 35 changes by Gavin
2011-04-08 17:45:07 +00:00
planetmaker
4313c0a0c8 (svn r22300) -Fix (r22299): Missing out on a ! can have the opposite effect of what was intended 2011-04-07 22:40:27 +00:00
planetmaker
87d07f19e8 (svn r22299) -Fix [FS#4581]: Check the availability year of all houses, not just the NewGRF houses, when making sure that at least one is available onwards from year 0 2011-04-07 22:27:54 +00:00
smatz
b5e132924e (svn r22298) -Change: allow enabling 'freeform edges' setting when there is only station label above one of northern tiles 2011-04-07 15:58:21 +00:00
smatz
a8862eb77f (svn r22297) -Fix [FS#4580]: the 'freeform edges' setting could be enabled when there were buoys on the northern border (adf88) 2011-04-07 15:48:13 +00:00
translators
d52dbc714a (svn r22296) -Update from WebTranslator v3.0:
afrikaans - 8 changes by Kayos
2011-04-05 17:45:07 +00:00
translators
66a93e672e (svn r22295) -Update from WebTranslator v3.0:
vietnamese - 1 changes by nglekhoi
2011-04-04 17:45:09 +00:00
frosch
3d2f454167 (svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons. 2011-04-03 17:00:57 +00:00
planetmaker
75ab1f18f8 (svn r22293) -Add: Allow docks to feature company colour (add another pony for the firs(t) fish&chips foundry) 2011-04-03 08:22:14 +00:00
frosch
0babca04f2 (svn r22292) -Change: Increase the linewidth in plots. 2011-04-02 16:40:05 +00:00
frosch
b18211bb9d (svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine(). 2011-04-02 16:39:30 +00:00
frosch
7659575cfa (svn r22290) -Codechange: Somewhat deduplicate one line of code. 2011-04-02 15:07:58 +00:00
frosch
43323e38b5 (svn r22289) -Fix (r22288): Forgot project files. 2011-04-02 11:56:44 +00:00
frosch
004c93f9da (svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine(). 2011-04-02 11:55:54 +00:00
yexo
a980319801 (svn r22286) -Fix: [NewGRF] the c and p parts of station vars 40, 41 and 49 were incorrect for large stations 2011-04-01 19:55:56 +00:00
translators
d16ca32815 (svn r22285) -Update from WebTranslator v3.0:
slovak - 45 changes by teso
2011-04-01 17:45:07 +00:00
smatz
d6a70ea1d9 (svn r22284) -Codechange [FS#4564]: cast values to uint before computing modulus in direction_func.h, so compiler can generate superior code (adf88) 2011-04-01 12:17:23 +00:00
rubidium
fff18f6087 (svn r22283) -Merge from 1.1: documentation updates/release changes 2011-03-31 21:26:26 +00:00
yexo
23d4372934 (svn r22280) -Fix: update the 40+x station vars caches when displaying them in the NewGRF debug gui 2011-03-30 21:39:44 +00:00
translators
2124ae0ef7 (svn r22279) -Update from WebTranslator v3.0:
faroese - 139 changes by HPJ
german - 2 changes by lugo
portuguese - 3 changes by JayCity
2011-03-30 17:45:12 +00:00
translators
3285a2ab20 (svn r22278) -Update from WebTranslator v3.0:
faroese - 25 changes by BuBu, HPJ
2011-03-29 17:45:04 +00:00
translators
341682b6b7 (svn r22277) -Update from WebTranslator v3.0:
faroese - 26 changes by BuBu
norwegian_nynorsk - 57 changes by 2rB
2011-03-28 18:45:08 +00:00
translators
dfebe173fc (svn r22276) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
frisian - 61 changes by gjannema
german - 1 changes by MG
russian - 2 changes by Lone_Wolf
2011-03-26 18:45:14 +00:00
translators
e6bf6ef0e9 (svn r22275) -Update from WebTranslator v3.0:
russian - 3 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2011-03-25 18:45:11 +00:00
translators
7514eb7453 (svn r22274) -Update from WebTranslator v3.0:
frisian - 9 changes by Fopper
2011-03-24 18:45:08 +00:00
yexo
b1901586a0 (svn r22273) -Fix (r22271) [FS#4562]: fix was incorrect 2011-03-24 00:43:44 +00:00
translators
f876cc1bd3 (svn r22272) -Update from WebTranslator v3.0:
frisian - 3 changes by gjannema
2011-03-23 18:45:05 +00:00
yexo
dfd2899a88 (svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was broken 2011-03-22 23:59:55 +00:00
yexo
fd74c0f9dc (svn r22270) -Codechange: initialize some temporary arrays on the same line as they're declared
so the size doesn't have to be declared manually. Also detect the size of those
arrays automatically by using a template
2011-03-22 22:13:20 +00:00
translators
eb4ddb256e (svn r22269) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
faroese - 9 changes by FastNinja
polish - 2 changes by silver_777
2011-03-22 18:45:11 +00:00
translators
bb97a656da (svn r22268) -Update from WebTranslator v3.0:
faroese - 187 changes by FastNinja
frisian - 40 changes by gjannema
2011-03-21 18:45:07 +00:00
rubidium
c94c73d2fb (svn r22267) -Fix: broken language file... 2011-03-20 20:52:30 +00:00
rubidium
e645a2e066 (svn r22266) -Fix [FS#4558]: In the scenario editor you could build a ship depot using the hotkeys. Removing that depot causes an assertions to trigger. 2011-03-20 20:51:31 +00:00
translators
99c0e14fa0 (svn r22265) -Update from WebTranslator v3.0:
basque - 8 changes by Thadah
frisian - 71 changes by gjannema
2011-03-20 18:45:08 +00:00
smatz
9910e25073 (svn r22264) -Document: GCC 4.7 is supported too, though it gives a false warning about freeing non-heap objects 2011-03-19 20:19:27 +00:00
translators
1377ff6588 (svn r22263) -Update from WebTranslator v3.0:
lithuanian - 35 changes by BlinK_
portuguese - 18 changes by JayCity
romanian - 15 changes by tonny
2011-03-19 18:45:13 +00:00
frosch
93272478b7 (svn r22259) -Fix (r9779)[FS#4557]: Remove duplicate and wrong (too early) activation of new game settings. (chillcore) 2011-03-18 19:36:20 +00:00
yexo
0e17cbc9f8 (svn r22258) -Codechange: introduce a wrapper class to clean up the arguments to FormatString 2011-03-18 13:34:52 +00:00
rubidium
63fd82e5a6 (svn r22256) -Update [FS#3375]: RPM spec file (Ammler) 2011-03-17 20:47:36 +00:00
translators
00b2626c3a (svn r22255) -Update from WebTranslator v3.0:
ukrainian - 16 changes by Madvin
2011-03-16 18:45:08 +00:00
michi_cc
e7bb220fdd (svn r22254) -Codechange: Make settingsgen only update the output file if it actually changed. 2011-03-14 22:24:08 +00:00
frosch
f81dd357e8 (svn r22253) -Change: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years. (Eddi) 2011-03-14 21:14:44 +00:00
frosch
d12c2dfa24 (svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own. 2011-03-13 22:05:29 +00:00
frosch
cba6eb87c2 (svn r22249) -Codechange: Process some more invalidation of IDs during command scope. 2011-03-13 21:35:50 +00:00
frosch
141f2eba50 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 2011-03-13 21:34:49 +00:00
frosch
652c9cb663 (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 2011-03-13 21:34:21 +00:00
frosch
5689b3dbda (svn r22246) -Fix: Process order window invalidations for specific orders in command-scope. 2011-03-13 21:33:57 +00:00
frosch
dd20823277 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 2011-03-13 21:33:30 +00:00
frosch
f051a81b4e (svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting). 2011-03-13 21:33:02 +00:00
frosch
0ff4f31723 (svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself. 2011-03-13 21:32:40 +00:00
frosch
51ddbbb13d (svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope. 2011-03-13 21:32:13 +00:00
frosch
ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
translators
0ff6c8f425 (svn r22240) -Update from WebTranslator v3.0:
esperanto - 9 changes by Christopher
faroese - 71 changes by FastNinja
greek - 20 changes by fumantsu
2011-03-13 18:45:11 +00:00
alberth
bb4d832146 (svn r22239) -Doc: Further engine doxyment additions. 2011-03-13 16:43:00 +00:00
alberth
911dfa52bb (svn r22238) -Codechange (r8888): Also remove the now unused NUM_VEHICLE_TYPES constant. 2011-03-13 14:00:11 +00:00
alberth
72b8e56920 (svn r22237) -Doc: Add some doxyments to structs and enums in engine_type.h 2011-03-13 13:49:31 +00:00
frosch
2ae863463c (svn r22236) -Fix (r21457): Disarm a bear-pit, which r22226 almost fell into. 2011-03-13 10:43:41 +00:00
rubidium
dee05fe63d (svn r22235) -Add: stub for a Faroese translation 2011-03-13 08:32:16 +00:00
translators
49109d3663 (svn r22234) -Update from WebTranslator v3.0:
swedish - 2 changes by Zuu
2011-03-12 18:45:06 +00:00
yexo
6305d104c1 (svn r22233) -Fix (r22210): value strings for command-pause-level were not shown correctly 2011-03-11 19:48:26 +00:00
translators
fe611024c1 (svn r22232) -Update from WebTranslator v3.0:
german - 20 changes by lugo
portuguese - 1 changes by JayCity
slovak - 1 changes by micropro_cz
2011-03-11 18:45:12 +00:00
frosch
4269170c9b (svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C. 2011-03-10 19:32:24 +00:00
rubidium
7e74b52d6e (svn r22230) -Fix: WT3 validation 2011-03-10 18:56:14 +00:00
translators
2323e91ed2 (svn r22229) -Update from WebTranslator v3.0:
brazilian_portuguese - 3 changes by Tucalipe
slovak - 44 changes by micropro_cz
2011-03-10 18:45:10 +00:00
frosch
77d1dcb926 (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. 2011-03-08 20:52:59 +00:00
frosch
b997ebb942 (svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls. 2011-03-08 19:43:38 +00:00
frosch
9cf92e2bd2 (svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them. 2011-03-08 19:41:58 +00:00
translators
31f46c0786 (svn r22225) -Update from WebTranslator v3.0:
italian - 6 changes by lorenzodv
2011-03-08 18:45:07 +00:00
translators
0c6c755bf6 (svn r22223) -Update from WebTranslator v3.0:
traditional_chinese - 7 changes by elleryq
frisian - 16 changes by Taeke
greek - 28 changes by fumantsu
italian - 30 changes by Snail_, lorenzodv
2011-03-07 18:45:16 +00:00
yexo
cde5b7dffc (svn r22222) -Fix: compilation when compiling with --disable-ai 2011-03-07 18:44:36 +00:00
translators
11755768d2 (svn r22221) -Update from WebTranslator v3.0:
danish - 14 changes by beruic
vietnamese - 4 changes by nglekhoi
2011-03-06 18:47:36 +00:00
alberth
26a9b31817 (svn r22220) -Codechange: Unduplicate npf/yapf strings for the other languages. 2011-03-06 16:00:53 +00:00
alberth
d3569f917d (svn r22219) -Codechange: Unduplicate npf/yapf strings. 2011-03-06 16:00:24 +00:00
alberth
51d39bc462 (svn r22218) -Codechange: Unduplicate horizontal positioning strings for the other languages. 2011-03-06 15:59:43 +00:00
alberth
c46de7fc7b (svn r22217) -Codechange: Unduplicate horizontal positioning strings. 2011-03-06 15:59:23 +00:00
alberth
f74e9c5d49 (svn r22216) -Codechange: Unduplicate original/realistic strings for the other languages. 2011-03-06 15:58:37 +00:00
alberth
7ee064b75d (svn r22215) -Codechange: Unduplicate original/realistic strings. 2011-03-06 15:58:03 +00:00
alberth
b7814a00cd (svn r22214) -Codechange: Unduplicate company on/off strings for the other languages. 2011-03-06 15:57:17 +00:00
alberth
3d6246ba9e (svn r22213) -Codechange: Unduplicate company on/off strings. 2011-03-06 15:56:12 +00:00
alberth
6372eb4d86 (svn r22212) -Codechange: Unduplicate Off/On strings for the other languages. 2011-03-06 15:54:20 +00:00
alberth
5f505a69f3 (svn r22211) -Codechange: Unduplicate Off/On strings. 2011-03-06 15:52:23 +00:00
alberth
9fe65f93fe (svn r22210) -Add: Add a variable for the value strings in the settings tables. 2011-03-06 15:51:44 +00:00
alberth
02bf850d95 (svn r22209) -Codechange: Move function declarations from settings.h.preamble to the ini file that uses it. 2011-03-06 10:35:40 +00:00
rubidium
db6121f361 (svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice 2011-03-06 10:11:59 +00:00
alberth
bbde7766d2 (svn r22207) -Add: Add the copyright message to the new ini files. 2011-03-06 09:54:20 +00:00
rubidium
18a9188081 (svn r22206) -Revert-ish (r14526) / Unfix-ish [FS#3569] / Fix [FS#4545]: the "center" (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine 2011-03-06 09:22:11 +00:00
rubidium
e34c42de32 (svn r22205) -Codechange: replace magic number with constant 2011-03-05 21:52:45 +00:00
planetmaker
2aa14cc54b (svn r22204) -Change: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs 2011-03-05 18:28:10 +00:00
frosch
f5a7ad70dc (svn r22203) -Doc: Document 'override_features'. 2011-03-05 18:27:43 +00:00
rubidium
f90044d343 (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 2011-03-05 18:00:48 +00:00
rubidium
baaf3cd837 (svn r22201) -Fix (r22188): make sure generate.vbs generates the same as generate 2011-03-05 17:59:51 +00:00
smatz
469c448eb0 (svn r22200) -Fix (r21642): removing a station order could stop when removing first automatic order 2011-03-05 13:59:23 +00:00
rubidium
b8d3c42de2 (svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names 2011-03-05 11:34:31 +00:00
rubidium
e48967541a (svn r22198) -Codechange: make some constants name more explicit 2011-03-05 11:16:44 +00:00
rubidium
2636a4809b (svn r22197) -Cleanup: remove the distinction between conditional and non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded 2011-03-05 10:47:49 +00:00
rubidium
cb3fa759f3 (svn r22196) -Codechange: use default values for the from and to of savegame versions as well 2011-03-05 10:20:49 +00:00
rubidium
ba28937b3d (svn r22195) -Fix (r22188): make sure makedep picks up the newly generated settings.h so settings.cpp gets recompiled when needed 2011-03-05 10:13:14 +00:00
rubidium
8b9f99ec44 (svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items 2011-03-05 10:12:03 +00:00
planetmaker
ca61ae0b0a (svn r22193) -Fix: Invalidate the object build window when using the date cheat 2011-03-05 09:55:09 +00:00
rubidium
5ad2b30b0b (svn r22192) -Fix (r22188): MSVC 2005 64 bits didn't build settings(gen), and as such compilation failed 2011-03-05 08:48:37 +00:00
glx
0eade7efaf (svn r22191) -Fix: make sure table/settings.h is generated with MSVC2010, also fix a warning in version project 2011-03-05 01:31:56 +00:00
glx
691825f39d (svn r22190) -Fix (r22188): minor changes in project files 2011-03-04 23:44:10 +00:00
glx
88e669d01b (svn r22189) -Fix (r22188): Add svn properties to the new files 2011-03-04 22:47:43 +00:00
glx
7f54c59a66 (svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too 2011-03-04 22:34:10 +00:00
glx
150b5c0bf7 (svn r22187) -Fix: some reordering in source.list 2011-03-04 22:25:07 +00:00
rubidium
55c973966e (svn r22186) -Fix: spelling mistake 2011-03-04 21:14:00 +00:00
translators
88362f8c31 (svn r22182) -Update from WebTranslator v3.0:
traditional_chinese - 18 changes by elleryq
vietnamese - 7 changes by nglekhoi
2011-03-04 18:45:09 +00:00
yexo
1714e5d509 (svn r22181) -Fix (r20574): following a vehicle with a very high VehicleID was impossible 2011-03-04 12:12:48 +00:00
glx
ee1af659a9 (svn r22180) -Fix: when using -static-libgcc, also use -static-libstdc++ 2011-03-04 00:27:17 +00:00
glx
ec56036dc7 (svn r22179) -Fix (r22167): compilation on win32 2011-03-03 23:34:14 +00:00
rubidium
59e42ea178 (svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms 2011-03-03 21:43:24 +00:00
alberth
25c7bdde66 (svn r22176) -Fix (r22167, r22171, r22172, r22173, r22174): Add svn properties to the new files. 2011-03-03 21:42:32 +00:00
yexo
261b34b705 (svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id 2011-03-03 21:24:03 +00:00
alberth
91ddf07c80 (svn r22174) -Add: Generate the settings as part of the unix build process without using it (Rubidium) 2011-03-03 21:08:20 +00:00
alberth
7477f92029 (svn r22173) -Add: Add preamble and postamble files before and after the generated settings data. 2011-03-03 21:06:24 +00:00
alberth
74d756799c (svn r22172) -Add: Add ini files containing the table/settings data. 2011-03-03 21:04:17 +00:00
alberth
98d5302c63 (svn r22171) -Add: Add settings generator program. 2011-03-03 20:59:59 +00:00
alberth
fa9c193539 (svn r22170) -Add: Add IGT_SEQUENCE type for loading ini group lines without further interpretation. 2011-03-03 20:56:33 +00:00
alberth
6a88af662b (svn r22169) -Add: Add parameter to disable automatic group creation in IniLoadFile::GetGroup(). 2011-03-03 20:55:06 +00:00
alberth
722296e797 (svn r22168) -Codechange: Move ini file IO and file error reporting to virtual functions. 2011-03-03 20:53:09 +00:00
alberth
d19a9f5df5 (svn r22167) -Codechange: Extract IniLoadFile base class for loading ini files out of IniFile. 2011-03-03 20:50:24 +00:00
yexo
b74de9ff72 (svn r22165) -Fix: [NewGRF] memory leak if an industry newgrf had more than one prop A or 15 2011-03-03 20:26:19 +00:00
yexo
18a2fadf35 (svn r22164) -Fix: [NewGRF] disable a station newgrf when it contains an unterminated spritelayout in action0 prop 08 instead of crashing openttd 2011-03-03 19:52:42 +00:00
yexo
3769b4f218 (svn r22163) -Fix [FS#4541]: building a station part adjacent to both an existing station and a rail waypoint failed 2011-03-03 19:26:18 +00:00
yexo
93533b603a (svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available 2011-03-03 18:47:46 +00:00
translators
21cc2da71a (svn r22161) -Update from WebTranslator v3.0:
traditional_chinese - 31 changes by elleryq
japanese - 16 changes by kokubunzi
vietnamese - 6 changes by nglekhoi
2011-03-03 18:45:13 +00:00
translators
d75012d7ff (svn r22160) -Update from WebTranslator v3.0:
traditional_chinese - 15 changes by elleryq
romanian - 2 changes by kkmic
2011-03-02 18:45:12 +00:00
translators
5583f14914 (svn r22159) -Update from WebTranslator v3.0:
german - 21 changes by NG
hungarian - 1 changes by norbert79
thai - 1 changes by kidokun
2011-03-01 18:45:12 +00:00
translators
4e85245d41 (svn r22158) -Update from WebTranslator v3.0:
japanese - 39 changes by kokubunzi
korean - 119 changes by junho2813, telk5093
slovenian - 30 changes by
2011-02-28 18:45:13 +00:00
yexo
12125f6033 (svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes 2011-02-28 15:24:35 +00:00
translators
34ea215d78 (svn r22156) -Update from WebTranslator v3.0:
italian - 54 changes by lorenzodv
japanese - 2 changes by kokubunzi
slovenian - 30 changes by 
vietnamese - 3 changes by nglekhoi
2011-02-27 18:45:16 +00:00
smatz
8074f123d5 (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 2011-02-27 13:59:20 +00:00
terkhen
6e641777b1 (svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium) 2011-02-27 11:38:28 +00:00
rubidium
9ce2823959 (svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it breached the 200.000 bytes "limit" for loading language files 2011-02-27 06:36:14 +00:00
rubidium
3e5924b10f (svn r22149) -Fix [FS#4521]: Windows video driver crashed when it couldn't go to full screen at the resolution of the configuration file when starting OpenTTD 2011-02-26 19:13:58 +00:00
translators
ab837c0af0 (svn r22148) -Update from WebTranslator v3.0:
basque - 2 changes by Thadah
finnish - 1 changes by jpx_
french - 1 changes by Snail_
italian - 35 changes by Snail_
slovenian - 30 changes by
2011-02-26 18:45:17 +00:00
rubidium
f6b7a1d06b (svn r22147) -Fix: remove all generated .o files in objs/lang upon clean 2011-02-26 17:59:36 +00:00
rubidium
ae6dca77e5 (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 2011-02-26 17:56:51 +00:00
alberth
31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
alberth
1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
translators
87c8d97aca (svn r22143) -Update from WebTranslator v3.0:
frisian - 59 changes by Taeke
irish - 58 changes by tem
slovenian - 30 changes by
2011-02-25 18:45:13 +00:00
yexo
f7f3db7174 (svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones 2011-02-25 13:59:02 +00:00
frosch
b0b7e1172c (svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu) 2011-02-24 22:14:41 +00:00
frosch
f34e9ff074 (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 2011-02-24 21:48:06 +00:00
translators
6621a8fb21 (svn r22139) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
frisian - 42 changes by Taeke
slovenian - 30 changes by
2011-02-24 18:45:13 +00:00
yexo
89ff97f70a (svn r22138) -Fix: skipping only the invalid part of an action14 failed, the rest of the action was skipped instead 2011-02-24 18:13:59 +00:00
smatz
7d40c99378 (svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions 2011-02-24 16:39:04 +00:00
planetmaker
ac0700c564 (svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor 2011-02-24 06:57:55 +00:00
frosch
19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 2011-02-23 20:54:55 +00:00
frosch
40cc3324fa (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 2011-02-23 20:45:52 +00:00
frosch
1a3a1e3b0c (svn r22133) -Fix: some coding style. 2011-02-23 20:29:48 +00:00
translators
50daa3f83d (svn r22132) -Update from WebTranslator v3.0:
frisian - 172 changes by Taeke
polish - 1 changes by xaxa
slovenian - 40 changes by Necrolyte
2011-02-23 18:45:12 +00:00
frosch
facf400d27 (svn r22131) -Fix: Spectators had trouble closing buoy windows. (Terkhen) 2011-02-23 18:39:56 +00:00
smatz
678cf3553f (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 2011-02-23 00:00:50 +00:00
smatz
58c7f5c497 (svn r22129) -Codechange: use simpler check to test if there any towns in the game 2011-02-22 22:21:20 +00:00
frosch
ee111ce1a4 (svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel) 2011-02-22 20:28:24 +00:00
terkhen
4860eff98c (svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window. 2011-02-22 14:23:38 +00:00
translators
f719bc7b3c (svn r22126) -Update from WebTranslator v3.0:
arabic_egypt - 40 changes by Company_director
belarusian - 1 changes by KorneySan
danish - 19 changes by beruic
frisian - 142 changes by Taeke
malay - 3 changes by toadhall
brazilian_portuguese - 93 changes by Luis_Mizuchiro
tamil - 139 changes by sylvesterpious
2011-02-21 18:45:22 +00:00
frosch
54db5d60fb (svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite. 2011-02-21 17:38:33 +00:00
rubidium
b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 2011-02-20 21:10:58 +00:00
frosch
77fa68c1da (svn r22123) -Fix [FS#4522]: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item. 2011-02-20 21:00:24 +00:00
rubidium
0eaa2ffa63 (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 2011-02-20 20:58:32 +00:00
rubidium
d594a219c6 (svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started 2011-02-20 20:55:21 +00:00
rubidium
e9fe58d7bf (svn r22120) -Change: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick". 2011-02-20 20:28:49 +00:00
translators
7d24d642d9 (svn r22119) -Update from WebTranslator v3.0:
frisian - 48 changes by Taeke
tamil - 96 changes by sylvesterpious
urdu - 36 changes by yasirniazkhan
2011-02-20 18:45:08 +00:00
terkhen
dcd158b03e (svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel). 2011-02-20 18:32:42 +00:00
frosch
bd9610ec3c (svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road. 2011-02-20 15:19:16 +00:00
smatz
756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
smatz
642fb19d4f (svn r22115) -Fix (r22114): some comments and code ordering were wrong 2011-02-19 18:55:10 +00:00
translators
ef80fe703d (svn r22114) -Update from WebTranslator v3.0:
danish - 3 changes by beruic
frisian - 13 changes by Taeke
2011-02-19 18:45:09 +00:00
smatz
1d9cae9afa (svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit 2011-02-19 18:25:24 +00:00
smatz
5fd13843f7 (svn r22112) -Codechange: register all pools in a pool vector 2011-02-19 18:23:45 +00:00
rubidium
68bc93f950 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 2011-02-19 18:02:17 +00:00
frosch
f575b45bae (svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead. 2011-02-19 14:57:15 +00:00
frosch
26ad79be5a (svn r22109) -Fix (r21269, 21272): Missing undeffing of macros. 2011-02-19 14:55:31 +00:00
frosch
9e59436c61 (svn r22108) -Codechange: Replace some magic with some other magic though less easy to break. 2011-02-19 14:51:46 +00:00
frosch
1dd6d037ba (svn r22107) -Cleanup (r1903): Remove unused struct. 2011-02-19 14:30:21 +00:00
frosch
57dc3ed716 (svn r22106) -Codechange: Add DrawTileSeqStruct::MakeTerminator(), DrawTileSeqStruct::IsTerminator(), DrawTileSeqStruct::IsParentSprite() to simplify stuff. 2011-02-19 13:16:34 +00:00
yexo
72e027e4d6 (svn r22105) -Fix: crash when copying an orderlist to a vehicle that already had orders 2011-02-18 21:46:45 +00:00
alberth
ff1e0a3ed3 (svn r22102) -Codechange: Also use the getopt function in strgen. 2011-02-18 20:52:42 +00:00
alberth
41a67a9b94 (svn r22101) -Codechange (r22098): Unify a bit of code. 2011-02-18 20:51:05 +00:00
alberth
8c2fc45153 (svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too. 2011-02-18 20:28:25 +00:00
alberth
b0b1c0dea9 (svn r22097) -Fix (r22096): Add files before commit. 2011-02-18 20:23:11 +00:00
alberth
9d0ff9d692 (svn r22096) -Codechange: Move openttd getopt implementation to its own file. 2011-02-18 20:14:30 +00:00
translators
bca5159951 (svn r22095) -Update from WebTranslator v3.0:
traditional_chinese - 11 changes by elleryq
danish - 40 changes by beruic
brazilian_portuguese - 41 changes by Luis_Mizuchiro
spanish - 1 changes by Terkhen
swedish - 22 changes by LordDaimos
tamil - 37 changes by ksvml
thai - 149 changes by m_vanillaconix
2011-02-18 18:45:23 +00:00
yexo
24753fbd35 (svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg 2011-02-17 23:14:43 +00:00
rubidium
1a5087be69 (svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling 2011-02-17 21:05:44 +00:00
rubidium
848761e3a9 (svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value 2011-02-17 18:45:44 +00:00
translators
5fd9f87d34 (svn r22091) -Update from WebTranslator v3.0:
simplified_chinese - 41 changes by ww9980
danish - 23 changes by beruic, krak
brazilian_portuguese - 125 changes by Luis_Mizuchiro
thai - 19 changes by kenny
urdu - 15 changes by yasirniazkhan
2011-02-17 18:45:28 +00:00
planetmaker
36332644ee (svn r22090) -Doc: Explain OpenTTD's ports and their role in multiplayer and especially for servers 2011-02-16 21:10:13 +00:00
translators
efd9aae5a1 (svn r22089) -Update from WebTranslator v3.0:
afrikaans - 96 changes by Maccie123
arabic_egypt - 29 changes by kasakg
danish - 69 changes by krak
indonesian - 17 changes by adjayanto
brazilian_portuguese - 25 changes by Luis_Mizuchiro
urdu - 80 changes by yasirniazkhan
2011-02-16 18:45:21 +00:00
terkhen
c36a22ba72 (svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC. 2011-02-15 13:27:41 +00:00
smatz
a5b9858a36 (svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway 2011-02-15 13:15:12 +00:00
smatz
d2d6b263b3 (svn r22085) -Fix: assert when connecting to the admin port 2011-02-15 12:11:28 +00:00
frosch
949bfabe5e (svn r22084) -Change: [NewGRF] Check grf version strictly and consider grfs with version < 2 as incompatible. If you have trouble with certain grfs from BaNaNaS, then bother the author about fixing the grf. 2011-02-14 21:41:52 +00:00
rubidium
22afd83964 (svn r22083) -Change: trunk is heading towards 1.2 now 2011-02-14 20:20:57 +00:00
1204 changed files with 115624 additions and 59930 deletions

19
.gitignore vendored
View File

@@ -4,16 +4,14 @@ bin/ai/*
!bin/ai/compat*.nut
!bin/ai/regression
!bin/data
bin/data/*
!bin/data/openttd.grf
!bin/data/opntitle.dat
!bin/data/orig_*.obg
!bin/data/orig_*.obs
!bin/data/no_sound.obs
!bin/gm
bin/gm/*
!bin/gm/no_music.obm
!bin/gm/orig_*.obm
bin/baseset/*
!bin/baseset/openttd.grf
!bin/baseset/opntitle.dat
!bin/baseset/orig_*.obg
!bin/baseset/orig_*.obs
!bin/baseset/no_sound.obs
!bin/baseset/no_music.obm
!bin/baseset/orig_*.obm
!bin/scripts
bin/scripts/*
!bin/scripts/*.example
@@ -22,6 +20,7 @@ bin/scripts/*
bundle/*
bundles/*
docs/aidocs/*
docs/gamedocs/*
docs/source/*
media/openttd.desktop
media/openttd.desktop.install

View File

@@ -1,5 +1,7 @@
syntax: glob
.svn
bin/baseset/openttd.32.bmp
bin/lang/*
bin/openttd*
bin/*.cfg
@@ -9,6 +11,7 @@ config.cache*
config.log
config.pwd
docs/aidocs/*
docs/gamedocs/*
docs/source/*
Makefile
Makefile.am

View File

@@ -93,7 +93,7 @@ FILE_PATTERNS = *.c \
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = */3rdparty */.svn
EXCLUDE_PATTERNS = */3rdparty */.svn */script/api
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
@@ -195,7 +195,7 @@ EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED = ENABLE_NETWORK ENABLE_AI WITH_ZLIB WITH_LZO WITH_PNG WITH_FONTCONFIG WITH_FREETYPE WITH_ICU UNICODE _UNICODE
PREDEFINED = ENABLE_NETWORK WITH_ZLIB WITH_LZO WITH_LZMA WITH_SDL WITH_PNG WITH_FONTCONFIG WITH_FREETYPE WITH_ICU UNICODE _UNICODE _GNU_SOURCE
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------

View File

@@ -29,17 +29,15 @@ endif
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.
ifdef OSXAPP
AI_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/ai
DATA_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/data
LANG_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/lang
GM_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/gm
TTD_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/MacOS
AI_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/ai
BASESET_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/baseset
LANG_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/lang
TTD_DIR = $(BUNDLE_DIR)/$(OSXAPP)/Contents/MacOS
else
AI_DIR = $(BUNDLE_DIR)/ai
DATA_DIR = $(BUNDLE_DIR)/data
LANG_DIR = $(BUNDLE_DIR)/lang
GM_DIR = $(BUNDLE_DIR)/gm
TTD_DIR = $(BUNDLE_DIR)
AI_DIR = $(BUNDLE_DIR)/ai
BASESET_DIR = $(BUNDLE_DIR)/baseset
LANG_DIR = $(BUNDLE_DIR)/lang
TTD_DIR = $(BUNDLE_DIR)
endif
bundle: all
@@ -51,24 +49,26 @@ bundle: all
$(Q)mkdir -p "$(BUNDLE_DIR)/scripts"
$(Q)mkdir -p "$(TTD_DIR)"
$(Q)mkdir -p "$(AI_DIR)"
$(Q)mkdir -p "$(DATA_DIR)"
$(Q)mkdir -p "$(BASESET_DIR)"
$(Q)mkdir -p "$(LANG_DIR)"
$(Q)mkdir -p "$(GM_DIR)"
ifdef OSXAPP
$(Q)mkdir -p "$(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources"
$(Q)echo "APPL????" > "$(BUNDLE_DIR)/$(OSXAPP)/Contents/PkgInfo"
$(Q)cp "$(ROOT_DIR)/os/macosx/openttd.icns" "$(BUNDLE_DIR)/$(OSXAPP)/Contents/Resources/openttd.icns"
$(Q)$(ROOT_DIR)/os/macosx/plistgen.sh "$(BUNDLE_DIR)/$(OSXAPP)" "$(REV)"
$(Q)cp "$(ROOT_DIR)/os/macosx/splash.png" "$(DATA_DIR)"
$(Q)cp "$(ROOT_DIR)/os/macosx/splash.png" "$(BASESET_DIR)"
endif
ifeq ($(OS),UNIX)
$(Q)cp "$(ROOT_DIR)/media/openttd.32.bmp" "$(BASESET_DIR)/"
endif
$(Q)cp "$(BIN_DIR)/$(TTD)" "$(TTD_DIR)/"
$(Q)cp "$(BIN_DIR)/ai/"compat_*.nut "$(AI_DIR)/"
$(Q)cp "$(BIN_DIR)/data/"*.grf "$(DATA_DIR)/"
$(Q)cp "$(BIN_DIR)/data/"*.obg "$(DATA_DIR)/"
$(Q)cp "$(BIN_DIR)/data/"*.obs "$(DATA_DIR)/"
$(Q)cp "$(BIN_DIR)/data/opntitle.dat" "$(DATA_DIR)/"
$(Q)cp "$(BIN_DIR)/baseset/"*.grf "$(BASESET_DIR)/"
$(Q)cp "$(BIN_DIR)/baseset/"*.obg "$(BASESET_DIR)/"
$(Q)cp "$(BIN_DIR)/baseset/"*.obs "$(BASESET_DIR)/"
$(Q)cp "$(BIN_DIR)/baseset/opntitle.dat" "$(BASESET_DIR)/"
$(Q)cp "$(BIN_DIR)/baseset/"*.obm "$(BASESET_DIR)/"
$(Q)cp "$(BIN_DIR)/lang/"*.lng "$(LANG_DIR)/"
$(Q)cp "$(BIN_DIR)/gm/"*.obm "$(GM_DIR)/"
$(Q)cp "$(ROOT_DIR)/readme.txt" "$(BUNDLE_DIR)/"
$(Q)cp "$(ROOT_DIR)/COPYING" "$(BUNDLE_DIR)/"
$(Q)cp "$(ROOT_DIR)/known-bugs.txt" "$(BUNDLE_DIR)/"
@@ -172,11 +172,9 @@ install: bundle
@echo '[INSTALL] Installing OpenTTD'
$(Q)install -d "$(INSTALL_BINARY_DIR)"
$(Q)install -d "$(INSTALL_ICON_DIR)"
$(Q)install -d "$(INSTALL_DATA_DIR)/gm"
$(Q)install -d "$(INSTALL_DATA_DIR)/ai"
$(Q)install -d "$(INSTALL_DATA_DIR)/data"
$(Q)install -d "$(INSTALL_DATA_DIR)/baseset"
$(Q)install -d "$(INSTALL_DATA_DIR)/lang"
$(Q)install -d "$(INSTALL_DATA_DIR)/gm"
$(Q)install -d "$(INSTALL_DATA_DIR)/scripts"
ifeq ($(TTD), openttd.exe)
$(Q)install -m 755 "$(BUNDLE_DIR)/$(TTD)" "$(INSTALL_BINARY_DIR)/${BINARY_NAME}.exe"
@@ -185,8 +183,7 @@ else
endif
$(Q)install -m 644 "$(BUNDLE_DIR)/lang/"* "$(INSTALL_DATA_DIR)/lang"
$(Q)install -m 644 "$(BUNDLE_DIR)/ai/"* "$(INSTALL_DATA_DIR)/ai"
$(Q)install -m 644 "$(BUNDLE_DIR)/data/"* "$(INSTALL_DATA_DIR)/data"
$(Q)install -m 644 "$(BUNDLE_DIR)/gm/"* "$(INSTALL_DATA_DIR)/gm"
$(Q)install -m 644 "$(BUNDLE_DIR)/baseset/"* "$(INSTALL_DATA_DIR)/baseset"
$(Q)install -m 644 "$(BUNDLE_DIR)/scripts/"* "$(INSTALL_DATA_DIR)/scripts"
ifndef DO_NOT_INSTALL_DOCS
$(Q)install -d "$(INSTALL_DOC_DIR)"

View File

@@ -20,7 +20,7 @@
ROOT_DIR = !!ROOT_DIR!!
GRF_DIR = $(ROOT_DIR)/media/extra_grf
BIN_DIR = !!BIN_DIR!!/data
BIN_DIR = !!BIN_DIR!!/baseset
OBJS_DIR = !!GRF_OBJS_DIR!!
OS = !!OS!!
STAGE = !!STAGE!!
@@ -34,40 +34,39 @@ else
E = @echo
endif
# Some configurational settings for your environment.
# If GRFCodec doesn't know a command, it'll exit with a non-zero exit code.
GRFCODEC := $(shell grfcodec -s -v >/dev/null 2>/dev/null && echo "grfcodec -s" || echo "grfcodec")
# Old NFORenums don't give an error code when a parameter isn't known, so we have to work around that.
NFORENUM := $(shell [ `nforenum -s -v 2>/dev/null | wc -l ` -eq 1 ] && echo "nforenum -s" || echo "nforenum")
GRFCODEC := !!GRFCODEC!!
NFORENUM := !!NFORENUM!!
MD5SUM := $(shell [ "$(OS)" = "OSX" ] && echo "md5 -r" || echo "md5sum")
# Some "should not be changed" settings.
NFO_FILES := $(GRF_DIR)/*.nfo
PNG_FILES := $(GRF_DIR)/*.png
NFO_FILES := $(GRF_DIR)/*.nfo $(GRF_DIR)/rivers/*.nfo
PNG_FILES := $(GRF_DIR)/*.png $(GRF_DIR)/rivers/*.png
# Build the GRF.
ifdef GRFCODEC
all: $(BIN_DIR)/openttd.grf
else
all:
endif
# Make sure the sprites directory exists.
$(OBJS_DIR)/sprites:
$(Q)-mkdir "$@"
# Generic
$(BIN_DIR)/openttd.grf: $(PNG_FILES) $(NFO_FILES) $(OBJS_DIR)/sprites
@# Only try; if nforenum isn't available, just retouch the file as they likely didn't need it anyway.
$(Q) ($(NFORENUM) --help > /dev/null 2>&1 && $(MAKE) $(OBJS_DIR)/openttd.grf && cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf) || ([ -e $(BIN_DIR)/openttd.grf ] && touch $(BIN_DIR)/openttd.grf && echo "no NFORenum and GRFCodec found, skipping rebuild of openttd.grf...") || (echo "no NFORenum and GRFCodec found, but no openttd.grf either. Install NFORenum and GRFCodec." && exit 1)
$(BIN_DIR)/openttd.grf: $(OBJS_DIR)/openttd.grf
$(Q)cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf
$(E) '$(STAGE) Updating base graphics sets'
$(Q) for grf in $(BIN_DIR)/orig*.obg; do sed 's/^OPENTTD.GRF = [0-9a-f]*$$/OPENTTD.GRF = '`$(MD5SUM) $(BIN_DIR)/openttd.grf | sed 's@ .*@@'`'/' $$grf > $$grf.tmp && mv $$grf.tmp $$grf; done
# Yeah, we'd like to use -i in the sed, but Mac OS X's sed and GNU sed just can't agree on the usage of -i. In any case either one of them fails.
$(OBJS_DIR)/openttd.grf: $(PNG_FILES) $(NFO_FILES) $(OBJS_DIR)/sprites
$(E) '$(STAGE) Assembling openttd.nfo'
$(Q)-cp $(PNG_FILES) $(OBJS_DIR)/sprites 2> /dev/null
$(Q) gcc -I$(GRF_DIR) -C -E - < "$(GRF_DIR)/openttd.nfo" | sed -e '/^#/d' -e '/^$$/d' > $(OBJS_DIR)/sprites/openttd.nfo
$(Q) $(NFORENUM) $(OBJS_DIR)/sprites/openttd.nfo
$(Q) $(NFORENUM) -s $(OBJS_DIR)/sprites/openttd.nfo
$(E) '$(STAGE) Compiling openttd.grf'
$(Q) $(GRFCODEC) -e -p1 $(OBJS_DIR)/openttd.grf
$(Q) cp $(OBJS_DIR)/openttd.grf $(BIN_DIR)/openttd.grf
$(E) '$(STAGE) Updating base graphics sets'
$(Q) for grf in $(BIN_DIR)/orig*.obg; do sed 's/^OPENTTD.GRF = [0-9a-f]*$$/OPENTTD.GRF = '`$(MD5SUM) $(BIN_DIR)/openttd.grf | sed 's@ .*@@'`'/' $$grf > $$grf.tmp && mv $$grf.tmp $$grf; done
$(Q) $(GRFCODEC) -s -e -p1 $(OBJS_DIR)/openttd.grf
# Clean up temporary files.
clean:

View File

@@ -148,7 +148,7 @@ mrproper:
distclean: mrproper
maintainer-clean: distclean
$(Q)rm -f $(BIN_DIR)/data/openttd.grf
$(Q)rm -f $(BIN_DIR)/baseset/openttd.grf
depend:
@for dir in $(SRC_DIRS); do \

View File

@@ -42,7 +42,11 @@ RES := $(shell mkdir -p $(BIN_DIR)/lang )
all: table/strings.h $(LANGS)
strgen.o: $(SRC_DIR)/strgen/strgen.cpp endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h
strgen_base.o: $(SRC_DIR)/strgen/strgen_base.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
strgen.o: $(SRC_DIR)/strgen/strgen.cpp $(SRC_DIR)/strgen/strgen.h endian_host.h $(SRC_DIR)/table/control_codes.h $(SRC_DIR)/table/strgen_tables.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
@@ -54,11 +58,15 @@ alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
getoptdata.o: $(SRC_DIR)/misc/getoptdata.cpp $(SRC_DIR)/misc/getoptdata.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/misc/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
lang/english.txt: $(LANG_DIR)/english.txt
$(Q)mkdir -p lang
$(Q)cp $(LANG_DIR)/english.txt lang/english.txt
$(STRGEN): alloc_func.o string.o strgen.o
$(STRGEN): alloc_func.o string.o strgen_base.o strgen.o getoptdata.o
$(E) '$(STAGE) Compiling and Linking $@'
$(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@
@@ -85,7 +93,7 @@ depend:
clean:
$(E) '$(STAGE) Cleaning up language files'
$(Q)rm -f strgen.o string.o table/strings.h $(STRGEN) $(LANGS) $(LANGS:%=$(BIN_DIR)/lang/%) lang/english.* $(ENDIAN_TARGETS)
$(Q)rm -f strgen.o string.o alloc_func.o getoptdata.o table/strings.h $(STRGEN) $(LANGS) $(LANGS:%=$(BIN_DIR)/lang/%) lang/english.* $(ENDIAN_TARGETS)
mrproper: clean
$(Q)rm -rf $(BIN_DIR)/lang

77
Makefile.setting.in Normal file
View File

@@ -0,0 +1,77 @@
# $Id$
# This file is part of OpenTTD.
# OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
# OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
SETTINGSGEN = !!SETTINGSGEN!!
ENDIAN_CHECK = !!ENDIAN_CHECK!!
SRC_DIR = !!SRC_DIR!!
CXX_BUILD = !!CXX_BUILD!!
CFLAGS_BUILD = !!CFLAGS_BUILD!!
LDFLAGS_BUILD = !!LDFLAGS_BUILD!!
STAGE = !!STAGE!!
SETTING_OBJS_DIR = !!SETTING_OBJS_DIR!!
ENDIAN_TARGETS := endian_host.h endian_target.h $(ENDIAN_CHECK)
# Check if we want to show what we are doing
ifdef VERBOSE
Q =
E = @true
else
Q = @
E = @echo
endif
all: table/settings.h
settingsgen.o: $(SRC_DIR)/settingsgen/settingsgen.cpp $(SRC_DIR)/string_func.h $(SRC_DIR)/strings_type.h $(SRC_DIR)/misc/getoptdata.h $(SRC_DIR)/ini_type.h $(SRC_DIR)/core/smallvec_type.hpp
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
getoptdata.o: $(SRC_DIR)/misc/getoptdata.cpp $(SRC_DIR)/misc/getoptdata.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/misc/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
string.o: $(SRC_DIR)/string.cpp endian_host.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
ini_load.o: $(SRC_DIR)/ini_load.cpp $(SRC_DIR)/core/alloc_func.hpp $(SRC_DIR)/core/mem_func.hpp $(SRC_DIR)/ini_type.h $(SRC_DIR)/string_func.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSETTINGSGEN -c -o $@ $<
$(SETTINGSGEN): alloc_func.o string.o ini_load.o settingsgen.o getoptdata.o
$(E) '$(STAGE) Compiling and Linking $@'
$(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@
table/settings.h: $(SETTINGSGEN) $(SRC_DIR)/table/settings.h.preamble $(SRC_DIR)/table/settings.h.postamble $(SRC_DIR)/table/*.ini
$(E) '$(STAGE) Generating $@'
@mkdir -p table
$(Q)./$(SETTINGSGEN) -o table/settings.h -b $(SRC_DIR)/table/settings.h.preamble -a $(SRC_DIR)/table/settings.h.postamble $(SRC_DIR)/table/*.ini
# The targets to compile the endian-code
endian_host.h: $(ENDIAN_CHECK)
$(E) '$(STAGE) Testing endianness for host'
$(Q)./$(ENDIAN_CHECK) > $@
$(ENDIAN_CHECK): $(SRC_DIR)/endian_check.cpp
$(E) '$(STAGE) Compiling and Linking $@'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $< -o $@
depend:
clean:
$(E) '$(STAGE) Cleaning up settings files'
$(Q)rm -f settingsgen.o alloc_func.o getoptdata.o ini_load.o $(SETTINGSGEN) $(ENDIAN_TARGETS) table/settings.h
mrproper: clean
.PHONY: all mrproper depend clean

View File

@@ -23,6 +23,7 @@ BIN_DIR = !!BIN_DIR!!
LANG_DIR = !!LANG_DIR!!
SRC_OBJS_DIR = !!SRC_OBJS_DIR!!
LANG_OBJS_DIR = !!LANG_OBJS_DIR!!
SETTING_OBJS_DIR= !!SETTING_OBJS_DIR!!
SRC_DIR = !!SRC_DIR!!
SCRIPT_SRC_DIR = !!SCRIPT_SRC_DIR!!
MEDIA_DIR = !!MEDIA_DIR!!
@@ -57,8 +58,8 @@ FILE_DEP := $(CONFIG_CACHE_COMPILER) endian_target.h
RES := $(shell mkdir -p $(BIN_DIR) $(sort $(dir $(OBJS))))
# Make sure endian_target.h is reasable as if it was in the src/ dir
CFLAGS += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR)
CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR)
CFLAGS += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
CFLAGS_MAKEDEP += -I $(SRC_OBJS_DIR) -I $(LANG_OBJS_DIR) -I $(SETTING_OBJS_DIR)
ifdef SCRIPT_SRC_DIR
CFLAGS_MAKEDEP += -I $(SCRIPT_SRC_DIR)
endif
@@ -112,7 +113,7 @@ REV_NR := 0
endif
# This helps to recompile if flags change
RES := $(shell if [ "`cat $(CONFIG_CACHE_COMPILER) 2>/dev/null`" != "$(CXXFLAGS) $(CFLAGS)" ]; then echo "$(CXXFLAGS) $(CFLAGS)" > $(CONFIG_CACHE_COMPILER); fi )
RES := $(shell if [ "`cat $(CONFIG_CACHE_COMPILER) 2>/dev/null`" != "$(CFLAGS) $(CXXFLAGS)" ]; then echo "$(CFLAGS) $(CXXFLAGS)" > $(CONFIG_CACHE_COMPILER); fi )
RES := $(shell if [ "`cat $(CONFIG_CACHE_LINKER) 2>/dev/null`" != "$(LDFLAGS) $(LIBS)" ]; then echo "$(LDFLAGS) $(LIBS)" > $(CONFIG_CACHE_LINKER); fi )
RES := $(shell if [ "`cat $(CONFIG_CACHE_ENDIAN) 2>/dev/null`" != "$(ENDIAN_FORCE)" ]; then echo "$(ENDIAN_FORCE)" > $(CONFIG_CACHE_ENDIAN); fi )
@@ -145,7 +146,7 @@ $(OBJS_C:%.o=%.d): %.d: $(SRC_DIR)/%.c $(FILE_DEP)
$(OBJS_CPP:%.o=%.d): %.d: $(SRC_DIR)/%.cpp $(FILE_DEP)
$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_HOST) $(CXXFLAGS) $(CFLAGS) -MM $< | sed 's@^$(@F:%.d=%.o):@$@ $(@:%.d=%.o):@' > $@
$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -MM $< | sed 's@^$(@F:%.d=%.o):@$@ $(@:%.d=%.o):@' > $@
$(OBJS_MM:%.o=%.d): %.d: $(SRC_DIR)/%.mm $(FILE_DEP)
$(E) '$(STAGE) DEP $(<:$(SRC_DIR)/%.mm=%.mm)'
@@ -169,7 +170,7 @@ ifeq ("$(SRC_OBJS_DIR)/$(DEPEND)","$(MAKEDEPEND)")
DEP := $(MAKEDEPEND)
$(SRC_OBJS_DIR)/$(DEPEND): $(SRC_DIR)/depend/depend.cpp
$(E) '$(STAGE) Compiling and linking $(DEPEND)'
$(Q)$(CXX_BUILD) $(CXXFLAGS_BUILD) $(CFLAGS_BUILD) $(LDFLAGS_BUILD) -o $@ $<
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) $(LDFLAGS_BUILD) -o $@ $<
endif
# Make sure that only 'make depend' ALWAYS triggers a recheck
@@ -237,7 +238,7 @@ $(OBJS_C): %.o: $(SRC_DIR)/%.c $(DEP_MASK) $(FILE_DEP)
$(OBJS_CPP): %.o: $(SRC_DIR)/%.cpp $(DEP_MASK) $(FILE_DEP)
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_HOST) $(CXXFLAGS) $(CFLAGS) -c -o $@ $<
$(Q)$(CXX_HOST) $(CFLAGS) $(CXXFLAGS) -c -o $@ $<
$(OBJS_MM): %.o: $(SRC_DIR)/%.mm $(DEP_MASK) $(FILE_DEP)
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.mm=%.mm)'
@@ -248,7 +249,13 @@ $(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
$(Q)$(WINDRES) -o $@ -I `basename $<` $<
$(BIN_DIR)/$(TTD): $(TTD)
$(Q)cp $< $@
$(Q)cp $(TTD) $(BIN_DIR)/$(TTD)
ifeq ($(OS), UNIX)
$(Q)cp $(MEDIA_DIR)/openttd.32.bmp $(BIN_DIR)/baseset/
endif
ifeq ($(OS), OSX)
$(Q)cp $(ROOT_DIR)/os/macosx/splash.png $(BIN_DIR)/baseset/
endif
$(TTD): $(OBJS) $(CONFIG_CACHE_LINKER)
$(E) '$(STAGE) Linking $@'
@@ -276,7 +283,7 @@ endian_target.h: $(ENDIAN_CHECK) $(CONFIG_CACHE_ENDIAN)
$(ENDIAN_CHECK): $(SRC_DIR)/endian_check.cpp
$(E) '$(STAGE) Compiling and Linking $@'
$(Q)$(CXX_BUILD) $(CXXFLAGS_BUILD) $(CFLAGS_BUILD) $< -o $@
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(CXXFLAGS_BUILD) $< -o $@
# Revision files

View File

@@ -321,3 +321,32 @@ AIAbstractList <- AIList;
AIList.ChangeItem <- AIList.SetValue;
AIRail.ERR_NONUNIFORM_STATIONS_DISABLED <- 0xFFFF;
AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;
AIEvent.AI_ET_INVALID <- AIEvent.ET_INVALID;
AIEvent.AI_ET_TEST <- AIEvent.ET_TEST;
AIEvent.AI_ET_SUBSIDY_OFFER <- AIEvent.ET_SUBSIDY_OFFER;
AIEvent.AI_ET_SUBSIDY_OFFER_EXPIRED <- AIEvent.ET_SUBSIDY_OFFER_EXPIRED;
AIEvent.AI_ET_SUBSIDY_AWARDED <- AIEvent.ET_SUBSIDY_AWARDED;
AIEvent.AI_ET_SUBSIDY_EXPIRED <- AIEvent.ET_SUBSIDY_EXPIRED;
AIEvent.AI_ET_ENGINE_PREVIEW <- AIEvent.ET_ENGINE_PREVIEW;
AIEvent.AI_ET_COMPANY_NEW <- AIEvent.ET_COMPANY_NEW;
AIEvent.AI_ET_COMPANY_IN_TROUBLE <- AIEvent.ET_COMPANY_IN_TROUBLE;
AIEvent.AI_ET_COMPANY_MERGER <- AIEvent.ET_COMPANY_MERGER;
AIEvent.AI_ET_COMPANY_BANKRUPT <- AIEvent.ET_COMPANY_BANKRUPT;
AIEvent.AI_ET_VEHICLE_CRASHED <- AIEvent.ET_VEHICLE_CRASHED;
AIEvent.AI_ET_VEHICLE_LOST <- AIEvent.ET_VEHICLE_LOST;
AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT <- AIEvent.ET_VEHICLE_WAITING_IN_DEPOT;
AIEvent.AI_ET_VEHICLE_UNPROFITABLE <- AIEvent.ET_VEHICLE_UNPROFITABLE;
AIEvent.AI_ET_INDUSTRY_OPEN <- AIEvent.ET_INDUSTRY_OPEN;
AIEvent.AI_ET_INDUSTRY_CLOSE <- AIEvent.ET_INDUSTRY_CLOSE;
AIEvent.AI_ET_ENGINE_AVAILABLE <- AIEvent.ET_ENGINE_AVAILABLE;
AIEvent.AI_ET_STATION_FIRST_VEHICLE <- AIEvent.ET_STATION_FIRST_VEHICLE;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CRASHED <- AIEvent.ET_DISASTER_ZEPPELINER_CRASHED;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CLEARED <- AIEvent.ET_DISASTER_ZEPPELINER_CLEARED;

View File

@@ -72,3 +72,33 @@ AIAbstractList <- AIList;
AIList.ChangeItem <- AIList.SetValue;
AIRail.ERR_NONUNIFORM_STATIONS_DISABLED <- 0xFFFF;
AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;
AIEvent.AI_ET_INVALID <- AIEvent.ET_INVALID;
AIEvent.AI_ET_TEST <- AIEvent.ET_TEST;
AIEvent.AI_ET_SUBSIDY_OFFER <- AIEvent.ET_SUBSIDY_OFFER;
AIEvent.AI_ET_SUBSIDY_OFFER_EXPIRED <- AIEvent.ET_SUBSIDY_OFFER_EXPIRED;
AIEvent.AI_ET_SUBSIDY_AWARDED <- AIEvent.ET_SUBSIDY_AWARDED;
AIEvent.AI_ET_SUBSIDY_EXPIRED <- AIEvent.ET_SUBSIDY_EXPIRED;
AIEvent.AI_ET_ENGINE_PREVIEW <- AIEvent.ET_ENGINE_PREVIEW;
AIEvent.AI_ET_COMPANY_NEW <- AIEvent.ET_COMPANY_NEW;
AIEvent.AI_ET_COMPANY_IN_TROUBLE <- AIEvent.ET_COMPANY_IN_TROUBLE;
AIEvent.AI_ET_COMPANY_ASK_MERGER <- AIEvent.ET_COMPANY_ASK_MERGER;
AIEvent.AI_ET_COMPANY_MERGER <- AIEvent.ET_COMPANY_MERGER;
AIEvent.AI_ET_COMPANY_BANKRUPT <- AIEvent.ET_COMPANY_BANKRUPT;
AIEvent.AI_ET_VEHICLE_CRASHED <- AIEvent.ET_VEHICLE_CRASHED;
AIEvent.AI_ET_VEHICLE_LOST <- AIEvent.ET_VEHICLE_LOST;
AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT <- AIEvent.ET_VEHICLE_WAITING_IN_DEPOT;
AIEvent.AI_ET_VEHICLE_UNPROFITABLE <- AIEvent.ET_VEHICLE_UNPROFITABLE;
AIEvent.AI_ET_INDUSTRY_OPEN <- AIEvent.ET_INDUSTRY_OPEN;
AIEvent.AI_ET_INDUSTRY_CLOSE <- AIEvent.ET_INDUSTRY_CLOSE;
AIEvent.AI_ET_ENGINE_AVAILABLE <- AIEvent.ET_ENGINE_AVAILABLE;
AIEvent.AI_ET_STATION_FIRST_VEHICLE <- AIEvent.ET_STATION_FIRST_VEHICLE;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CRASHED <- AIEvent.ET_DISASTER_ZEPPELINER_CRASHED;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CLEARED <- AIEvent.ET_DISASTER_ZEPPELINER_CLEARED;

View File

@@ -6,3 +6,36 @@
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
AILog.Info("1.1 API compatability in effect.");
AICompany.GetCompanyValue <- function(company)
{
return AICompany.GetQuarterlyCompanyValue(company, AICompany.CURRENT_QUARTER);
}
AITown.GetLastMonthTransported <- AITown.GetLastMonthSupplied;
AIEvent.AI_ET_INVALID <- AIEvent.ET_INVALID;
AIEvent.AI_ET_TEST <- AIEvent.ET_TEST;
AIEvent.AI_ET_SUBSIDY_OFFER <- AIEvent.ET_SUBSIDY_OFFER;
AIEvent.AI_ET_SUBSIDY_OFFER_EXPIRED <- AIEvent.ET_SUBSIDY_OFFER_EXPIRED;
AIEvent.AI_ET_SUBSIDY_AWARDED <- AIEvent.ET_SUBSIDY_AWARDED;
AIEvent.AI_ET_SUBSIDY_EXPIRED <- AIEvent.ET_SUBSIDY_EXPIRED;
AIEvent.AI_ET_ENGINE_PREVIEW <- AIEvent.ET_ENGINE_PREVIEW;
AIEvent.AI_ET_COMPANY_NEW <- AIEvent.ET_COMPANY_NEW;
AIEvent.AI_ET_COMPANY_IN_TROUBLE <- AIEvent.ET_COMPANY_IN_TROUBLE;
AIEvent.AI_ET_COMPANY_ASK_MERGER <- AIEvent.ET_COMPANY_ASK_MERGER;
AIEvent.AI_ET_COMPANY_MERGER <- AIEvent.ET_COMPANY_MERGER;
AIEvent.AI_ET_COMPANY_BANKRUPT <- AIEvent.ET_COMPANY_BANKRUPT;
AIEvent.AI_ET_VEHICLE_CRASHED <- AIEvent.ET_VEHICLE_CRASHED;
AIEvent.AI_ET_VEHICLE_LOST <- AIEvent.ET_VEHICLE_LOST;
AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT <- AIEvent.ET_VEHICLE_WAITING_IN_DEPOT;
AIEvent.AI_ET_VEHICLE_UNPROFITABLE <- AIEvent.ET_VEHICLE_UNPROFITABLE;
AIEvent.AI_ET_INDUSTRY_OPEN <- AIEvent.ET_INDUSTRY_OPEN;
AIEvent.AI_ET_INDUSTRY_CLOSE <- AIEvent.ET_INDUSTRY_CLOSE;
AIEvent.AI_ET_ENGINE_AVAILABLE <- AIEvent.ET_ENGINE_AVAILABLE;
AIEvent.AI_ET_STATION_FIRST_VEHICLE <- AIEvent.ET_STATION_FIRST_VEHICLE;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CRASHED <- AIEvent.ET_DISASTER_ZEPPELINER_CRASHED;
AIEvent.AI_ET_DISASTER_ZEPPELINER_CLEARED <- AIEvent.ET_DISASTER_ZEPPELINER_CLEARED;
AIEvent.AI_ET_TOWN_FOUNDED <- AIEvent.ET_TOWN_FOUNDED;

8
bin/ai/compat_1.2.nut Normal file
View File

@@ -0,0 +1,8 @@
/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@@ -10,9 +10,11 @@ function Regression::TestInit()
{
print("");
print("--TestInit--");
print(" Ops: " + this.GetOpsTillSuspend());
print(" TickTest: " + this.GetTick());
this.Sleep(1);
print(" TickTest: " + this.GetTick());
print(" Ops: " + this.GetOpsTillSuspend());
print(" SetCommandDelay: " + AIController.SetCommandDelay(1));
print(" IsValid(vehicle.plane_speed): " + AIGameSettings.IsValid("vehicle.plane_speed"));
print(" vehicle.plane_speed: " + AIGameSettings.GetValue("vehicle.plane_speed"));
@@ -166,6 +168,8 @@ function Regression::TestInit()
foreach (idx, val in list) {
print(" " + idx);
}
print(" Ops: " + this.GetOpsTillSuspend());
}
function Regression::Std()
@@ -394,50 +398,57 @@ function Regression::Company()
}
}
print(" GetName(): " + AICompany.GetName(AICompany.COMPANY_SELF));
print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF));
print(" SetPresidentName(): " + AICompany.SetPresidentName("Regression AI"));
print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF));
print(" GetCompanyValue(): " + AICompany.GetCompanyValue(AICompany.COMPANY_SELF));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetName(): " + AICompany.GetName(240));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" GetMaxLoanAmount(): " + AICompany.GetMaxLoanAmount());
print(" GetLoanInterval(): " + AICompany.GetLoanInterval());
print(" SetLoanAmount(1): " + AICompany.SetLoanAmount(1));
print(" SetLoanAmount(100): " + AICompany.SetLoanAmount(100));
print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(10000));
print(" GetLastErrorString(): " + AIError.GetLastErrorString());
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" SetMinimumLoanAmount(31337): " + AICompany.SetMinimumLoanAmount(31337));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(AICompany.GetMaxLoanAmount()));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(127, 129)));
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 129)));
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 128)));
print(" GetLastErrorString(): " + AIError.GetLastErrorString());
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false));
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
print(" SetAutoRenewMonths(6); " + AICompany.SetAutoRenewMonths(6));
print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF));
print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF));
print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
print(" SetAutoRenewMoney(100000); " + AICompany.SetAutoRenewMoney(100000));
print(" GetName(): " + AICompany.GetName(AICompany.COMPANY_SELF));
print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF));
print(" SetPresidentName(): " + AICompany.SetPresidentName("Regression AI"));
print(" GetPresidentName(): " + AICompany.GetPresidentName(AICompany.COMPANY_SELF));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetName(): " + AICompany.GetName(240));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" GetMaxLoanAmount(): " + AICompany.GetMaxLoanAmount());
print(" GetLoanInterval(): " + AICompany.GetLoanInterval());
print(" SetLoanAmount(1): " + AICompany.SetLoanAmount(1));
print(" SetLoanAmount(100): " + AICompany.SetLoanAmount(100));
print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(10000));
print(" GetLastErrorString(): " + AIError.GetLastErrorString());
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" SetMinimumLoanAmount(31337): " + AICompany.SetMinimumLoanAmount(31337));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" SetLoanAmount(10000): " + AICompany.SetLoanAmount(AICompany.GetMaxLoanAmount()));
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
print(" GetLoanAmount(): " + AICompany.GetLoanAmount());
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(127, 129)));
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 129)));
print(" GetCompanyHQ(): " + AICompany.GetCompanyHQ(AICompany.COMPANY_SELF));
print(" BuildCompanyHQ(): " + AICompany.BuildCompanyHQ(AIMap.GetTileIndex(129, 128)));
print(" GetLastErrorString(): " + AIError.GetLastErrorString());
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
print(" GetAutoRenewStatus(); " + AICompany.GetAutoRenewStatus(AICompany.COMPANY_SELF));
print(" SetAutoRenewStatus(true); " + AICompany.SetAutoRenewStatus(true));
print(" SetAutoRenewStatus(false); " + AICompany.SetAutoRenewStatus(false));
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
print(" GetAutoRenewMonths(); " + AICompany.GetAutoRenewMonths(AICompany.COMPANY_SELF));
print(" SetAutoRenewMonths(-12); " + AICompany.SetAutoRenewMonths(-12));
print(" SetAutoRenewMonths(6); " + AICompany.SetAutoRenewMonths(6));
print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF));
print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
print(" GetAutoRenewMoney(); " + AICompany.GetAutoRenewMoney(AICompany.COMPANY_SELF));
print(" SetAutoRenewMoney(200000); " + AICompany.SetAutoRenewMoney(200000));
print(" SetAutoRenewMoney(100000); " + AICompany.SetAutoRenewMoney(100000));
for (local i = -1; i <= AICompany.EARLIEST_QUARTER; i++) {
print(" Quarter: " + i);
print(" GetQuarterlyIncome(); " + AICompany.GetQuarterlyIncome(AICompany.COMPANY_SELF, i));
print(" GetQuarterlyExpenses(); " + AICompany.GetQuarterlyExpenses(AICompany.COMPANY_SELF, i));
print(" GetQuarterlyCargoDelivered(); " + AICompany.GetQuarterlyCargoDelivered(AICompany.COMPANY_SELF, i));
print(" GetQuarterlyPerformanceRating(); " + AICompany.GetQuarterlyPerformanceRating(AICompany.COMPANY_SELF, i));
print(" GetQuarterlyCompanyValue(); " + AICompany.GetQuarterlyCompanyValue(AICompany.COMPANY_SELF, i));
}
}
function Regression::Engine()
@@ -1380,11 +1391,19 @@ function Regression::TileList()
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
print(" " + i + " => " + list.GetValue(i));
}
list.AddRectangle(31895 - 256 * 5, 256 * 5 + 31895 + 8);
list.Valuate(AITile.GetOwner);
print(" GetOwner() ListDump:");
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
print(" " + i + " => " + list.GetValue(i));
}
list.Valuate(AITile.GetTownAuthority);
print(" GetTownAuthority() ListDump:");
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
print(" " + i + " => " + list.GetValue(i));
}
list.Valuate(AITile.GetClosestTown);
print(" GetClosestTown() ListDump:");
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
@@ -1848,13 +1867,13 @@ function Regression::Start()
print(" GetNextEvent: " + (e == null ? "null" : "instance"));
print(" GetEventType: " + e.GetEventType());
switch (e.GetEventType()) {
case AIEvent.AI_ET_SUBSIDY_OFFER: {
case AIEvent.ET_SUBSIDY_OFFER: {
local c = AIEventSubsidyOffer.Convert(e);
print(" EventName: SubsidyOffer");
PrintSubsidy(c.GetSubsidyID());
} break;
case AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT: {
case AIEvent.ET_VEHICLE_WAITING_IN_DEPOT: {
local c = AIEventVehicleWaitingInDepot.Convert(e);
print(" EventName: VehicleWaitingInDepot");
print(" VehicleID: " + c.GetVehicleID());

View File

@@ -1,7 +1,9 @@
--TestInit--
Ops: 9988
TickTest: 1
TickTest: 2
Ops: 9990
SetCommandDelay: (null : 0x00000000)
IsValid(vehicle.plane_speed): true
vehicle.plane_speed: 2
@@ -79,6 +81,7 @@
20
30
40
Ops: 8673
--Std--
abs(-21): 21
@@ -584,56 +587,211 @@ ERROR: IsEnd() is invalid as Begin() is never called
SetName(): true
SetName(): false
GetLastErrorString(): ERR_NAME_IS_NOT_UNIQUE
GetName(): Regression
GetPresidentName(): I. McAlpine
SetPresidentName(): true
GetPresidentName(): Regression AI
GetCompanyValue(): 1
GetBankBalance(): 100000
GetName(): (null : 0x00000000)
GetLoanAmount(): 100000
GetMaxLoanAmount(): 500000
GetLoanInterval(): 10000
SetLoanAmount(1): false
SetLoanAmount(100): false
SetLoanAmount(10000): true
GetLastErrorString(): ERR_NONE
GetBankBalance(): 10000
GetLoanAmount(): 10000
SetMinimumLoanAmount(31337): true
GetBankBalance(): 40000
GetLoanAmount(): 40000
SetLoanAmount(10000): true
GetBankBalance(): 500000
GetLoanAmount(): 500000
GetCompanyHQ(): -1
BuildCompanyHQ(): true
GetCompanyHQ(): 33151
BuildCompanyHQ(): true
GetCompanyHQ(): 33153
BuildCompanyHQ(): false
GetLastErrorString(): ERR_AREA_NOT_CLEAR
GetAutoRenewStatus(); false
SetAutoRenewStatus(true); true
GetAutoRenewStatus(); true
SetAutoRenewStatus(true); true
SetAutoRenewStatus(false); true
GetAutoRenewMonths(); 6
SetAutoRenewMonths(-12); true
GetAutoRenewMonths(); -12
SetAutoRenewMonths(-12); true
SetAutoRenewMonths(6); true
GetAutoRenewMoney(); 100000
SetAutoRenewMoney(200000); true
GetAutoRenewMoney(); 200000
SetAutoRenewMoney(200000); true
SetAutoRenewMoney(100000); true
GetName(): Regression
GetPresidentName(): I. McAlpine
SetPresidentName(): true
GetPresidentName(): Regression AI
GetBankBalance(): 100000
GetName(): (null : 0x00000000)
GetLoanAmount(): 100000
GetMaxLoanAmount(): 500000
GetLoanInterval(): 10000
SetLoanAmount(1): false
SetLoanAmount(100): false
SetLoanAmount(10000): true
GetLastErrorString(): ERR_NONE
GetBankBalance(): 10000
GetLoanAmount(): 10000
SetMinimumLoanAmount(31337): true
GetBankBalance(): 40000
GetLoanAmount(): 40000
SetLoanAmount(10000): true
GetBankBalance(): 500000
GetLoanAmount(): 500000
GetCompanyHQ(): -1
BuildCompanyHQ(): true
GetCompanyHQ(): 33151
BuildCompanyHQ(): true
GetCompanyHQ(): 33153
BuildCompanyHQ(): false
GetLastErrorString(): ERR_AREA_NOT_CLEAR
GetAutoRenewStatus(); false
SetAutoRenewStatus(true); true
GetAutoRenewStatus(); true
SetAutoRenewStatus(true); true
SetAutoRenewStatus(false); true
GetAutoRenewMonths(); 6
SetAutoRenewMonths(-12); true
GetAutoRenewMonths(); -12
SetAutoRenewMonths(-12); true
SetAutoRenewMonths(6); true
GetAutoRenewMoney(); 100000
SetAutoRenewMoney(200000); true
GetAutoRenewMoney(); 200000
SetAutoRenewMoney(200000); true
SetAutoRenewMoney(100000); true
Quarter: -1
GetQuarterlyIncome(); -1
GetQuarterlyExpenses(); -1
GetQuarterlyCargoDelivered(); -1
GetQuarterlyPerformanceRating(); -1
GetQuarterlyCompanyValue(); -1
Quarter: 0
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); -210
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); -1
GetQuarterlyCompanyValue(); 1
Quarter: 1
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 2
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 3
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 4
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 5
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 6
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 7
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 8
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 9
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 10
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 11
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 12
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 13
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 14
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 15
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 16
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 17
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 18
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 19
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 20
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 21
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 22
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 23
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
Quarter: 24
GetQuarterlyIncome(); 0
GetQuarterlyExpenses(); 0
GetQuarterlyCargoDelivered(); 0
GetQuarterlyPerformanceRating(); 0
GetQuarterlyCompanyValue(); 0
--AIAirport--
IsHangarTile(): false
IsAirportTile(): false
GetHangarOfAirport(): -1
GetAirportType(): 255
GetAirportType(): 254
IsAirportInformationAvailable(-1): false
IsValidAirportType(-1): false
GetAirportWidth(-1): -1
@@ -7705,7 +7863,205 @@ ERROR: IsEnd() is invalid as Begin() is never called
41386 => -1
41385 => -1
41384 => -1
GetClosestTown() ListDump:
33183 => -1
33182 => -1
33181 => -1
33180 => -1
33179 => -1
33178 => -1
33177 => -1
33176 => -1
33175 => -1
32927 => -1
32926 => -1
32925 => -1
32924 => -1
32923 => -1
32922 => -1
32921 => -1
32920 => -1
32919 => -1
32671 => -1
32670 => -1
32669 => -1
32668 => -1
32667 => -1
32666 => -1
32665 => -1
32664 => -1
32663 => -1
32415 => -1
32414 => -1
32413 => -1
32412 => -1
32411 => -1
32410 => -1
32409 => -1
32408 => -1
32407 => -1
32159 => -1
32158 => -1
32157 => -1
32156 => -1
32155 => -1
32154 => -1
32153 => -1
32152 => -1
32151 => -1
31903 => -1
31902 => -1
31901 => -1
31900 => -1
31899 => -1
31898 => -1
31897 => -1
31896 => -1
31895 => -1
31647 => -1
31646 => -1
31645 => -1
31644 => -1
31643 => -1
31642 => -1
31641 => -1
31640 => -1
31639 => -1
31391 => -1
31390 => -1
31389 => -1
31388 => -1
31387 => -1
31386 => -1
31385 => -1
31384 => -1
31383 => -1
31135 => -1
31134 => -1
31133 => -1
31132 => -1
31131 => -1
31130 => -1
31129 => -1
31128 => -1
31127 => -1
30879 => -1
30878 => -1
30877 => -1
30876 => -1
30875 => -1
30874 => -1
30873 => -1
30872 => -1
30871 => -1
30623 => -1
30622 => -1
30621 => -1
30620 => -1
30619 => -1
30618 => -1
30617 => -1
30616 => -1
30615 => -1
GetTownAuthority() ListDump:
33183 => 65535
33182 => 65535
33181 => 65535
33180 => 65535
33179 => 65535
33178 => 65535
33177 => 65535
33176 => 65535
33175 => 65535
32927 => 65535
32926 => 65535
32925 => 65535
32924 => 65535
32923 => 65535
32922 => 65535
32921 => 65535
32920 => 65535
32919 => 65535
32671 => 65535
32670 => 65535
32669 => 65535
32668 => 65535
32667 => 65535
32666 => 65535
32665 => 65535
32664 => 65535
32663 => 65535
32415 => 65535
32414 => 65535
32413 => 65535
32412 => 65535
32411 => 65535
32410 => 65535
32409 => 65535
32408 => 65535
32407 => 65535
32159 => 65535
32158 => 65535
32157 => 65535
32156 => 65535
32155 => 65535
32154 => 65535
32153 => 65535
32152 => 65535
32151 => 65535
31903 => 65535
31902 => 65535
31901 => 65535
31900 => 65535
31899 => 65535
31898 => 65535
31897 => 65535
31896 => 65535
31895 => 65535
31647 => 65535
31646 => 65535
31645 => 65535
31644 => 65535
31643 => 65535
31642 => 65535
31641 => 65535
31640 => 65535
31639 => 65535
31391 => 65535
31390 => 65535
31389 => 65535
31388 => 65535
31387 => 65535
31386 => 65535
31385 => 65535
31384 => 65535
31383 => 65535
31135 => 65535
31134 => 65535
31133 => 65535
31132 => 65535
31131 => 65535
31130 => 65535
31129 => 65535
31128 => 65535
31127 => 65535
30879 => 65535
30878 => 65535
30877 => 65535
30876 => 65535
30875 => 65535
30874 => 65535
30873 => 65535
30872 => 65535
30871 => 65535
30623 => 65535
30622 => 65535
30621 => 65535
30620 => 65535
30619 => 65535
30618 => 65535
30617 => 65535
30616 => 65535
30615 => 65535
42415 => 3
42414 => 3
42413 => 3
@@ -7741,6 +8097,141 @@ ERROR: IsEnd() is invalid as Begin() is never called
41386 => 3
41385 => 3
41384 => 3
GetClosestTown() ListDump:
31127 => 24
30872 => 24
30871 => 24
30617 => 24
30616 => 24
30615 => 24
42415 => 3
42414 => 3
42413 => 3
42412 => 3
42411 => 3
42410 => 3
42159 => 3
42158 => 3
42157 => 3
42156 => 3
42155 => 3
42154 => 3
42153 => 3
41903 => 3
41902 => 3
41901 => 3
41900 => 3
41899 => 3
41898 => 3
41897 => 3
41647 => 3
41646 => 3
41645 => 3
41644 => 3
41643 => 3
41642 => 3
41641 => 3
41391 => 3
41390 => 3
41389 => 3
41388 => 3
41387 => 3
41386 => 3
41385 => 3
41384 => 3
33183 => 3
33182 => 3
33181 => 3
33180 => 3
33179 => 3
33178 => 3
33177 => 3
33176 => 3
33175 => 3
32927 => 3
32926 => 3
32925 => 3
32924 => 3
32923 => 3
32922 => 3
32921 => 3
32920 => 3
32919 => 3
32671 => 3
32670 => 3
32669 => 3
32668 => 3
32667 => 3
32666 => 3
32665 => 3
32664 => 3
32663 => 3
32415 => 3
32414 => 3
32413 => 3
32412 => 3
32411 => 3
32410 => 3
32409 => 3
32408 => 3
32407 => 3
32159 => 3
32158 => 3
32157 => 3
32156 => 3
32155 => 3
32154 => 3
32153 => 3
32152 => 3
32151 => 3
31903 => 3
31902 => 3
31901 => 3
31900 => 3
31899 => 3
31898 => 3
31897 => 3
31896 => 3
31895 => 3
31647 => 3
31646 => 3
31645 => 3
31644 => 3
31643 => 3
31642 => 3
31641 => 3
31640 => 3
31639 => 3
31391 => 3
31390 => 3
31389 => 3
31388 => 3
31387 => 3
31386 => 3
31385 => 3
31384 => 3
31383 => 3
31135 => 3
31134 => 3
31133 => 3
31132 => 3
31131 => 3
31130 => 3
31129 => 3
31128 => 3
30879 => 3
30878 => 3
30877 => 3
30876 => 3
30875 => 3
30874 => 3
30873 => 3
30623 => 3
30622 => 3
30621 => 3
30620 => 3
30619 => 3
30618 => 3
CargoAcceptance(): done
KeepAboveValue(10): done
Count(): 15
@@ -8456,11 +8947,11 @@ ERROR: IsEnd() is invalid as Begin() is never called
GetNumWagons(): 3
GetLength(): 24
GetWagonEngineType(): 9
GetWagonAge(): 0
GetWagonAge(): 1
GetWagonEngineType(): 27
GetWagonAge(): 0
GetWagonAge(): 1
GetWagonEngineType(): 27
GetWagonAge(): 0
GetWagonAge(): 1
GetWagonEngineType(): 65535
GetWagonAge(): -1
--Errors--
@@ -8492,11 +8983,11 @@ ERROR: IsEnd() is invalid as Begin() is never called
14 => 1
12 => 1
Age ListDump:
17 => 1
16 => 1
14 => 1
13 => 1
12 => 1
17 => 0
16 => 0
MaxAge ListDump:
16 => 10980
14 => 10980
@@ -8504,9 +8995,9 @@ ERROR: IsEnd() is invalid as Begin() is never called
13 => 5490
12 => 5490
AgeLeft ListDump:
16 => 10980
16 => 10979
14 => 10979
17 => 7320
17 => 7319
13 => 5489
12 => 5489
CurrentSpeed ListDump:
@@ -8694,4 +9185,4 @@ ERROR: IsEnd() is invalid as Begin() is never called
-1 > 2147483647: false
-2147483648 > 2147483647: false
13725 > -2147483648: true
ERROR: The AI died unexpectedly.
ERROR: The script died unexpectedly.

View File

@@ -6,7 +6,7 @@ class Regression extends AIInfo {
function GetShortName() { return "REGR"; }
function GetDescription() { return "This runs regression-tests on all commands. On the same map the result should always be the same."; }
function GetVersion() { return 1; }
function GetAPIVersion() { return "1.1"; }
function GetAPIVersion() { return "1.2"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "Regression"; }
}

View File

@@ -25,7 +25,7 @@ fi
if [ -n "$gdb" ]; then
$gdb ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav
else
./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d ai=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d script=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)(x0)?", "0x00000000", $0); gsub("^dbg: \\[script\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
fi
ret=0

BIN
bin/baseset/opntitle.dat Normal file

Binary file not shown.

View File

@@ -55,7 +55,7 @@ TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
TRGC.GRF = ed446637e034104c5559b32c18afe78d
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
TRGT.GRF = e30e8a398ae86c03dc534a8ac7dfb3b6
OPENTTD.GRF = 768051d1eb451c682d6f4e936a89caa5
OPENTTD.GRF = 42d0ea63159d5ef2971429c2402eb2ca
[origin]
default = You can find it on your Transport Tycoon Deluxe CD-ROM.

View File

@@ -55,7 +55,7 @@ TRGI.GRF = da6a6c9dcc451eec88d79211437b76a8
TRGC.GRF = ed446637e034104c5559b32c18afe78d
TRGH.GRF = ee6616fb0e6ef6b24892c58c93d86fc9
TRGT.GRF = fcde1d7e8a74197d72a62695884b909e
OPENTTD.GRF = 768051d1eb451c682d6f4e936a89caa5
OPENTTD.GRF = 42d0ea63159d5ef2971429c2402eb2ca
[origin]
default = You can find it on your Transport Tycoon Deluxe CD-ROM.

View File

@@ -55,7 +55,7 @@ TRGIR.GRF = 0c2484ff6be49fc63a83be6ab5c38f32
TRGCR.GRF = 3668f410c761a050b5e7095a2b14879b
TRGHR.GRF = 06bf2b7a31766f048baac2ebe43457b1
TRGTR.GRF = de53650517fe661ceaa3138c6edb0eb8
OPENTTD.GRF = 768051d1eb451c682d6f4e936a89caa5
OPENTTD.GRF = 42d0ea63159d5ef2971429c2402eb2ca
[origin]
default = You can find it on your Transport Tycoon Deluxe CD-ROM.

Binary file not shown.

View File

@@ -1,6 +1,292 @@
1.2.0-beta2 (2012-01-07)
------------------------------------------------------------------------
-Feature: [NewGRF] Allow read-only display of NewGRF parameters, if GRF list may not be edited (r23760)
-Feature: [NewGRF] Alternate rail type label list (r23758)
-Feature: Make the default secondary sort method for the server list the number of clients instead of the name (r23710)
-Feature: Try harder to sort text instead of fancy characters in the server names (r23709)
-Feature: Make a distinction between fully zoomed in and default zoomed in screenshots [FS#4916] (r23695)
-Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites (r23670)
-Feature: [GS] GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17 (r23731)
-Feature: Australian translation (r23730)
-Fix: Make default timeouts for certain network states lower and configurable [FS#4955] (r23764)
-Fix: Check whether a water tile is really empty when overbuilding it with an object [FS#4956] (r23763)
-Fix: The check for duplicate town names was not really working [FS#4951] (r23759)
-Fix: Missing locking causing crash is extreme case when being in the MP lobby [FS#4938] (r23752)
-Fix: [Win32] Work around a possible deadlock when initialising threaded drawing (r23749)
-Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs (r23748)
-Fix: Also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads (r23746)
-Fix: If autorefit fails, count the vehicle capacity nevertheless, if it is already carrying the right thing (r23745)
-Fix: [NewGRF] Check the version of the right GRF [FS#4923] (r23744)
-Fix: [NewGRF] Call CB 15E for all vehicles before actually executing any refit [FS#4906] (r23743)
-Fix: Cheating to different climates messes things even more up than changing NewGRFs in-game so it was removed [FS#4939] (r23733)
-Fix: When cheating into another company, the SignList was not updated [FS#4942] (r23728)
-Fix: Reading memory of a temporary (already deconstructed) object is invalid (r23721)
-Fix: [Script] Show the script debug window also when the game script crashes [FS#4935] (r23720)
-Fix: Extraction of music packs failed [FS#4930] (r23719)
-Fix: [AI] Rescanai caused crash when the AI settings of an AI was opened [FS#4936] (r23718)
-Fix: Ships going to wrong dock location when moving the dock while the game is paused [FS#4927] (r23717)
-Fix: The amount of goals was too low [FS#4928] (r23699)
-Fix: Hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour [FS#4859] (r23693)
-Fix: Infrastructure count of canals/locks/ship depots was not updated properly when a company went into bankruptcy or was taken over [FS#4921] (r23686)
-Fix: When fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing [FS#4912] (r23683)
-Fix: Vehicle numbers got misaccounted when autoreplacing failed due to length checks [FS#4914] (r23681)
-Fix: [AI] Prevent removal of the (AI) company the local player is in [FS#4915] (r23680)
-Fix: [Script] Close the editbox of settings when changing an AI, to avoid invalid memory read/write (r23678)
-Fix: [Script] Invalidate AI Parameters window when changing AI [FS#4909] (r23677)
-Fix: When removing road stops the wrong tile was checked for updating the infrastructure cache [FS#4913] (r23676)
-Fix: [Script] The 'Configure' button in the 'AI / Game Configuration' window did not get enabled when activating a GameScript (r23668)
1.2.0-beta1 (2011-12-24)
------------------------------------------------------------------------
- Feature: Ability to run a game script; a script that controls some of the logic of the game, e.g. to implement goals or tutorials (r23637)
- Feature: Allow to place locks also on river rapids and restore rivers, if locks are deleted [FS#4872] (r23512)
- Feature: Aircraft ranges (r23504)
- Feature: Configurable linewidth in plots (r23497, r22292)
- Feature: Add 'view website' button to the online content and NewGRF windows (r23495, r23492)
- Feature: [NewGRF] Action14 node INFO->URL_ to add an url (r23494)
- Feature: When looking for missing content, automatically select it so you can easily start the download [FS#4827] (r23468)
- Feature: Automatically close the online content window after confirming the download with 'ok' [FS#4827] (r23467)
- Feature: Add 'find missing content online' button to 'load savegame' and 'find network game' windows [FS#4827] (r23465)
- Feature: [NoAI] AIStation.GetStationCoverageRadius(StationID) (r23453)
- Feature: Infrastructure maintenance costs (r23415)
- Feature: Allow to create subsidies for any combination of source and destination types (r23408)
- Feature: Diagonal dragging the rail conversion tool when pressing CTRL [FS#4841] (r23338)
- Feature: Add ability to zoom in to 2x and 4x level (r23316)
- Feature: Settings to restrict viewport zoom levels (r23314)
- Feature: An economy.fund_buildingssetting, to disallow funding buildings (r23303)
- Feature: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing (r23302)
- Feature: Show on the GUI when a town grows and what the requirements for growing are (r23300)
- Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask (r23291)
- Feature: A monospaced sprite font for the readme reader (r23288, r23274)
- Feature: Attempt to show a window for downloading the base graphics set if it is missing (r23244)
- Feature: In-game (translatable) readme.txt reader [FS#4780] (r23182, r23178)
- Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (r23169)
- Feature: Always draw fences around field tiles [FS#1824] (r23168)
- Feature: Support for NewGRF version 8 (r23159)
- Feature: [NewGRF] Patch/setting variable 14: get the maximum height of the map (r23158)
- Feature: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage (r23149)
- Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60 (r23138)
- Feature: [NoAI] AICargoList_StationAccepting [FS#3799] (r23134)
- Feature: [NewGRF] Property for the rail type name (r23129)
- Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick (r23118)
- Feature: [NewGRF] Ambient sound effect callback (r23114)
- Feature: Auto-refitting of vehicles during loading at a station when the vehicle allows it (r23089, r23087)
- Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type (r23086)
- Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs (r23080)
- Feature: [NewGRF] House callback 0x148 (r23072)
- Feature: [NewGRF] House variable 0x64 (r23070)
- Feature: [NewGRF] Long date of last service for vehicles, also available in the purchase list (r23068)
- Feature: A -q command line option to read a savegame, write some general info and exit (r23065)
- Feature: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively (r23063)
- Feature: [NewGRF] Allow use of NewGRF text stack during callback 23 (r23040)
- Feature: Support company colour for the airports' runways [FS#4797] (r23010)
- Feature: [NewGRF] Allow to use offsets for all types of action5 except sea shores [FS#4795] (r23004)
- Feature: [NewGRF] Action2 variable 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain [FS#2521] (r22998)
- Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2 (r22997)
- Feature: Display autoreplace status in group GUI (r22985)
- Feature: Display profit icons for groups in the group GUI (r22984)
- Feature: Display the number of vehicles in the group GUI also for the ALL and DEFAULT groups (r22983)
- Feature: Allow road corners on steep slopes (r22968)
- Feature: Allow depots, standard road stops and airports on steep slopes (r22960)
- Feature: [NewGRF] Allow Action4 to change text IDs 0x00D1 to 0x00E0 for feature 48 (r22954)
- Feature: [NewGRF] Extended Action1 format to define arbitrary spriteset IDs (r22926)
- Feature: [NewGRF] Allow referencing spritesets from different Action1 in a single Action2 (r22925)
- Feature: Allow towns to build bridges over canals and rivers (r22899)
- Feature: Resize the tree build gui to according to tree size (r22862)
- Feature: Conditional order depending on remaining lifetime of a vehicle (r22858)
- Feature: [NewGRF] Allow replacing depot sprites without having to provide rail overlays (r22854)
- Feature: Display separate ocean and canal speeds in the ship purchase list, if they differ (r22850)
- Feature: [NewGRF] Bits 8-31 in station variable 43 (r22848)
- Feature: [NewGRF] Also age wagons and articulated parts (r22816)
- Feature: [YAPF] Take canal/ocean speed fraction of ships into account (r22801)
- Feature: Progress bar for scanning NewGRFs (r22797)
- Feature: [NewGRF] Stringcodes for printing 0-based dates, unsigned words in power units (r22779, r22778)
- Feature: River generation (r22767)
- Feature: [NoAI] AITile::GetTownAuthority() (r22764)
- Feature: [NewGRF] Implement feature 04 property 18 bit 5 (r22746)
- Feature: [NewGRF] Per vehicle custom cargo ageing period (r22713)
- Feature: Display option to hide competitors' signs and station names [FS#4701] (r22708)
- Feature: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the NewGRF developer tools (r22675)
- Feature: [NewGRF] Provide random bits in var 0x10 for callback 0x3B in all cases [FS#4690] (r22673)
- Feature: Do not spawn explosion effects when bulldozing in paused mode. They block the view (r22670)
- Feature: [NewGRF] Support for the land slope check callback for stations (r22659)
- Feature: [NewGRF] Custom error messages for object callback 0x157 (r22658)
- Feature: [NewGRF] More default error messages for the industry shape and location callbacks (r22657)
- Feature: [NewGRF] Add water class to the 'land info of nearby tiles' vars (r22655)
- Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction) (r22639)
- Feature: [NoAI] Add several functions to AICompany to find out performance information (r22584)
- Feature: [NewGRF] Persistent storage for towns (r22569)
- Feature: [NewGRF] Support for station variable 0x69 (r22543)
- Feature: [NewGRF] Advanced sprite layouts with register modifiers (r22518)
- Feature: Save heightmap in scenario editor (r22514)
- Feature: Make the transparency options for industries also affect the effect vehicles created by industries [FS#4625] (r22506)
- Feature: [NewGRF] Implement variable 18 for custom station foundations (r22453)
- Feature: [NewGRF] When NewGRFs are disabled via Action E or due to GRM failure, also display an error in the GUI (r22444)
- Feature: [NewGRF] Allow to filter by town of the current industry when using industry variable 0x68 [FS#4591] (r22434)
- Feature: An advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics (r22417)
- Feature: Sort the items in the currency dropdown; separate the 'Custom' item with a horizontal line from the rest (r22312)
- Feature: Separate default and NewGRF-supplied townnames with a horizontal line and only sort them within these groups (r22312)
- Feature: [NewGRF] Allow docks to feature company colour (r22293)
- Feature: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years (r22253)
- Feature: [NewGRF] Make var 0x48 available in CB 0x15C (r22231)
- Change: [Win32] Move painting the window and doing palette animation into a separate thread (r23482)
- Change: [SDL] Move 32bpp-anim palette animation to the draw thread instead of the single threaded bit of the game loop. This causes a speedup of up to 15% when animation is turned on with the 32bpp-anim blitter (r23451)
- Change: Make the company GUI somewhat smaller if there are no shareholders (r23424)
- Change: [NewGRF v8] Allow translating multiple languages with Action 13 (r23391)
- Change: Bring Squirrel to 2.2.5; besides some nice bug fixes, it mostly solves the sort() issues (r23383)
- Change: Move the 'default' overrides out of the base set in order to ensure they all use the same values (r23232)
- Change: Different directories for base sets and newgrfs. So data to base set or newgrf, and gm to base set (r23219)
- Change: [NewGRF v8] Do not override rail type prop 1B with prop 09 (r23166)
- Change: [NewGRF v8] Format of extra callback info for callback 144 (r23157)
- Change: [NewGRF v8] Use height level units in var 8A of callback 28 (r23155)
- Change: [NewGRF v8] Use height level units in nearby tile info variables (r23154)
- Change: [NewGRF v8] Use height level units in variable 20/A0 (r23153)
- Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels (r23152)
- Change: [NewGRF v8] Deprecate callback 11 and 12, and use callback 36 instead (r23151, r23150)
- Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity (r23147)
- Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18 (r23146)
- Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table (r23145)
- Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table (r23144)
- Change: [NewGRF v8] Return the translated cargobit in vehicle var 42 (r23143)
- Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts (r23142)
- Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and 157 to make them consistent with other slope check callbacks (r23141)
- Change: [NewGRF v8] Do no longer apply base cost fallbacks (r23139)
- Change: [NewGRF v8] New result format for callback 16 (r23137)
- Change: [NewGRF v8] Deprecate old-style callback results 0xFF?? (r23136)
- Change: Open the query string window centered as it (almost) always requires your attention [FS#4825] (r23130)
- Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines (r23077)
- Change: Use the currency -> euro conversion rate for currencies that have been replaced with the euro, so when the switch happens the conversion rate at that point is roughly that of the real world conversion rate (r23056)
- Change: Disable palette animation for pixels with alpha, as the alpha and previous colour information will be lost when the palette is animated (r23016)
- Change: More suitable default news settings instead of everything on 'full' (r22897)
- Change: Always use the DOS palette for drawing, remove the '-i' option for palette selection (r22419)
- Change: Make YAPF the default pathfinder for ships, do not discourage players from using it anymore (r22352)
- Change: Remove pixel limiter for query strings (r22343)
- Fix: Dates cut off in the message history [FS#4896] (r23643)
- Fix: Fix transparency for steel mill, colour translations in some arctic buildings and a wrongly replaced sprites [FS#4892] (r23639)
- Fix: Draw PBS reservations also for bridges and tunnels with railtype overlays (r23586, r23584)
- Fix: Add missing characters for certain languages and the large font [FS#4870] (r23582)
- Fix: Extending a path reservation starting at a partially reserved rail station could fail [FS#4888] (r23564)
- Fix: [NoAI] ScriptSign::BuildSign() returned wrong result if the sign name was too long [FS#4886] (r23516)
- Fix: Drawing of newspaper headlines used different padding than the initial sizing of the window [FS#4884] (r23509)
- Fix: [Squirrel] Provide a proper error message when the _cmp meta-function does not return an integer (r23496)
- Fix: Make autoreplace, autorenew, cloning and autorefit check all articulated parts of a vehicle to find a shared cargo subtype (r23487)
- Fix: In case you already have orders, ignore the vehicles when adding an extra order [FS#4770] (r23484)
- Fix: Replace OS error messages with internal error messages when that is possible [FS#4594] (r23480)
- Fix: Clear the backed up orders of a removed station as well, otherwise one could create orders to a station that was never in the original backupped orders. For example a road vehicle trying to go to a buoy [FS#4876] (r23464)
- Fix: Do not assume all industries that cut trees have tile (0,0) and wait until all tiles of an industry are completed before starting to cut trees (r23458)
- Fix: Mark company window dirty when moving a rail engine creates or deletes a train (r23454)
- Fix: Some airport functions did not take the layout into account resulting in wrong noise levels or nearests towns [FS#4764] (r23441)
- Fix: Perform checks for NFORenum/GRFCodec in configure, including a version check so a proper error can be given when a too old GRFCodec or NFORenum is used [FS#4867] (r23438)
- Fix: Recolouring of some animated colours from the Windows (=least consistent) palette went wrong [FS#4868] (r23433)
- Fix: Prevent windows to be resized beyond the bounds of the (main) window [FS#4842] (r23429)
- Fix: [NoAI] The AIEvent.ET_COMPANY_NEW was only triggered if a company named itself, which seems like a very odd place to do so. Trigger it when the company is created instead (r23398)
- Fix: Bring some more order in the ordering of the windows, e.g. do not let a save or load dialog get hidden by a news message [FS#4709] (r23336)
- Fix: Road vehicle purchase info failed to display vehicles carrying no cargo [FS#4820] (r23334)
- Fix: Abort building/moving HQ when clicking on the button again, just like when building rail, stations, etc [FS#4851] (r23331)
- Fix: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles do not block tiles they should not block [FS#2379,FS#3569] (r23290)
1.1.4 (2011-12-05)
------------------------------------------------------------------------
- Fix: Savegames made with the Catalan town name generator would trigger a 'savegame corrupt' exception [FS#4866] (r23418)
- Fix: [Network] Do not send chat messages to clients that have not joined yet [FS#4826] (r23337)
- Fix: Assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it [FS#4849] (r23312)
- Fix: Pathfinders go haywire when you build a lock over a ship going perpendicular to the axis of the new lock [FS#4845] (r23284)
- Fix: [NewGRF] Prevent against writing data for unknown fonts (r23283)
1.1.4-RC1 (2011-11-20)
------------------------------------------------------------------------
- Fix: 3-column view of NewGRF GUI had too much space for certain font sizes (r23251)
- Fix: Ignore special characters, such as the train 'character', when determining a fallback font (r23237)
- Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch (r23231)
- Fix: Invalidate build vehicle window when changing the setting for wagon speed limits (r23211)
- Fix: [NoAI] Hide AIObject from the documentation as it cannot be used (r23204, r23201)
- Fix: [Network] Unstable sorting in the network list when two servers had the exact same name [FS#4829] (r23202)
- Fix: Oil rigs that 'expired' did not get removed from the station list [FS#4822] (r23199)
- Fix: [Squirrel] replace custom qsort by std::sort to fix stack overflow [FS#4830] (r23190, r23187, r23186)
- Fix: Do not display railway fences between track and waypoints [FS#4627] (r23163)
- Fix: [NoAI] AIOrder did not handle implicit orders correctly in all cases [FS#4823] (r23135, r23133)
- Fix: When any keys on the on-screen keyboard were pressed the text cursor disappeared (r23132)
- Fix: [NoAI] AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones (r23131)
- Fix: [NoAI] calling require() to include a file gave you 100.000 opcodes for free (r23117)
- Fix: Allow accessing the server's client info as well in the admin network [FS#4813] (r23115)
- Fix: [NewGRF] Run StartupEngines() if NewGRFs changed during loading a savegame, just like it is running when NewGRFs are changed during a game (r23083)
- Fix: Account for snow line table when determining the snow line for building houses (r23082)
- Fix: [NewGRF] If a NewGRF overrides a default house the minimum start year for that house was set to 1930 [FS#4794] (r23059)
- Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders (r23057)
- Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state (r23050)
- Fix: Use the same forest-check for the vegetation-map colour as for nearby station names [FS#4810] (r23049)
- Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work (r23038)
- Fix: [NewGRF] Strip newlines from NewGRF strings that should not have newlines, e.g. the NewGRF's name [FS#4769] (r23036, r22970)
- Fix: The last custom playlist items went lost when the files in the .obm are not contiguous [FS#4776] (r23035, r23034, r23033)
- Fix: Palette conversion windows to DOS for light house / stadium animated colour was mixed up (r23032)
- Fix: For the admin 'bots' there was no distinction between bankruptcy and manual removal of companies even though the API suggested that [FS#4804] (r23031)
- Fix: Always show a chat message and send an admin packet when a new company is made [FS#4796] (r23030)
- Fix: Pass bottom of dropdown item rather than bottom of dropdown window, so the dropdown gets drawn better with different font sizes (r23018)
- Fix: AI backlog was to short to fully display the backtrace of some AI crashes [FS#4798] (r23012)
- Fix: When the last used server is deleted from the list also clear the last used server if it is the same [FS#4791] (r23011)
- Fix: [NewGRF] Make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks cannot change the result between the runs (r22996)
- Fix: [NewGRF] Tile was cleared before the object-placement callback was run, resulting in possible differences in test and exec run [FS#4775] (r22994)
- Fix: [NoAI] Do not return ERR_UNKNOWN when the vehicle would become too long (r22988)
- Fix: Draw buoy sprite without outline on the map, fix minor issues with original graphics (r22974, r22973, r22971, r22962)
- Fix: The savegame description and loading of savegames would crash with savegames from a patched stable (which did not bump the savegame version) [FS#4778] (r22958, r22957)
- Fix: Guard from reading outside the silly name list (r22955)
- Fix: [NewGRF] Properly limit the length of strings in a choice list (r22952)
- Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors (r22947)
- Fix: [NewGRF] Crash when accessing vehicle var 44 for a non-front aircraft [FS#4781] (r22946)
- Fix: Calculate the size of the start/stop vehicle button correctly (r22941)
- Fix: [OSX] Various MacOSX 10.7 issues causing OpenTTD to not work [FS#4751] (r22921, r22895, r22893, r22889)
- Fix: [NewGRF] Properties for feature 0x05 were not zeroed for each NewGRF, thus waterfeatures could glitch when the properties were set by a previous NewGRF and the NewGRF assumed the properties to be unmodified (r22918)
- Fix: Old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames [FS#4716] (r22914)
- Fix: The icon would (almost) never be shown for SDL builds [FS#4617] (r22910)
- Fix: The name of the heightmap glitches in the 'play heightmap' window (r22902)
- Fix: Locks would be incorrectly assembled (r22108)
1.1.3 (2011-09-15)
------------------------------------------------------------------------
- Fix: Prevent authentication bypass for the admin port when a new game is started [FS#4771] (r22934)
- Fix: TTO savegames with any aircraft not in an hangar caused crashes during load (r22915)
- Fix: Windows 2000 and XP without service pack 3 must use the win9x binary/installer; the newer MSVC compiler of the compile farm does not support those versions of Windows anymore [FS#4749] (r22909)
1.1.3-RC1 (2011-09-04)
------------------------------------------------------------------------
- Add: River graphics for the original base set (r22766)
- Fix: [NewGRF] DCxx text references via the text stack are not allowed, but caused crash [FS#4758] (r22882)
- Fix: Harden memory allocation (r22881, r22880, r22875)
- Fix: Miscalculation of train curve speed limits (r22879)
- Fix: Validate image dimensions before loading [CVE-2011-3343] [FS#4747] (r22878, r22877, r22874, r22873)
- Fix: Report an error in the news if autoreplace/renew fails due to the engine type being no longer available [FS#4712] (r22876)
- Fix: Perform stricter checks on RLE compressed BMP images [CVE-2011-3343] [FS#4746] (r22872, r22871)
- Fix: [NewGRF] Variables 40 and 81 of callback 18 are not the same as 80 (r22867)
- Fix: [NewGRF] Generic callbacks shall chain to the next GRF when the callback fails (r22866, r22865)
- Fix: Perform stricter checks on some commands [CVE-2011-3341] [FS#4745] (r22845)
- Fix: Harden savegame load against too many AI config settings [CVE-2011-3342] [FS#4748] (r22843)
- Fix: Compilation with GCC 4.7 (r22832, r22728, r22719)
- Fix: Allow to demolish aqueducts built in the scenario editor [FS#4741] (r22821)
- Fix: Towns expanding from the 'wrong' side of a tunnel or bridge [FS#4731] (r22810, r22809)
- Fix: [NewGRF] String codes for dates should use unsigned words, like old OpenTTD did before it learned dates before 1920 (r22774)
- Fix: [NoAI] Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence() [FS#4702] (r22763)
- Fix: [NewGRF] Also free allocated depot tables of NewGRF airports (r22760)
- Fix: [NewGRF] Invalid memory access when querying the grfID of the default objects [FS#4730] (r22757)
- Fix: When marking tile selections dirty, use the height information of the corners instead of the surface slope. This is more accurate when the foundation is kind of undefined [FS#4727] (r22755)
- Fix: Make aircraft point to the exit when leaving the hangar [FS#4696] (r22743, r22742, r22741)
- Fix: Display the size of the leveled platform in the measurement tooltip of terraforming operations [FS#4708] (r22740, r22739)
- Fix: Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join that company [FS#4722] (r22738)
- Fix: [NewGRF] The construction stage sprites were incorrectly selected in cases other than 1 or 4 sprites per set (r22731)
- Fix: [NoAI] AITile::GetCargoAcceptance, AITile::GetCargoProduction and AIRail::BuildNewGRFRailStation did not check the cargo argument for validity (r22726)
- Fix: [NewGRF] Always draw NewGRF supplied texts with a default colour (r22725)
- Fix: [NewGRF] Do not restrict AdvVarAct2 to 255 operations (r22723)
- Fix: If there is no point in opening the rail/air toolbar, do not open it for people who use hotkeys either rather than only for those using GUI elements (r22716, r22715, r22714)
- Fix: [NoAI] Allow AIAirport::GetNoiseLevelIncrease() also for expired airports [FS#4704] (r22710)
1.1.2 (2011-08-14)
------------------------------------------------------------------------
- Fix: Some corrupted savegames could crash OpenTTD instead of showing the 'savegame corrupted' message [FS#4717] (r22737, r22736)
- Fix: Some corrupted savegames could crash OpenTTD instead of showing the 'savegame corrupted' message [CVE-2011-3342] [FS#4717] (r22737, r22736)
- Fix: [NewGRF] Triggering NOT_REACHED when playing with a NewGRF that supplies genders/cases for a language that was not installed [FS#4718] (r22735)
@@ -771,7 +1057,7 @@
- Fix: Sorting industries by production was broken for NewGRF industries (r19538)
- Fix: Vehicle details window did not resize correctly after refitting a road vehicle to a longer variant [FS#3720] (r19533)
- Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water (r19523)
- Fix: Tunnels, bridges and roadstops are build with only one roadtype (r19506)
- Fix: Tunnels, bridges and road stops are build with only one roadtype (r19506)
- Fix: Remove same_industry_close setting did not do what it said and caused NewGRF trouble (r19499)
- Fix: Keep number padding intact when cloning vehicle names [FS#3710] (r19498)
- Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage (r19497)
@@ -871,7 +1157,7 @@
- Fix: Not all news data was properly freed when starting a new game [FS#3614] (r19105)
- Fix: The BeMidi driver was broken [FS#3610] (r19097)
- Fix: Crash when one of the items in the news_display group in the config file has no value (r19096)
- Fix: Crash when a baseset has an empty metadata field (r19095)
- Fix: Crash when a base set has an empty metadata field (r19095)
- Fix: Possible read/write after free when the client triggered the server to close the connection [FS#3599] (r19072)
- Fix: Remove Bidi control characters from the reordered text so they are not drawn [FS#3604] (r19067)
- Fix: [NewGRF] Settings that are part of the 'TTDPatch flags' can cause desyncs if they are changed in network games (r19066)
@@ -1557,7 +1843,7 @@
- Fix: Add an EngineOverrideManager to give the term 'compatible NewGRF' again some sense and to not crash because of trivial changes [FS#2612] (r15645)
- Fix: Closing a network connection twice in the case that sending packets starts failing while disconnecting [FS#2710] (r15644)
- Fix: Game crashes when network pools are empty, so always allocate at least one pool block [FS#2712] (r15641)
- Fix: Do not allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time [FS#2707] (r15635)
- Fix: Do not allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the road stop would be able to handle within the slot timeout time [FS#2707] (r15635)
- Fix: Kicking/banning a client from the Client list window crashed the server [FS#2705] (r15628)
- Fix: UTF8 string handling could cause buffer overruns [FS#2698] (r15626)
- Fix: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely [FS#2701] (r15619)
@@ -2092,7 +2378,7 @@
- Fix: Do entrance-slope-check for every tile of railstations (r11999)
- Fix: Possible remote assert by setting bit 6 of p1 for CMD_REMOVE_ROAD [FS#1692] (r11998)
- Fix: Update train statusbar when stopping from zero speed [FS#1706] (r11996)
- Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long (r11993)
- Fix: Resize station/road stop/dock/airport construction windows if cargo acceptance list is too long (r11993)
- Fix: When building two rail stations close to each other (with control) so they looked like one long track trains would see them as one (r11992)
- Fix: Resize autoreplace window to fit purchase information text if it is too large (r11989)
- Fix: Build system ignored changes to table/control_codes.h which require strgen to be rebuilt (r11986)
@@ -2623,7 +2909,7 @@
- Codechange: Change the ordering of the network list, compatible servers just missing grf files are below fully compatible servers, not on the bottom (r8118)
- Fix: Return proper error value when unthreaded save fails, prevents server sending 0-sized files (r8171)
- Fix: Network client crashes when a server sends a 0-sized savegame [FS#556] (r8167)
- Fix: Several desync fixes (incorrect roadstop update of old games, autoreplace bugs) [FS#551] (r8137, r8147, r8157)
- Fix: Several desync fixes (incorrect road stop update of old games, autoreplace bugs) [FS#551] (r8137, r8147, r8157)
- Fix: Some disaster-events fixed: combat chopper shoots from right position, submarine once again moves around (r8140, r8158)
- Fix: 'out of sprite memory' warning messages due to incorrect assumption of requested memory for sprites (r8133)
- Fix: Buoys are now built and numbered 1..9 not 9..1 [FS#538] (r8123)

View File

@@ -54,13 +54,12 @@ set_default() {
enable_lto="0"
enable_dedicated="0"
enable_network="1"
enable_ai="1"
enable_static="1"
enable_translator="0"
enable_unicode="1"
enable_console="1";
enable_assert="0"
enable_strip="1"
enable_assert="1"
enable_strip="0"
enable_universal="0"
enable_osx_g5="0"
enable_cocoa_quartz="1"
@@ -91,6 +90,8 @@ set_default() {
with_threads="1"
with_distcc="1"
with_ccache="1"
with_nforenum="1"
with_grfcodec="1"
save_params_array="
build
@@ -128,7 +129,6 @@ set_default() {
enable_lto
enable_dedicated
enable_network
enable_ai
enable_static
enable_translator
enable_unicode
@@ -164,6 +164,8 @@ set_default() {
with_threads
with_distcc
with_ccache
with_grfcodec
with_nforenum
CC CXX CFLAGS CXXFLAGS LDFLAGS"
}
@@ -286,9 +288,6 @@ detect_params() {
--enable-network) enable_network="2";;
--enable-network=*) enable_network="$optarg";;
--disable-network) enable_network="0";;
--enable-ai) enable_ai="2";;
--enable-ai=*) enable_ai="$optarg";;
--disable-ai) enable_ai="0";;
--disable-static) enable_static="0";;
--enable-static) enable_static="2";;
--enable-static=*) enable_static="$optarg";;
@@ -422,6 +421,14 @@ detect_params() {
--with-ccache) with_ccache="2";;
--with-ccache=*) with_ccache="$optarg";;
--without-nforenum) with_nforenum="0";;
--with-nforenum) with_nforenum="2";;
--with-nforenum=*) with_nforenum="$optarg";;
--without-grfcodec) with_grfcodec="0";;
--with-grfcodec) with_grfcodec="2";;
--with-grfcodec=*) with_grfcodec="$optarg";;
--without-osx-sysroot) with_osx_sysroot="0";;
--with-osx-sysroot) with_osx_sysroot="2";;
--with-osx-sysroot=*) with_osx_sysroot="$optarg";;
@@ -743,13 +750,8 @@ check_params() {
log 1 "checking network... disabled"
fi
if [ "$enable_ai" != "0" ]; then
log 1 "checking ai... found"
SCRIPT_SRC_DIR="$ROOT_DIR/src/3rdparty/squirrel/include"
else
log 1 "checking ai... disabled"
SCRIPT_SRC_DIR=""
fi
log 1 "checking squirrel... found"
SCRIPT_SRC_DIR="$ROOT_DIR/src/3rdparty/squirrel/include"
if [ "$enable_translator" != "0" ]; then
log 1 "checking translator... debug"
@@ -936,6 +938,19 @@ check_params() {
log 1 "checking ccache... $ccache"
fi
detect_grfcodec
detect_nforenum
if [ -z "$grfcodec" ] && [ -n "$nforenum" ]; then
log 1 "checking nforenum/grfcodec... nforenum needs grfcodec enabled, disabling nforenum"
nforenum=""
fi
if [ -z "$nforenum" ] && [ -n "$grfcodec" ]; then
log 1 "checking nforenum/grfcodec... grfcodec needs nforenum enabled, disabling grfcodec"
grfcodec=""
fi
if [ "$os" = "DOS" ]; then
with_threads="0"
fi
@@ -1288,6 +1303,9 @@ make_compiler_cflags() {
# sure that they will not happen. It furthermore complains
# about its own optimized code in some places.
flags="$flags -fno-strict-overflow"
# GCC 4.2 no longer includes -Wnon-virtual-dtor in -Wall.
# Enable it in order to be consistent with older GCC versions.
flags="$flags -Wnon-virtual-dtor"
fi
if [ $cc_version -ge 43 ]; then
@@ -1296,6 +1314,15 @@ make_compiler_cflags() {
cxxflags="$cxxflags -std=gnu++0x"
fi
if [ $cc_version -ge 47 ]; then
# Disable -Wnarrowing which gives many warnings, such as:
# warning: narrowing conversion of '...' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
# They are valid according to the C++ standard, but useless.
cxxflags="$cxxflags -Wno-narrowing"
# Disable bogus 'attempt to free a non-heap object' warning
flags="$flags -Wno-free-nonheap-object"
fi
if [ "$enable_lto" != "0" ]; then
# GCC 4.5 outputs '%{flto}', GCC 4.6 outputs '%{flto*}'
has_lto=`$1 -dumpspecs | grep '\%{flto'`
@@ -1417,7 +1444,7 @@ make_cflags_and_ldflags() {
LIBS="$LIBS -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32"
if [ $cc_version -ge 44 ]; then
LDFLAGS_BUILD="$LDFLAGS_BUILD -static-libgcc"
LDFLAGS_BUILD="$LDFLAGS_BUILD -static-libgcc -static-libstdc++"
fi
fi
fi
@@ -1574,9 +1601,7 @@ make_cflags_and_ldflags() {
if [ "$cpu_type" = "64" ] && [ "$enable_universal" = "0" ]; then
CFLAGS="$CFLAGS -D_SQ64"
fi
if [ "$enable_ai" != "0" ]; then
CFLAGS="$CFLAGS -I$SCRIPT_SRC_DIR -DENABLE_AI"
fi
CFLAGS="$CFLAGS -I$SCRIPT_SRC_DIR"
if [ -n "$png_config" ]; then
CFLAGS="$CFLAGS -DWITH_PNG"
@@ -3042,6 +3067,90 @@ detect_sort() {
fi
}
detect_grfcodec() {
# 0 means no, 1 is auto-detect, 2 is force
if [ "$with_grfcodec" = "0" ]; then
log 1 "checking grfcodec... disabled"
grfcodec=""
return 0
fi
if [ "$with_grfcodec" = "1" ] || [ "$with_grfcodec" = "" ] || [ "$with_grfcodec" = "2" ]; then
grfcodec="grfcodec"
else
grfcodec="$with_grfcodec"
fi
version=`$grfcodec -v 2>/dev/null | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/'`
ret=$?
log 2 "executing grfcodec -v"
log 2 " returned $version"
log 2 " exit code $ret"
if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$version" -lt "846" ]; then
if [ -n "$version" ] && [ "$version" -lt "846" ]; then
log 1 "checking grfcodec... needs at least version 5.1.3 (r846), disabled"
else
log 1 "checking grfcodec... not found"
fi
# It was forced, so it should be found.
if [ "$with_grfcodec" != "1" ]; then
log 1 "configure: error: grfcodec couldn't be found"
log 1 "configure: error: you supplied '$with_grfcodec', but it seems invalid"
exit 1
fi
grfcodec=""
return 0
fi
log 1 "checking grfcodec... found"
}
detect_nforenum() {
# 0 means no, 1 is auto-detect, 2 is force
if [ "$with_nforenum" = "0" ]; then
log 1 "checking nforenum... disabled"
nforenum=""
return 0
fi
if [ "$with_nforenum" = "1" ] || [ "$with_nforenum" = "" ] || [ "$with_nforenum" = "2" ]; then
nforenum="nforenum"
else
nforenum="$with_nforenum"
fi
version=`$nforenum -v 2>/dev/null | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/'`
ret=$?
log 2 "executing nforenum -v"
log 2 " returned $version"
log 2 " exit code $ret"
if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$version" -lt "846" ]; then
if [ -n "$version" ] && [ "$version" -lt "846" ]; then
log 1 "checking nforenum... needs at least version 5.1.3 (r846), disabled"
else
log 1 "checking nforenum... not found"
fi
# It was forced, so it should be found.
if [ "$with_nforenum" != "1" ]; then
log 1 "configure: error: nforenum couldn't be found"
log 1 "configure: error: you supplied '$with_nforenum', but it seems invalid"
exit 1
fi
nforenum=""
return 0
fi
log 1 "checking nforenum... found"
}
detect_cputype() {
if [ -n "$cpu_type" ] && [ "$cpu_type" != "DETECT" ]; then
log 1 "forcing cpu-type... $cpu_type bits"
@@ -3096,6 +3205,7 @@ make_sed() {
s@!!SRC_OBJS_DIR!!@$SRC_OBJS_DIR@g;
s@!!LANG_OBJS_DIR!!@$LANG_OBJS_DIR@g;
s@!!GRF_OBJS_DIR!!@$GRF_OBJS_DIR@g;
s@!!SETTING_OBJS_DIR!!@$SETTING_OBJS_DIR@g;
s@!!SRC_DIR!!@$SRC_DIR@g;
s@!!SCRIPT_SRC_DIR!!@$SCRIPT_SRC_DIR@g;
s@!!OSXAPP!!@$OSXAPP@g;
@@ -3114,6 +3224,7 @@ make_sed() {
s@!!STRGEN!!@$STRGEN@g;
s@!!ENDIAN_CHECK!!@$ENDIAN_CHECK@g;
s@!!DEPEND!!@$DEPEND@g;
s@!!SETTINGSGEN!!@$SETTINGSGEN@g;
s@!!ENDIAN_FORCE!!@$endian@g;
s@!!STAGE!!@$STAGE@g;
s@!!MAKEDEPEND!!@$makedepend@g;
@@ -3137,6 +3248,8 @@ make_sed() {
s@!!REVISION!!@$revision@g;
s@!!AWK!!@$awk@g;
s@!!DISTCC!!@$distcc@g;
s@!!NFORENUM!!@$nforenum@g;
s@!!GRFCODEC!!@$grfcodec@g;
"
if [ "$icon_theme_dir" != "" ]; then
@@ -3221,6 +3334,20 @@ generate_lang() {
echo "LANG_DIRS += $LANG_OBJS_DIR" >> Makefile.am
}
generate_settings() {
STAGE="[SETTING]"
make_sed
# Create the language file
mkdir -p $SETTING_OBJS_DIR
log 1 "Generating setting/Makefile..."
echo "# Auto-generated file from 'Makefile.settings.in' -- DO NOT EDIT" > $SETTING_OBJS_DIR/Makefile
< $ROOT_DIR/Makefile.setting.in sed "$SRC_REPLACE" >> $SETTING_OBJS_DIR/Makefile
echo "DIRS += $SETTING_OBJS_DIR" >> Makefile.am
}
generate_grf() {
STAGE="[GRF]"

5
configure vendored
View File

@@ -48,6 +48,7 @@ OBJS_DIR="$PWD/objs"
BASE_SRC_OBJS_DIR="$OBJS_DIR"
LANG_OBJS_DIR="$OBJS_DIR/lang"
GRF_OBJS_DIR="$OBJS_DIR/extra_grf"
SETTING_OBJS_DIR="$OBJS_DIR/setting"
BIN_DIR="$PREFIX"
SRC_DIR="$ROOT_DIR/src"
LANG_DIR="$SRC_DIR/lang"
@@ -82,6 +83,7 @@ TTD="openttd$EXE"
STRGEN="strgen$EXE"
ENDIAN_CHECK="endian_check$EXE"
DEPEND="depend$EXE"
SETTINGSGEN="settings_gen$EXE"
if [ -z "$sort" ]; then
PIPE_SORT="sed s@a@a@"
@@ -161,10 +163,11 @@ else
sort="$sort -u"
fi
CONFIGURE_FILES="$ROOT_DIR/configure $ROOT_DIR/config.lib $ROOT_DIR/Makefile.in $ROOT_DIR/Makefile.grf.in $ROOT_DIR/Makefile.lang.in $ROOT_DIR/Makefile.src.in $ROOT_DIR/Makefile.bundle.in"
CONFIGURE_FILES="$ROOT_DIR/configure $ROOT_DIR/config.lib $ROOT_DIR/Makefile.in $ROOT_DIR/Makefile.grf.in $ROOT_DIR/Makefile.lang.in $ROOT_DIR/Makefile.src.in $ROOT_DIR/Makefile.bundle.in $ROOT_DIR/Makefile.setting.in"
generate_main
generate_lang
generate_settings
generate_grf
generate_src

View File

@@ -106,6 +106,7 @@
<ul>
<li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a> of the tile (normally <tt>10</tt>)</li>
<li>m2: see fields</li>
<li>m3 bits 7..5: type of hedge on NE border of the tile</li>
<li>m3 bits 3..0: see fields</li>
<li>m3 bit 4: set if the tile is covered with snow</li>
<li>m4 bits 7..5: type of hedge on the SW border of the tile (1 through 6, or 0=none)</li>
@@ -196,6 +197,7 @@
</table>
</li>
<li>m6 bits 7..6 : Possibility of a bridge above, in the <a href="#bridge_direction">direction specified</a></li>
<li>m6 bits 4..2: type of hedge on NW border of the tile</li>
<li>m6 bits 1..0 : <a href="#tropic_zone">Tropic zone definition</a></li>
</ul>
</td>
@@ -816,8 +818,6 @@
</table>
<small>Note: the actually displayed set of trees depends on both type and number of trees</small>
</li>
<li>m4 bits 7..5: type of hedge on the SW border of the tile (1 through 6, or 0=none)</li>
<li>m4 bits 4..2: type of hedge on the SE border of the tile (1 through 6, or 0=none)</li>
<li>m5 bits 7..6: number of trees minus one</li>
<li>m5 bits 2..0: growth status:
<table border="0">

View File

@@ -68,10 +68,10 @@ the array so you can quickly see what is used and what is not.
<td class="bits">XXXX XXXX</td>
<td class="bits"><span class="free">OOO</span><span class="option">~ ~~~~</span></td>
<td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td>
<td class="bits"><span class="free">OOO</span>X <span class="free">OOOO</span></td>
<td class="bits">XXXX <span class="free">OOOO</span></td>
<td class="bits">XXXX XX<span class="free">OO</span></td>
<td class="bits">XXXX XXXX</td>
<td class="bits">XX<span class="free">OO OO</span>XX</td>
<td class="bits">XX<span class="free">O</span>X XXXX</td>
<td class="bits"><span class="free">OOOO OOOO</span></td>
</tr>
<tr>
@@ -79,10 +79,10 @@ the array so you can quickly see what is used and what is not.
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits">XXXX XXXX XXXX XXXX</td>
<td class="bits"><span class="free">OOO</span>X XXXX</td>
<td class="bits">XXXX XXXX</td>
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits">XX<span class="free">OO OO</span>XX</td>
<td class="bits">XX<span class="free">O</span>X XXXX</td>
<td class="bits"><span class="free">OOOO OOOO</span></td>
</tr>
<tr>
@@ -172,7 +172,7 @@ the array so you can quickly see what is used and what is not.
<td class="bits"><span class="free">OOO</span><span class="option">~ ~~~~</span></td>
<td class="bits"><span class="free">OOOO OOO</span>X XXXX XXXX</td>
<td class="bits"><span class="option">~~</span>XX XXXX</td>
<td class="bits">XXXX XX<span class="free">OO</span></td>
<td class="bits"><span class="free">OOOO OOOO</span></td>
<td class="bits">XX<span class="free">OO O</span>XXX</td>
<td class="bits"><span class="free">OOOO OO</span>XX</td>
<td class="bits"><span class="free">OOOO OOOO</span></td>

View File

@@ -42,6 +42,8 @@ description = foo
description.en_US = howdie
; palette used by the set; either DOS or Windows
palette = DOS
; preferred blitter, optional; either 8bpp (default) or 32bpp.
blitter = 8bpp
; The files section lists the files that replace sprites.
; The file names are case sensitive.

View File

@@ -1,6 +1,6 @@
.\" Hey, EMACS: -*- nroff -*-
.\" Please adjust this date whenever revising the manpage.
.Dd Dec 31, 2010
.Dd May 31, 2011
.Dt OPENTTD 6
.Sh NAME
.Nm openttd
@@ -14,7 +14,6 @@
.Op Fl D Ar [host][:port]
.Op Fl g Ar [savegame]
.Op Fl G Ar seed
.Op Fl i Ar palette
.Op Fl I Ar graphicsset
.Op Fl l Ar host[:port]
.Op Fl m Ar driver
@@ -22,6 +21,7 @@
.Op Fl n Ar host[:port][#player]
.Op Fl p Ar password
.Op Fl P Ar password
.Op Fl q Ar savegame
.Op Fl r Ar widthxheight
.Op Fl s Ar driver
.Op Fl S Ar soundset
@@ -61,10 +61,6 @@ at start or start a new game if omitted. The
must be either absolute or relative to the current path or one of the search paths.
.It Fl h
Display a summary of all options and lists all the available AIs, blitters, sound, music and video drivers, graphics sets and sound sets.
.It Fl i Ar palette
Set the palette. '0' for the DOS palette, '1' for the Windows palette and '2' to autodetect (default).
.sp
The palette depends where the base graphics set originated from. If it came from the Transport Tycoon Deluxe for DOS it has the DOS palette, if it came from the Windows version of Transport Tycoon Deluxe it has the Windows palette. All others likely have the Windows palette as that is the most used palette.
.It Fl I Ar graphicsset
Set the graphics set, see
.Fl h
@@ -88,6 +84,8 @@ Password used to join server. Only useful with
.It Fl P Ar password
Password used to join company. Only useful with
.Fl n
.It Fl q Ar savegame
Write some information about the savegame and exit
.It Fl r Ar widthxheight
Set the resolution
.It Fl s Ar driver

View File

@@ -1,6 +1,6 @@
OpenTTD's known bugs
Last updated: 2011-08-14
Release version: 1.1.2
Last updated: 2012-01-07
Release version: 1.2.0-beta2
------------------------------------------------------------------------
@@ -39,10 +39,10 @@ officially supporting Mac OS X again. For now it remains unsupported and
we only apply bug fixes provided by the community but we are unable to fix
these bugs ourselves.
- 4695 [OSX] Crash when switching to full screen with OS X Lion
- 4857 [OSX] No support for detecting mono space font
- 4847 [OSX] No support for bootstrap downloading of base graphics
- 4744 [OSX] Crash when switching to full screen with OS X Lion
- 4689 [OSX] Crash when hiding window after coming from full screen
- 4594 [Windows] Minimizing the windows when a modal error message is
shown makes it difficult to exit the game
- 4420 [OSX] OS' mouse pointer still shows
- 2484 [OSX] Cannot enter CJK characters
@@ -267,7 +267,7 @@ OpenTTD hangs when started on 32 bits Windows [FS#4083]
default we are not able to detect this failure, except when Windows'
music initialisation function returns after several hours and then
there is no point in switching the music driver anymore.
The reason we do not use the "win32" music driver as default are
The reason we still use the "win32" music driver as default are
described in the "Long delay between switching music/song" section
of this document.
@@ -325,3 +325,91 @@ Unreadable characters for non-latin locales [FS#4607]
blitter has been selected, e.g. blitter = "32bpp-anim", as with the
8 bits blitter there are not enough colours to properly perform the
anti-aliasing.
(Temporary) wrong colours when switching to full screen [FS#4511]:
On Windows it can happen that you temporarily see wrong colours
when switching to full screen OpenTTD, either by starting
OpenTTD in full screen mode, changing to full screen mode or by
ALT-TAB-ing into a full screen OpenTTD. This is caused by the
fact that OpenTTD, by default, uses 8bpp paletted output. The
wrong colours you are seeing is a temporary effect of the video
driver switching to 8bpp palette mode.
This issue can be worked around in two ways:
a) Setting fullscreen_bpp to 32
b) Setting up the 32bpp-anim or 32bpp-optimized blitter
Train does not crash with itself [FS#4635]:
When a train drives in a circle the front engine passes through
wagons of the same train without crashing. This is intentional.
Signals are only aware of tracks, they do not consider the train
length and whether there would be enough room for a train in some
circle it might drive on. Also the path a train might take is not
necessarily known when passing a signal.
Checking all circumstances would take a lot of additional computational
power for signals, which is not considered worth the effort, as
it does not add anything to gameplay.
Nevertheless trains shall not crash in normal operation, so making
a train not crash with itself is the best solution for everyone.
Aircraft coming through wall in rotated airports [FS#4705]:
With rotated airports, specifically hangars, you will see that the
aircraft will show a part through the back wall of the hangar.
This can be solved by only drawing a part of the plane when being
at the back of the hangar, however then with transparency turned on
the aircraft would be shown partially which would be even weirder.
As such the current behaviour is deemed the least bad.
The same applies to overly long ships and their depots.
Vehicles not keeping their "maximum" speed [FS#4815]:
Vehicles that have not enough power to reach and maintain their
advertised maximum speed might be constantly jumping between two
speeds. This is due to the fact that speed and its calculations
are done with integral numbers instead of floating point numbers.
As a result of this a vehicle will never reach its equilibrium
between the drag/friction and propulsion. So in effect it will be
in a vicious circle of speeding up and slowing down due to being
just at the other side of the equilibrium.
Not speeding up when near the equilibrium will cause the vehicle
to never come in the neighbourhood of the equilibrium and not
slowing down when near the equilibrium will cause the vehicle
to never slow down towards the equilibrium once it has come down
a hill.
It is possible to calculate whether the equilibrium will be
passed, but then all acceleration calculations need to be done
twice.
Settings not saved when OpenTTD crashes [FS#4846]:
The settings are not saved when OpenTTD crashes for several reasons.
The most important is that the game state is broken and as such the
settings might contain invalid values, or the settings have not even
been loaded yet. This would cause invalid or totally wrong settings
to be written to the configuration file.
A solution to that would be saving the settings whenever one changes,
however due to the way the configuration file is saved this requires
a flush of the file to the disk and OpenTTD needs to wait till that
is finished. On some file system implementations this causes the
flush of all 'write-dirty' caches, which can be a significant amount
of data to be written. This can further be aggravated by spinning
down disks to conserve power, in which case this disk needs to be
spun up first. This means that many seconds may pass before the
configuration file is actually written, and all that time OpenTTD
will not be able to show any progress. Changing the way the
configuration file is saved is not an option as that leaves us more
vulnerable to corrupt configuration files.
Finally, crashes should not be happening. If they happen they should
be reported and fixed, so essentially fixing this is fixing the
wrong thing. If you really need the configuration changes to be
saved, and you need to run a version that crashes regularly, then
you can use the 'saveconfig' command in the console to save the
settings.
Not all NewGRFs, AIs, game scripts are found [FS#4887]:
Under certain situations, where the path for the content within a
tar file is the same as other content on the file system or in another
tar file, it is possible that content is not found. A more thorough
explanation and solutions are described in section 4.4 of readme.txt.

View File

@@ -6,13 +6,26 @@
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Aqueduct graphics by Jonathan G. Rennison"
-1 * 0 0C "Aqueduct graphics by Jonathan G. Rennison / PaulC"
// temperate aqueduct
-1 * 6 07 83 01 \7! 00 09
-1 * 3 05 12 08
-1 sprites/aqueduct.png 34 8 09 33 64 -34 -10
-1 sprites/aqueduct.png 114 8 09 33 66 -37 -9
-1 sprites/aqueduct.png 194 8 09 33 64 -34 -10
-1 sprites/aqueduct.png 274 8 09 33 66 -37 -9
-1 sprites/aqueduct.png 354 8 09 33 64 -34 -5
-1 sprites/aqueduct.png 434 8 09 33 66 -37 -4
-1 sprites/aqueduct.png 514 8 09 23 33 -31 0
-1 sprites/aqueduct.png 562 8 09 23 33 0 1
-1 sprites/aqueduct.png 34 8 09 32 61 -30 -9
-1 sprites/aqueduct.png 114 8 09 31 62 -29 -9
-1 sprites/aqueduct.png 194 8 09 32 61 -30 -9
-1 sprites/aqueduct.png 274 8 09 31 62 -29 -9
-1 sprites/aqueduct.png 354 8 09 32 61 -30 -4
-1 sprites/aqueduct.png 434 8 09 31 62 -29 -4
-1 sprites/aqueduct.png 514 8 09 23 33 -31 0
-1 sprites/aqueduct.png 562 8 09 23 33 0 1
// non-temperate aqueduct
-1 * 6 07 83 01 \7= 00 09
-1 * 3 05 12 08
-1 sprites/aqueduct.png 34 48 09 32 61 -30 -9
-1 sprites/aqueduct.png 114 48 09 31 62 -29 -9
-1 sprites/aqueduct.png 194 48 09 32 61 -30 -9
-1 sprites/aqueduct.png 274 48 09 31 62 -29 -9
-1 sprites/aqueduct.png 354 48 09 32 61 -30 -4
-1 sprites/aqueduct.png 434 48 09 31 62 -29 -4
-1 sprites/aqueduct.png 514 48 09 23 33 -31 0
-1 sprites/aqueduct.png 562 48 09 23 33 0 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -6,70 +6,166 @@
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Canal graphics by George"
-1 * 0 0C "Canal graphics by George / PaulC"
-1 * 3 05 08 41
-1 sprites/canals.png 66 8 09 23 64 -31 0
-1 sprites/canals.png 146 8 09 39 64 -31 -8
-1 sprites/canals.png 226 8 09 23 64 -31 0
-1 sprites/canals.png 306 8 09 39 64 -31 -8
-1 sprites/canals.png 386 8 09 59 64 -31 -36
-1 sprites/canals.png 466 8 09 65 64 -31 -34
-1 sprites/canals.png 546 8 09 59 64 -31 -36
-1 sprites/canals.png 626 8 09 59 64 -31 -28
-1 sprites/canals.png 706 8 09 62 64 -1 -51
-1 sprites/canals.png 2 88 09 62 64 -61 -43
-1 sprites/canals.png 82 88 09 62 64 -61 -51
-1 sprites/canals.png 162 88 09 62 64 -1 -43
-1 sprites/canals.png 242 88 09 59 64 -31 -28
-1 sprites/canals.png 322 88 09 65 66 -33 -34
-1 sprites/canals.png 402 88 09 59 64 -31 -28
-1 sprites/canals.png 482 88 09 59 64 -31 -28
-1 sprites/canals.png 562 88 09 62 64 -1 -43
-1 sprites/canals.png 642 88 09 60 64 -61 -43
-1 sprites/canals.png 722 88 09 62 66 -61 -43
-1 sprites/canals.png 2 168 09 60 64 -1 -43
-1 sprites/canals.png 82 168 09 59 64 -31 -28
-1 sprites/canals.png 162 168 09 59 64 -31 -28
-1 sprites/canals.png 242 168 09 59 64 -31 -28
-1 sprites/canals.png 322 168 09 59 64 -31 -28
-1 sprites/canals.png 402 168 09 60 64 -1 -43
-1 sprites/canals.png 482 168 09 62 68 -61 -43
-1 sprites/canals.png 562 168 09 60 64 -61 -43
-1 sprites/canals.png 642 168 09 62 64 -1 -43
-1 sprites/canals.png 722 168 09 59 64 -31 -36
-1 sprites/canals.png 2 248 09 65 64 -31 -34
-1 sprites/canals.png 82 248 09 59 64 -31 -36
-1 sprites/canals.png 162 248 09 59 64 -31 -28
-1 sprites/canals.png 242 248 09 62 64 -1 -51
-1 sprites/canals.png 322 248 09 62 64 -61 -43
-1 sprites/canals.png 402 248 09 62 64 -61 -51
-1 sprites/canals.png 482 248 09 62 64 -1 -43
-1 sprites/canals.png 562 248 09 59 64 -31 -28
-1 sprites/canals.png 642 248 09 65 66 -33 -34
-1 sprites/canals.png 722 248 09 59 64 -31 -28
-1 sprites/canals.png 2 328 09 59 64 -31 -28
-1 sprites/canals.png 82 328 09 62 64 -1 -43
-1 sprites/canals.png 162 328 09 60 64 -61 -43
-1 sprites/canals.png 242 328 09 62 66 -61 -43
-1 sprites/canals.png 322 328 09 60 64 -1 -43
-1 sprites/canals.png 402 328 09 59 64 -31 -28
-1 sprites/canals.png 482 328 09 59 64 -31 -28
-1 sprites/canals.png 562 328 09 59 64 -31 -28
-1 sprites/canals.png 642 328 09 59 64 -31 -28
-1 sprites/canals.png 722 328 09 60 64 -1 -43
-1 sprites/canals.png 2 408 09 62 68 -61 -43
-1 sprites/canals.png 82 408 09 60 64 -61 -43
-1 sprites/canals.png 162 408 09 62 64 -1 -43
-1 sprites/canals.png 242 408 09 37 70 -31 -6
-1 sprites/canals.png 322 408 09 37 70 -31 0
-1 sprites/canals.png 402 408 09 37 70 -37 0
-1 sprites/canals.png 482 408 09 37 70 -37 -6
-1 sprites/canals.png 562 408 09 31 64 -31 0
-1 sprites/canals.png 642 408 09 31 64 -31 0
-1 sprites/canals.png 722 408 09 31 64 -31 0
-1 sprites/canals.png 2 488 09 37 64 -31 -6
-1 sprites/canals.png 82 488 09 31 64 -31 0
-1 sprites/canals.png 162 488 09 31 64 -31 0
-1 sprites/canals.png 242 488 09 31 64 -31 0
-1 sprites/canals.png 322 488 09 37 64 -31 -6
-1 sprites/canals.png 402 488 09 20 20 0 0
// Canal slopes
-1 sprites/canal_locks.png 66 8 09 23 64 -31 0
-1 sprites/canal_locks.png 146 8 09 39 64 -31 -8
-1 sprites/canal_locks.png 226 8 09 23 64 -31 0
-1 sprites/canal_locks.png 306 8 09 39 64 -31 -8
// Lock sides
-1 sprites/canal_locks.png 386 8 09 26 40 -7 -12
-1 sprites/canal_locks.png 434 8 09 33 42 -31 -13
-1 sprites/canal_locks.png 482 8 09 25 40 -31 -12
-1 sprites/canal_locks.png 530 8 09 34 42 -9 -14
-1 sprites/canal_locks.png 578 8 09 27 32 -1 -17
-1 sprites/canal_locks.png 626 8 09 35 32 -29 -17
-1 sprites/canal_locks.png 674 8 09 27 32 -29 -17
-1 sprites/canal_locks.png 722 8 09 35 32 -1 -17
-1 sprites/canal_locks.png 2 72 09 44 40 -7 -24
-1 sprites/canal_locks.png 50 72 09 33 42 -31 -13
-1 sprites/canal_locks.png 98 72 09 32 40 -31 -12
-1 sprites/canal_locks.png 146 72 09 31 41 -8 -12
-1 sprites/canal_locks.png 194 72 09 32 34 -1 -13
-1 sprites/canal_locks.png 242 72 09 34 38 -35 -17
-1 sprites/canal_locks.png 290 72 09 44 34 -29 -26
-1 sprites/canal_locks.png 338 72 09 34 38 -1 -17
-1 sprites/canal_locks.png 386 72 09 24 42 -9 -4
-1 sprites/canal_locks.png 434 72 09 24 43 -31 -4
-1 sprites/canal_locks.png 482 72 09 24 53 -31 -4
-1 sprites/canal_locks.png 546 72 09 37 43 -10 -16
-1 sprites/canal_locks.png 594 72 09 26 38 -1 -9
-1 sprites/canal_locks.png 642 72 09 37 34 -29 -18
-1 sprites/canal_locks.png 690 72 09 26 38 -35 -9
-1 sprites/canal_locks.png 738 72 09 23 32 -1 -5
-1 sprites/canal_locks.png 2 136 09 26 40 -7 -12
-1 sprites/canal_locks.png 50 136 09 33 42 -31 -13
-1 sprites/canal_locks.png 98 136 09 25 40 -31 -12
-1 sprites/canal_locks.png 146 136 09 34 42 -9 -14
-1 sprites/canal_locks.png 194 136 09 27 32 -1 -17
-1 sprites/canal_locks.png 242 136 09 35 32 -29 -17
-1 sprites/canal_locks.png 290 136 09 27 32 -29 -17
-1 sprites/canal_locks.png 338 136 09 35 32 -1 -17
-1 sprites/canal_locks.png 386 136 09 32 40 -7 -12
-1 sprites/canal_locks.png 434 136 09 33 42 -31 -13
-1 sprites/canal_locks.png 482 136 09 32 40 -31 -12
-1 sprites/canal_locks.png 530 136 09 31 41 -8 -12
-1 sprites/canal_locks.png 578 136 09 32 34 -1 -13
-1 sprites/canal_locks.png 626 136 09 34 38 -35 -17
-1 sprites/canal_locks.png 674 136 09 32 34 -29 -14
-1 sprites/canal_locks.png 722 136 09 34 38 -1 -17
-1 sprites/canal_locks.png 2 184 09 24 42 -9 -4
-1 sprites/canal_locks.png 50 184 09 24 43 -31 -4
-1 sprites/canal_locks.png 98 184 09 24 53 -31 -4
-1 sprites/canal_locks.png 162 184 09 25 43 -10 -4
-1 sprites/canal_locks.png 210 184 09 26 38 -1 -9
-1 sprites/canal_locks.png 258 184 09 25 34 -29 -6
-1 sprites/canal_locks.png 306 184 09 26 38 -35 -9
-1 sprites/canal_locks.png 354 184 09 23 32 -1 -5
// Canal edges (temperate)
-1 sprites/canals.png 30 10 09 22 45 -11 -1
-1 sprites/canals.png 94 10 09 21 41 -8 10
-1 sprites/canals.png 142 10 09 21 42 -31 10
-1 sprites/canals.png 190 10 09 22 43 -31 -1
-1 sprites/canals.png 238 10 09 22 22 11 4
-1 sprites/canals.png 270 10 09 16 24 -11 15
-1 sprites/canals.png 302 10 09 23 23 -31 4
-1 sprites/canals.png 334 10 09 18 24 -11 -1
-1 sprites/canals.png 366 10 09 11 12 21 10
-1 sprites/canals.png 398 10 09 10 19 -8 21
-1 sprites/canals.png 430 10 09 10 11 -31 10
-1 sprites/canals.png 446 10 09 16 24 -11 -6
// Canal icon
-1 sprites/canal_locks.png 50 232 09 20 20 0 0
// Differentiation for the climates starts here
// Canal edges (arctic snowy)
-1 * 4 01 05 01 \b12
-1 sprites/canals.png 30 40 09 22 45 -11 -1
-1 sprites/canals.png 94 40 09 21 41 -8 10
-1 sprites/canals.png 142 40 09 21 42 -31 10
-1 sprites/canals.png 190 40 09 22 43 -31 -1
-1 sprites/canals.png 238 40 09 22 22 11 4
-1 sprites/canals.png 270 40 09 16 24 -11 15
-1 sprites/canals.png 302 40 09 23 23 -31 4
-1 sprites/canals.png 334 40 09 18 24 -11 -1
-1 sprites/canals.png 366 40 09 11 12 21 10
-1 sprites/canals.png 398 40 09 10 19 -8 21
-1 sprites/canals.png 430 40 09 10 11 -31 10
-1 sprites/canals.png 446 40 09 16 24 -11 -6
-1 * 7 02 05 10 01 00 00 00
// Canal edges (arctic normal)
-1 * 4 01 05 01 \b12
-1 sprites/canals.png 30 70 09 22 45 -11 -1
-1 sprites/canals.png 94 70 09 21 41 -8 10
-1 sprites/canals.png 142 70 09 21 42 -31 10
-1 sprites/canals.png 190 70 09 22 43 -31 -1
-1 sprites/canals.png 238 70 09 22 22 11 4
-1 sprites/canals.png 270 70 09 16 24 -11 15
-1 sprites/canals.png 302 70 09 23 23 -31 4
-1 sprites/canals.png 334 70 09 18 24 -11 -1
-1 sprites/canals.png 366 70 09 11 12 21 10
-1 sprites/canals.png 398 70 09 10 19 -8 21
-1 sprites/canals.png 430 70 09 10 11 -31 10
-1 sprites/canals.png 446 70 09 16 24 -11 -6
-1 * 7 02 05 11 01 00 00 00
// Choose the right arctic canal edges
-1 * 14 02 05 12 81 81 00 FF 01 10 00 04 04 11 00
-1 * 6 07 83 01 \7! 01 01
-1 * 7 03 05 01 02 00 12 00
// Canal edges (tropic desert)
-1 * 4 01 05 01 \b12
-1 sprites/canals.png 30 100 09 22 45 -11 -1
-1 sprites/canals.png 94 100 09 21 41 -8 10
-1 sprites/canals.png 142 100 09 21 42 -31 10
-1 sprites/canals.png 190 100 09 22 43 -31 -1
-1 sprites/canals.png 238 100 09 22 22 11 4
-1 sprites/canals.png 270 100 09 16 24 -11 15
-1 sprites/canals.png 302 100 09 23 23 -31 4
-1 sprites/canals.png 334 100 09 18 24 -11 -1
-1 sprites/canals.png 366 100 09 11 12 21 10
-1 sprites/canals.png 398 100 09 10 19 -8 21
-1 sprites/canals.png 430 100 09 10 11 -31 10
-1 sprites/canals.png 446 100 09 16 24 -11 -6
-1 * 7 02 05 13 01 00 00 00
// Canal edges (tropic rainforest)
-1 * 4 01 05 01 \b12
-1 sprites/canals.png 30 130 09 22 45 -11 -1
-1 sprites/canals.png 94 130 09 21 41 -8 10
-1 sprites/canals.png 142 130 09 21 42 -31 10
-1 sprites/canals.png 190 130 09 22 43 -31 -1
-1 sprites/canals.png 238 130 09 22 22 11 4
-1 sprites/canals.png 270 130 09 16 24 -11 15
-1 sprites/canals.png 302 130 09 23 23 -31 4
-1 sprites/canals.png 334 130 09 18 24 -11 -1
-1 sprites/canals.png 366 130 09 11 12 21 10
-1 sprites/canals.png 398 130 09 10 19 -8 21
-1 sprites/canals.png 430 130 09 10 11 -31 10
-1 sprites/canals.png 446 130 09 16 24 -11 -6
-1 * 7 02 05 14 01 00 00 00
// Choose the right tropic canal edges
-1 * 14 02 05 15 81 81 00 FF 01 13 00 01 01 14 00
-1 * 6 07 83 01 \7! 02 01
-1 * 7 03 05 01 02 00 15 00
// Canal edges (toyland)
-1 * 4 01 05 01 \b12
-1 sprites/canals.png 30 160 09 22 45 -11 -1
-1 sprites/canals.png 94 160 09 21 41 -8 10
-1 sprites/canals.png 142 160 09 21 42 -31 10
-1 sprites/canals.png 190 160 09 22 43 -31 -1
-1 sprites/canals.png 238 160 09 22 22 11 4
-1 sprites/canals.png 270 160 09 16 24 -11 15
-1 sprites/canals.png 302 160 09 23 23 -31 4
-1 sprites/canals.png 334 160 09 18 24 -11 -1
-1 sprites/canals.png 366 160 09 11 12 21 10
-1 sprites/canals.png 398 160 09 10 19 -8 21
-1 sprites/canals.png 430 160 09 10 11 -31 10
-1 sprites/canals.png 446 160 09 16 24 -11 -6
-1 * 7 02 05 16 01 00 00 00
-1 * 6 07 83 01 \7! 03 01
-1 * 7 03 05 01 02 00 16 00

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -6,15 +6,17 @@
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Fixing (alignment) bugs in the orignal graphics. By Addi."
-1 * 6 07 83 01 \7= 03 69
// Different graphics for same wood truck
-1 * 0 0C "Fix bugs in the original graphics. By Addi and PaulC."
// Non-toyland specific
-1 * 6 07 83 01 \7= 03 3D
// Fix missing wheels on the wood trucks
-1 * 14 0A 04 01 87 0C 01 89 0C 01 07 0E 01 09 0E
-1 sprites/fix_graphics.png 82 8 09 16 22 -6 -7
-1 sprites/fix_graphics.png 114 8 09 16 22 -14 -7
-1 sprites/fix_graphics.png 146 8 09 16 22 -6 -7
-1 sprites/fix_graphics.png 178 8 09 16 22 -14 -7
// Different graphics for lots of trucks
// Show correct graphics for various 3rd generation trucks
-1 * 5 0A 01 28 C4 0D
-1 sprites/fix_graphics.png 226 8 01 18 8 -3 -10
-1 sprites/fix_graphics.png 242 8 09 16 20 -14 -7
@@ -56,34 +58,70 @@
-1 sprites/fix_graphics.png 610 40 09 16 20 -14 -7
-1 sprites/fix_graphics.png 642 40 01 12 28 -14 -6
-1 sprites/fix_graphics.png 690 40 09 16 20 -6 -7
// Different graphics for same truck
// Fix clipping on the 2nd generation paper truck
-1 * 14 0A 04 01 9D 0C 01 9F 0C 01 A1 0C 01 A3 0C
-1 sprites/fix_graphics.png 738 40 09 16 22 -14 -7
-1 sprites/fix_graphics.png 770 40 09 16 22 -6 -7
-1 sprites/fix_graphics.png 2 72 09 16 22 -14 -7
-1 sprites/fix_graphics.png 34 72 09 16 22 -6 -7
// Different graphics for same paper truck
// Fix clipping on the 1st generation paper truck
-1 * 14 0A 04 01 5D 0D 01 5F 0D 01 61 0D 01 63 0D
-1 sprites/fix_graphics.png 82 72 09 16 22 -14 -7
-1 sprites/fix_graphics.png 114 72 09 17 22 -5 -7
-1 sprites/fix_graphics.png 146 72 09 17 22 -14 -8
-1 sprites/fix_graphics.png 178 72 09 16 22 -6 -7
// Different graphics for same paper truck (truck #2)
// Fix clipping on the 3rd generation paper truck
-1 * 14 0A 04 01 1D 0E 01 1F 0E 01 21 0E 01 23 0E
-1 sprites/fix_graphics.png 226 72 09 16 22 -14 -7
-1 sprites/fix_graphics.png 258 72 09 16 22 -6 -7
-1 sprites/fix_graphics.png 290 72 09 16 22 -14 -7
-1 sprites/fix_graphics.png 322 72 09 16 22 -6 -7
// Misaligned monorail bridge heads
// Fix clipping on the toyland toy van in the German DOS graphics
-1 * 6 07 83 01 \7! 03 02
-1 * 5 0A 01 01 5D 0C
-1 sprites/fix_graphics.png 18 296 09 16 20 -14 -7
// Non-toyland specific
-1 * 6 07 83 01 \7= 03 08
// Fix offsets for the monorail bridge heads
-1 * 8 0A 02 01 EA 10 02 EC 10
-1 sprites/fix_graphics.png 370 72 09 35 48 -23 -7
-1 sprites/fix_graphics.png 434 72 09 35 48 -23 -7
-1 sprites/fix_graphics.png 498 72 09 21 49 -24 3
// Improperly cut cinema
// Fix offsets for the maglev bridge heads
-1 * 8 0A 02 01 12 11 02 14 11
-1 sprites/fix_graphics.png 322 486 09 35 48 -23 -7
-1 sprites/fix_graphics.png 386 486 09 35 48 -23 -7
-1 sprites/fix_graphics.png 450 486 09 21 49 -24 3
// Toyland specific
-1 * 6 07 83 01 \7! 03 0F
// Fix offsets for the toyland monorail bridge heads
-1 * 8 0A 02 01 EA 10 02 EC 10
-1 sprites/fix_graphics.png 610 630 09 35 48 -23 -7
-1 sprites/fix_graphics.png 674 630 09 35 48 -23 -7
-1 sprites/fix_graphics.png 738 630 09 21 49 -24 3
// Fix offsets for the toyland maglev bridge heads
-1 * 8 0A 02 01 12 11 02 14 11
-1 sprites/fix_graphics.png 18 678 09 35 48 -23 -7
-1 sprites/fix_graphics.png 82 678 09 35 48 -23 -7
-1 sprites/fix_graphics.png 146 678 09 21 49 -24 3
// Fix colours for toyland maglev junction overlays
-1 * 5 0A 01 06 91 04
-1 sprites/fix_graphics.png 338 630 09 16 30 -14 8
-1 sprites/fix_graphics.png 386 630 09 16 30 -14 8
-1 sprites/fix_graphics.png 434 630 01 7 40 -19 4
-1 sprites/fix_graphics.png 482 630 01 7 40 -19 20
-1 sprites/fix_graphics.png 530 630 01 19 12 11 6
-1 sprites/fix_graphics.png 562 630 01 19 12 -21 6
// Fix transparency of cinema
-1 * 5 0A 01 02 34 11
-1 sprites/fix_graphics.png 578 72 09 31 64 -31 0
-1 sprites/fix_graphics.png 658 72 09 47 50 -28 -20
// Misaligned undergrounds for temperate monorail
// Fix misaligned undergrounds for temperate monorail
-1 * 6 07 83 01 \7! 00 06
-1 * 5 0A 01 05 4C 04
-1 sprites/fix_graphics.png 2 136 09 31 64 -31 0
@@ -91,7 +129,8 @@
-1 sprites/fix_graphics.png 162 136 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 136 09 31 64 -31 0
-1 sprites/fix_graphics.png 322 136 09 31 64 -31 0
// Misaligned undergrounds for arctic monorail
// Fix misaligned undergrounds for arctic monorail
-1 * 6 07 83 01 \7! 01 06
-1 * 5 0A 01 05 4C 04
-1 sprites/fix_graphics.png 434 136 09 31 64 -31 0
@@ -99,7 +138,8 @@
-1 sprites/fix_graphics.png 594 136 09 31 64 -31 0
-1 sprites/fix_graphics.png 674 136 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 184 09 31 64 -31 0
// Misaligned undergrounds for tropical/desert monorail/maglev
// Fix misaligned undergrounds for tropical/desert monorail/maglev
-1 * 6 07 83 01 \7! 02 10
-1 * 11 0A 03 05 4C 04 05 66 04 05 B8 04
-1 sprites/fix_graphics.png 114 184 09 31 64 -31 0
@@ -117,31 +157,29 @@
-1 sprites/fix_graphics.png 322 232 09 31 64 -31 0
-1 sprites/fix_graphics.png 402 232 09 31 64 -31 0
-1 sprites/fix_graphics.png 482 232 09 31 64 -31 0
// Misaligned monorail snowed X crossing
// Fix misaligned X crossing for snow-covered monorail
-1 * 6 07 83 01 \7! 01 02
-1 * 5 0A 01 01 65 04
-1 sprites/fix_graphics.png 594 232 09 31 64 -31 0
// Floating tropical house
-1 * 6 07 83 01 \7! 02 02
// Fix offsets for the tropical house
-1 * 5 0A 01 01 FF 11
-1 sprites/fix_graphics.png 706 232 09 47 64 -31 -16
// Clipped vehicle in the original German DOS graphics
-1 * 6 07 83 01 \7! 03 02
-1 * 5 0A 01 01 5D 0C
-1 sprites/fix_graphics.png 18 296 09 16 20 -14 -7
// Graphics metadata pixel higher than actual graphics
-1 * 6 12 01 00 01 AC E2
-1 sprites/fix_graphics.png 66 296 01 10 9 0 0
// Non-toyland specific
-1 * 6 07 83 01 \7= 03 0A
// graphics for the tubular bridge pillars had incorrect offsets
// Fix offsets for the tubular bridge pillars
-1 * 5 0A 01 04 05 0A
-1 sprites/fix_graphics.png 98 296 09 9 4 2 -1
-1 sprites/fix_graphics.png 114 296 09 9 4 2 -1
-1 sprites/fix_graphics.png 130 296 09 9 4 -4 0
-1 sprites/fix_graphics.png 146 296 09 9 4 -4 0
// graphics for the cantilever bridge pillars had incorrect offsets
// Fix offsets for the cantilever bridge pillars
-1 * 5 0A 01 04 DD 09
-1 sprites/fix_graphics.png 178 296 09 11 10 2 -3
-1 sprites/fix_graphics.png 194 296 09 12 10 2 -2
@@ -150,13 +188,13 @@
// Toyland specific
-1 * 6 07 83 01 \7! 03 0A
// Graphics for the toyland tubular bridge pillars had incorrect offsets
// Fix offsets for the toyland tubular bridge pillars
-1 * 5 0A 01 04 05 0A
-1 sprites/fix_graphics.png 248 296 09 9 4 2 -1
-1 sprites/fix_graphics.png 264 296 09 9 4 2 -1
-1 sprites/fix_graphics.png 280 296 09 9 4 -4 0
-1 sprites/fix_graphics.png 296 296 09 9 4 -4 0
// Graphics for the toyland cantilever bridge pillars had incorrect offsets
// Fix offsets for the toyland cantilever bridge pillars
-1 * 5 0A 01 04 DD 09
-1 sprites/fix_graphics.png 328 296 09 11 10 2 -3
-1 sprites/fix_graphics.png 344 296 09 12 10 2 -2
@@ -168,7 +206,6 @@
// this does not apply there;
// Pillars are changed for all climates further up
-1 * 6 07 83 01 \7= 03 \b22
// Main tubular bridge sprites
-1 * 5 0A 01 \b6 \w2559
-1 sprites/fix_graphics.png 2 330 09 40 32 -30 -26
@@ -198,3 +235,142 @@
// GUI sprite
-1 * 5 0A 01 01 \w2600
-1 sprites/fix_graphics.png 433 298 09 15 40 0 5
// Remove road markings from tropical rail crossings
-1 * 6 07 83 01 \7! 02 19
-1 * 14 0A 04 04 5A 05 08 62 05 08 6E 05 04 7A 05
-1 sprites/fix_graphics.png 2 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 162 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 322 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 402 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 482 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 562 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 642 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 722 390 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 162 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 322 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 402 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 482 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 562 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 642 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 722 438 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 486 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 486 09 31 64 -31 0
-1 sprites/fix_graphics.png 162 486 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 486 09 31 64 -31 0
// Fix transparency of steel mill
-1 * 5 0A 01 06 46 08
-1 sprites/fix_graphics.png 162 870 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 870 09 51 64 -31 -21
-1 sprites/fix_graphics.png 322 870 09 31 64 -31 0
-1 sprites/fix_graphics.png 402 870 09 58 49 -29 -29
-1 sprites/fix_graphics.png 466 870 09 31 64 -31 0
-1 sprites/fix_graphics.png 546 870 09 42 45 -18 -12
-1 * 5 0A 01 0A 4D 08
-1 sprites/fix_graphics.png 610 486 09 31 64 -31 0
-1 sprites/fix_graphics.png 690 486 09 61 59 -31 -33
-1 sprites/fix_graphics.png 2 566 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 566 09 50 51 -25 -21
-1 sprites/fix_graphics.png 606 870 09 31 64 -31 0
-1 sprites/fix_graphics.png 686 870 09 46 64 -31 -16
-1 sprites/fix_graphics.png 2 945 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 945 09 51 50 -29 -21
-1 sprites/fix_graphics.png 146 945 09 31 64 -31 0
-1 sprites/fix_graphics.png 226 945 09 42 47 -18 -12
-1 * 5 0A 01 04 58 08
-1 sprites/fix_graphics.png 162 566 09 31 64 -31 0
-1 sprites/fix_graphics.png 242 566 09 52 59 -31 -24
-1 sprites/fix_graphics.png 306 566 09 31 64 -31 0
-1 sprites/fix_graphics.png 386 566 09 44 51 -25 -15
// Fix transparency of oil well
-1 * 5 0A 01 07 7D 08
-1 sprites/fix_graphics.png 2 630 09 31 64 -31 0
-1 sprites/fix_graphics.png 482 566 09 50 31 -11 -28
-1 sprites/fix_graphics.png 530 566 09 47 31 -11 -25
-1 sprites/fix_graphics.png 578 566 09 47 31 -11 -25
-1 sprites/fix_graphics.png 626 566 09 47 31 -11 -25
-1 sprites/fix_graphics.png 674 566 09 49 31 -11 -27
-1 sprites/fix_graphics.png 722 566 09 52 31 -11 -30
-1 * 6 07 83 01 \7! 01 02
-1 * 5 0A 01 01 7D 08
-1 sprites/fix_graphics.png 114 630 09 31 64 -31 0
-1 * 6 07 83 01 \7! 02 02
-1 * 5 0A 01 01 7D 08
-1 sprites/fix_graphics.png 226 630 09 31 64 -31 0
// Fix city airport's grass for temperate
-1 * 6 07 83 01 \7! 00 0A
-1 * 5 0A 01 09 4C 0A
-1 sprites/fix_graphics.png 242 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 322 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 402 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 482 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 562 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 642 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 722 678 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 726 09 31 64 -31 0
// Fix city airport's grass for arctic
-1 * 6 07 83 01 \7! 01 0A
-1 * 5 0A 01 09 4C 0A
-1 sprites/fix_graphics.png 194 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 274 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 354 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 434 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 514 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 594 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 674 726 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 774 09 31 64 -31 0
// Fix city airport's grass for tropical
-1 * 6 07 83 01 \7! 02 0A
-1 * 5 0A 01 09 4C 0A
-1 sprites/fix_graphics.png 194 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 274 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 354 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 434 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 514 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 594 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 674 774 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 822 09 31 64 -31 0
// Fix city airport's grass for toyland
-1 * 6 07 83 01 \7! 03 0A
-1 * 5 0A 01 09 4C 0A
-1 sprites/fix_graphics.png 194 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 274 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 354 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 434 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 514 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 594 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 674 822 09 31 64 -31 0
-1 sprites/fix_graphics.png 2 870 09 31 64 -31 0
-1 sprites/fix_graphics.png 82 870 09 31 64 -31 0
// Wrong, non-translated colours in arctic buildings
-1 * 8 0A 02 01 1F 06 01 DB 11
-1 sprites/fix_graphics.png 305 945 09 29 59 -29 -12
-1 sprites/fix_graphics.png 369 945 09 29 59 -29 -12
-1 * 8 0A 02 01 76 11 01 E6 11
-1 sprites/fix_graphics.png 449 945 09 69 64 -31 -38
-1 sprites/fix_graphics.png 529 945 09 69 64 -31 -38
-1 * 8 0A 02 02 7E 11 01 E1 11
-1 sprites/fix_graphics.png 625 945 03 75 54 -25 -47
-1 sprites/fix_graphics.png 2 1037 09 75 54 -25 -47
-1 sprites/fix_graphics.png 66 1037 09 75 54 -25 -47
// Fix buoy in-game; don't show black outline
-1 * 4 01 05 01 \b1
-1 sprites/fix_graphics.png 575 490 09 11 7 7 4
-1 * 7 02 05 17 01 00 00 00
-1 * 7 03 05 01 08 00 17 00

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 76 KiB

240
media/extra_grf/mono.nfo Normal file
View File

@@ -0,0 +1,240 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Monospaced characters (Liberation Mono)"
-1 * 0 12 01 03 60 20 00
-1 sprites/mono.png 10 30 01 13 7 0 0
-1 sprites/mono.png 25 30 01 13 7 0 0
-1 sprites/mono.png 40 30 01 13 7 0 0
-1 sprites/mono.png 55 30 01 13 7 0 0
-1 sprites/mono.png 70 30 01 13 7 0 0
-1 sprites/mono.png 85 30 01 13 7 0 0
-1 sprites/mono.png 100 30 01 13 7 0 0
-1 sprites/mono.png 115 30 01 13 7 0 0
-1 sprites/mono.png 130 30 01 13 7 0 0
-1 sprites/mono.png 145 30 01 13 7 0 0
-1 sprites/mono.png 160 30 01 13 7 0 0
-1 sprites/mono.png 175 30 01 13 7 0 0
-1 sprites/mono.png 190 30 01 13 7 0 0
-1 sprites/mono.png 205 30 01 13 7 0 0
-1 sprites/mono.png 220 30 01 13 7 0 0
-1 sprites/mono.png 235 30 01 13 7 0 0
-1 sprites/mono.png 250 30 01 13 7 0 0
-1 sprites/mono.png 265 30 01 13 7 0 0
-1 sprites/mono.png 280 30 01 13 7 0 0
-1 sprites/mono.png 295 30 01 13 7 0 0
-1 sprites/mono.png 310 30 01 13 7 0 0
-1 sprites/mono.png 325 30 01 13 7 0 0
-1 sprites/mono.png 340 30 01 13 7 0 0
-1 sprites/mono.png 355 30 01 13 7 0 0
-1 sprites/mono.png 370 30 01 13 7 0 0
-1 sprites/mono.png 385 30 01 13 7 0 0
-1 sprites/mono.png 400 30 01 13 7 0 0
-1 sprites/mono.png 415 30 01 13 7 0 0
-1 sprites/mono.png 430 30 01 13 7 0 0
-1 sprites/mono.png 445 30 01 13 7 0 0
-1 sprites/mono.png 460 30 01 13 7 0 0
-1 sprites/mono.png 475 30 01 13 7 0 0
-1 sprites/mono.png 10 50 01 13 7 0 0
-1 sprites/mono.png 25 50 01 13 7 0 0
-1 sprites/mono.png 40 50 01 13 7 0 0
-1 sprites/mono.png 55 50 01 13 7 0 0
-1 sprites/mono.png 70 50 01 13 7 0 0
-1 sprites/mono.png 85 50 01 13 7 0 0
-1 sprites/mono.png 100 50 01 13 7 0 0
-1 sprites/mono.png 115 50 01 13 7 0 0
-1 sprites/mono.png 130 50 01 13 7 0 0
-1 sprites/mono.png 145 50 01 13 7 0 0
-1 sprites/mono.png 160 50 01 13 7 0 0
-1 sprites/mono.png 175 50 01 13 7 0 0
-1 sprites/mono.png 190 50 01 13 7 0 0
-1 sprites/mono.png 205 50 01 13 7 0 0
-1 sprites/mono.png 220 50 01 13 7 0 0
-1 sprites/mono.png 235 50 01 13 7 0 0
-1 sprites/mono.png 250 50 01 13 7 0 0
-1 sprites/mono.png 265 50 01 13 7 0 0
-1 sprites/mono.png 280 50 01 13 7 0 0
-1 sprites/mono.png 295 50 01 13 7 0 0
-1 sprites/mono.png 310 50 01 13 7 0 0
-1 sprites/mono.png 325 50 01 13 7 0 0
-1 sprites/mono.png 340 50 01 13 7 0 0
-1 sprites/mono.png 355 50 01 13 7 0 0
-1 sprites/mono.png 370 50 01 13 7 0 0
-1 sprites/mono.png 385 50 01 13 7 0 0
-1 sprites/mono.png 400 50 01 13 7 0 0
-1 sprites/mono.png 415 50 01 13 7 0 0
-1 sprites/mono.png 430 50 01 13 7 0 0
-1 sprites/mono.png 445 50 01 13 7 0 0
-1 sprites/mono.png 460 50 01 13 7 0 0
-1 sprites/mono.png 475 50 01 13 7 0 0
-1 sprites/mono.png 10 70 01 13 7 0 0
-1 sprites/mono.png 25 70 01 13 7 0 0
-1 sprites/mono.png 40 70 01 13 7 0 0
-1 sprites/mono.png 55 70 01 13 7 0 0
-1 sprites/mono.png 70 70 01 13 7 0 0
-1 sprites/mono.png 85 70 01 13 7 0 0
-1 sprites/mono.png 100 70 01 13 7 0 0
-1 sprites/mono.png 115 70 01 13 7 0 0
-1 sprites/mono.png 130 70 01 13 7 0 0
-1 sprites/mono.png 145 70 01 13 7 0 0
-1 sprites/mono.png 160 70 01 13 7 0 0
-1 sprites/mono.png 175 70 01 13 7 0 0
-1 sprites/mono.png 190 70 01 13 7 0 0
-1 sprites/mono.png 205 70 01 13 7 0 0
-1 sprites/mono.png 220 70 01 13 7 0 0
-1 sprites/mono.png 235 70 01 13 7 0 0
-1 sprites/mono.png 250 70 01 13 7 0 0
-1 sprites/mono.png 265 70 01 13 7 0 0
-1 sprites/mono.png 280 70 01 13 7 0 0
-1 sprites/mono.png 295 70 01 13 7 0 0
-1 sprites/mono.png 310 70 01 13 7 0 0
-1 sprites/mono.png 325 70 01 13 7 0 0
-1 sprites/mono.png 340 70 01 13 7 0 0
-1 sprites/mono.png 355 70 01 13 7 0 0
-1 sprites/mono.png 370 70 01 13 7 0 0
-1 sprites/mono.png 385 70 01 13 7 0 0
-1 sprites/mono.png 400 70 01 13 7 0 0
-1 sprites/mono.png 415 70 01 13 7 0 0
-1 sprites/mono.png 430 70 01 13 7 0 0
-1 sprites/mono.png 445 70 01 13 7 0 0
-1 sprites/mono.png 460 70 01 13 7 0 0
-1 sprites/mono.png 475 70 01 13 7 0 0
-1 * 0 12 01 03 80 80 00
-1 sprites/mono.png 10 90 01 13 7 0 0
-1 sprites/mono.png 25 90 01 13 7 0 0
-1 sprites/mono.png 40 90 01 13 7 0 0
-1 sprites/mono.png 55 90 01 13 7 0 0
-1 sprites/mono.png 70 90 01 13 7 0 0
-1 sprites/mono.png 85 90 01 13 7 0 0
-1 sprites/mono.png 100 90 01 13 7 0 0
-1 sprites/mono.png 115 90 01 13 7 0 0
-1 sprites/mono.png 130 90 01 13 7 0 0
-1 sprites/mono.png 145 90 01 13 7 0 0
-1 sprites/mono.png 160 90 01 13 7 0 0
-1 sprites/mono.png 175 90 01 13 7 0 0
-1 sprites/mono.png 190 90 01 13 7 0 0
-1 sprites/mono.png 205 90 01 13 7 0 0
-1 sprites/mono.png 220 90 01 13 7 0 0
-1 sprites/mono.png 235 90 01 13 7 0 0
-1 sprites/mono.png 250 90 01 13 7 0 0
-1 sprites/mono.png 265 90 01 13 7 0 0
-1 sprites/mono.png 280 90 01 13 7 0 0
-1 sprites/mono.png 295 90 01 13 7 0 0
-1 sprites/mono.png 310 90 01 13 7 0 0
-1 sprites/mono.png 325 90 01 13 7 0 0
-1 sprites/mono.png 340 90 01 13 7 0 0
-1 sprites/mono.png 355 90 01 13 7 0 0
-1 sprites/mono.png 370 90 01 13 7 0 0
-1 sprites/mono.png 385 90 01 13 7 0 0
-1 sprites/mono.png 400 90 01 13 7 0 0
-1 sprites/mono.png 415 90 01 13 7 0 0
-1 sprites/mono.png 430 90 01 13 7 0 0
-1 sprites/mono.png 445 90 01 13 7 0 0
-1 sprites/mono.png 460 90 01 13 7 0 0
-1 sprites/mono.png 475 90 01 13 7 0 0
-1 sprites/mono.png 10 110 01 13 7 0 0
-1 sprites/mono.png 25 110 01 13 7 0 0
-1 sprites/mono.png 40 110 01 13 7 0 0
-1 sprites/mono.png 55 110 01 13 7 0 0
-1 sprites/mono.png 70 110 01 13 7 0 0
-1 sprites/mono.png 85 110 01 13 7 0 0
-1 sprites/mono.png 100 110 01 13 7 0 0
-1 sprites/mono.png 115 110 01 13 7 0 0
-1 sprites/mono.png 130 110 01 13 7 0 0
-1 sprites/mono.png 145 110 01 13 7 0 0
-1 sprites/mono.png 160 110 01 13 7 0 0
-1 sprites/mono.png 175 110 01 13 7 0 0
-1 sprites/mono.png 190 110 01 13 7 0 0
-1 sprites/mono.png 205 110 01 13 7 0 0
-1 sprites/mono.png 220 110 01 13 7 0 0
-1 sprites/mono.png 235 110 01 13 7 0 0
-1 sprites/mono.png 250 110 01 13 7 0 0
-1 sprites/mono.png 265 110 01 13 7 0 0
-1 sprites/mono.png 280 110 01 13 7 0 0
-1 sprites/mono.png 295 110 01 13 7 0 0
-1 sprites/mono.png 310 110 01 13 7 0 0
-1 sprites/mono.png 325 110 01 13 7 0 0
-1 sprites/mono.png 340 110 01 13 7 0 0
-1 sprites/mono.png 355 110 01 13 7 0 0
-1 sprites/mono.png 370 110 01 13 7 0 0
-1 sprites/mono.png 385 110 01 13 7 0 0
-1 sprites/mono.png 400 110 01 13 7 0 0
-1 sprites/mono.png 415 110 01 13 7 0 0
-1 sprites/mono.png 430 110 01 13 7 0 0
-1 sprites/mono.png 445 110 01 13 7 0 0
-1 sprites/mono.png 460 110 01 13 7 0 0
-1 sprites/mono.png 475 110 01 13 7 0 0
-1 sprites/mono.png 10 130 01 13 7 0 0
-1 sprites/mono.png 25 130 01 13 7 0 0
-1 sprites/mono.png 40 130 01 13 7 0 0
-1 sprites/mono.png 55 130 01 13 7 0 0
-1 sprites/mono.png 70 130 01 13 7 0 0
-1 sprites/mono.png 85 130 01 13 7 0 0
-1 sprites/mono.png 100 130 01 13 7 0 0
-1 sprites/mono.png 115 130 01 13 7 0 0
-1 sprites/mono.png 130 130 01 13 7 0 0
-1 sprites/mono.png 145 130 01 13 7 0 0
-1 sprites/mono.png 160 130 01 13 7 0 0
-1 sprites/mono.png 175 130 01 13 7 0 0
-1 sprites/mono.png 190 130 01 13 7 0 0
-1 sprites/mono.png 205 130 01 13 7 0 0
-1 sprites/mono.png 220 130 01 13 7 0 0
-1 sprites/mono.png 235 130 01 13 7 0 0
-1 sprites/mono.png 250 130 01 13 7 0 0
-1 sprites/mono.png 265 130 01 13 7 0 0
-1 sprites/mono.png 280 130 01 13 7 0 0
-1 sprites/mono.png 295 130 01 13 7 0 0
-1 sprites/mono.png 310 130 01 13 7 0 0
-1 sprites/mono.png 325 130 01 13 7 0 0
-1 sprites/mono.png 340 130 01 13 7 0 0
-1 sprites/mono.png 355 130 01 13 7 0 0
-1 sprites/mono.png 370 130 01 13 7 0 0
-1 sprites/mono.png 385 130 01 13 7 0 0
-1 sprites/mono.png 400 130 01 13 7 0 0
-1 sprites/mono.png 415 130 01 13 7 0 0
-1 sprites/mono.png 430 130 01 13 7 0 0
-1 sprites/mono.png 445 130 01 13 7 0 0
-1 sprites/mono.png 460 130 01 13 7 0 0
-1 sprites/mono.png 475 130 01 13 7 0 0
-1 sprites/mono.png 10 150 01 13 7 0 0
-1 sprites/mono.png 25 150 01 13 7 0 0
-1 sprites/mono.png 40 150 01 13 7 0 0
-1 sprites/mono.png 55 150 01 13 7 0 0
-1 sprites/mono.png 70 150 01 13 7 0 0
-1 sprites/mono.png 85 150 01 13 7 0 0
-1 sprites/mono.png 100 150 01 13 7 0 0
-1 sprites/mono.png 115 150 01 13 7 0 0
-1 sprites/mono.png 130 150 01 13 7 0 0
-1 sprites/mono.png 145 150 01 13 7 0 0
-1 sprites/mono.png 160 150 01 13 7 0 0
-1 sprites/mono.png 175 150 01 13 7 0 0
-1 sprites/mono.png 190 150 01 13 7 0 0
-1 sprites/mono.png 205 150 01 13 7 0 0
-1 sprites/mono.png 220 150 01 13 7 0 0
-1 sprites/mono.png 235 150 01 13 7 0 0
-1 sprites/mono.png 250 150 01 13 7 0 0
-1 sprites/mono.png 265 150 01 13 7 0 0
-1 sprites/mono.png 280 150 01 13 7 0 0
-1 sprites/mono.png 295 150 01 13 7 0 0
-1 sprites/mono.png 310 150 01 13 7 0 0
-1 sprites/mono.png 325 150 01 13 7 0 0
-1 sprites/mono.png 340 150 01 13 7 0 0
-1 sprites/mono.png 355 150 01 13 7 0 0
-1 sprites/mono.png 370 150 01 13 7 0 0
-1 sprites/mono.png 385 150 01 13 7 0 0
-1 sprites/mono.png 400 150 01 13 7 0 0
-1 sprites/mono.png 415 150 01 13 7 0 0
-1 sprites/mono.png 430 150 01 13 7 0 0
-1 sprites/mono.png 445 150 01 13 7 0 0
-1 sprites/mono.png 460 150 01 13 7 0 0
-1 sprites/mono.png 475 150 01 13 7 0 0
//U+0178 Latin Capital Letter Y With Diaeresis (only needed for mono as it is in the base set, but relocated by some code)
-1 * 0 12 01 03 01 78 01
-1 sprites/mono.png 370 230 01 13 7 0 0

BIN
media/extra_grf/mono.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -67,7 +67,7 @@
00
// GRF ID, must start with FF so it gets ignored
-1 * 0 08 07 FF "OTT"
-1 * 0 08 08 FF "OTT"
// Name of the GRF
"OpenTTD's base graphics " 00
@@ -80,6 +80,7 @@
"David Dallaston: tram tracks" 0D
"Jonathan G. Rennison: aqueducts" 0D
"Bilbo, Jasper Vries: font" 0D
"Andrew Parkhouse: rivers" 0D
"OpenTTD developers: other graphics" 00
//
@@ -102,5 +103,10 @@
#include "openttdgui.nfo"
#include "airport_preview.nfo"
#include "chars.nfo"
#include "overrides.nfo"
#include "mono.nfo"
#include "fix_graphics.nfo"
#include "rivers/rapids.nfo"
#include "rivers/temperate.nfo"
#include "rivers/arctic.nfo"
#include "rivers/tropic.nfo"
#include "rivers/toyland.nfo"

View File

@@ -13,7 +13,7 @@
// -- End of NFO Renum 'settings' --
//
-1 * 0 0C "OpenTTD GUI graphics"
-1 * 3 05 15 A0
-1 * 3 05 15 A2
-1 sprites/openttdgui.png 66 8 09 31 64 -31 7
-1 sprites/openttdgui.png 146 8 09 31 64 -31 7
-1 sprites/openttdgui.png 226 8 09 31 64 -31 7
@@ -174,6 +174,8 @@
-1 sprites/openttdgui.png 162 440 01 8 8 0 0
-1 sprites/openttdgui.png 178 440 01 10 8 0 0
-1 sprites/openttdgui.png 194 440 09 10 13 0 -2
-1 sprites/openttdgui.png 215 440 09 10 9 0 0
-1 sprites/openttdgui.png 232 440 09 10 8 0 0
// -- NFO Renum 'settings' --
// Undo disabling the warning

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -1,13 +0,0 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "NewGRF overrides"
-1 * 30 00 08 01 03 00 11
44 44 22 02 44 44 01 11 // UKRS addons modifies UKRS
6D 62 04 02 6D 62 04 01 // DBSetXL ECS extension modifies DBSetXL
4D 65 6f 20 4D 65 6F 17 // LV4cut modifies LV4

View File

@@ -0,0 +1,282 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Arctic river graphics by andythenorth (Andrew Parkhouse)"
-1 * 4 01 05 01 3C
-1 sprites/arctic_snowy.png 10 10 09 19 38 -5 0
-1 sprites/arctic_snowy.png 58 10 09 18 38 -5 13
-1 sprites/arctic_snowy.png 106 10 09 18 38 -31 13
-1 sprites/arctic_snowy.png 154 10 09 19 38 -31 0
-1 sprites/arctic_snowy.png 202 10 09 9 19 14 11
-1 sprites/arctic_snowy.png 234 10 09 9 16 -7 22
-1 sprites/arctic_snowy.png 266 10 09 9 19 -31 11
-1 sprites/arctic_snowy.png 298 10 09 9 16 -7 0
-1 sprites/arctic_snowy.png 330 10 09 6 8 25 13
-1 sprites/arctic_snowy.png 346 10 09 4 12 -5 27
-1 sprites/arctic_snowy.png 364 10 09 6 8 -31 13
-1 sprites/arctic_snowy.png 380 10 09 5 12 -5 0
-1 sprites/arctic_snowy.png 10 40 09 11 40 -7 0
-1 sprites/arctic_snowy.png 58 40 09 18 39 -6 5
-1 sprites/arctic_snowy.png 106 40 09 11 38 -31 12
-1 sprites/arctic_snowy.png 154 40 09 18 39 -31 0
-1 sprites/arctic_snowy.png 202 40 09 6 20 13 5
-1 sprites/arctic_snowy.png 234 40 09 7 13 -6 16
-1 sprites/arctic_snowy.png 266 40 09 6 20 -31 12
-1 sprites/arctic_snowy.png 298 40 09 7 13 -5 0
-1 sprites/arctic_snowy.png 330 40 09 5 8 25 6
-1 sprites/arctic_snowy.png 346 40 09 3 12 -5 20
-1 sprites/arctic_snowy.png 364 40 09 4 8 -31 13
-1 sprites/arctic_snowy.png 380 40 09 4 15 -7 0
-1 sprites/arctic_snowy.png 10 70 09 20 38 -5 -8
-1 sprites/arctic_snowy.png 58 70 09 26 38 -5 5
-1 sprites/arctic_snowy.png 106 70 09 20 37 -31 11
-1 sprites/arctic_snowy.png 154 70 09 27 38 -31 -8
-1 sprites/arctic_snowy.png 202 70 09 9 16 17 3
-1 sprites/arctic_snowy.png 234 70 09 9 15 -7 22
-1 sprites/arctic_snowy.png 266 70 09 9 16 -31 11
-1 sprites/arctic_snowy.png 298 70 09 9 15 -6 -8
-1 sprites/arctic_snowy.png 330 70 09 7 8 25 5
-1 sprites/arctic_snowy.png 346 70 09 5 10 -4 27
-1 sprites/arctic_snowy.png 364 70 09 7 8 -31 11
-1 sprites/arctic_snowy.png 380 70 09 6 12 -5 -8
-1 sprites/arctic_snowy.png 10 100 09 18 39 -6 0
-1 sprites/arctic_snowy.png 58 100 09 11 38 -5 12
-1 sprites/arctic_snowy.png 106 100 09 18 39 -31 5
-1 sprites/arctic_snowy.png 154 100 09 11 40 -32 0
-1 sprites/arctic_snowy.png 202 100 09 6 20 13 12
-1 sprites/arctic_snowy.png 234 100 09 7 13 -5 16
-1 sprites/arctic_snowy.png 266 100 09 6 20 -31 5
-1 sprites/arctic_snowy.png 298 100 09 7 13 -6 0
-1 sprites/arctic_snowy.png 330 100 09 4 8 26 13
-1 sprites/arctic_snowy.png 346 100 09 3 12 -5 20
-1 sprites/arctic_snowy.png 364 100 09 5 8 -31 6
-1 sprites/arctic_snowy.png 380 100 09 4 15 -6 0
-1 sprites/arctic_snowy.png 10 130 09 27 38 -5 -8
-1 sprites/arctic_snowy.png 58 130 09 20 37 -4 11
-1 sprites/arctic_snowy.png 106 130 09 26 37 -31 5
-1 sprites/arctic_snowy.png 154 130 09 20 38 -31 -8
-1 sprites/arctic_snowy.png 202 130 09 9 16 17 11
-1 sprites/arctic_snowy.png 234 130 09 9 15 -6 22
-1 sprites/arctic_snowy.png 266 130 09 9 16 -31 3
-1 sprites/arctic_snowy.png 298 130 09 9 15 -7 -8
-1 sprites/arctic_snowy.png 330 130 09 7 8 25 11
-1 sprites/arctic_snowy.png 346 130 09 5 10 -4 26
-1 sprites/arctic_snowy.png 364 130 09 7 8 -31 5
-1 sprites/arctic_snowy.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 30 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/arctic_brown.png 10 10 09 19 38 -5 0
-1 sprites/arctic_brown.png 58 10 09 18 38 -5 13
-1 sprites/arctic_brown.png 106 10 09 18 38 -31 13
-1 sprites/arctic_brown.png 154 10 09 19 38 -31 0
-1 sprites/arctic_brown.png 202 10 09 9 19 14 11
-1 sprites/arctic_brown.png 234 10 09 9 16 -7 22
-1 sprites/arctic_brown.png 266 10 09 9 19 -31 11
-1 sprites/arctic_brown.png 298 10 09 9 16 -7 0
-1 sprites/arctic_brown.png 330 10 09 6 8 25 13
-1 sprites/arctic_brown.png 346 10 09 4 12 -5 27
-1 sprites/arctic_brown.png 364 10 09 6 8 -31 13
-1 sprites/arctic_brown.png 380 10 09 5 12 -5 0
-1 sprites/arctic_brown.png 10 40 09 11 40 -7 0
-1 sprites/arctic_brown.png 58 40 09 18 39 -6 5
-1 sprites/arctic_brown.png 106 40 09 11 38 -31 12
-1 sprites/arctic_brown.png 154 40 09 18 39 -31 0
-1 sprites/arctic_brown.png 202 40 09 6 20 13 5
-1 sprites/arctic_brown.png 234 40 09 7 13 -6 16
-1 sprites/arctic_brown.png 266 40 09 6 20 -31 12
-1 sprites/arctic_brown.png 298 40 09 7 13 -5 0
-1 sprites/arctic_brown.png 330 40 09 5 8 25 6
-1 sprites/arctic_brown.png 346 40 09 3 12 -5 20
-1 sprites/arctic_brown.png 364 40 09 4 8 -31 13
-1 sprites/arctic_brown.png 380 40 09 4 15 -7 0
-1 sprites/arctic_brown.png 10 70 09 20 38 -5 -8
-1 sprites/arctic_brown.png 58 70 09 26 38 -5 5
-1 sprites/arctic_brown.png 106 70 09 20 37 -31 11
-1 sprites/arctic_brown.png 154 70 09 27 38 -31 -8
-1 sprites/arctic_brown.png 202 70 09 9 16 17 3
-1 sprites/arctic_brown.png 234 70 09 9 15 -7 22
-1 sprites/arctic_brown.png 266 70 09 9 16 -31 11
-1 sprites/arctic_brown.png 298 70 09 9 15 -6 -8
-1 sprites/arctic_brown.png 330 70 09 7 8 25 5
-1 sprites/arctic_brown.png 346 70 09 5 10 -4 27
-1 sprites/arctic_brown.png 364 70 09 7 8 -31 11
-1 sprites/arctic_brown.png 380 70 09 6 12 -5 -8
-1 sprites/arctic_brown.png 10 100 09 18 39 -6 0
-1 sprites/arctic_brown.png 58 100 09 11 38 -5 12
-1 sprites/arctic_brown.png 106 100 09 18 39 -31 5
-1 sprites/arctic_brown.png 154 100 09 11 40 -32 0
-1 sprites/arctic_brown.png 202 100 09 6 20 13 12
-1 sprites/arctic_brown.png 234 100 09 7 13 -5 16
-1 sprites/arctic_brown.png 266 100 09 6 20 -31 5
-1 sprites/arctic_brown.png 298 100 09 7 13 -6 0
-1 sprites/arctic_brown.png 330 100 09 4 8 26 13
-1 sprites/arctic_brown.png 346 100 09 3 12 -5 20
-1 sprites/arctic_brown.png 364 100 09 5 8 -31 6
-1 sprites/arctic_brown.png 380 100 09 4 15 -6 0
-1 sprites/arctic_brown.png 10 130 09 27 38 -5 -8
-1 sprites/arctic_brown.png 58 130 09 20 37 -4 11
-1 sprites/arctic_brown.png 106 130 09 26 37 -31 5
-1 sprites/arctic_brown.png 154 130 09 20 38 -31 -8
-1 sprites/arctic_brown.png 202 130 09 9 16 17 11
-1 sprites/arctic_brown.png 234 130 09 9 15 -6 22
-1 sprites/arctic_brown.png 266 130 09 9 16 -31 3
-1 sprites/arctic_brown.png 298 130 09 9 15 -7 -8
-1 sprites/arctic_brown.png 330 130 09 7 8 25 11
-1 sprites/arctic_brown.png 346 130 09 5 10 -4 26
-1 sprites/arctic_brown.png 364 130 09 7 8 -31 5
-1 sprites/arctic_brown.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 31 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/arctic_snowy.png 10 210 09 19 38 -5 0
-1 sprites/arctic_snowy.png 58 210 09 18 38 -5 13
-1 sprites/arctic_snowy.png 106 210 09 18 38 -31 13
-1 sprites/arctic_snowy.png 154 210 09 19 38 -31 0
-1 sprites/arctic_snowy.png 202 210 09 9 19 14 11
-1 sprites/arctic_snowy.png 234 210 09 9 16 -7 22
-1 sprites/arctic_snowy.png 266 210 09 9 19 -31 11
-1 sprites/arctic_snowy.png 298 210 09 9 16 -7 0
-1 sprites/arctic_snowy.png 330 210 09 6 8 25 13
-1 sprites/arctic_snowy.png 346 210 09 4 12 -5 27
-1 sprites/arctic_snowy.png 364 210 09 6 8 -31 13
-1 sprites/arctic_snowy.png 380 210 09 5 12 -5 0
-1 sprites/arctic_snowy.png 10 240 09 11 40 -7 0
-1 sprites/arctic_snowy.png 58 240 09 18 39 -6 5
-1 sprites/arctic_snowy.png 106 240 09 11 38 -31 12
-1 sprites/arctic_snowy.png 154 240 09 18 39 -31 0
-1 sprites/arctic_snowy.png 202 240 09 6 20 13 5
-1 sprites/arctic_snowy.png 234 240 09 7 13 -6 16
-1 sprites/arctic_snowy.png 266 240 09 6 20 -31 12
-1 sprites/arctic_snowy.png 298 240 09 7 13 -5 0
-1 sprites/arctic_snowy.png 330 240 09 5 8 25 6
-1 sprites/arctic_snowy.png 346 240 09 3 12 -5 20
-1 sprites/arctic_snowy.png 364 240 09 4 8 -31 13
-1 sprites/arctic_snowy.png 380 240 09 4 15 -7 0
-1 sprites/arctic_snowy.png 10 270 09 20 38 -5 -8
-1 sprites/arctic_snowy.png 58 270 09 26 38 -5 5
-1 sprites/arctic_snowy.png 106 270 09 20 37 -31 11
-1 sprites/arctic_snowy.png 154 270 09 27 38 -31 -8
-1 sprites/arctic_snowy.png 202 270 09 9 16 17 3
-1 sprites/arctic_snowy.png 234 270 09 9 15 -7 22
-1 sprites/arctic_snowy.png 266 270 09 9 16 -31 11
-1 sprites/arctic_snowy.png 298 270 09 9 15 -6 -8
-1 sprites/arctic_snowy.png 330 270 09 7 8 25 5
-1 sprites/arctic_snowy.png 346 270 09 5 10 -4 27
-1 sprites/arctic_snowy.png 364 270 09 7 8 -31 11
-1 sprites/arctic_snowy.png 380 270 09 6 12 -5 -8
-1 sprites/arctic_snowy.png 10 300 09 18 39 -6 0
-1 sprites/arctic_snowy.png 58 300 09 11 38 -5 12
-1 sprites/arctic_snowy.png 106 300 09 18 39 -31 5
-1 sprites/arctic_snowy.png 154 300 09 11 40 -32 0
-1 sprites/arctic_snowy.png 202 300 09 6 20 13 12
-1 sprites/arctic_snowy.png 234 300 09 7 13 -5 16
-1 sprites/arctic_snowy.png 266 300 09 6 20 -31 5
-1 sprites/arctic_snowy.png 298 300 09 7 13 -6 0
-1 sprites/arctic_snowy.png 330 300 09 4 8 26 13
-1 sprites/arctic_snowy.png 346 300 09 3 12 -5 20
-1 sprites/arctic_snowy.png 364 300 09 5 8 -31 6
-1 sprites/arctic_snowy.png 380 300 09 4 15 -6 0
-1 sprites/arctic_snowy.png 10 330 09 27 38 -5 -8
-1 sprites/arctic_snowy.png 58 330 09 20 37 -4 11
-1 sprites/arctic_snowy.png 106 330 09 26 37 -31 5
-1 sprites/arctic_snowy.png 154 330 09 20 38 -31 -8
-1 sprites/arctic_snowy.png 202 330 09 9 16 17 11
-1 sprites/arctic_snowy.png 234 330 09 9 15 -6 22
-1 sprites/arctic_snowy.png 266 330 09 9 16 -31 3
-1 sprites/arctic_snowy.png 298 330 09 9 15 -7 -8
-1 sprites/arctic_snowy.png 330 330 09 7 8 25 11
-1 sprites/arctic_snowy.png 346 330 09 5 10 -4 26
-1 sprites/arctic_snowy.png 364 330 09 7 8 -31 5
-1 sprites/arctic_snowy.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 32 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/arctic_brown.png 10 210 09 19 38 -5 0
-1 sprites/arctic_brown.png 58 210 09 18 38 -5 13
-1 sprites/arctic_brown.png 106 210 09 18 38 -31 13
-1 sprites/arctic_brown.png 154 210 09 19 38 -31 0
-1 sprites/arctic_brown.png 202 210 09 9 19 14 11
-1 sprites/arctic_brown.png 234 210 09 9 16 -7 22
-1 sprites/arctic_brown.png 266 210 09 9 19 -31 11
-1 sprites/arctic_brown.png 298 210 09 9 16 -7 0
-1 sprites/arctic_brown.png 330 210 09 6 8 25 13
-1 sprites/arctic_brown.png 346 210 09 4 12 -5 27
-1 sprites/arctic_brown.png 364 210 09 6 8 -31 13
-1 sprites/arctic_brown.png 380 210 09 5 12 -5 0
-1 sprites/arctic_brown.png 10 240 09 11 40 -7 0
-1 sprites/arctic_brown.png 58 240 09 18 39 -6 5
-1 sprites/arctic_brown.png 106 240 09 11 38 -31 12
-1 sprites/arctic_brown.png 154 240 09 18 39 -31 0
-1 sprites/arctic_brown.png 202 240 09 6 20 13 5
-1 sprites/arctic_brown.png 234 240 09 7 13 -6 16
-1 sprites/arctic_brown.png 266 240 09 6 20 -31 12
-1 sprites/arctic_brown.png 298 240 09 7 13 -5 0
-1 sprites/arctic_brown.png 330 240 09 5 8 25 6
-1 sprites/arctic_brown.png 346 240 09 3 12 -5 20
-1 sprites/arctic_brown.png 364 240 09 4 8 -31 13
-1 sprites/arctic_brown.png 380 240 09 4 15 -7 0
-1 sprites/arctic_brown.png 10 270 09 20 38 -5 -8
-1 sprites/arctic_brown.png 58 270 09 26 38 -5 5
-1 sprites/arctic_brown.png 106 270 09 20 37 -31 11
-1 sprites/arctic_brown.png 154 270 09 27 38 -31 -8
-1 sprites/arctic_brown.png 202 270 09 9 16 17 3
-1 sprites/arctic_brown.png 234 270 09 9 15 -7 22
-1 sprites/arctic_brown.png 266 270 09 9 16 -31 11
-1 sprites/arctic_brown.png 298 270 09 9 15 -6 -8
-1 sprites/arctic_brown.png 330 270 09 7 8 25 5
-1 sprites/arctic_brown.png 346 270 09 5 10 -4 27
-1 sprites/arctic_brown.png 364 270 09 7 8 -31 11
-1 sprites/arctic_brown.png 380 270 09 6 12 -5 -8
-1 sprites/arctic_brown.png 10 300 09 18 39 -6 0
-1 sprites/arctic_brown.png 58 300 09 11 38 -5 12
-1 sprites/arctic_brown.png 106 300 09 18 39 -31 5
-1 sprites/arctic_brown.png 154 300 09 11 40 -32 0
-1 sprites/arctic_brown.png 202 300 09 6 20 13 12
-1 sprites/arctic_brown.png 234 300 09 7 13 -5 16
-1 sprites/arctic_brown.png 266 300 09 6 20 -31 5
-1 sprites/arctic_brown.png 298 300 09 7 13 -6 0
-1 sprites/arctic_brown.png 330 300 09 4 8 26 13
-1 sprites/arctic_brown.png 346 300 09 3 12 -5 20
-1 sprites/arctic_brown.png 364 300 09 5 8 -31 6
-1 sprites/arctic_brown.png 380 300 09 4 15 -6 0
-1 sprites/arctic_brown.png 10 330 09 27 38 -5 -8
-1 sprites/arctic_brown.png 58 330 09 20 37 -4 11
-1 sprites/arctic_brown.png 106 330 09 26 37 -31 5
-1 sprites/arctic_brown.png 154 330 09 20 38 -31 -8
-1 sprites/arctic_brown.png 202 330 09 9 16 17 11
-1 sprites/arctic_brown.png 234 330 09 9 15 -6 22
-1 sprites/arctic_brown.png 266 330 09 9 16 -31 3
-1 sprites/arctic_brown.png 298 330 09 9 15 -7 -8
-1 sprites/arctic_brown.png 330 330 09 7 8 25 11
-1 sprites/arctic_brown.png 346 330 09 5 10 -4 26
-1 sprites/arctic_brown.png 364 330 09 7 8 -31 5
-1 sprites/arctic_brown.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 33 01 00 00 00
-1 * 14 02 05 34 81 81 00 FF 01 30 00 04 04 31 00
-1 * 14 02 05 35 81 81 00 FF 01 32 00 04 04 33 00
-1 * 14 02 05 36 81 80 00 FF 01 34 00 00 00 35 00
-1 * 6 07 83 01 \7! 01 01
-1 * 7 03 05 01 06 00 36 00

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,139 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Rapid graphics"
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 10 09 23 64 -31 0
-1 sprites/rapids.png 90 10 09 39 64 -31 -8
-1 sprites/rapids.png 170 10 09 23 64 -31 0
-1 sprites/rapids.png 250 10 09 39 64 -31 -8
-1 * 7 02 05 00 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 60 09 23 64 -31 0
-1 sprites/rapids.png 90 60 09 39 64 -31 -8
-1 sprites/rapids.png 170 60 09 23 64 -31 0
-1 sprites/rapids.png 250 60 09 39 64 -31 -8
-1 * 7 02 05 01 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 110 09 23 64 -31 0
-1 sprites/rapids.png 90 110 09 39 64 -31 -8
-1 sprites/rapids.png 170 110 09 23 64 -31 0
-1 sprites/rapids.png 250 110 09 39 64 -31 -8
-1 * 7 02 05 02 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 160 09 23 64 -31 0
-1 sprites/rapids.png 90 160 09 39 64 -31 -8
-1 sprites/rapids.png 170 160 09 23 64 -31 0
-1 sprites/rapids.png 250 160 09 39 64 -31 -8
-1 * 7 02 05 03 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 210 09 23 64 -31 0
-1 sprites/rapids.png 90 210 09 39 64 -31 -8
-1 sprites/rapids.png 170 210 09 23 64 -31 0
-1 sprites/rapids.png 250 210 09 39 64 -31 -8
-1 * 7 02 05 04 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 260 09 23 64 -31 0
-1 sprites/rapids.png 90 260 09 39 64 -31 -8
-1 sprites/rapids.png 170 260 09 23 64 -31 0
-1 sprites/rapids.png 250 260 09 39 64 -31 -8
-1 * 7 02 05 05 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 310 09 23 64 -31 0
-1 sprites/rapids.png 90 310 09 39 64 -31 -8
-1 sprites/rapids.png 170 310 09 23 64 -31 0
-1 sprites/rapids.png 250 310 09 39 64 -31 -8
-1 * 7 02 05 06 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 360 09 23 64 -31 0
-1 sprites/rapids.png 90 360 09 39 64 -31 -8
-1 sprites/rapids.png 170 360 09 23 64 -31 0
-1 sprites/rapids.png 250 360 09 39 64 -31 -8
-1 * 7 02 05 07 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 410 09 23 64 -31 0
-1 sprites/rapids.png 90 410 09 39 64 -31 -8
-1 sprites/rapids.png 170 410 09 23 64 -31 0
-1 sprites/rapids.png 250 410 09 39 64 -31 -8
-1 * 7 02 05 08 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 460 09 23 64 -31 0
-1 sprites/rapids.png 90 460 09 39 64 -31 -8
-1 sprites/rapids.png 170 460 09 23 64 -31 0
-1 sprites/rapids.png 250 460 09 39 64 -31 -8
-1 * 7 02 05 09 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 510 09 23 64 -31 0
-1 sprites/rapids.png 90 510 09 39 64 -31 -8
-1 sprites/rapids.png 170 510 09 23 64 -31 0
-1 sprites/rapids.png 250 510 09 39 64 -31 -8
-1 * 7 02 05 0A 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 560 09 23 64 -31 0
-1 sprites/rapids.png 90 560 09 39 64 -31 -8
-1 sprites/rapids.png 170 560 09 23 64 -31 0
-1 sprites/rapids.png 250 560 09 39 64 -31 -8
-1 * 7 02 05 0B 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 610 09 23 64 -31 0
-1 sprites/rapids.png 90 610 09 39 64 -31 -8
-1 sprites/rapids.png 170 610 09 23 64 -31 0
-1 sprites/rapids.png 250 610 09 39 64 -31 -8
-1 * 7 02 05 0C 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 660 09 23 64 -31 0
-1 sprites/rapids.png 90 660 09 39 64 -31 -8
-1 sprites/rapids.png 170 660 09 23 64 -31 0
-1 sprites/rapids.png 250 660 09 39 64 -31 -8
-1 * 7 02 05 0D 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 710 09 23 64 -31 0
-1 sprites/rapids.png 90 710 09 39 64 -31 -8
-1 sprites/rapids.png 170 710 09 23 64 -31 0
-1 sprites/rapids.png 250 710 09 39 64 -31 -8
-1 * 7 02 05 0E 01 00 00 00
-1 * 4 01 05 01 04
-1 sprites/rapids.png 10 760 09 23 64 -31 0
-1 sprites/rapids.png 90 760 09 39 64 -31 -8
-1 sprites/rapids.png 170 760 09 23 64 -31 0
-1 sprites/rapids.png 250 760 09 39 64 -31 -8
-1 * 7 02 05 0F 01 00 00 00
-1 * 39 02 05 10 80 00 01 10
00 00
01 00
02 00
03 00
04 00
05 00
06 00
07 00
08 00
09 00
0A 00
0B 00
0C 00
0D 00
0E 00
0F 00
-1 * 7 03 05 01 05 00 10 00

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -0,0 +1,146 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Temperate river graphics by andythenorth (Andrew Parkhouse)"
-1 * 4 01 05 01 3C
-1 sprites/temperate.png 10 10 09 19 38 -5 0
-1 sprites/temperate.png 58 10 09 18 38 -5 13
-1 sprites/temperate.png 106 10 09 18 38 -31 13
-1 sprites/temperate.png 154 10 09 19 38 -31 0
-1 sprites/temperate.png 202 10 09 9 19 14 11
-1 sprites/temperate.png 234 10 09 9 16 -7 22
-1 sprites/temperate.png 266 10 09 9 19 -31 11
-1 sprites/temperate.png 298 10 09 9 16 -7 0
-1 sprites/temperate.png 330 10 09 6 8 25 13
-1 sprites/temperate.png 346 10 09 4 12 -5 27
-1 sprites/temperate.png 364 10 09 6 8 -31 13
-1 sprites/temperate.png 380 10 09 5 12 -5 0
-1 sprites/temperate.png 10 40 09 11 40 -7 0
-1 sprites/temperate.png 58 40 09 18 39 -6 5
-1 sprites/temperate.png 106 40 09 11 38 -31 12
-1 sprites/temperate.png 154 40 09 18 39 -31 0
-1 sprites/temperate.png 202 40 09 6 20 13 5
-1 sprites/temperate.png 234 40 09 7 13 -6 16
-1 sprites/temperate.png 266 40 09 6 20 -31 12
-1 sprites/temperate.png 298 40 09 7 13 -5 0
-1 sprites/temperate.png 330 40 09 5 8 25 6
-1 sprites/temperate.png 346 40 09 3 12 -5 20
-1 sprites/temperate.png 364 40 09 4 8 -31 13
-1 sprites/temperate.png 380 40 09 4 15 -7 0
-1 sprites/temperate.png 10 70 09 20 38 -5 -8
-1 sprites/temperate.png 58 70 09 26 38 -5 5
-1 sprites/temperate.png 106 70 09 20 37 -31 11
-1 sprites/temperate.png 154 70 09 27 38 -31 -8
-1 sprites/temperate.png 202 70 09 9 16 17 3
-1 sprites/temperate.png 234 70 09 9 15 -7 22
-1 sprites/temperate.png 266 70 09 9 16 -31 11
-1 sprites/temperate.png 298 70 09 9 15 -6 -8
-1 sprites/temperate.png 330 70 09 7 8 25 5
-1 sprites/temperate.png 346 70 09 5 10 -4 27
-1 sprites/temperate.png 364 70 09 7 8 -31 11
-1 sprites/temperate.png 380 70 09 6 12 -5 -8
-1 sprites/temperate.png 10 100 09 18 39 -6 0
-1 sprites/temperate.png 58 100 09 11 38 -5 12
-1 sprites/temperate.png 106 100 09 18 39 -31 5
-1 sprites/temperate.png 154 100 09 11 40 -32 0
-1 sprites/temperate.png 202 100 09 6 20 13 12
-1 sprites/temperate.png 234 100 09 7 13 -5 16
-1 sprites/temperate.png 266 100 09 6 20 -31 5
-1 sprites/temperate.png 298 100 09 7 13 -6 0
-1 sprites/temperate.png 330 100 09 4 8 26 13
-1 sprites/temperate.png 346 100 09 3 12 -5 20
-1 sprites/temperate.png 364 100 09 5 8 -31 6
-1 sprites/temperate.png 380 100 09 4 15 -6 0
-1 sprites/temperate.png 10 130 09 27 38 -5 -8
-1 sprites/temperate.png 58 130 09 20 37 -4 11
-1 sprites/temperate.png 106 130 09 26 37 -31 5
-1 sprites/temperate.png 154 130 09 20 38 -31 -8
-1 sprites/temperate.png 202 130 09 9 16 17 11
-1 sprites/temperate.png 234 130 09 9 15 -6 22
-1 sprites/temperate.png 266 130 09 9 16 -31 3
-1 sprites/temperate.png 298 130 09 9 15 -7 -8
-1 sprites/temperate.png 330 130 09 7 8 25 11
-1 sprites/temperate.png 346 130 09 5 10 -4 26
-1 sprites/temperate.png 364 130 09 7 8 -31 5
-1 sprites/temperate.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 20 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/temperate.png 10 210 09 19 38 -5 0
-1 sprites/temperate.png 58 210 09 18 38 -5 13
-1 sprites/temperate.png 106 210 09 18 38 -31 13
-1 sprites/temperate.png 154 210 09 19 38 -31 0
-1 sprites/temperate.png 202 210 09 9 19 14 11
-1 sprites/temperate.png 234 210 09 9 16 -7 22
-1 sprites/temperate.png 266 210 09 9 19 -31 11
-1 sprites/temperate.png 298 210 09 9 16 -7 0
-1 sprites/temperate.png 330 210 09 6 8 25 13
-1 sprites/temperate.png 346 210 09 4 12 -5 27
-1 sprites/temperate.png 364 210 09 6 8 -31 13
-1 sprites/temperate.png 380 210 09 5 12 -5 0
-1 sprites/temperate.png 10 240 09 11 40 -7 0
-1 sprites/temperate.png 58 240 09 18 39 -6 5
-1 sprites/temperate.png 106 240 09 11 38 -31 12
-1 sprites/temperate.png 154 240 09 18 39 -31 0
-1 sprites/temperate.png 202 240 09 6 20 13 5
-1 sprites/temperate.png 234 240 09 7 13 -6 16
-1 sprites/temperate.png 266 240 09 6 20 -31 12
-1 sprites/temperate.png 298 240 09 7 13 -5 0
-1 sprites/temperate.png 330 240 09 5 8 25 6
-1 sprites/temperate.png 346 240 09 3 12 -5 20
-1 sprites/temperate.png 364 240 09 4 8 -31 13
-1 sprites/temperate.png 380 240 09 4 15 -7 0
-1 sprites/temperate.png 10 270 09 20 38 -5 -8
-1 sprites/temperate.png 58 270 09 26 38 -5 5
-1 sprites/temperate.png 106 270 09 20 37 -31 11
-1 sprites/temperate.png 154 270 09 27 38 -31 -8
-1 sprites/temperate.png 202 270 09 9 16 17 3
-1 sprites/temperate.png 234 270 09 9 15 -7 22
-1 sprites/temperate.png 266 270 09 9 16 -31 11
-1 sprites/temperate.png 298 270 09 9 15 -6 -8
-1 sprites/temperate.png 330 270 09 7 8 25 5
-1 sprites/temperate.png 346 270 09 5 10 -4 27
-1 sprites/temperate.png 364 270 09 7 8 -31 11
-1 sprites/temperate.png 380 270 09 6 12 -5 -8
-1 sprites/temperate.png 10 300 09 18 39 -6 0
-1 sprites/temperate.png 58 300 09 11 38 -5 12
-1 sprites/temperate.png 106 300 09 18 39 -31 5
-1 sprites/temperate.png 154 300 09 11 40 -32 0
-1 sprites/temperate.png 202 300 09 6 20 13 12
-1 sprites/temperate.png 234 300 09 7 13 -5 16
-1 sprites/temperate.png 266 300 09 6 20 -31 5
-1 sprites/temperate.png 298 300 09 7 13 -6 0
-1 sprites/temperate.png 330 300 09 4 8 26 13
-1 sprites/temperate.png 346 300 09 3 12 -5 20
-1 sprites/temperate.png 364 300 09 5 8 -31 6
-1 sprites/temperate.png 380 300 09 4 15 -6 0
-1 sprites/temperate.png 10 330 09 27 38 -5 -8
-1 sprites/temperate.png 58 330 09 20 37 -4 11
-1 sprites/temperate.png 106 330 09 26 37 -31 5
-1 sprites/temperate.png 154 330 09 20 38 -31 -8
-1 sprites/temperate.png 202 330 09 9 16 17 11
-1 sprites/temperate.png 234 330 09 9 15 -6 22
-1 sprites/temperate.png 266 330 09 9 16 -31 3
-1 sprites/temperate.png 298 330 09 9 15 -7 -8
-1 sprites/temperate.png 330 330 09 7 8 25 11
-1 sprites/temperate.png 346 330 09 5 10 -4 26
-1 sprites/temperate.png 364 330 09 7 8 -31 5
-1 sprites/temperate.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 21 01 00 00 00
-1 * 14 02 05 22 81 80 00 FF 01 20 00 00 00 21 00
-1 * 6 07 83 01 \7! 00 01
-1 * 7 03 05 01 06 00 22 00

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,146 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Toyland river graphics by andythenorth (Andrew Parkhouse)"
-1 * 4 01 05 01 3C
-1 sprites/toyland.png 10 10 09 19 38 -5 0
-1 sprites/toyland.png 58 10 09 18 38 -5 13
-1 sprites/toyland.png 106 10 09 18 38 -31 13
-1 sprites/toyland.png 154 10 09 19 38 -31 0
-1 sprites/toyland.png 202 10 09 9 19 14 11
-1 sprites/toyland.png 234 10 09 9 16 -7 22
-1 sprites/toyland.png 266 10 09 9 19 -31 11
-1 sprites/toyland.png 298 10 09 9 16 -7 0
-1 sprites/toyland.png 330 10 09 6 8 25 13
-1 sprites/toyland.png 346 10 09 4 12 -5 27
-1 sprites/toyland.png 364 10 09 6 8 -31 13
-1 sprites/toyland.png 380 10 09 5 12 -5 0
-1 sprites/toyland.png 10 40 09 11 40 -7 0
-1 sprites/toyland.png 58 40 09 18 39 -6 5
-1 sprites/toyland.png 106 40 09 11 38 -31 12
-1 sprites/toyland.png 154 40 09 18 39 -31 0
-1 sprites/toyland.png 202 40 09 6 20 13 5
-1 sprites/toyland.png 234 40 09 7 13 -6 16
-1 sprites/toyland.png 266 40 09 6 20 -31 12
-1 sprites/toyland.png 298 40 09 7 13 -5 0
-1 sprites/toyland.png 330 40 09 5 8 25 6
-1 sprites/toyland.png 346 40 09 3 12 -5 20
-1 sprites/toyland.png 364 40 09 4 8 -31 13
-1 sprites/toyland.png 380 40 09 4 15 -7 0
-1 sprites/toyland.png 10 70 09 20 38 -5 -8
-1 sprites/toyland.png 58 70 09 26 38 -5 5
-1 sprites/toyland.png 106 70 09 20 37 -31 11
-1 sprites/toyland.png 154 70 09 27 38 -31 -8
-1 sprites/toyland.png 202 70 09 9 16 17 3
-1 sprites/toyland.png 234 70 09 9 15 -7 22
-1 sprites/toyland.png 266 70 09 9 16 -31 11
-1 sprites/toyland.png 298 70 09 9 15 -6 -8
-1 sprites/toyland.png 330 70 09 7 8 25 5
-1 sprites/toyland.png 346 70 09 5 10 -4 27
-1 sprites/toyland.png 364 70 09 7 8 -31 11
-1 sprites/toyland.png 380 70 09 6 12 -5 -8
-1 sprites/toyland.png 10 100 09 18 39 -6 0
-1 sprites/toyland.png 58 100 09 11 38 -5 12
-1 sprites/toyland.png 106 100 09 18 39 -31 5
-1 sprites/toyland.png 154 100 09 11 40 -32 0
-1 sprites/toyland.png 202 100 09 6 20 13 12
-1 sprites/toyland.png 234 100 09 7 13 -5 16
-1 sprites/toyland.png 266 100 09 6 20 -31 5
-1 sprites/toyland.png 298 100 09 7 13 -6 0
-1 sprites/toyland.png 330 100 09 4 8 26 13
-1 sprites/toyland.png 346 100 09 3 12 -5 20
-1 sprites/toyland.png 364 100 09 5 8 -31 6
-1 sprites/toyland.png 380 100 09 4 15 -6 0
-1 sprites/toyland.png 10 130 09 27 38 -5 -8
-1 sprites/toyland.png 58 130 09 20 37 -4 11
-1 sprites/toyland.png 106 130 09 26 37 -31 5
-1 sprites/toyland.png 154 130 09 20 38 -31 -8
-1 sprites/toyland.png 202 130 09 9 16 17 11
-1 sprites/toyland.png 234 130 09 9 15 -6 22
-1 sprites/toyland.png 266 130 09 9 16 -31 3
-1 sprites/toyland.png 298 130 09 9 15 -7 -8
-1 sprites/toyland.png 330 130 09 7 8 25 11
-1 sprites/toyland.png 346 130 09 5 10 -4 26
-1 sprites/toyland.png 364 130 09 7 8 -31 5
-1 sprites/toyland.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 50 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/toyland.png 10 210 09 19 38 -5 0
-1 sprites/toyland.png 58 210 09 18 38 -5 13
-1 sprites/toyland.png 106 210 09 18 38 -31 13
-1 sprites/toyland.png 154 210 09 19 38 -31 0
-1 sprites/toyland.png 202 210 09 9 19 14 11
-1 sprites/toyland.png 234 210 09 9 16 -7 22
-1 sprites/toyland.png 266 210 09 9 19 -31 11
-1 sprites/toyland.png 298 210 09 9 16 -7 0
-1 sprites/toyland.png 330 210 09 6 8 25 13
-1 sprites/toyland.png 346 210 09 4 12 -5 27
-1 sprites/toyland.png 364 210 09 6 8 -31 13
-1 sprites/toyland.png 380 210 09 5 12 -5 0
-1 sprites/toyland.png 10 240 09 11 40 -7 0
-1 sprites/toyland.png 58 240 09 18 39 -6 5
-1 sprites/toyland.png 106 240 09 11 38 -31 12
-1 sprites/toyland.png 154 240 09 18 39 -31 0
-1 sprites/toyland.png 202 240 09 6 20 13 5
-1 sprites/toyland.png 234 240 09 7 13 -6 16
-1 sprites/toyland.png 266 240 09 6 20 -31 12
-1 sprites/toyland.png 298 240 09 7 13 -5 0
-1 sprites/toyland.png 330 240 09 5 8 25 6
-1 sprites/toyland.png 346 240 09 3 12 -5 20
-1 sprites/toyland.png 364 240 09 4 8 -31 13
-1 sprites/toyland.png 380 240 09 4 15 -7 0
-1 sprites/toyland.png 10 270 09 20 38 -5 -8
-1 sprites/toyland.png 58 270 09 26 38 -5 5
-1 sprites/toyland.png 106 270 09 20 37 -31 11
-1 sprites/toyland.png 154 270 09 27 38 -31 -8
-1 sprites/toyland.png 202 270 09 9 16 17 3
-1 sprites/toyland.png 234 270 09 9 15 -7 22
-1 sprites/toyland.png 266 270 09 9 16 -31 11
-1 sprites/toyland.png 298 270 09 9 15 -6 -8
-1 sprites/toyland.png 330 270 09 7 8 25 5
-1 sprites/toyland.png 346 270 09 5 10 -4 27
-1 sprites/toyland.png 364 270 09 7 8 -31 11
-1 sprites/toyland.png 380 270 09 6 12 -5 -8
-1 sprites/toyland.png 10 300 09 18 39 -6 0
-1 sprites/toyland.png 58 300 09 11 38 -5 12
-1 sprites/toyland.png 106 300 09 18 39 -31 5
-1 sprites/toyland.png 154 300 09 11 40 -32 0
-1 sprites/toyland.png 202 300 09 6 20 13 12
-1 sprites/toyland.png 234 300 09 7 13 -5 16
-1 sprites/toyland.png 266 300 09 6 20 -31 5
-1 sprites/toyland.png 298 300 09 7 13 -6 0
-1 sprites/toyland.png 330 300 09 4 8 26 13
-1 sprites/toyland.png 346 300 09 3 12 -5 20
-1 sprites/toyland.png 364 300 09 5 8 -31 6
-1 sprites/toyland.png 380 300 09 4 15 -6 0
-1 sprites/toyland.png 10 330 09 27 38 -5 -8
-1 sprites/toyland.png 58 330 09 20 37 -4 11
-1 sprites/toyland.png 106 330 09 26 37 -31 5
-1 sprites/toyland.png 154 330 09 20 38 -31 -8
-1 sprites/toyland.png 202 330 09 9 16 17 11
-1 sprites/toyland.png 234 330 09 9 15 -6 22
-1 sprites/toyland.png 266 330 09 9 16 -31 3
-1 sprites/toyland.png 298 330 09 9 15 -7 -8
-1 sprites/toyland.png 330 330 09 7 8 25 11
-1 sprites/toyland.png 346 330 09 5 10 -4 26
-1 sprites/toyland.png 364 330 09 7 8 -31 5
-1 sprites/toyland.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 51 01 00 00 00
-1 * 14 02 05 52 81 80 00 FF 01 50 00 00 00 51 00
-1 * 6 07 83 01 \7! 03 01
-1 * 7 03 05 01 06 00 52 00

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,282 @@
//
// $Id$
//
// This file is part of OpenTTD.
// OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
//
-1 * 0 0C "Tropic river graphics by andythenorth (Andrew Parkhouse)"
-1 * 4 01 05 01 3C
-1 sprites/tropic_desert.png 10 10 09 19 38 -5 0
-1 sprites/tropic_desert.png 58 10 09 18 38 -5 13
-1 sprites/tropic_desert.png 106 10 09 18 38 -31 13
-1 sprites/tropic_desert.png 154 10 09 19 38 -31 0
-1 sprites/tropic_desert.png 202 10 09 9 19 14 11
-1 sprites/tropic_desert.png 234 10 09 9 16 -7 22
-1 sprites/tropic_desert.png 266 10 09 9 19 -31 11
-1 sprites/tropic_desert.png 298 10 09 9 16 -7 0
-1 sprites/tropic_desert.png 330 10 09 6 8 25 13
-1 sprites/tropic_desert.png 346 10 09 4 12 -5 27
-1 sprites/tropic_desert.png 364 10 09 6 8 -31 13
-1 sprites/tropic_desert.png 380 10 09 5 12 -5 0
-1 sprites/tropic_desert.png 10 40 09 11 40 -7 0
-1 sprites/tropic_desert.png 58 40 09 18 39 -6 5
-1 sprites/tropic_desert.png 106 40 09 11 38 -31 12
-1 sprites/tropic_desert.png 154 40 09 18 39 -31 0
-1 sprites/tropic_desert.png 202 40 09 6 20 13 5
-1 sprites/tropic_desert.png 234 40 09 7 13 -6 16
-1 sprites/tropic_desert.png 266 40 09 6 20 -31 12
-1 sprites/tropic_desert.png 298 40 09 7 13 -5 0
-1 sprites/tropic_desert.png 330 40 09 5 8 25 6
-1 sprites/tropic_desert.png 346 40 09 3 12 -5 20
-1 sprites/tropic_desert.png 364 40 09 4 8 -31 13
-1 sprites/tropic_desert.png 380 40 09 4 15 -7 0
-1 sprites/tropic_desert.png 10 70 09 20 38 -5 -8
-1 sprites/tropic_desert.png 58 70 09 26 38 -5 5
-1 sprites/tropic_desert.png 106 70 09 20 37 -31 11
-1 sprites/tropic_desert.png 154 70 09 27 38 -31 -8
-1 sprites/tropic_desert.png 202 70 09 9 16 17 3
-1 sprites/tropic_desert.png 234 70 09 9 15 -7 22
-1 sprites/tropic_desert.png 266 70 09 9 16 -31 11
-1 sprites/tropic_desert.png 298 70 09 9 15 -6 -8
-1 sprites/tropic_desert.png 330 70 09 7 8 25 5
-1 sprites/tropic_desert.png 346 70 09 5 10 -4 27
-1 sprites/tropic_desert.png 364 70 09 7 8 -31 11
-1 sprites/tropic_desert.png 380 70 09 6 12 -5 -8
-1 sprites/tropic_desert.png 10 100 09 18 39 -6 0
-1 sprites/tropic_desert.png 58 100 09 11 38 -5 12
-1 sprites/tropic_desert.png 106 100 09 18 39 -31 5
-1 sprites/tropic_desert.png 154 100 09 11 40 -32 0
-1 sprites/tropic_desert.png 202 100 09 6 20 13 12
-1 sprites/tropic_desert.png 234 100 09 7 13 -5 16
-1 sprites/tropic_desert.png 266 100 09 6 20 -31 5
-1 sprites/tropic_desert.png 298 100 09 7 13 -6 0
-1 sprites/tropic_desert.png 330 100 09 4 8 26 13
-1 sprites/tropic_desert.png 346 100 09 3 12 -5 20
-1 sprites/tropic_desert.png 364 100 09 5 8 -31 6
-1 sprites/tropic_desert.png 380 100 09 4 15 -6 0
-1 sprites/tropic_desert.png 10 130 09 27 38 -5 -8
-1 sprites/tropic_desert.png 58 130 09 20 37 -4 11
-1 sprites/tropic_desert.png 106 130 09 26 37 -31 5
-1 sprites/tropic_desert.png 154 130 09 20 38 -31 -8
-1 sprites/tropic_desert.png 202 130 09 9 16 17 11
-1 sprites/tropic_desert.png 234 130 09 9 15 -6 22
-1 sprites/tropic_desert.png 266 130 09 9 16 -31 3
-1 sprites/tropic_desert.png 298 130 09 9 15 -7 -8
-1 sprites/tropic_desert.png 330 130 09 7 8 25 11
-1 sprites/tropic_desert.png 346 130 09 5 10 -4 26
-1 sprites/tropic_desert.png 364 130 09 7 8 -31 5
-1 sprites/tropic_desert.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 40 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/tropic_forest.png 10 10 09 19 38 -5 0
-1 sprites/tropic_forest.png 58 10 09 18 38 -5 13
-1 sprites/tropic_forest.png 106 10 09 18 38 -31 13
-1 sprites/tropic_forest.png 154 10 09 19 38 -31 0
-1 sprites/tropic_forest.png 202 10 09 9 19 14 11
-1 sprites/tropic_forest.png 234 10 09 9 16 -7 22
-1 sprites/tropic_forest.png 266 10 09 9 19 -31 11
-1 sprites/tropic_forest.png 298 10 09 9 16 -7 0
-1 sprites/tropic_forest.png 330 10 09 6 8 25 13
-1 sprites/tropic_forest.png 346 10 09 4 12 -5 27
-1 sprites/tropic_forest.png 364 10 09 6 8 -31 13
-1 sprites/tropic_forest.png 380 10 09 5 12 -5 0
-1 sprites/tropic_forest.png 10 40 09 11 40 -7 0
-1 sprites/tropic_forest.png 58 40 09 18 39 -6 5
-1 sprites/tropic_forest.png 106 40 09 11 38 -31 12
-1 sprites/tropic_forest.png 154 40 09 18 39 -31 0
-1 sprites/tropic_forest.png 202 40 09 6 20 13 5
-1 sprites/tropic_forest.png 234 40 09 7 13 -6 16
-1 sprites/tropic_forest.png 266 40 09 6 20 -31 12
-1 sprites/tropic_forest.png 298 40 09 7 13 -5 0
-1 sprites/tropic_forest.png 330 40 09 5 8 25 6
-1 sprites/tropic_forest.png 346 40 09 3 12 -5 20
-1 sprites/tropic_forest.png 364 40 09 4 8 -31 13
-1 sprites/tropic_forest.png 380 40 09 4 15 -7 0
-1 sprites/tropic_forest.png 10 70 09 20 38 -5 -8
-1 sprites/tropic_forest.png 58 70 09 26 38 -5 5
-1 sprites/tropic_forest.png 106 70 09 20 37 -31 11
-1 sprites/tropic_forest.png 154 70 09 27 38 -31 -8
-1 sprites/tropic_forest.png 202 70 09 9 16 17 3
-1 sprites/tropic_forest.png 234 70 09 9 15 -7 22
-1 sprites/tropic_forest.png 266 70 09 9 16 -31 11
-1 sprites/tropic_forest.png 298 70 09 9 15 -6 -8
-1 sprites/tropic_forest.png 330 70 09 7 8 25 5
-1 sprites/tropic_forest.png 346 70 09 5 10 -4 27
-1 sprites/tropic_forest.png 364 70 09 7 8 -31 11
-1 sprites/tropic_forest.png 380 70 09 6 12 -5 -8
-1 sprites/tropic_forest.png 10 100 09 18 39 -6 0
-1 sprites/tropic_forest.png 58 100 09 11 38 -5 12
-1 sprites/tropic_forest.png 106 100 09 18 39 -31 5
-1 sprites/tropic_forest.png 154 100 09 11 40 -32 0
-1 sprites/tropic_forest.png 202 100 09 6 20 13 12
-1 sprites/tropic_forest.png 234 100 09 7 13 -5 16
-1 sprites/tropic_forest.png 266 100 09 6 20 -31 5
-1 sprites/tropic_forest.png 298 100 09 7 13 -6 0
-1 sprites/tropic_forest.png 330 100 09 4 8 26 13
-1 sprites/tropic_forest.png 346 100 09 3 12 -5 20
-1 sprites/tropic_forest.png 364 100 09 5 8 -31 6
-1 sprites/tropic_forest.png 380 100 09 4 15 -6 0
-1 sprites/tropic_forest.png 10 130 09 27 38 -5 -8
-1 sprites/tropic_forest.png 58 130 09 20 37 -4 11
-1 sprites/tropic_forest.png 106 130 09 26 37 -31 5
-1 sprites/tropic_forest.png 154 130 09 20 38 -31 -8
-1 sprites/tropic_forest.png 202 130 09 9 16 17 11
-1 sprites/tropic_forest.png 234 130 09 9 15 -6 22
-1 sprites/tropic_forest.png 266 130 09 9 16 -31 3
-1 sprites/tropic_forest.png 298 130 09 9 15 -7 -8
-1 sprites/tropic_forest.png 330 130 09 7 8 25 11
-1 sprites/tropic_forest.png 346 130 09 5 10 -4 26
-1 sprites/tropic_forest.png 364 130 09 7 8 -31 5
-1 sprites/tropic_forest.png 380 130 09 6 12 -5 -8
-1 * 7 02 05 41 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/tropic_desert.png 10 210 09 19 38 -5 0
-1 sprites/tropic_desert.png 58 210 09 18 38 -5 13
-1 sprites/tropic_desert.png 106 210 09 18 38 -31 13
-1 sprites/tropic_desert.png 154 210 09 19 38 -31 0
-1 sprites/tropic_desert.png 202 210 09 9 19 14 11
-1 sprites/tropic_desert.png 234 210 09 9 16 -7 22
-1 sprites/tropic_desert.png 266 210 09 9 19 -31 11
-1 sprites/tropic_desert.png 298 210 09 9 16 -7 0
-1 sprites/tropic_desert.png 330 210 09 6 8 25 13
-1 sprites/tropic_desert.png 346 210 09 4 12 -5 27
-1 sprites/tropic_desert.png 364 210 09 6 8 -31 13
-1 sprites/tropic_desert.png 380 210 09 5 12 -5 0
-1 sprites/tropic_desert.png 10 240 09 11 40 -7 0
-1 sprites/tropic_desert.png 58 240 09 18 39 -6 5
-1 sprites/tropic_desert.png 106 240 09 11 38 -31 12
-1 sprites/tropic_desert.png 154 240 09 18 39 -31 0
-1 sprites/tropic_desert.png 202 240 09 6 20 13 5
-1 sprites/tropic_desert.png 234 240 09 7 13 -6 16
-1 sprites/tropic_desert.png 266 240 09 6 20 -31 12
-1 sprites/tropic_desert.png 298 240 09 7 13 -5 0
-1 sprites/tropic_desert.png 330 240 09 5 8 25 6
-1 sprites/tropic_desert.png 346 240 09 3 12 -5 20
-1 sprites/tropic_desert.png 364 240 09 4 8 -31 13
-1 sprites/tropic_desert.png 380 240 09 4 15 -7 0
-1 sprites/tropic_desert.png 10 270 09 20 38 -5 -8
-1 sprites/tropic_desert.png 58 270 09 26 38 -5 5
-1 sprites/tropic_desert.png 106 270 09 20 37 -31 11
-1 sprites/tropic_desert.png 154 270 09 27 38 -31 -8
-1 sprites/tropic_desert.png 202 270 09 9 16 17 3
-1 sprites/tropic_desert.png 234 270 09 9 15 -7 22
-1 sprites/tropic_desert.png 266 270 09 9 16 -31 11
-1 sprites/tropic_desert.png 298 270 09 9 15 -6 -8
-1 sprites/tropic_desert.png 330 270 09 7 8 25 5
-1 sprites/tropic_desert.png 346 270 09 5 10 -4 27
-1 sprites/tropic_desert.png 364 270 09 7 8 -31 11
-1 sprites/tropic_desert.png 380 270 09 6 12 -5 -8
-1 sprites/tropic_desert.png 10 300 09 18 39 -6 0
-1 sprites/tropic_desert.png 58 300 09 11 38 -5 12
-1 sprites/tropic_desert.png 106 300 09 18 39 -31 5
-1 sprites/tropic_desert.png 154 300 09 11 40 -32 0
-1 sprites/tropic_desert.png 202 300 09 6 20 13 12
-1 sprites/tropic_desert.png 234 300 09 7 13 -5 16
-1 sprites/tropic_desert.png 266 300 09 6 20 -31 5
-1 sprites/tropic_desert.png 298 300 09 7 13 -6 0
-1 sprites/tropic_desert.png 330 300 09 4 8 26 13
-1 sprites/tropic_desert.png 346 300 09 3 12 -5 20
-1 sprites/tropic_desert.png 364 300 09 5 8 -31 6
-1 sprites/tropic_desert.png 380 300 09 4 15 -6 0
-1 sprites/tropic_desert.png 10 330 09 27 38 -5 -8
-1 sprites/tropic_desert.png 58 330 09 20 37 -4 11
-1 sprites/tropic_desert.png 106 330 09 26 37 -31 5
-1 sprites/tropic_desert.png 154 330 09 20 38 -31 -8
-1 sprites/tropic_desert.png 202 330 09 9 16 17 11
-1 sprites/tropic_desert.png 234 330 09 9 15 -6 22
-1 sprites/tropic_desert.png 266 330 09 9 16 -31 3
-1 sprites/tropic_desert.png 298 330 09 9 15 -7 -8
-1 sprites/tropic_desert.png 330 330 09 7 8 25 11
-1 sprites/tropic_desert.png 346 330 09 5 10 -4 26
-1 sprites/tropic_desert.png 364 330 09 7 8 -31 5
-1 sprites/tropic_desert.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 42 01 00 00 00
-1 * 4 01 05 01 3C
-1 sprites/tropic_forest.png 10 210 09 19 38 -5 0
-1 sprites/tropic_forest.png 58 210 09 18 38 -5 13
-1 sprites/tropic_forest.png 106 210 09 18 38 -31 13
-1 sprites/tropic_forest.png 154 210 09 19 38 -31 0
-1 sprites/tropic_forest.png 202 210 09 9 19 14 11
-1 sprites/tropic_forest.png 234 210 09 9 16 -7 22
-1 sprites/tropic_forest.png 266 210 09 9 19 -31 11
-1 sprites/tropic_forest.png 298 210 09 9 16 -7 0
-1 sprites/tropic_forest.png 330 210 09 6 8 25 13
-1 sprites/tropic_forest.png 346 210 09 4 12 -5 27
-1 sprites/tropic_forest.png 364 210 09 6 8 -31 13
-1 sprites/tropic_forest.png 380 210 09 5 12 -5 0
-1 sprites/tropic_forest.png 10 240 09 11 40 -7 0
-1 sprites/tropic_forest.png 58 240 09 18 39 -6 5
-1 sprites/tropic_forest.png 106 240 09 11 38 -31 12
-1 sprites/tropic_forest.png 154 240 09 18 39 -31 0
-1 sprites/tropic_forest.png 202 240 09 6 20 13 5
-1 sprites/tropic_forest.png 234 240 09 7 13 -6 16
-1 sprites/tropic_forest.png 266 240 09 6 20 -31 12
-1 sprites/tropic_forest.png 298 240 09 7 13 -5 0
-1 sprites/tropic_forest.png 330 240 09 5 8 25 6
-1 sprites/tropic_forest.png 346 240 09 3 12 -5 20
-1 sprites/tropic_forest.png 364 240 09 4 8 -31 13
-1 sprites/tropic_forest.png 380 240 09 4 15 -7 0
-1 sprites/tropic_forest.png 10 270 09 20 38 -5 -8
-1 sprites/tropic_forest.png 58 270 09 26 38 -5 5
-1 sprites/tropic_forest.png 106 270 09 20 37 -31 11
-1 sprites/tropic_forest.png 154 270 09 27 38 -31 -8
-1 sprites/tropic_forest.png 202 270 09 9 16 17 3
-1 sprites/tropic_forest.png 234 270 09 9 15 -7 22
-1 sprites/tropic_forest.png 266 270 09 9 16 -31 11
-1 sprites/tropic_forest.png 298 270 09 9 15 -6 -8
-1 sprites/tropic_forest.png 330 270 09 7 8 25 5
-1 sprites/tropic_forest.png 346 270 09 5 10 -4 27
-1 sprites/tropic_forest.png 364 270 09 7 8 -31 11
-1 sprites/tropic_forest.png 380 270 09 6 12 -5 -8
-1 sprites/tropic_forest.png 10 300 09 18 39 -6 0
-1 sprites/tropic_forest.png 58 300 09 11 38 -5 12
-1 sprites/tropic_forest.png 106 300 09 18 39 -31 5
-1 sprites/tropic_forest.png 154 300 09 11 40 -32 0
-1 sprites/tropic_forest.png 202 300 09 6 20 13 12
-1 sprites/tropic_forest.png 234 300 09 7 13 -5 16
-1 sprites/tropic_forest.png 266 300 09 6 20 -31 5
-1 sprites/tropic_forest.png 298 300 09 7 13 -6 0
-1 sprites/tropic_forest.png 330 300 09 4 8 26 13
-1 sprites/tropic_forest.png 346 300 09 3 12 -5 20
-1 sprites/tropic_forest.png 364 300 09 5 8 -31 6
-1 sprites/tropic_forest.png 380 300 09 4 15 -6 0
-1 sprites/tropic_forest.png 10 330 09 27 38 -5 -8
-1 sprites/tropic_forest.png 58 330 09 20 37 -4 11
-1 sprites/tropic_forest.png 106 330 09 26 37 -31 5
-1 sprites/tropic_forest.png 154 330 09 20 38 -31 -8
-1 sprites/tropic_forest.png 202 330 09 9 16 17 11
-1 sprites/tropic_forest.png 234 330 09 9 15 -6 22
-1 sprites/tropic_forest.png 266 330 09 9 16 -31 3
-1 sprites/tropic_forest.png 298 330 09 9 15 -7 -8
-1 sprites/tropic_forest.png 330 330 09 7 8 25 11
-1 sprites/tropic_forest.png 346 330 09 5 10 -4 26
-1 sprites/tropic_forest.png 364 330 09 7 8 -31 5
-1 sprites/tropic_forest.png 380 330 09 6 12 -5 -8
-1 * 7 02 05 43 01 00 00 00
-1 * 14 02 05 44 81 81 00 FF 01 40 00 01 01 41 00
-1 * 14 02 05 45 81 81 00 FF 01 42 00 01 01 43 00
-1 * 14 02 05 46 81 80 00 FF 01 44 00 00 00 45 00
-1 * 6 07 83 01 \7! 02 01
-1 * 7 03 05 01 06 00 46 00

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,3 +1,39 @@
openttd (1.2.0~beta2) unstable; urgency=low
* New upstream release 1.2.0-beta2
-- Matthijs Kooijman <matthijs@stdin.nl> Sat, 07 Jan 2012 00:00:00 +0100
openttd (1.2.0~beta1) unstable; urgency=low
* New upstream release 1.2.0-beta1
-- Matthijs Kooijman <matthijs@stdin.nl> Sat, 24 Dec 2011 00:00:00 +0100
openttd (1.1.4) unstable; urgency=low
* New upstream release 1.1.4
-- Matthijs Kooijman <matthijs@stdin.nl> Mon, 05 Dec 2011 00:00:00 +0400
openttd (1.1.4-RC1) unstable; urgency=low
* New upstream release 1.1.4-RC1
-- Matthijs Kooijman <matthijs@stdin.nl> Sun, 20 Nov 2011 17:00:00 +0100
openttd (1.1.3) unstable; urgency=low
* New upstream release 1.1.3
-- Matthijs Kooijman <matthijs@stdin.nl> Thu, 15 Sep 2011 21:00:00 +0200
openttd (1.1.3-RC1) unstable; urgency=low
* New upstream release 1.1.3-RC1
-- Matthijs Kooijman <matthijs@stdin.nl> Sun, 04 Sep 2011 17:00:00 +0200
openttd (1.1.2) unstable; urgency=low
* New upstream release 1.1.2

View File

@@ -4,12 +4,12 @@ if "%2" == "" goto err
echo Downloading NoSound...
%1\wget http://binaries.openttd.org/installer/nosound-NOSOUND_VERSION.7z -O %2/data/nosound.7z
%1\wget http://binaries.openttd.org/installer/nosound-NOSOUND_VERSION.7z -O %2/baseset/nosound.7z
echo Extracting NoSound...
%1\7za x -y -O%2/data %2/data/nosound.7z
del %1\data\nosound.7z /n
%1\7za x -y -O%2/baseset %2/baseset/nosound.7z
del %1\baseset\nosound.7z /n
echo NoSound has been installed.
goto end

View File

@@ -4,12 +4,12 @@ if "%2" == "" goto err
echo Downloading OpenGFX...
%1\wget http://binaries.openttd.org/installer/opengfx-OPENGFX_VERSION.7z -O %2/data/opengfx.7z
%1\wget http://binaries.openttd.org/installer/opengfx-OPENGFX_VERSION.7z -O %2/baseset/opengfx.7z
echo Extracting OpenGFX...
%1\7za x -y -O%2/data %2/data/opengfx.7z
del %1\data\opengfx.7z /n
%1\7za x -y -O%2/baseset %2/baseset/opengfx.7z
del %1\baseset\opengfx.7z /n
echo OpenGFX has been installed.
goto end

View File

@@ -4,12 +4,12 @@ if "%2" == "" goto err
echo Downloading OpenSFX...
%1\wget http://binaries.openttd.org/installer/opensfx-OPENSFX_VERSION.7z -O %2/data/opensfx.7z
%1\wget http://binaries.openttd.org/installer/opensfx-OPENSFX_VERSION.7z -O %2/baseset/opensfx.7z
echo Extracting OpenSFX...
%1\7za x -y -O%2/data %2/data/opensfx.7z
del %1\data\opensfx.7z /n
%1\7za x -y -O%2/baseset %2/baseset/opensfx.7z
del %1\baseset\opensfx.7z /n
echo OpenSFX has been installed.
goto end

View File

@@ -1,9 +1,9 @@
@echo off
set OPENTTD_VERSION=1.1.2
set OPENTTD_VERSION=1.2.0-beta2
set OPENSFX_VERSION=0.8.0
set NOSOUND_VERSION=0.8.0
set OPENGFX_VERSION=0.7.0
set OPENGFX_VERSION=1.2.0
echo To make the installer, you must have the WarpIN compiler (wic) installed and in
echo your path, as well as wget and unzip. This file will download the various DLLs

View File

@@ -3,8 +3,8 @@ if "%1" == "" goto err
echo Removing NoSound...
del %1\data\nosound\*.* /n
rmdir %1\data\nosound
del %1\baseset\nosound\*.* /n
rmdir %1\baseset\nosound
echo NoSound has been removed.
goto end

View File

@@ -3,8 +3,8 @@ if "%1" == "" goto err
echo Removing OpenGFX...
del %1\data\opengfx\*.* /n
rmdir %1\data\opengfx
del %1\baseset\opengfx\*.* /n
rmdir %1\baseset\opengfx
echo OpenGFX has been removed.
goto end

View File

@@ -3,8 +3,8 @@ if "%1" == "" goto err
echo Removing OpenSFX...
del %1\data\opensfx\*.* /n
rmdir %1\data\opensfx
del %1\baseset\opensfx\*.* /n
rmdir %1\baseset\opensfx
echo OpenSFX has been removed.
goto end

View File

@@ -2,7 +2,7 @@
%define binname openttd
%define srcver 1.1.2
%define srcver 1.2.0
%if %{dedicated}
Name: %{binname}-dedicated
@@ -117,7 +117,7 @@ way it is possible to install a openttd version without SDL requirement.
%setup -qn openttd%{?branch:-%{branch}}-%{srcver}
# we build the grfs from sources but validate the result with the existing data
md5sum bin/data/* > validate.data
md5sum bin/baseset/* > validate.data
%build
./configure \
@@ -183,16 +183,14 @@ md5sum -c validate.data
%dir %{_datadir}/doc/%{binname}
%dir %{_datadir}/%{binname}
%dir %{_datadir}/%{binname}/lang
%dir %{_datadir}/%{binname}/data
%dir %{_datadir}/%{binname}/gm
%dir %{_datadir}/%{binname}/baseset
%dir %{_datadir}/%{binname}/scripts
%dir %{_datadir}/%{binname}/ai
%{_datadir}/doc/%{binname}/*
%{_datadir}/%{binname}/lang/*
%{_datadir}/%{binname}/data/*
%{_datadir}/%{binname}/baseset/*
%{_datadir}/%{binname}/scripts/*
%{_datadir}/%{binname}/ai/*
%{_datadir}/%{binname}/gm/*
%doc %{_mandir}/man6/%{binname}.6.*
%endif

View File

@@ -1,9 +1,9 @@
# Version numbers to update
!define APPV_MAJOR 1
!define APPV_MINOR 1
!define APPV_MAINT 2
!define APPV_BUILD 2
!define APPV_EXTRA ""
!define APPV_MINOR 2
!define APPV_MAINT 0
!define APPV_BUILD 1
!define APPV_EXTRA "-beta2"
!define APPNAME "OpenTTD" ; Define application name
!define APPVERSION "${APPV_MAJOR}.${APPV_MINOR}.${APPV_MAINT}${APPV_EXTRA}" ; Define application version
@@ -14,7 +14,7 @@
!define APPURLLINK "http://www.openttd.org"
!define APPNAMEANDVERSION "${APPNAME} ${APPVERSION}"
!define OPENGFX_BASE_VERSION "0.7.0"
!define OPENGFX_BASE_VERSION "1.2.0"
!define OPENSFX_BASE_VERSION "0.8.0"
!define OPENMSX_BASE_VERSION "1.0.0"
@@ -57,6 +57,7 @@ Var CDDRIVE
; Modern interface settings
!include "MUI2.nsh"
!include "InstallOptions.nsh"
!include "WinVer.nsh"
!define MUI_ABORTWARNING
!define MUI_WELCOMEPAGE_TITLE_3LINES
@@ -85,7 +86,7 @@ Page custom SelectCDEnter SelectCDExit ": TTD folder"
!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_RUN_TEXT "Run ${APPNAMEANDVERSION} now!"
!define MUI_FINISHPAGE_RUN "$INSTDIR\openttd.exe"
!define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for the latest news, FAQs and downloads"
!define MUI_FINISHPAGE_LINK "Visit the OpenTTD site for more information"
!define MUI_FINISHPAGE_LINK_LOCATION "${APPURLLINK}"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"
@@ -124,15 +125,12 @@ Section "!OpenTTD" Section1
File ${PATH_ROOT}bin\ai\compat_*.nut
; Copy data files
SetOutPath "$INSTDIR\data\"
File ${PATH_ROOT}bin\data\*.grf
File ${PATH_ROOT}bin\data\*.obg
File ${PATH_ROOT}bin\data\*.obs
File ${PATH_ROOT}bin\data\opntitle.dat
; Copy the music base metadata files
SetOutPath "$INSTDIR\gm\"
File ${PATH_ROOT}bin\gm\*.obm
SetOutPath "$INSTDIR\baseset\"
File ${PATH_ROOT}bin\baseset\*.grf
File ${PATH_ROOT}bin\baseset\*.obg
File ${PATH_ROOT}bin\baseset\*.obm
File ${PATH_ROOT}bin\baseset\*.obs
File ${PATH_ROOT}bin\baseset\opntitle.dat
; Copy the scripts
SetOutPath "$INSTDIR\scripts\"
@@ -170,12 +168,30 @@ Section "!OpenTTD" Section1
File /oname=openttd.exe ${BINARY_DIR}\openttd.exe
; Delete old files from the main dir. they are now placed in data/ and lang/
; Delete old files from the main dir. they are now placed in baseset/ and lang/
Delete "$INSTDIR\*.lng"
Delete "$INSTDIR\*.grf"
Delete "$INSTDIR\sample.cat"
Delete "$INSTDIR\ttd.exe"
Delete "$INSTDIR\data\opntitle.dat"
Delete "$INSTDIR\data\2ccmap.grf"
Delete "$INSTDIR\data\airports.grf"
Delete "$INSTDIR\data\autorail.grf"
Delete "$INSTDIR\data\canalsw.grf"
Delete "$INSTDIR\data\dosdummy.grf"
Delete "$INSTDIR\data\elrailsw.grf"
Delete "$INSTDIR\data\nsignalsw.grf"
Delete "$INSTDIR\data\openttd.grf"
Delete "$INSTDIR\data\roadstops.grf"
Delete "$INSTDIR\data\trkfoundw.grf"
Delete "$INSTDIR\data\openttdd.grf"
Delete "$INSTDIR\data\openttdw.grf"
Delete "$INSTDIR\data\orig_win.obg"
Delete "$INSTDIR\data\orig_dos.obg"
Delete "$INSTDIR\data\orig_dos_de.obg"
Delete "$INSTDIR\data\orig_win.obs"
Delete "$INSTDIR\data\orig_dos.obs"
Delete "$INSTDIR\data\no_sound.obs"
; Create the Registry Entries
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenTTD" "Comments" "Visit ${APPURLLINK}"
@@ -223,17 +239,17 @@ SectionEnd
Section "Download OpenGFX (free graphics set)" Section3
SetOverwrite try
NSISdl::download "http://binaries.openttd.org/installer/opengfx-${OPENGFX_BASE_VERSION}.7z" "$INSTDIR\data\opengfx.7z"
NSISdl::download "http://binaries.openttd.org/installer/opengfx-${OPENGFX_BASE_VERSION}.7z" "$INSTDIR\baseset\opengfx.7z"
Pop $R0 ;Get the return value
StrCmp $R0 "success" +3
MessageBox MB_OK "Downloading of OpenGFX failed"
Goto Done
; Let's extract the files
SetOutPath "$INSTDIR\data\"
NSIS7z::Extract "$INSTDIR\data\opengfx.7z"
SetOutPath "$INSTDIR\baseset\"
NSIS7z::Extract "$INSTDIR\baseset\opengfx.7z"
Delete "$INSTDIR\data\opengfx.7z"
Delete "$INSTDIR\baseset\opengfx.7z"
SetOutPath "$INSTDIR\"
Done:
@@ -244,17 +260,17 @@ SectionEnd
Section "Download OpenSFX (free sound set)" Section4
SetOverwrite try
NSISdl::download "http://binaries.openttd.org/installer/opensfx-${OPENSFX_BASE_VERSION}.7z" "$INSTDIR\data\opensfx.7z"
NSISdl::download "http://binaries.openttd.org/installer/opensfx-${OPENSFX_BASE_VERSION}.7z" "$INSTDIR\baseset\opensfx.7z"
Pop $R0 ;Get the return value
StrCmp $R0 "success" +3
MessageBox MB_OK "Downloading of OpenSFX failed"
Goto Done
; Let's extract the files
SetOutPath "$INSTDIR\data\"
NSIS7z::Extract "$INSTDIR\data\opensfx.7z"
SetOutPath "$INSTDIR\baseset\"
NSIS7z::Extract "$INSTDIR\baseset\opensfx.7z"
Delete "$INSTDIR\data\opensfx.7z"
Delete "$INSTDIR\baseset\opensfx.7z"
SetOutPath "$INSTDIR\"
Done:
@@ -286,22 +302,21 @@ SectionEnd
Section /o "Copy data from Transport Tycoon Deluxe CD-ROM" Section2
SetOverwrite try
; Let's copy the files with size approximation
SetOutPath "$INSTDIR\gm"
CopyFiles "$CDDRIVE\gm\*.gm" "$INSTDIR\gm\" 1028
SetOutPath "$INSTDIR\data\"
CopyFiles "$CDDRIVE\sample.cat" "$INSTDIR\data\sample.cat" 1566
SetOutPath "$INSTDIR\baseset"
CopyFiles "$CDDRIVE\gm\*.gm" "$INSTDIR\baseset\" 1028
CopyFiles "$CDDRIVE\sample.cat" "$INSTDIR\baseset\sample.cat" 1566
; Copy Windows files
CopyFiles "$CDDRIVE\trg1r.grf" "$INSTDIR\data\trg1r.grf" 2365
CopyFiles "$CDDRIVE\trgcr.grf" "$INSTDIR\data\trgcr.grf" 260
CopyFiles "$CDDRIVE\trghr.grf" "$INSTDIR\data\trghr.grf" 400
CopyFiles "$CDDRIVE\trgir.grf" "$INSTDIR\data\trgir.grf" 334
CopyFiles "$CDDRIVE\trgtr.grf" "$INSTDIR\data\trgtr.grf" 546
CopyFiles "$CDDRIVE\trg1r.grf" "$INSTDIR\baseset\trg1r.grf" 2365
CopyFiles "$CDDRIVE\trgcr.grf" "$INSTDIR\baseset\trgcr.grf" 260
CopyFiles "$CDDRIVE\trghr.grf" "$INSTDIR\baseset\trghr.grf" 400
CopyFiles "$CDDRIVE\trgir.grf" "$INSTDIR\baseset\trgir.grf" 334
CopyFiles "$CDDRIVE\trgtr.grf" "$INSTDIR\baseset\trgtr.grf" 546
; Copy DOS files
CopyFiles "$CDDRIVE\trg1.grf" "$INSTDIR\data\trg1.grf" 2365
CopyFiles "$CDDRIVE\trgc.grf" "$INSTDIR\data\trgc.grf" 260
CopyFiles "$CDDRIVE\trgh.grf" "$INSTDIR\data\trgh.grf" 400
CopyFiles "$CDDRIVE\trgi.grf" "$INSTDIR\data\trgi.grf" 334
CopyFiles "$CDDRIVE\trgt.grf" "$INSTDIR\data\trgt.grf" 546
CopyFiles "$CDDRIVE\trg1.grf" "$INSTDIR\baseset\trg1.grf" 2365
CopyFiles "$CDDRIVE\trgc.grf" "$INSTDIR\baseset\trgc.grf" 260
CopyFiles "$CDDRIVE\trgh.grf" "$INSTDIR\baseset\trgh.grf" 400
CopyFiles "$CDDRIVE\trgi.grf" "$INSTDIR\baseset\trgi.grf" 334
CopyFiles "$CDDRIVE\trgt.grf" "$INSTDIR\baseset\trgt.grf" 546
SetOutPath "$INSTDIR\"
SectionEnd
@@ -387,46 +402,49 @@ Section "Uninstall"
; AI files
Delete "$INSTDIR\ai\compat_*.nut"
; Data files
Delete "$INSTDIR\data\opntitle.dat"
Delete "$INSTDIR\data\2ccmap.grf"
Delete "$INSTDIR\data\airports.grf"
Delete "$INSTDIR\data\autorail.grf"
Delete "$INSTDIR\data\canalsw.grf"
Delete "$INSTDIR\data\dosdummy.grf"
Delete "$INSTDIR\data\elrailsw.grf"
Delete "$INSTDIR\data\nsignalsw.grf"
Delete "$INSTDIR\data\openttd.grf"
Delete "$INSTDIR\data\roadstops.grf"
Delete "$INSTDIR\data\trkfoundw.grf"
Delete "$INSTDIR\data\openttdd.grf"
Delete "$INSTDIR\data\openttdw.grf"
Delete "$INSTDIR\data\orig_win.obg"
Delete "$INSTDIR\data\orig_dos.obg"
Delete "$INSTDIR\data\orig_dos_de.obg"
Delete "$INSTDIR\data\orig_win.obs"
Delete "$INSTDIR\data\orig_dos.obs"
Delete "$INSTDIR\data\no_sound.obs"
; Baseset files
Delete "$INSTDIR\baseset\opntitle.dat"
Delete "$INSTDIR\baseset\openttd.grf"
Delete "$INSTDIR\baseset\orig_win.obg"
Delete "$INSTDIR\baseset\orig_dos.obg"
Delete "$INSTDIR\baseset\orig_dos_de.obg"
Delete "$INSTDIR\baseset\orig_win.obs"
Delete "$INSTDIR\baseset\orig_dos.obs"
Delete "$INSTDIR\baseset\no_sound.obs"
Delete "$INSTDIR\baseset\sample.cat"
Delete "$INSTDIR\baseset\trg1r.grf"
Delete "$INSTDIR\baseset\trghr.grf"
Delete "$INSTDIR\baseset\trgtr.grf"
Delete "$INSTDIR\baseset\trgcr.grf"
Delete "$INSTDIR\baseset\trgir.grf"
Delete "$INSTDIR\baseset\trg1.grf"
Delete "$INSTDIR\baseset\trgh.grf"
Delete "$INSTDIR\baseset\trgt.grf"
Delete "$INSTDIR\baseset\trgc.grf"
Delete "$INSTDIR\baseset\trgi.grf"
Delete "$INSTDIR\baseset\*.gm"
Delete "$INSTDIR\data\sample.cat"
; Windows Data files
Delete "$INSTDIR\data\trg1r.grf"
Delete "$INSTDIR\data\trghr.grf"
Delete "$INSTDIR\data\trgtr.grf"
Delete "$INSTDIR\data\trgcr.grf"
Delete "$INSTDIR\data\trgir.grf"
; Dos Data files
Delete "$INSTDIR\data\trg1.grf"
Delete "$INSTDIR\data\trgh.grf"
Delete "$INSTDIR\data\trgt.grf"
Delete "$INSTDIR\data\trgc.grf"
Delete "$INSTDIR\data\trgi.grf"
; Music
Delete "$INSTDIR\gm\*.gm"
; Downloaded OpenGFX/OpenSFX/OpenMSX
Delete "$INSTDIR\baseset\opengfx\*"
RMDir "$INSTDIR\baseset\opengfx"
Delete "$INSTDIR\baseset\opensfx\*"
RMDir "$INSTDIR\baseset\opensfx"
Delete "$INSTDIR\baseset\openmsx\*"
RMDir "$INSTDIR\baseset\openmsx"
Delete "$INSTDIR\data\opengfx\*"
RMDir "$INSTDIR\data\opengfx"
Delete "$INSTDIR\data\opensfx\*"
@@ -446,6 +464,8 @@ Section "Uninstall"
; Base sets for music
Delete "$INSTDIR\gm\orig_win.obm"
Delete "$INSTDIR\gm\no_music.obm"
Delete "$INSTDIR\baseset\orig_win.obm"
Delete "$INSTDIR\baseset\no_music.obm"
; Remove remaining directories
RMDir "$SMPROGRAMS\$SHORTCUTS\Extras\"
@@ -454,6 +474,7 @@ Section "Uninstall"
RMDir "$SMPROGRAMS\$SHORTCUTS"
RMDir "$INSTDIR\ai"
RMDir "$INSTDIR\data"
RMDir "$INSTDIR\baseset"
RMDir "$INSTDIR\gm"
RMDir "$INSTDIR\lang"
RMDir "$INSTDIR\scripts"
@@ -518,17 +539,17 @@ hasCD:
FunctionEnd
;-------------------------------------------------------------------------------
; Determine windows version, returns "win9x" if Win9x/Me or "winnt" on the stack
; Determine windows version, returns "win9x" if Win9x/Me/2000/XP SP2- or "winnt" for the rest on the stack
Function GetWindowsVersion
ClearErrors
StrCpy $R0 "winnt"
GetVersion::WindowsPlatformId
Pop $R0
IntCmp $R0 2 WinNT 0
StrCpy $R0 "win9x"
WinNT:
ClearErrors
${If} ${IsNT}
${If} ${IsWinXP}
${AndIf} ${AtLeastServicePack} 3
${OrIf} ${AtLeastWin2003}
StrCpy $R0 "winnt"
${EndIf}
${EndIf}
Push $R0
FunctionEnd
@@ -540,12 +561,12 @@ Function CheckProcessorArchitecture
IntCmp $R0 64 Win64 0
ClearErrors
IntCmp ${APPBITS} 64 0 Done
MessageBox MB_OKCANCEL|MB_ICONSTOP "You are trying to install the 64-bit OpenTTD on a 32-bit operating system. This is not going to work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_YESNO|MB_ICONSTOP "You are trying to install the 64-bit OpenTTD on a 32-bit operating system. This is not going to work. Please download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
GoTo Done
Win64:
ClearErrors
IntCmp ${APPBITS} 64 Done 0
MessageBox MB_OKCANCEL|MB_ICONINFORMATION "You are trying to install the 32-bit OpenTTD on a 64-bit operating system. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_YESNO|MB_ICONINFORMATION "You are trying to install the 32-bit OpenTTD on a 64-bit operating system. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
GoTo Done
Abort:
Quit
@@ -560,12 +581,12 @@ Function CheckWindowsVersion
StrCmp $R0 "win9x" 0 WinNT
ClearErrors
StrCmp ${APPARCH} "win9x" Done 0
MessageBox MB_OKCANCEL|MB_ICONSTOP "You are trying to install the Windows 2000, XP, Vista and 7 version on Windows 95, 98 or ME. This is will not work. Please download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_YESNO|MB_ICONSTOP "You are trying to install the Windows XP SP3, Vista and 7 version on Windows 95, 98, ME, 2000 and XP without SP3. This is will not work. Please download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
GoTo Done
WinNT:
ClearErrors
StrCmp ${APPARCH} "win9x" 0 Done
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "You are trying to install the Windows 95, 98 and ME version on Windows 2000, XP, Vista or 7. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDOK Done IDCANCEL Abort
MessageBox MB_YESNO|MB_ICONEXCLAMATION "You are trying to install the Windows 95, 98, 2000 and XP without SP3 version on Windows XP SP3, Vista or 7. This is not advised, but will work with reduced capabilities. We suggest that you download the correct version. Do you really want to continue?" IDYES Done IDNO Abort
Abort:
Quit
Done:
@@ -674,8 +695,7 @@ WelcomeToSetup:
ReadRegStr $OLDVERSION HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenTTD" "DisplayVersion"
; Gets the older version then displays it in a message box
MessageBox MB_OK|MB_ICONINFORMATION \
"Welcome to ${APPNAMEANDVERSION} Setup.$\n \
This will allow you to upgrade from version $OLDVERSION."
"Welcome to ${APPNAMEANDVERSION} Setup.$\nThis will allow you to upgrade from version $OLDVERSION."
SectionSetFlags ${Section2} 0x80 ; set bit 7
SectionSetFlags ${Section3} 0x80 ; set bit 7
SectionSetFlags ${Section4} 0x80 ; set bit 7
@@ -686,8 +706,7 @@ VersionsAreEqual:
ReadRegStr $UninstallString HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenTTD" "UninstallString"
IfFileExists "$UninstallString" "" FinishCallback
MessageBox MB_YESNO|MB_ICONQUESTION \
"Setup detected ${APPNAMEANDVERSION} on your system. This is the same version that this program will install.$\n \
Are you trying to uninstall it?" \
"Setup detected ${APPNAMEANDVERSION} on your system. This is the same version that this program will install.$\nAre you trying to uninstall it?" \
IDYES DoUninstall IDNO FinishCallback
DoUninstall: ; You have the same version as this installer. This allows you to uninstall.
Exec "$UninstallString"
@@ -695,8 +714,7 @@ DoUninstall: ; You have the same version as this installer. This allows you to
InstallerIsOlder:
MessageBox MB_OK|MB_ICONSTOP \
"You have a newer version of ${APPNAME}.$\n \
Setup will now exit."
"You have a newer version of ${APPNAME}.$\nSetup will now exit."
Quit
FinishCallback:

View File

@@ -1,5 +1,5 @@
!define APPBITS 32 ; Define number of bits for the architecture
!define EXTRA_VERSION "2000, XP, Vista and 7"
!define EXTRA_VERSION "XP SP3, Vista and 7"
!define APPARCH "win32" ; Define the application architecture
!define BINARY_DIR "${PATH_ROOT}objs\win32\Release"
InstallDir "$PROGRAMFILES32\OpenTTD\"

View File

@@ -1,5 +1,5 @@
!define APPBITS 32 ; Define number of bits for the architecture
!define EXTRA_VERSION "95, 98 and ME"
!define EXTRA_VERSION "95, 98, ME, 2000 and XP without SP3"
!define APPARCH "win9x" ; Define the application architecture
!define BINARY_DIR "${PATH_ROOT}bin"
InstallDir "$PROGRAMFILES32\OpenTTD\"

View File

@@ -77,7 +77,7 @@ safety_check() {
done
}
grep '\.h' "$ROOT_DIR/source.list" | grep -v '../objs/langs/table/strings.h' | sed 's/ //' | sort > tmp.headers.source.list
grep '\.h' "$ROOT_DIR/source.list" | grep -v '../objs/langs/table/strings.h\|../objs/settings/table/settings.h' | sed 's/ //' | sort > tmp.headers.source.list
find "$ROOT_DIR/src" \( -iname "*.h" -or -iname "*.hpp" \) -and -not -ipath "*/.svn/*" | sed "s~$ROOT_DIR/src/~~" | sort > tmp.headers.src
if [ -n "`diff tmp.headers.source.list tmp.headers.src`" ]; then
echo "The following headers are missing in source.list and not in /src/ or vice versa."
@@ -177,33 +177,62 @@ load_lang_data() {
for i in `ls $1`
do
i=`basename $i | sed s~.txt$~~g`
if [ "$i" == "english" ]
then
continue
fi
RES="$RES
#1 <File
#1 RelativePath=\"..\\src\\lang\\"$i".txt\"
#1 >
#1 <FileConfiguration
#1 Name=\"Debug|Win32\"
#1 <File
#1 RelativePath=\"..\\src\\lang\\"$i".txt\"
#1 >
#1 <Tool
#1 Name=\"VCCustomBuildTool\"
#1 Description=\"Generating "$i" language file\"
#1 CommandLine=\"..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang &quot;\$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;\"
#1 AdditionalDependencies=\"..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe\"
#1 Outputs=\"..\\bin\\lang\\"$i".lng\"
#1 />
#1 </FileConfiguration>
#1 </File>
#1 <FileConfiguration
#1 Name=\"Debug|Win32\"
#1 >
#1 <Tool
#1 Name=\"VCCustomBuildTool\"
#1 Description=\"Generating "$i" language file\"
#1 CommandLine=\"..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang &quot;\$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;\"
#1 AdditionalDependencies=\"..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe\"
#1 Outputs=\"..\\bin\\lang\\"$i".lng\"
#1 />
#1 </FileConfiguration>
#1 </File>
#2 <CustomBuild Include=\"..\\src\\lang\\"$i".txt\">
#2 <Message Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">Generating "$i" language file</Message>
#2 <Command Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\objs\\strgen\\strgen.exe -s ..\\src\\lang -d ..\\bin\\lang \"%(FullPath)\"</Command>
#2 <AdditionalInputs Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\src\\lang\\english.txt;..\\objs\\strgen\\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
#2 <Outputs Condition=\"'\$(Configuration)|\$(Platform)'=='Debug|Win32'\">..\\bin\\lang\\"$i".lng;%(Outputs)</Outputs>
#2 </CustomBuild>"
#2 </CustomBuild>
#3 <CustomBuild Include=\"..\\src\\lang\\"$i".txt\">
#3 <Filter>Translations</Filter>
#3 </CustomBuild>"
done
eval "$2=\"\$RES\""
}
load_settings_data() {
RES=""
RES2="
#3..\\objs\\settings\\settings_gen.exe -o ..\\objs\\settings\\table\\settings.h -b ..\\src\\table\\settings.h.preamble -a ..\\src\\table\\settings.h.postamble"
for i in `ls $1`
do
i=`basename $i`
RES="$RES
#1 <File
#1 RelativePath=\"..\\src\\table\\"$i"\"
#1 >
#1 </File>
#2 <None Include=\"..\\src\\table\\"$i"\" />
#4 <None Include=\"..\\src\\table\\"$i"\">
#4 <Filter>INI</Filter>
#4 </None>"
RES2="$RES2 ..\\src\\table\\"$i
done
eval "$2=\"\$RES\$RES2\""
}
generate() {
echo "Generating $2..."
if [ $# -eq 3 ]; then
@@ -263,9 +292,16 @@ openttdvcxproj=`echo "$openttd" | grep "^#2" | sed "s~#2~~g"`
openttd=`echo "$openttd" | grep "^#1" | sed "s~#1~~g"`
load_lang_data "$ROOT_DIR/src/lang/*.txt" lang
langfiles=`echo "$lang" | grep "^#3" | sed "s~#3~~g"`
langvcxproj=`echo "$lang" | grep "^#2" | sed "s~#2~~g"`
lang=`echo "$lang" | grep "^#1" | sed "s~#1~~g"`
load_settings_data "$ROOT_DIR/src/table/*.ini" settings
settingsfiles=`echo "$settings" | grep "^#4" | sed "s~#4~~g"`
settingscommand=`echo "$settings" | grep "^#3" | sed "s~#3~~g"`
settingsvcxproj=`echo "$settings" | grep "^#2" | sed "s~#2~~g"`
settings=`echo "$settings" | grep "^#1" | sed "s~#1~~g"`
generate "$openttd" "openttd_vs80.vcproj"
generate "$openttd" "openttd_vs90.vcproj"
generate "$openttdvcxproj" "openttd_vs100.vcxproj"
@@ -273,3 +309,8 @@ generate "$openttdfiles" "openttd_vs100.vcxproj.filters" "$openttdfilters"
generate "$lang" "langs_vs80.vcproj"
generate "$lang" "langs_vs90.vcproj"
generate "$langvcxproj" "langs_vs100.vcxproj"
generate "$langfiles" "langs_vs100.vcxproj.filters"
generate "$settings" "settings_vs80.vcproj" "$settingscommand"
generate "$settings" "settings_vs90.vcproj" "$settingscommand"
generate "$settingsvcxproj" "settings_vs100.vcxproj" "$settingscommand"
generate "$settingsfiles" "settings_vs100.vcxproj.filters"

View File

@@ -113,7 +113,7 @@ Sub headers_check(filename, dir)
Set file = FSO.OpenTextFile(filename, 1, 0, 0)
While Not file.AtEndOfStream
line = Replace(file.ReadLine, Chr(9), "") ' Remove tabs
If Len(line) > 0 And regexp.Test(line) And line <> "../objs/langs/table/strings.h" Then
If Len(line) > 0 And regexp.Test(line) And line <> "../objs/langs/table/strings.h" And line <> "../objs/settings/table/settings.h" Then
source_list_headers.Add line, line
End If
Wend
@@ -232,36 +232,37 @@ Function load_main_data(filename, ByRef vcxproj, ByRef filters, ByRef files)
load_main_data = res
End Function
Function load_lang_data(dir, ByRef vcxproj)
Function load_lang_data(dir, ByRef vcxproj, ByRef files)
Dim res, folder, file, first_time
res = ""
Set folder = FSO.GetFolder(dir)
For Each file In folder.Files
file = FSO.GetFileName(file)
If FSO.GetExtensionName(file) = "txt" Then
If file <> "english.txt" And FSO.GetExtensionName(file) = "txt" Then
file = Left(file, Len(file) - 4)
if first_time <> 0 Then
If first_time <> 0 Then
res = res & vbCrLf
vcxproj = vcxproj & vbCrLf
files = files & vbCrLf
Else
first_time = 1
End If
res = res & _
" <File" & vbCrLf & _
" RelativePath=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & vbCrLf & _
" >" & vbCrLf & _
" <FileConfiguration" & vbCrLf & _
" Name=" & Chr(34) & "Debug|Win32" & Chr(34) & vbCrLf & _
" <File" & vbCrLf & _
" RelativePath=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & vbCrLf & _
" >" & vbCrLf & _
" <Tool" & vbCrLf & _
" Name=" & Chr(34) & "VCCustomBuildTool" & Chr(34) & vbCrLf & _
" Description=" & Chr(34) & "Generating " & file & " language file" & Chr(34) & vbCrLf & _
" CommandLine=" & Chr(34) & "..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang &quot;$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;" & Chr(34) & vbCrLf & _
" AdditionalDependencies=" & Chr(34) & "..\src\lang\english.txt;..\objs\strgen\strgen.exe" & Chr(34) & vbCrLf & _
" Outputs=" & Chr(34) & "..\bin\lang\" & file & ".lng" & Chr(34) & vbCrLf & _
" />" & vbCrLf & _
" </FileConfiguration>" & vbCrLf & _
" </File>"
" <FileConfiguration" & vbCrLf & _
" Name=" & Chr(34) & "Debug|Win32" & Chr(34) & vbCrLf & _
" >" & vbCrLf & _
" <Tool" & vbCrLf & _
" Name=" & Chr(34) & "VCCustomBuildTool" & Chr(34) & vbCrLf & _
" Description=" & Chr(34) & "Generating " & file & " language file" & Chr(34) & vbCrLf & _
" CommandLine=" & Chr(34) & "..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang &quot;$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;" & Chr(34) & vbCrLf & _
" AdditionalDependencies=" & Chr(34) & "..\src\lang\english.txt;..\objs\strgen\strgen.exe" & Chr(34) & vbCrLf & _
" Outputs=" & Chr(34) & "..\bin\lang\" & file & ".lng" & Chr(34) & vbCrLf & _
" />" & vbCrLf & _
" </FileConfiguration>" & vbCrLf & _
" </File>"
vcxproj = vcxproj & _
" <CustomBuild Include=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & ">" & vbCrLf & _
" <Message Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">Generating " & file & " language file</Message>" & vbCrLf & _
@@ -269,11 +270,47 @@ Function load_lang_data(dir, ByRef vcxproj)
" <AdditionalInputs Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>" & vbCrLf & _
" <Outputs Condition=" & Chr(34) & "'$(Configuration)|$(Platform)'=='Debug|Win32'" & Chr(34) & ">..\bin\lang\" & file & ".lng;%(Outputs)</Outputs>" & vbCrLf & _
" </CustomBuild>"
files = files & _
" <CustomBuild Include=" & Chr(34) & "..\src\lang\" & file & ".txt" & Chr(34) & ">" & vbCrLf & _
" <Filter>Translations</Filter>" & vbCrLf & _
" </CustomBuild>"
End If
Next
load_lang_data = res
End Function
Function load_settings_data(dir, ByRef vcxproj, ByRef command, ByRef files)
Dim res, folder, file, first_time
res = ""
command = "..\objs\settings\settings_gen.exe -o ..\objs\settings\table\settings.h -b ..\src\table\settings.h.preamble -a ..\src\table\settings.h.postamble"
Set folder = FSO.GetFolder(dir)
For Each file In folder.Files
file = FSO.GetFileName(file)
If FSO.GetExtensionName(file) = "ini" Then
if first_time <> 0 Then
res = res & vbCrLf
vcxproj = vcxproj & vbCrLf
files = files & vbCrLf
Else
first_time = 1
End If
res = res & _
" <File" & vbCrLf & _
" RelativePath=" & Chr(34) & "..\src\table\" & file & Chr(34) & vbCrLf & _
" >" & vbCrLf & _
" </File>"
vcxproj = vcxproj & _
" <None Include=" & Chr(34) & "..\src\table\" & file & Chr(34) & " />"
command = command & " ..\src\table\" & file
files = files & _
" <None Include=" & Chr(34) & "..\src\table\" & file & Chr(34) & ">" & vbCrLf & _
" <Filter>INI</Filter>" & vbCrLf & _
" </None>"
End If
Next
load_settings_data = res
End Function
Sub generate(data, dest, data2)
Dim srcfile, destfile, line
WScript.Echo "Generating " & FSO.GetFileName(dest) & "..."
@@ -332,8 +369,16 @@ generate openttd, ROOT_DIR & "/projects/openttd_vs90.vcproj", Null
generate openttdvcxproj, ROOT_DIR & "/projects/openttd_vs100.vcxproj", Null
generate openttdfiles, ROOT_DIR & "/projects/openttd_vs100.vcxproj.filters", openttdfilters
Dim lang, langvcxproj
lang = load_lang_data(ROOT_DIR & "/src/lang", langvcxproj)
Dim lang, langvcxproj, langfiles
lang = load_lang_data(ROOT_DIR & "/src/lang", langvcxproj, langfiles)
generate lang, ROOT_DIR & "/projects/langs_vs80.vcproj", Null
generate lang, ROOT_DIR & "/projects/langs_vs90.vcproj", Null
generate langvcxproj, ROOT_DIR & "/projects/langs_vs100.vcxproj", Null
generate langfiles, ROOT_DIR & "/projects/langs_vs100.vcxproj.filters", Null
Dim settings, settingsvcxproj, settingscommand, settingsfiles
settings = load_settings_data(ROOT_DIR & "/src/table", settingsvcxproj, settingscommand, settingsfiles)
generate settings, ROOT_DIR & "/projects/settings_vs80.vcproj", settingscommand
generate settings, ROOT_DIR & "/projects/settings_vs90.vcproj", settingscommand
generate settingsvcxproj, ROOT_DIR & "/projects/settings_vs100.vcxproj", settingscommand
generate settingsfiles, ROOT_DIR & "/projects/settings_vs100.vcxproj.filters", Null

View File

@@ -41,6 +41,12 @@
</Midl>
</ItemDefinitionGroup>
<ItemGroup>
<CustomBuild Include="..\src\lang\english.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="..\src\lang\afrikaans.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating afrikaans language file</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
@@ -101,11 +107,11 @@
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\dutch.lng;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="..\src\lang\english.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
<CustomBuild Include="..\src\lang\english_AU.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_AU language file</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english_AU.lng;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="..\src\lang\english_US.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english_US language file</Message>

View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Translations">
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\src\lang\english.txt" />
<CustomBuild Include="..\src\lang\afrikaans.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\arabic_egypt.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\belarusian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\brazilian_portuguese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\bulgarian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\catalan.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\croatian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\czech.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\danish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\dutch.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\english_AU.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\english_US.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\esperanto.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\estonian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\finnish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\french.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\galician.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\german.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\greek.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\hebrew.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\hungarian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\icelandic.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\indonesian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\irish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\italian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\japanese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\korean.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\latvian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\lithuanian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\luxembourgish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\malay.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\norwegian_bokmal.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\norwegian_nynorsk.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\polish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\portuguese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\romanian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\russian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\serbian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\simplified_chinese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\slovak.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\slovenian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\spanish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\swedish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\traditional_chinese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\turkish.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\ukrainian.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\vietnamese.txt">
<Filter>Translations</Filter>
</CustomBuild>
<CustomBuild Include="..\src\lang\welsh.txt">
<Filter>Translations</Filter>
</CustomBuild>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Translations">
<UniqueIdentifier>{2a164580-9033-4a01-974b-b21da507efda}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\src\lang\english.txt" />
!!FILES!!
</ItemGroup>
</Project>

View File

@@ -41,6 +41,12 @@
</Midl>
</ItemDefinitionGroup>
<ItemGroup>
<CustomBuild Include="..\src\lang\english.txt">
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating english language file</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang "%(FullPath)"</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\src\lang\english.txt;..\objs\strgen\strgen.exe;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\lang\english.lng;%(Outputs)</Outputs>
</CustomBuild>
!!FILES!!
</ItemGroup>
<ItemGroup>

File diff suppressed because it is too large Load Diff

View File

@@ -45,7 +45,26 @@
<References>
</References>
<Files>
<File
RelativePath="..\src\lang\english.txt"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Generating english language file"
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang &quot;$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;"
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
Outputs="..\bin\lang\english.lng"
/>
</FileConfiguration>
</File>
<Filter
Name="Translations"
>
!!FILES!!
</Filter>
</Files>
<Globals>
</Globals>

File diff suppressed because it is too large Load Diff

View File

@@ -46,7 +46,26 @@
<References>
</References>
<Files>
<File
RelativePath="..\src\lang\english.txt"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Generating english language file"
CommandLine="..\objs\strgen\strgen.exe -s ..\src\lang -d ..\bin\lang &quot;$(InputPath)&quot;&#x0D;&#x0A;exit 0&#x0D;&#x0A;"
AdditionalDependencies="..\src\lang\english.txt;..\objs\strgen\strgen.exe"
Outputs="..\bin\lang\english.lng"
/>
</FileConfiguration>
</File>
<Filter
Name="Translations"
>
!!FILES!!
</Filter>
</Files>
<Globals>
</Globals>

View File

@@ -1,6 +1,10 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs100.vcxproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}"
ProjectSection(ProjectDependencies) = postProject
{0817F629-589E-4A3B-B81A-8647BC571E35} = {0817F629-589E-4A3B-B81A-8647BC571E35}
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strgen", "strgen_vs100.vcxproj", "{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}"
EndProject
@@ -10,6 +14,13 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs100.vc
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs100.vcxproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings", "settings_vs100.vcxproj", "{0817F629-589E-4A3B-B81A-8647BC571E35}"
ProjectSection(ProjectDependencies) = postProject
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settingsgen", "settingsgen_vs100.vcxproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -54,6 +65,22 @@ Global
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@@ -101,8 +101,8 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -155,8 +155,8 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
@@ -203,8 +203,8 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -255,8 +255,8 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
@@ -320,11 +320,13 @@
<ClCompile Include="..\src\genworld.cpp" />
<ClCompile Include="..\src\gfx.cpp" />
<ClCompile Include="..\src\gfxinit.cpp" />
<ClCompile Include="..\src\goal.cpp" />
<ClCompile Include="..\src\ground_vehicle.cpp" />
<ClCompile Include="..\src\heightmap.cpp" />
<ClCompile Include="..\src\highscore.cpp" />
<ClCompile Include="..\src\hotkeys.cpp" />
<ClCompile Include="..\src\ini.cpp" />
<ClCompile Include="..\src\ini_load.cpp" />
<ClCompile Include="..\src\landscape.cpp" />
<ClCompile Include="..\src\map.cpp" />
<ClCompile Include="..\src\misc.cpp" />
@@ -342,6 +344,7 @@
<ClCompile Include="..\src\order_backup.cpp" />
<ClCompile Include="..\src\os_timer.cpp" />
<ClCompile Include="..\src\pbs.cpp" />
<ClCompile Include="..\src\progress.cpp" />
<ClCompile Include="..\src\rail.cpp" />
<ClCompile Include="..\src\rev.cpp" />
<ClCompile Include="..\src\road.cpp" />
@@ -355,6 +358,7 @@
<ClCompile Include="..\src\sprite.cpp" />
<ClCompile Include="..\src\spritecache.cpp" />
<ClCompile Include="..\src\station.cpp" />
<ClCompile Include="..\src\strgen\strgen_base.cpp" />
<ClCompile Include="..\src\string.cpp" />
<ClCompile Include="..\src\strings.cpp" />
<ClCompile Include="..\src\subsidy.cpp" />
@@ -426,6 +430,7 @@
<ClInclude Include="..\src\engine_func.h" />
<ClInclude Include="..\src\engine_gui.h" />
<ClInclude Include="..\src\engine_type.h" />
<ClInclude Include="..\src\error.h" />
<ClInclude Include="..\src\fileio_func.h" />
<ClInclude Include="..\src\fileio_type.h" />
<ClInclude Include="..\src\fios.h" />
@@ -436,6 +441,8 @@
<ClInclude Include="..\src\gfx_func.h" />
<ClInclude Include="..\src\gfx_type.h" />
<ClInclude Include="..\src\gfxinit.h" />
<ClInclude Include="..\src\goal_base.h" />
<ClInclude Include="..\src\goal_type.h" />
<ClInclude Include="..\src\graph_gui.h" />
<ClInclude Include="..\src\ground_vehicle.hpp" />
<ClInclude Include="..\src\group.h" />
@@ -463,6 +470,7 @@
<ClInclude Include="..\src\network\network_base.h" />
<ClInclude Include="..\src\network\network_client.h" />
<ClInclude Include="..\src\network\network_content.h" />
<ClInclude Include="..\src\network\network_content_gui.h" />
<ClInclude Include="..\src\network\network_func.h" />
<ClInclude Include="..\src\network\network_gamelist.h" />
<ClInclude Include="..\src\network\network_gui.h" />
@@ -513,6 +521,7 @@
<ClInclude Include="..\src\order_func.h" />
<ClInclude Include="..\src\order_type.h" />
<ClInclude Include="..\src\pbs.h" />
<ClInclude Include="..\src\progress.h" />
<ClInclude Include="..\src\querystring_gui.h" />
<ClInclude Include="..\src\rail.h" />
<ClInclude Include="..\src\rail_gui.h" />
@@ -527,7 +536,6 @@
<ClInclude Include="..\src\roadveh.h" />
<ClInclude Include="..\src\screenshot.h" />
<ClInclude Include="..\src\sdl.h" />
<ClInclude Include="..\src\smallmap_gui.h" />
<ClInclude Include="..\src\sound\sdl_s.h" />
<ClInclude Include="..\src\video\sdl_v.h" />
<ClInclude Include="..\src\settings_func.h" />
@@ -541,6 +549,7 @@
<ClInclude Include="..\src\signs_type.h" />
<ClInclude Include="..\src\slope_func.h" />
<ClInclude Include="..\src\slope_type.h" />
<ClInclude Include="..\src\smallmap_gui.h" />
<ClInclude Include="..\src\sortlist_type.h" />
<ClInclude Include="..\src\sound_func.h" />
<ClInclude Include="..\src\sound_type.h" />
@@ -552,6 +561,7 @@
<ClInclude Include="..\src\station_type.h" />
<ClInclude Include="..\src\statusbar_gui.h" />
<ClInclude Include="..\src\stdafx.h" />
<ClInclude Include="..\src\strgen\strgen.h" />
<ClInclude Include="..\src\string_func.h" />
<ClInclude Include="..\src\string_type.h" />
<ClInclude Include="..\src\strings_func.h" />
@@ -564,11 +574,12 @@
<ClInclude Include="..\src\textbuf_gui.h" />
<ClInclude Include="..\src\texteff.hpp" />
<ClInclude Include="..\src\tgp.h" />
<ClInclude Include="..\src\tilearea_type.h" />
<ClInclude Include="..\src\tile_cmd.h" />
<ClInclude Include="..\src\tile_type.h" />
<ClInclude Include="..\src\tilearea_type.h" />
<ClInclude Include="..\src\tilehighlight_func.h" />
<ClInclude Include="..\src\tilehighlight_type.h" />
<ClInclude Include="..\src\tilematrix_type.hpp" />
<ClInclude Include="..\src\timetable.h" />
<ClInclude Include="..\src\toolbar_gui.h" />
<ClInclude Include="..\src\town.h" />
@@ -619,6 +630,7 @@
<ClInclude Include="..\src\core\math_func.hpp" />
<ClInclude Include="..\src\core\mem_func.hpp" />
<ClInclude Include="..\src\core\overflowsafe_type.hpp" />
<ClCompile Include="..\src\core\pool_func.cpp" />
<ClInclude Include="..\src\core\pool_func.hpp" />
<ClInclude Include="..\src\core\pool_type.hpp" />
<ClCompile Include="..\src\core\random_func.cpp" />
@@ -630,6 +642,7 @@
<ClCompile Include="..\src\aircraft_gui.cpp" />
<ClCompile Include="..\src\airport_gui.cpp" />
<ClCompile Include="..\src\autoreplace_gui.cpp" />
<ClCompile Include="..\src\bootstrap_gui.cpp" />
<ClCompile Include="..\src\bridge_gui.cpp" />
<ClCompile Include="..\src\build_vehicle_gui.cpp" />
<ClCompile Include="..\src\cheat_gui.cpp" />
@@ -639,8 +652,10 @@
<ClCompile Include="..\src\depot_gui.cpp" />
<ClCompile Include="..\src\dock_gui.cpp" />
<ClCompile Include="..\src\engine_gui.cpp" />
<ClCompile Include="..\src\error_gui.cpp" />
<ClCompile Include="..\src\fios_gui.cpp" />
<ClCompile Include="..\src\genworld_gui.cpp" />
<ClCompile Include="..\src\goal_gui.cpp" />
<ClCompile Include="..\src\graph_gui.cpp" />
<ClCompile Include="..\src\group_gui.cpp" />
<ClCompile Include="..\src\highscore_gui.cpp" />
@@ -678,9 +693,61 @@
<ClCompile Include="..\src\vehicle_gui.cpp" />
<ClCompile Include="..\src\viewport_gui.cpp" />
<ClCompile Include="..\src\waypoint_gui.cpp" />
<ClInclude Include="..\src\widgets\airport_widget.h" />
<ClInclude Include="..\src\widgets\ai_widget.h" />
<ClInclude Include="..\src\widgets\autoreplace_widget.h" />
<ClInclude Include="..\src\widgets\bootstrap_widget.h" />
<ClInclude Include="..\src\widgets\bridge_widget.h" />
<ClInclude Include="..\src\widgets\build_vehicle_widget.h" />
<ClInclude Include="..\src\widgets\cheat_widget.h" />
<ClInclude Include="..\src\widgets\company_widget.h" />
<ClInclude Include="..\src\widgets\console_widget.h" />
<ClInclude Include="..\src\widgets\date_widget.h" />
<ClInclude Include="..\src\widgets\depot_widget.h" />
<ClInclude Include="..\src\widgets\dock_widget.h" />
<ClCompile Include="..\src\widgets\dropdown.cpp" />
<ClInclude Include="..\src\widgets\dropdown_func.h" />
<ClInclude Include="..\src\widgets\dropdown_type.h" />
<ClInclude Include="..\src\widgets\dropdown_widget.h" />
<ClInclude Include="..\src\widgets\engine_widget.h" />
<ClInclude Include="..\src\widgets\error_widget.h" />
<ClInclude Include="..\src\widgets\fios_widget.h" />
<ClInclude Include="..\src\widgets\genworld_widget.h" />
<ClInclude Include="..\src\widgets\goal_widget.h" />
<ClInclude Include="..\src\widgets\graph_widget.h" />
<ClInclude Include="..\src\widgets\group_widget.h" />
<ClInclude Include="..\src\widgets\highscore_widget.h" />
<ClInclude Include="..\src\widgets\industry_widget.h" />
<ClInclude Include="..\src\widgets\intro_widget.h" />
<ClInclude Include="..\src\widgets\main_widget.h" />
<ClInclude Include="..\src\widgets\misc_widget.h" />
<ClInclude Include="..\src\widgets\music_widget.h" />
<ClInclude Include="..\src\widgets\network_chat_widget.h" />
<ClInclude Include="..\src\widgets\network_content_widget.h" />
<ClInclude Include="..\src\widgets\network_widget.h" />
<ClInclude Include="..\src\widgets\newgrf_debug_widget.h" />
<ClInclude Include="..\src\widgets\newgrf_widget.h" />
<ClInclude Include="..\src\widgets\news_widget.h" />
<ClInclude Include="..\src\widgets\object_widget.h" />
<ClInclude Include="..\src\widgets\order_widget.h" />
<ClInclude Include="..\src\widgets\osk_widget.h" />
<ClInclude Include="..\src\widgets\rail_widget.h" />
<ClInclude Include="..\src\widgets\road_widget.h" />
<ClInclude Include="..\src\widgets\settings_widget.h" />
<ClInclude Include="..\src\widgets\sign_widget.h" />
<ClInclude Include="..\src\widgets\smallmap_widget.h" />
<ClInclude Include="..\src\widgets\station_widget.h" />
<ClInclude Include="..\src\widgets\statusbar_widget.h" />
<ClInclude Include="..\src\widgets\subsidy_widget.h" />
<ClInclude Include="..\src\widgets\terraform_widget.h" />
<ClInclude Include="..\src\widgets\timetable_widget.h" />
<ClInclude Include="..\src\widgets\toolbar_widget.h" />
<ClInclude Include="..\src\widgets\town_widget.h" />
<ClInclude Include="..\src\widgets\transparency_widget.h" />
<ClInclude Include="..\src\widgets\tree_widget.h" />
<ClInclude Include="..\src\widgets\vehicle_widget.h" />
<ClInclude Include="..\src\widgets\viewport_widget.h" />
<ClInclude Include="..\src\widgets\waypoint_widget.h" />
<ClCompile Include="..\src\aircraft_cmd.cpp" />
<ClCompile Include="..\src\autoreplace_cmd.cpp" />
<ClCompile Include="..\src\clear_cmd.cpp" />
@@ -719,7 +786,9 @@
<ClCompile Include="..\src\saveload\depot_sl.cpp" />
<ClCompile Include="..\src\saveload\economy_sl.cpp" />
<ClCompile Include="..\src\saveload\engine_sl.cpp" />
<ClCompile Include="..\src\saveload\game_sl.cpp" />
<ClCompile Include="..\src\saveload\gamelog_sl.cpp" />
<ClCompile Include="..\src\saveload\goal_sl.cpp" />
<ClCompile Include="..\src\saveload\group_sl.cpp" />
<ClCompile Include="..\src\saveload\industry_sl.cpp" />
<ClCompile Include="..\src\saveload\labelmaps_sl.cpp" />
@@ -738,15 +807,16 @@
<ClInclude Include="..\src\saveload\saveload_internal.h" />
<ClCompile Include="..\src\saveload\signs_sl.cpp" />
<ClCompile Include="..\src\saveload\station_sl.cpp" />
<ClCompile Include="..\src\saveload\storage_sl.cpp" />
<ClCompile Include="..\src\saveload\strings_sl.cpp" />
<ClCompile Include="..\src\saveload\subsidy_sl.cpp" />
<ClCompile Include="..\src\saveload\town_sl.cpp" />
<ClCompile Include="..\src\saveload\vehicle_sl.cpp" />
<ClCompile Include="..\src\saveload\waypoint_sl.cpp" />
<ClInclude Include="..\src\table\airport_defaults.h" />
<ClInclude Include="..\src\table\airport_movement.h" />
<ClInclude Include="..\src\table\airporttile_ids.h" />
<ClInclude Include="..\src\table\airporttiles.h" />
<ClInclude Include="..\src\table\airport_movement.h" />
<ClInclude Include="..\src\table\animcursors.h" />
<ClInclude Include="..\src\table\autorail.h" />
<ClInclude Include="..\src\table\bridge_land.h" />
@@ -767,7 +837,7 @@
<ClInclude Include="..\src\table\railtypes.h" />
<ClInclude Include="..\src\table\road_land.h" />
<ClInclude Include="..\src\table\roadveh_movement.h" />
<ClInclude Include="..\src\table\settings.h" />
<ClInclude Include="..\src\..\objs\settings\table\settings.h" />
<ClInclude Include="..\src\table\sprites.h" />
<ClInclude Include="..\src\table\station_land.h" />
<ClInclude Include="..\src\table\strgen_tables.h" />
@@ -781,10 +851,18 @@
<ClInclude Include="..\src\table\water_land.h" />
<ClCompile Include="..\src\3rdparty\md5\md5.cpp" />
<ClInclude Include="..\src\3rdparty\md5\md5.h" />
<ClCompile Include="..\src\script\script_config.cpp" />
<ClInclude Include="..\src\script\script_config.hpp" />
<ClInclude Include="..\src\script\script_fatalerror.hpp" />
<ClCompile Include="..\src\script\script_info.cpp" />
<ClInclude Include="..\src\script\script_info.hpp" />
<ClCompile Include="..\src\script\script_info_dummy.cpp" />
<ClCompile Include="..\src\script\script_instance.cpp" />
<ClInclude Include="..\src\script\script_instance.hpp" />
<ClCompile Include="..\src\script\script_scanner.cpp" />
<ClInclude Include="..\src\script\script_scanner.hpp" />
<ClInclude Include="..\src\script\script_storage.hpp" />
<ClInclude Include="..\src\script\script_suspend.hpp" />
<ClCompile Include="..\src\script\squirrel.cpp" />
<ClInclude Include="..\src\script\squirrel.hpp" />
<ClInclude Include="..\src\script\squirrel_class.hpp" />
@@ -839,115 +917,144 @@
<ClInclude Include="..\src\ai\ai_gui.hpp" />
<ClCompile Include="..\src\ai\ai_info.cpp" />
<ClInclude Include="..\src\ai\ai_info.hpp" />
<ClCompile Include="..\src\ai\ai_info_dummy.cpp" />
<ClCompile Include="..\src\ai\ai_instance.cpp" />
<ClInclude Include="..\src\ai\ai_instance.hpp" />
<ClCompile Include="..\src\ai\ai_scanner.cpp" />
<ClInclude Include="..\src\ai\ai_scanner.hpp" />
<ClInclude Include="..\src\ai\ai_storage.hpp" />
<ClInclude Include="..\src\ai\api\ai_accounting.hpp" />
<ClInclude Include="..\src\ai\api\ai_airport.hpp" />
<ClInclude Include="..\src\ai\api\ai_base.hpp" />
<ClInclude Include="..\src\ai\api\ai_basestation.hpp" />
<ClInclude Include="..\src\ai\api\ai_bridge.hpp" />
<ClInclude Include="..\src\ai\api\ai_bridgelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_cargo.hpp" />
<ClInclude Include="..\src\ai\api\ai_cargolist.hpp" />
<ClInclude Include="..\src\ai\api\ai_changelog.hpp" />
<ClInclude Include="..\src\ai\api\ai_company.hpp" />
<ClInclude Include="..\src\ai\api\ai_controller.hpp" />
<ClInclude Include="..\src\ai\api\ai_date.hpp" />
<ClInclude Include="..\src\ai\api\ai_depotlist.hpp" />
<ClInclude Include="..\src\ai\api\ai_engine.hpp" />
<ClInclude Include="..\src\ai\api\ai_enginelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_error.hpp" />
<ClInclude Include="..\src\ai\api\ai_event.hpp" />
<ClInclude Include="..\src\ai\api\ai_event_types.hpp" />
<ClInclude Include="..\src\ai\api\ai_execmode.hpp" />
<ClInclude Include="..\src\ai\api\ai_gamesettings.hpp" />
<ClInclude Include="..\src\ai\api\ai_group.hpp" />
<ClInclude Include="..\src\ai\api\ai_grouplist.hpp" />
<ClInclude Include="..\src\ai\api\ai_industry.hpp" />
<ClInclude Include="..\src\ai\api\ai_industrylist.hpp" />
<ClInclude Include="..\src\ai\api\ai_industrytype.hpp" />
<ClInclude Include="..\src\ai\api\ai_industrytypelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_info_docs.hpp" />
<ClInclude Include="..\src\ai\api\ai_list.hpp" />
<ClInclude Include="..\src\ai\api\ai_log.hpp" />
<ClInclude Include="..\src\ai\api\ai_map.hpp" />
<ClInclude Include="..\src\ai\api\ai_marine.hpp" />
<ClInclude Include="..\src\ai\api\ai_object.hpp" />
<ClInclude Include="..\src\ai\api\ai_order.hpp" />
<ClInclude Include="..\src\ai\api\ai_rail.hpp" />
<ClInclude Include="..\src\ai\api\ai_railtypelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_road.hpp" />
<ClInclude Include="..\src\ai\api\ai_sign.hpp" />
<ClInclude Include="..\src\ai\api\ai_signlist.hpp" />
<ClInclude Include="..\src\ai\api\ai_station.hpp" />
<ClInclude Include="..\src\ai\api\ai_stationlist.hpp" />
<ClInclude Include="..\src\ai\api\ai_subsidy.hpp" />
<ClInclude Include="..\src\ai\api\ai_subsidylist.hpp" />
<ClInclude Include="..\src\ai\api\ai_testmode.hpp" />
<ClInclude Include="..\src\ai\api\ai_tile.hpp" />
<ClInclude Include="..\src\ai\api\ai_tilelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_town.hpp" />
<ClInclude Include="..\src\ai\api\ai_townlist.hpp" />
<ClInclude Include="..\src\ai\api\ai_tunnel.hpp" />
<ClInclude Include="..\src\ai\api\ai_types.hpp" />
<ClInclude Include="..\src\ai\api\ai_vehicle.hpp" />
<ClInclude Include="..\src\ai\api\ai_vehiclelist.hpp" />
<ClInclude Include="..\src\ai\api\ai_waypoint.hpp" />
<ClInclude Include="..\src\ai\api\ai_waypointlist.hpp" />
<ClCompile Include="..\src\ai\api\ai_accounting.cpp" />
<ClCompile Include="..\src\ai\api\ai_airport.cpp" />
<ClCompile Include="..\src\ai\api\ai_base.cpp" />
<ClCompile Include="..\src\ai\api\ai_basestation.cpp" />
<ClCompile Include="..\src\ai\api\ai_bridge.cpp" />
<ClCompile Include="..\src\ai\api\ai_bridgelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_cargo.cpp" />
<ClCompile Include="..\src\ai\api\ai_cargolist.cpp" />
<ClCompile Include="..\src\ai\api\ai_company.cpp" />
<ClCompile Include="..\src\ai\api\ai_controller.cpp" />
<ClCompile Include="..\src\ai\api\ai_date.cpp" />
<ClCompile Include="..\src\ai\api\ai_depotlist.cpp" />
<ClCompile Include="..\src\ai\api\ai_engine.cpp" />
<ClCompile Include="..\src\ai\api\ai_enginelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_error.cpp" />
<ClCompile Include="..\src\ai\api\ai_event.cpp" />
<ClCompile Include="..\src\ai\api\ai_event_types.cpp" />
<ClCompile Include="..\src\ai\api\ai_execmode.cpp" />
<ClCompile Include="..\src\ai\api\ai_gamesettings.cpp" />
<ClCompile Include="..\src\ai\api\ai_group.cpp" />
<ClCompile Include="..\src\ai\api\ai_grouplist.cpp" />
<ClCompile Include="..\src\ai\api\ai_industry.cpp" />
<ClCompile Include="..\src\ai\api\ai_industrylist.cpp" />
<ClCompile Include="..\src\ai\api\ai_industrytype.cpp" />
<ClCompile Include="..\src\ai\api\ai_industrytypelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_list.cpp" />
<ClCompile Include="..\src\ai\api\ai_log.cpp" />
<ClCompile Include="..\src\ai\api\ai_map.cpp" />
<ClCompile Include="..\src\ai\api\ai_marine.cpp" />
<ClCompile Include="..\src\ai\api\ai_object.cpp" />
<ClCompile Include="..\src\ai\api\ai_order.cpp" />
<ClCompile Include="..\src\ai\api\ai_rail.cpp" />
<ClCompile Include="..\src\ai\api\ai_railtypelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_road.cpp" />
<ClCompile Include="..\src\ai\api\ai_sign.cpp" />
<ClCompile Include="..\src\ai\api\ai_signlist.cpp" />
<ClCompile Include="..\src\ai\api\ai_station.cpp" />
<ClCompile Include="..\src\ai\api\ai_stationlist.cpp" />
<ClCompile Include="..\src\ai\api\ai_subsidy.cpp" />
<ClCompile Include="..\src\ai\api\ai_subsidylist.cpp" />
<ClCompile Include="..\src\ai\api\ai_testmode.cpp" />
<ClCompile Include="..\src\ai\api\ai_tile.cpp" />
<ClCompile Include="..\src\ai\api\ai_tilelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_town.cpp" />
<ClCompile Include="..\src\ai\api\ai_townlist.cpp" />
<ClCompile Include="..\src\ai\api\ai_tunnel.cpp" />
<ClCompile Include="..\src\ai\api\ai_vehicle.cpp" />
<ClCompile Include="..\src\ai\api\ai_vehiclelist.cpp" />
<ClCompile Include="..\src\ai\api\ai_waypoint.cpp" />
<ClCompile Include="..\src\ai\api\ai_waypointlist.cpp" />
<ClInclude Include="..\src\script\api\ai_changelog.hpp" />
<ClInclude Include="..\src\script\api\game_changelog.hpp" />
<ClInclude Include="..\src\game\game.hpp" />
<ClCompile Include="..\src\game\game_config.cpp" />
<ClInclude Include="..\src\game\game_config.hpp" />
<ClCompile Include="..\src\game\game_core.cpp" />
<ClCompile Include="..\src\game\game_info.cpp" />
<ClInclude Include="..\src\game\game_info.hpp" />
<ClCompile Include="..\src\game\game_instance.cpp" />
<ClInclude Include="..\src\game\game_instance.hpp" />
<ClCompile Include="..\src\game\game_scanner.cpp" />
<ClInclude Include="..\src\game\game_scanner.hpp" />
<ClCompile Include="..\src\game\game_text.cpp" />
<ClInclude Include="..\src\game\game_text.hpp" />
<ClInclude Include="..\src\script\api\script_accounting.hpp" />
<ClInclude Include="..\src\script\api\script_admin.hpp" />
<ClInclude Include="..\src\script\api\script_airport.hpp" />
<ClInclude Include="..\src\script\api\script_base.hpp" />
<ClInclude Include="..\src\script\api\script_basestation.hpp" />
<ClInclude Include="..\src\script\api\script_bridge.hpp" />
<ClInclude Include="..\src\script\api\script_bridgelist.hpp" />
<ClInclude Include="..\src\script\api\script_cargo.hpp" />
<ClInclude Include="..\src\script\api\script_cargolist.hpp" />
<ClInclude Include="..\src\script\api\script_company.hpp" />
<ClInclude Include="..\src\script\api\script_companymode.hpp" />
<ClInclude Include="..\src\script\api\script_controller.hpp" />
<ClInclude Include="..\src\script\api\script_date.hpp" />
<ClInclude Include="..\src\script\api\script_depotlist.hpp" />
<ClInclude Include="..\src\script\api\script_engine.hpp" />
<ClInclude Include="..\src\script\api\script_enginelist.hpp" />
<ClInclude Include="..\src\script\api\script_error.hpp" />
<ClInclude Include="..\src\script\api\script_event.hpp" />
<ClInclude Include="..\src\script\api\script_event_types.hpp" />
<ClInclude Include="..\src\script\api\script_execmode.hpp" />
<ClInclude Include="..\src\script\api\script_game.hpp" />
<ClInclude Include="..\src\script\api\script_gamesettings.hpp" />
<ClInclude Include="..\src\script\api\script_goal.hpp" />
<ClInclude Include="..\src\script\api\script_group.hpp" />
<ClInclude Include="..\src\script\api\script_grouplist.hpp" />
<ClInclude Include="..\src\script\api\script_industry.hpp" />
<ClInclude Include="..\src\script\api\script_industrylist.hpp" />
<ClInclude Include="..\src\script\api\script_industrytype.hpp" />
<ClInclude Include="..\src\script\api\script_industrytypelist.hpp" />
<ClInclude Include="..\src\script\api\script_info_docs.hpp" />
<ClInclude Include="..\src\script\api\script_infrastructure.hpp" />
<ClInclude Include="..\src\script\api\script_list.hpp" />
<ClInclude Include="..\src\script\api\script_log.hpp" />
<ClInclude Include="..\src\script\api\script_map.hpp" />
<ClInclude Include="..\src\script\api\script_marine.hpp" />
<ClInclude Include="..\src\script\api\script_news.hpp" />
<ClInclude Include="..\src\script\api\script_object.hpp" />
<ClInclude Include="..\src\script\api\script_order.hpp" />
<ClInclude Include="..\src\script\api\script_rail.hpp" />
<ClInclude Include="..\src\script\api\script_railtypelist.hpp" />
<ClInclude Include="..\src\script\api\script_road.hpp" />
<ClInclude Include="..\src\script\api\script_sign.hpp" />
<ClInclude Include="..\src\script\api\script_signlist.hpp" />
<ClInclude Include="..\src\script\api\script_station.hpp" />
<ClInclude Include="..\src\script\api\script_stationlist.hpp" />
<ClInclude Include="..\src\script\api\script_subsidy.hpp" />
<ClInclude Include="..\src\script\api\script_subsidylist.hpp" />
<ClInclude Include="..\src\script\api\script_testmode.hpp" />
<ClInclude Include="..\src\script\api\script_text.hpp" />
<ClInclude Include="..\src\script\api\script_tile.hpp" />
<ClInclude Include="..\src\script\api\script_tilelist.hpp" />
<ClInclude Include="..\src\script\api\script_town.hpp" />
<ClInclude Include="..\src\script\api\script_townlist.hpp" />
<ClInclude Include="..\src\script\api\script_tunnel.hpp" />
<ClInclude Include="..\src\script\api\script_types.hpp" />
<ClInclude Include="..\src\script\api\script_vehicle.hpp" />
<ClInclude Include="..\src\script\api\script_vehiclelist.hpp" />
<ClInclude Include="..\src\script\api\script_viewport.hpp" />
<ClInclude Include="..\src\script\api\script_waypoint.hpp" />
<ClInclude Include="..\src\script\api\script_waypointlist.hpp" />
<ClInclude Include="..\src\script\api\script_window.hpp" />
<ClCompile Include="..\src\script\api\script_accounting.cpp" />
<ClCompile Include="..\src\script\api\script_admin.cpp" />
<ClCompile Include="..\src\script\api\script_airport.cpp" />
<ClCompile Include="..\src\script\api\script_base.cpp" />
<ClCompile Include="..\src\script\api\script_basestation.cpp" />
<ClCompile Include="..\src\script\api\script_bridge.cpp" />
<ClCompile Include="..\src\script\api\script_bridgelist.cpp" />
<ClCompile Include="..\src\script\api\script_cargo.cpp" />
<ClCompile Include="..\src\script\api\script_cargolist.cpp" />
<ClCompile Include="..\src\script\api\script_company.cpp" />
<ClCompile Include="..\src\script\api\script_companymode.cpp" />
<ClCompile Include="..\src\script\api\script_controller.cpp" />
<ClCompile Include="..\src\script\api\script_date.cpp" />
<ClCompile Include="..\src\script\api\script_depotlist.cpp" />
<ClCompile Include="..\src\script\api\script_engine.cpp" />
<ClCompile Include="..\src\script\api\script_enginelist.cpp" />
<ClCompile Include="..\src\script\api\script_error.cpp" />
<ClCompile Include="..\src\script\api\script_event.cpp" />
<ClCompile Include="..\src\script\api\script_event_types.cpp" />
<ClCompile Include="..\src\script\api\script_execmode.cpp" />
<ClCompile Include="..\src\script\api\script_game.cpp" />
<ClCompile Include="..\src\script\api\script_gamesettings.cpp" />
<ClCompile Include="..\src\script\api\script_goal.cpp" />
<ClCompile Include="..\src\script\api\script_group.cpp" />
<ClCompile Include="..\src\script\api\script_grouplist.cpp" />
<ClCompile Include="..\src\script\api\script_industry.cpp" />
<ClCompile Include="..\src\script\api\script_industrylist.cpp" />
<ClCompile Include="..\src\script\api\script_industrytype.cpp" />
<ClCompile Include="..\src\script\api\script_industrytypelist.cpp" />
<ClCompile Include="..\src\script\api\script_infrastructure.cpp" />
<ClCompile Include="..\src\script\api\script_list.cpp" />
<ClCompile Include="..\src\script\api\script_log.cpp" />
<ClCompile Include="..\src\script\api\script_map.cpp" />
<ClCompile Include="..\src\script\api\script_marine.cpp" />
<ClCompile Include="..\src\script\api\script_news.cpp" />
<ClCompile Include="..\src\script\api\script_object.cpp" />
<ClCompile Include="..\src\script\api\script_order.cpp" />
<ClCompile Include="..\src\script\api\script_rail.cpp" />
<ClCompile Include="..\src\script\api\script_railtypelist.cpp" />
<ClCompile Include="..\src\script\api\script_road.cpp" />
<ClCompile Include="..\src\script\api\script_sign.cpp" />
<ClCompile Include="..\src\script\api\script_signlist.cpp" />
<ClCompile Include="..\src\script\api\script_station.cpp" />
<ClCompile Include="..\src\script\api\script_stationlist.cpp" />
<ClCompile Include="..\src\script\api\script_subsidy.cpp" />
<ClCompile Include="..\src\script\api\script_subsidylist.cpp" />
<ClCompile Include="..\src\script\api\script_testmode.cpp" />
<ClCompile Include="..\src\script\api\script_text.cpp" />
<ClCompile Include="..\src\script\api\script_tile.cpp" />
<ClCompile Include="..\src\script\api\script_tilelist.cpp" />
<ClCompile Include="..\src\script\api\script_town.cpp" />
<ClCompile Include="..\src\script\api\script_townlist.cpp" />
<ClCompile Include="..\src\script\api\script_tunnel.cpp" />
<ClCompile Include="..\src\script\api\script_vehicle.cpp" />
<ClCompile Include="..\src\script\api\script_vehiclelist.cpp" />
<ClCompile Include="..\src\script\api\script_viewport.cpp" />
<ClCompile Include="..\src\script\api\script_waypoint.cpp" />
<ClCompile Include="..\src\script\api\script_waypointlist.cpp" />
<ClCompile Include="..\src\script\api\script_window.cpp" />
<ClCompile Include="..\src\blitter\32bpp_anim.cpp" />
<ClInclude Include="..\src\blitter\32bpp_anim.hpp" />
<ClCompile Include="..\src\blitter\32bpp_base.cpp" />
@@ -958,12 +1065,11 @@
<ClInclude Include="..\src\blitter\32bpp_simple.hpp" />
<ClCompile Include="..\src\blitter\8bpp_base.cpp" />
<ClInclude Include="..\src\blitter\8bpp_base.hpp" />
<ClCompile Include="..\src\blitter\8bpp_debug.cpp" />
<ClInclude Include="..\src\blitter\8bpp_debug.hpp" />
<ClCompile Include="..\src\blitter\8bpp_optimized.cpp" />
<ClInclude Include="..\src\blitter\8bpp_optimized.hpp" />
<ClCompile Include="..\src\blitter\8bpp_simple.cpp" />
<ClInclude Include="..\src\blitter\8bpp_simple.hpp" />
<ClCompile Include="..\src\blitter\base.cpp" />
<ClInclude Include="..\src\blitter\base.hpp" />
<ClInclude Include="..\src\blitter\factory.hpp" />
<ClCompile Include="..\src\blitter\null.cpp" />
@@ -1022,6 +1128,8 @@
<ClCompile Include="..\src\misc\dbg_helpers.cpp" />
<ClInclude Include="..\src\misc\dbg_helpers.h" />
<ClInclude Include="..\src\misc\fixedsizearray.hpp" />
<ClCompile Include="..\src\misc\getoptdata.cpp" />
<ClInclude Include="..\src\misc\getoptdata.h" />
<ClInclude Include="..\src\misc\hashtable.hpp" />
<ClInclude Include="..\src\misc\str.hpp" />
<ClCompile Include="..\src\network\core\address.cpp" />
@@ -1037,13 +1145,13 @@
<ClInclude Include="..\src\network\core\packet.h" />
<ClCompile Include="..\src\network\core\tcp.cpp" />
<ClInclude Include="..\src\network\core\tcp.h" />
<ClCompile Include="..\src\network\core\tcp_admin.cpp" />
<ClInclude Include="..\src\network\core\tcp_admin.h" />
<ClCompile Include="..\src\network\core\tcp_connect.cpp" />
<ClCompile Include="..\src\network\core\tcp_content.cpp" />
<ClInclude Include="..\src\network\core\tcp_content.h" />
<ClCompile Include="..\src\network\core\tcp_game.cpp" />
<ClInclude Include="..\src\network\core\tcp_game.h" />
<ClCompile Include="..\src\network\core\tcp_admin.cpp" />
<ClInclude Include="..\src\network\core\tcp_admin.h" />
<ClCompile Include="..\src\network\core\tcp_http.cpp" />
<ClInclude Include="..\src\network\core\tcp_http.h" />
<ClInclude Include="..\src\network\core\tcp_listen.h" />

File diff suppressed because it is too large Load Diff

View File

@@ -101,8 +101,8 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -155,8 +155,8 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
@@ -203,8 +203,8 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;WITH_ASSERT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -255,8 +255,8 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\objs\langs;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR="OpenTTD";_SQ64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>

View File

@@ -1,10 +1,10 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
# Visual C++ Express 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs80.vcproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}"
ProjectSection(ProjectDependencies) = postProject
{0F066B23-18DF-4284-8265-F4A5E7E3B966} = {0F066B23-18DF-4284-8265-F4A5E7E3B966}
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1} = {A133A442-BD0A-4ADE-B117-AD7545E4BDD1}
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC} = {1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}
{0817F629-589E-4A3B-B81A-8647BC571E35} = {0817F629-589E-4A3B-B81A-8647BC571E35}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strgen", "strgen_vs80.vcproj", "{A133A442-BD0A-4ADE-B117-AD7545E4BDD1}"
@@ -18,6 +18,13 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs80.vcp
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs80.vcproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings", "settings_vs80.vcproj", "{0817F629-589E-4A3B-B81A-8647BC571E35}"
ProjectSection(ProjectDependencies) = postProject
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings_gen", "settingsgen_vs80.vcproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -62,6 +69,22 @@ Global
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

File diff suppressed because it is too large Load Diff

View File

@@ -51,8 +51,8 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="2"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
StringPooling="true"
ExceptionHandling="1"
RuntimeLibrary="0"
@@ -155,8 +155,8 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
UsePrecompiledHeader="0"
@@ -256,8 +256,8 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="2"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
StringPooling="true"
ExceptionHandling="1"
RuntimeLibrary="0"
@@ -361,8 +361,8 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
UsePrecompiledHeader="0"

View File

@@ -1,9 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openttd", "openttd_vs90.vcproj", "{668328A0-B40E-4CDB-BD72-D0064424414A}"
ProjectSection(ProjectDependencies) = postProject
{0F066B23-18DF-4284-8265-F4A5E7E3B966} = {0F066B23-18DF-4284-8265-F4A5E7E3B966}
{A133A442-BD0A-4ADE-B117-AD7545E4BDD1} = {A133A442-BD0A-4ADE-B117-AD7545E4BDD1}
{0817F629-589E-4A3B-B81A-8647BC571E35} = {0817F629-589E-4A3B-B81A-8647BC571E35}
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC} = {1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}
EndProjectSection
EndProject
@@ -18,6 +18,13 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs90.vcp
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs90.vcproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settings", "settings_vs90.vcproj", "{0817F629-589E-4A3B-B81A-8647BC571E35}"
ProjectSection(ProjectDependencies) = postProject
{E9548DE9-F089-49B7-93A6-30BE2CC311C7} = {E9548DE9-F089-49B7-93A6-30BE2CC311C7}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "settingsgen", "settingsgen_vs90.vcproj", "{E9548DE9-F089-49B7-93A6-30BE2CC311C7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -62,6 +69,22 @@ Global
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Debug|x64.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|Win32.Build.0 = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.ActiveCfg = Debug|Win32
{0817F629-589E-4A3B-B81A-8647BC571E35}.Release|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Debug|x64.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|Win32.Build.0 = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.ActiveCfg = Debug|Win32
{E9548DE9-F089-49B7-93A6-30BE2CC311C7}.Release|x64.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

File diff suppressed because it is too large Load Diff

View File

@@ -52,8 +52,8 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="2"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;WITH_ASSERT"
StringPooling="true"
ExceptionHandling="1"
RuntimeLibrary="0"
@@ -154,8 +154,8 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WIN32_ENABLE_DIRECTMUSIC_SUPPORT;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
UsePrecompiledHeader="0"
@@ -254,8 +254,8 @@
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="2"
OmitFramePointers="true"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64;WITH_ASSERT"
StringPooling="true"
ExceptionHandling="1"
RuntimeLibrary="0"
@@ -358,8 +358,8 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="..\objs\langs;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;ENABLE_AI;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
AdditionalIncludeDirectories="..\objs\langs;..\objs\settings;..\src\3rdparty\squirrel\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;WITH_ZLIB;WITH_LZO;WITH_LZMA;LZMA_API_STATIC;WITH_PNG;WITH_FREETYPE;WITH_ICU;U_STATIC_IMPLEMENTATION;ENABLE_NETWORK;WITH_PERSONAL_DIR;PERSONAL_DIR=\&quot;OpenTTD\&quot;;_SQ64"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
UsePrecompiledHeader="0"

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>settings</ProjectName>
<ProjectGuid>{0817F629-589E-4A3B-B81A-8647BC571E35}</ProjectGuid>
<RootNamespace>settings</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<SettingsCommandLine>
..\objs\settings\settings_gen.exe -o ..\objs\settings\table\settings.h -b ..\src\table\settings.h.preamble -a ..\src\table\settings.h.postamble ..\src\table\company_settings.ini ..\src\table\currency_settings.ini ..\src\table\gameopt_settings.ini ..\src\table\misc_settings.ini ..\src\table\settings.ini ..\src\table\win32_settings.ini
</SettingsCommandLine>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</IntDir>
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeReBuildCommandLine>
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">del ..\objs\settings\table\settings.h</NMakeCleanCommandLine>
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\settings.h</NMakeOutput>
</PropertyGroup>
<ItemGroup>
<None Include="..\src\table\company_settings.ini" />
<None Include="..\src\table\currency_settings.ini" />
<None Include="..\src\table\gameopt_settings.ini" />
<None Include="..\src\table\misc_settings.ini" />
<None Include="..\src\table\settings.ini" />
<None Include="..\src\table\win32_settings.ini" />
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\settings.h.postamble" />
<None Include="..\src\table\settings.h.preamble" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="INI">
<UniqueIdentifier>{21deca6c-8df4-4f34-9dad-17d7781cd5a0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\company_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\currency_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\gameopt_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\misc_settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\settings.ini">
<Filter>INI</Filter>
</None>
<None Include="..\src\table\win32_settings.ini">
<Filter>INI</Filter>
</None>
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\settings.h.postamble" />
<None Include="..\src\table\settings.h.preamble" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="INI">
<UniqueIdentifier>{21deca6c-8df4-4f34-9dad-17d7781cd5a0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
!!FILES!!
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\settings.h.postamble" />
<None Include="..\src\table\settings.h.preamble" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>settings</ProjectName>
<ProjectGuid>{0817F629-589E-4A3B-B81A-8647BC571E35}</ProjectGuid>
<RootNamespace>settings</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros">
<SettingsCommandLine>
!!FILTERS!!
</SettingsCommandLine>
</PropertyGroup>
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\</IntDir>
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SettingsCommandLine)</NMakeReBuildCommandLine>
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">del ..\objs\settings\table\settings.h</NMakeCleanCommandLine>
<NMakeOutput Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\objs\settings\table\settings.h</NMakeOutput>
</PropertyGroup>
<ItemGroup>
!!FILES!!
</ItemGroup>
<ItemGroup>
<None Include="..\src\table\settings.h.postamble" />
<None Include="..\src\table\settings.h.preamble" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="settings"
ProjectGUID="{0817F629-589E-4A3B-B81A-8647BC571E35}"
RootNamespace="settings"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="..\objs\settings\table"
IntermediateDirectory="..\objs\settings\table"
ConfigurationType="10"
>
<Tool
Name="VCPreBuildEventTool"
Description="Generating settings.h"
CommandLine="
..\objs\settings\settings_gen.exe -o ..\objs\settings\table\settings.h -b ..\src\table\settings.h.preamble -a ..\src\table\settings.h.postamble ..\src\table\company_settings.ini ..\src\table\currency_settings.ini ..\src\table\gameopt_settings.ini ..\src\table\misc_settings.ini ..\src\table\settings.ini ..\src\table\win32_settings.ini
"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="INI"
>
<File
RelativePath="..\src\table\company_settings.ini"
>
</File>
<File
RelativePath="..\src\table\currency_settings.ini"
>
</File>
<File
RelativePath="..\src\table\gameopt_settings.ini"
>
</File>
<File
RelativePath="..\src\table\misc_settings.ini"
>
</File>
<File
RelativePath="..\src\table\settings.ini"
>
</File>
<File
RelativePath="..\src\table\win32_settings.ini"
>
</File>
</Filter>
<File
RelativePath="..\src\table\settings.h.postamble"
>
</File>
<File
RelativePath="..\src\table\settings.h.preamble"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

Some files were not shown because too many files have changed in this diff Show More