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
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
peter1138
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
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
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
peter1138
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
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
rubidium
d175528220
(svn r23660) -Feature-ish: add the game script to the crash log
2011-12-22 20:05:52 +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
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
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
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