Commit Graph

12432 Commits

Author SHA1 Message Date
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
rubidium
88aaeb4092 (svn r23232) -Change: move the "default" overrides out of the baseset in order to ensure they all use the same values 2011-11-15 20:30:58 +00:00
michi_cc
d7d032f70a (svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch. 2011-11-15 19:53:46 +00:00
rubidium
e97b747f5d (svn r23230) -Codechange: stupid casing for UnPause. It's a single word, not two words "CamelCased" after eachother 2011-11-15 19:40:42 +00:00
translators
7ba37dd0fa (svn r23229) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
2011-11-15 18:45:06 +00:00
frosch
1f6c9c6457 (svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets. 2011-11-15 12:14:08 +00:00
frosch
7b86e3e109 (svn r23227) -Fix (r23219): The FileScanner should also consider the old directories. 2011-11-15 00:26:06 +00:00
frosch
52d3be2e05 (svn r23226) -Fix (r23219): If you find a file, also use it. 2011-11-15 00:25:17 +00:00
rubidium
86a168b2e9 (svn r23225) -Fix: create the newgrf/baseset/ai directories in the personal directory so the user has some clue where to place the different files 2011-11-14 21:58:19 +00:00
rubidium
834eac49fd (svn r23224) -Codechange: first load the config file partially so we can push scanning AIs to later in the process (when the GUI is showing the progress bar) 2011-11-14 21:42:54 +00:00
rubidium
5446b40c07 (svn r23223) -Codechange: store the last newgrf count in the misc section 2011-11-14 21:41:23 +00:00
rubidium
4ae8bbea07 (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 2011-11-14 21:40:39 +00:00
rubidium
2b897b4fa0 (svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset 2011-11-14 21:34:27 +00:00
rubidium
9e7174e540 (svn r23218) -Codechange: prepare code for a separate base set directory 2011-11-14 21:32:10 +00:00
rubidium
6d991b3b10 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 2011-11-14 21:30:37 +00:00
rubidium
160294ff22 (svn r23216) -Codechange: introduce the concept of having different tar lists 2011-11-14 21:28:43 +00:00
rubidium
f600429424 (svn r23215) -Codechange: stricter type safety for CommandFlags 2011-11-14 20:38:56 +00:00
rubidium
15f671279d (svn r23214) -Codechange: for base media sets pass the "search in tars" parameter to determine what to do 2011-11-14 19:24:22 +00:00
translators
a06443774f (svn r23213) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
italian - 3 changes by lorenzodv
russian - 1 changes by Lone_Wolf
2011-11-14 18:45:17 +00:00
frosch
b53092e82b (svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update statistics of DEFAULT group. 2011-11-14 16:09:58 +00:00
planetmaker
9309ef58a0 (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits 2011-11-14 10:42:47 +00:00
rubidium
3f7eb71b17 (svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically 2011-11-13 20:52:39 +00:00
truebrain
b7a655bf4c (svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one. 2011-11-13 20:43:48 +00:00
truebrain
407514a590 (svn r23208) -Codechange: mark function with /* static */ in the source file, which are defined static in the header file 2011-11-13 20:42:24 +00:00
truebrain
70b6b3cc2c (svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit) 2011-11-13 20:41:17 +00:00
translators
6a81aea04f (svn r23205) -Update from WebTranslator v3.0:
estonian - 8 changes by Jaanus
italian - 3 changes by Snail_
portuguese - 24 changes by ABCRic
welsh - 34 changes by kazzie
2011-11-13 18:45:20 +00:00
rubidium
47ca0f34e0 (svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it 2011-11-13 17:11:42 +00:00
rubidium
aa668ba6bd (svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name 2011-11-12 19:26:53 +00:00
yexo
924a5e06b3 (svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway 2011-11-12 18:48:21 +00:00
translators
e963ff9cf9 (svn r23200) -Update from WebTranslator v3.0:
french - 1 changes by Snail_
italian - 1 changes by Snail_
persian - 31 changes by Peymanpn
vietnamese - 1 changes by nglekhoi
2011-11-12 18:45:21 +00:00
rubidium
fb63543e2a (svn r23199) -Fix [FS#4822]: oil rigs that "expired" did not get removed from the station list 2011-11-12 18:06:34 +00:00
rubidium
7fd1e1df81 (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 2011-11-12 13:00:29 +00:00
smatz
92d6c10b06 (svn r23196) -Fix: GCC 4.7 compilation 2011-11-12 10:21:00 +00:00
rubidium
c9a7f572ec (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 2011-11-12 08:37:12 +00:00
rubidium
4f87d2e88c (svn r23194) -Codechange: don't cast away const needlessly 2011-11-12 08:26:30 +00:00
rubidium
bd64bf6372 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
rubidium
a8d33a4d89 (svn r23192) -Codechange: don't cast away const needlessly 2011-11-12 07:58:22 +00:00
rubidium
39263445b0 (svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes 2011-11-11 19:47:28 +00:00
rubidium
624c8a6173 (svn r23190) -Fix: compile error due to Squirrel define messing up another included file 2011-11-11 18:59:47 +00:00
translators
d85e60803c (svn r23189) -Update from WebTranslator v3.0:
belarusian - 1 changes by Wowanxm
croatian - 49 changes by VoyagerOne
dutch - 4 changes by habell
finnish - 3 changes by jpx_
french - 31 changes by Muxy
german - 1 changes by planetmaker
italian - 4 changes by lorenzodv
russian - 4 changes by akasoft
swedish - 3 changes by Zuu
urdu - 1 changes by enggwaqas
vietnamese - 3 changes by nglekhoi
2011-11-11 18:45:45 +00:00
yexo
bdc4734f65 (svn r23188) -Fix (r23168): fences on steep slopes were broken 2011-11-11 18:01:41 +00:00
yexo
72b1fffe82 (svn r23187) -Fix (r23186): MSVC allowed non-const where const was mandatory 2011-11-10 20:07:14 +00:00
yexo
37797164ca (svn r23186) -Fix [FS#4830]: [Squirrel] replace custom qsort by std::sort to fix stack overflow 2011-11-10 19:40:49 +00:00
translators
a778475eb4 (svn r23185) -Update from WebTranslator v3.0:
belarusian - 23 changes by Wowanxm
english_US - 3 changes by Rubidium
german - 24 changes by planetmaker
spanish - 34 changes by Terkhen
swedish - 45 changes by Zuu
urdu - 1 changes by enggwaqas
vietnamese - 10 changes by nglekhoi
2011-11-10 18:45:32 +00:00
rubidium
8bb62fee78 (svn r23184) -Cleanup: remove the removed strings from the translations as well 2011-11-10 18:09:40 +00:00
rubidium
d4e1efc78b (svn r23183) -Codechange: merge BRIBE_FAILED and BRIBE_FAILED_2 messages (monoid) 2011-11-10 18:09:09 +00:00
yexo
d6bf0d10d0 (svn r23182) -Feature: allow translatable readme files 2011-11-10 18:07:56 +00:00
rubidium
7ec374e5f6 (svn r23181) -Cleanup: remove some unused strings (monoid) 2011-11-10 18:00:50 +00:00
rubidium
dcee792bab (svn r23180) -Cleanup: remove traces of having to double click on the NewGRF for changing the parameters 2011-11-10 17:58:55 +00:00
rubidium
82077965fc (svn r23179) -Codechange: use some tooltips that already existed (monoid) 2011-11-10 17:55:52 +00:00
rubidium
514d887690 (svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro) 2011-11-10 06:15:03 +00:00
translators
3e98a7b504 (svn r23177) -Update from WebTranslator v3.0:
belarusian - 21 changes by Wowanxm
dutch - 14 changes by habell
english_US - 2 changes by Rubidium
italian - 2 changes by lorenzodv
romanian - 6 changes by kkmic
russian - 36 changes by Lone_Wolf, akasoft
tamil - 5 changes by aswn
vietnamese - 26 changes by nglekhoi
2011-11-09 18:45:33 +00:00
frosch
0fbad47371 (svn r23176) -Codechange: Deduplicate code between Engine::DetermineCapacity() and Engine::GetDisplayDefaultCapacity(). 2011-11-09 16:41:36 +00:00
frosch
88b2e687c2 (svn r23175) -Codechange: Refactor Engine::DetermineCapacity(). 2011-11-09 16:40:36 +00:00
frosch
50b480b959 (svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty(). 2011-11-09 16:39:34 +00:00
frosch
026317bb44 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 2011-11-09 16:38:50 +00:00
yexo
e4011426f2 (svn r23172) -Fix (r23088) [FS#4831]: crash when looking at orders from a vehicle that's not in your company 2011-11-09 11:44:12 +00:00
frosch
ab86777efa (svn r23171) -Fix (r23142): Fix comment. 2011-11-09 00:51:50 +00:00
yexo
cb876cd6a0 (svn r23170) -Doc (r23169): add he new value to the AI changelog 2011-11-08 21:51:53 +00:00
yexo
a256bd71e4 (svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu) 2011-11-08 21:48:00 +00:00
yexo
5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 2011-11-08 19:48:47 +00:00
rubidium
704dcc0a47 (svn r23167) -Codechange [FS#4818]: make IsTunnelInWay z parameters signed as well (hackalittlebit) 2011-11-08 19:44:41 +00:00
michi_cc
aca5f7ccf5 (svn r23166) -Change: [NewGRF v8] Don't override rail type prop 1B with prop 09. 2011-11-08 19:23:56 +00:00
translators
fbbffe8bcb (svn r23165) -Update from WebTranslator v3.0:
dutch - 14 changes by habell
english_US - 27 changes by Rubidium
finnish - 28 changes by jpx_
german - 4 changes by planetmaker
italian - 27 changes by lorenzodv
russian - 14 changes by Lone_Wolf
vietnamese - 5 changes by nglekhoi
2011-11-08 18:45:52 +00:00
frosch
186694369d (svn r23164) -Fix (r23149): Default roadvehicles became somewhat short. 2011-11-08 18:21:56 +00:00
yexo
ed04410f89 (svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille) 2011-11-08 17:51:29 +00:00
frosch
6701a2af45 (svn r23162) -Fix (r23133): Silence gcc warning. 2011-11-08 17:42:34 +00:00
yexo
4d2ca18ee1 (svn r23161) -Fix (r23154): don't convert pointer to bool but actually check the grf_version variable 2011-11-08 17:40:48 +00:00
yexo
6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 2011-11-08 17:37:32 +00:00
frosch
469450e554 (svn r23159) -Feature: Support for NewGRF version 8. 2011-11-08 17:30:19 +00:00
frosch
e58d6cbc63 (svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium) 2011-11-08 17:29:41 +00:00
frosch
7c7285ea9b (svn r23157) -Change: [NewGRF v8] Format of extra callback info for callback 144. (michi_cc) 2011-11-08 17:29:32 +00:00
frosch
8a2342a5e6 (svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44. 2011-11-08 17:29:21 +00:00
frosch
dd3e6d3e44 (svn r23155) -Change: [NewGRF v8] Use heightlevel units in var 8A of callback 28. 2011-11-08 17:29:11 +00:00
frosch
8f4c6d42f9 (svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium) 2011-11-08 17:29:01 +00:00
frosch
5aaecae6e2 (svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0. 2011-11-08 17:28:52 +00:00
frosch
0f28b20a73 (svn r23152) -Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels. 2011-11-08 17:28:42 +00:00
frosch
7d4568361c (svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead. 2011-11-08 17:28:05 +00:00
frosch
8dcbd673cf (svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead. 2011-11-08 17:27:55 +00:00
frosch
c2cf26b451 (svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage. 2011-11-08 17:27:46 +00:00
frosch
52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 2011-11-08 17:27:13 +00:00
frosch
30874b5e81 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 2011-11-08 17:26:49 +00:00
frosch
b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 2011-11-08 17:26:13 +00:00
frosch
b374b92bfb (svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table. 2011-11-08 17:25:51 +00:00
frosch
48f75a6a8d (svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table. 2011-11-08 17:25:42 +00:00
frosch
449d679230 (svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle var 42. 2011-11-08 17:25:32 +00:00
frosch
d8f8909f85 (svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts. 2011-11-08 17:24:43 +00:00
frosch
cd029465e1 (svn r23141) -Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and 157 to make them consistent with other slope check callbacks. (michi_cc) 2011-11-08 17:24:31 +00:00
frosch
56e5144f71 (svn r23140) -Add: ErrorUnknownCallbackResult() 2011-11-08 17:24:15 +00:00
frosch
ae11548b4e (svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks. 2011-11-08 17:24:01 +00:00
frosch
1ad7239247 (svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60. 2011-11-08 17:23:30 +00:00
frosch
f97fa89f1a (svn r23137) -Change: [NewGRF v8] New result format for callback 16. 2011-11-08 17:22:49 +00:00
frosch
e08a227b53 (svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??. 2011-11-08 17:22:19 +00:00
yexo
7a3e362763 (svn r23135) -Fix (r23133): always compile before commit 2011-11-08 15:53:32 +00:00
yexo
baf11cf401 (svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAccepting 2011-11-08 15:44:53 +00:00
yexo
b1d49f72dc (svn r23133) -Fix [FS#4823]: AIOrder didn't handle implicit orders correctly in all cases 2011-11-08 15:43:34 +00:00
yexo
80e5d13f25 (svn r23132) -Fix: when any keys on te on-screen keyboard were pressed the text cursor disappeared 2011-11-08 15:10:39 +00:00
yexo
dc1fd2dbe6 (svn r23131) -Fix (r16165): AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones 2011-11-08 15:00:55 +00:00
yexo
d5539f76d3 (svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention 2011-11-08 12:16:17 +00:00
michi_cc
fe574b7e0c (svn r23129) -Add: [NewGRF] Property for the rail type name. 2011-11-07 19:35:02 +00:00
translators
58b75963dd (svn r23128) -Update from WebTranslator v3.0:
vietnamese - 14 changes by nglekhoi
2011-11-07 18:45:07 +00:00
michi_cc
a58b975fd0 (svn r23127) -Fix [FS#4819] (r23086): Don't crash when refitting default vehicles. 2011-11-06 22:14:55 +00:00
translators
09c10af480 (svn r23126) -Update from WebTranslator v3.0:
belarusian - 17 changes by Wowanxm
norwegian_bokmal - 24 changes by eloekset
polish - 17 changes by nouwak
spanish - 17 changes by Terkhen
vietnamese - 17 changes by nglekhoi
welsh - 18 changes by kazzie
2011-11-06 18:45:35 +00:00
frosch
f6ff2a3c15 (svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88) 2011-11-06 15:54:55 +00:00
michi_cc
1b66101bd3 (svn r23124) -Change: [NewGRF] Interpret the result of the refit cost callback as a signed value. 2011-11-06 15:33:23 +00:00
rubidium
1f823f89a1 (svn r23123) -Fix [FS#4790] (r22792): variable was initialised at the wrong moment making things with the cursor go wrong 2011-11-06 09:37:26 +00:00
michi_cc
18d1345d1c (svn r23122) -Fix (23120): Silence GCC warning. 2011-11-05 22:41:04 +00:00
translators
6292bc3ce4 (svn r23121) -Update from WebTranslator v3.0:
italian - 18 changes by lorenzodv
norwegian_bokmal - 90 changes by eloekset
norwegian_nynorsk - 1 changes by eloekset
serbian - 17 changes by etran
tamil - 15 changes by aswn
2011-11-05 18:45:34 +00:00
michi_cc
a22b4f1f91 (svn r23120) -Feature: [NoAI] Support for refit orders. 2011-11-05 15:31:21 +00:00
michi_cc
6a2735d24e (svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a GUI-less video driver. 2011-11-04 23:47:00 +00:00
rubidium
65d0d19b16 (svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick 2011-11-04 23:20:14 +00:00
yexo
02913f40b0 (svn r23117) -Fix: [NoAI] calling require() to include a file gave you 100.000 opcodes for free 2011-11-04 23:14:23 +00:00
michi_cc
3e016e4254 (svn r23116) -Fix (r23114): Ambient sound effect callback was called for unsupported tile types. 2011-11-04 22:59:23 +00:00
rubidium
c8857d4679 (svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral) 2011-11-04 22:32:21 +00:00
michi_cc
707b0f48e6 (svn r23114) -Feature: [NewGRF] Ambient sound effect callback. 2011-11-04 21:05:08 +00:00
translators
a471a20491 (svn r23113) -Update from WebTranslator v3.0:
dutch - 17 changes by habell
english_US - 17 changes by Rubidium
finnish - 17 changes by jpx_
french - 17 changes by glx
german - 17 changes by planetmaker
lithuanian - 7 changes by Stabilitronas
2011-11-04 18:45:28 +00:00
michi_cc
a3e6e113fe (svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting. 2011-11-04 15:04:29 +00:00
michi_cc
ad2fdd8d6f (svn r23111) -Fix: Keep subtype when automatically choosing the cargo for auto-refitting. 2011-11-04 15:04:24 +00:00
rubidium
9782b7bb0a (svn r23110) -Codechange: let the flying altitude return ints are well 2011-11-04 13:40:59 +00:00
michi_cc
81f583de47 (svn r23109) -Fix: Subtract auto-refit costs from the vehicle profit. 2011-11-04 13:21:24 +00:00
rubidium
2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium
459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 2011-11-04 11:36:10 +00:00
rubidium
19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 2011-11-04 11:30:37 +00:00
rubidium
643c54d288 (svn r23105) -Fix (r23104): Kenobi visited me ;) 2011-11-04 11:29:11 +00:00
rubidium
f01b3e2721 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 2011-11-04 11:09:06 +00:00
rubidium
a72544d5e1 (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 2011-11-04 10:32:26 +00:00
rubidium
798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium
a8c4efcff4 (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 2011-11-04 10:31:13 +00:00
rubidium
1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
0b6dbaf664 (svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code 2011-11-04 10:29:26 +00:00
rubidium
f0f17a77ba (svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code 2011-11-04 10:28:31 +00:00
rubidium
d0689c2924 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 2011-11-04 10:28:20 +00:00
rubidium
69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 2011-11-04 10:25:58 +00:00
rubidium
b167c0a396 (svn r23095) -Codechange: remove useless divisions/multiplications by TILE_HEIGHT for the AI API code 2011-11-04 10:25:33 +00:00
rubidium
ecbc56a677 (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 2011-11-04 10:23:48 +00:00
rubidium
2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
a36551dbb4 (svn r23092) -Codechange: create a non-pixel version of some of the Get*PixelZ functions, and let Get*PixelZ wrap around the new function (multiplying the Z by TILE_HEIGHT) just like TileHeight and TilePixelHeight 2011-11-04 10:20:24 +00:00