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
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
peter1138
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
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
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
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
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
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
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
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
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
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
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
peter1138
349da42ce3
(svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom.
2011-11-26 13:48:06 +00:00
peter1138
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
peter1138
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
peter1138
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
peter1138
03c86ab874
(svn r23325) -Fix (r23316): World screenshot was incorrectly positioned.
2011-11-25 13:01:37 +00:00
peter1138
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
peter1138
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
peter1138
3e1d070413
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
2011-11-24 17:37:20 +00:00
peter1138
7337e7ff49
(svn r23318) -Change: Make text effects rise at their previous speed.
2011-11-24 17:15:38 +00:00
peter1138
aa64a397f9
(svn r23317) -Change: Rename sprite_cache_size setting so that the new default is used.
2011-11-24 16:02:46 +00:00
peter1138
81598273e9
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
2011-11-24 12:38:48 +00:00
peter1138
15d0a22aac
(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
2011-11-24 12:26:44 +00:00
peter1138
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
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
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
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