Commit Graph

12432 Commits (b9a1468fde84322fdafe61d01e049c590575f3e6)

Author SHA1 Message Date
truebrain 1e13fa3dee (svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file) 13 years ago
truebrain b4112dcf8e (svn r23357) -Codechange: move AIStorage to ScriptStorage 13 years ago
truebrain 0fbe10a2e3 (svn r23356) -Fix: some OSX versions have ScriptOrder defined 13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
truebrain eab012ec8b (svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium) 13 years ago
truebrain da6a9704cf (svn r23353) -Fix (r23350): somehow one file slipped through as unmodified 13 years ago
truebrain 1ced96bb3c (svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel 13 years ago
truebrain cb76833b6c (svn r23351) -Add: generate the correct API type when creating Squirrel glue (Rubidium) 13 years ago
truebrain d413dcabbf (svn r23350) -Add: support different ScriptTypes in the helper functions for GetClassName (Rubidium) 13 years ago
truebrain 32c53a6812 (svn r23349) -Fix (r23210): one remaining unneeded GetClassName 13 years ago
rubidium 48f7492434 (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 13 years ago
translators cc5ec5eef7 (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
13 years ago
translators f236b1cceb (svn r23346) -Update from WebTranslator v3.0:
swedish - 8 changes by Zuu
13 years ago
rubidium 5008878879 (svn r23345) -Fix: gender where no gender can exist 13 years ago
translators 201a4775c7 (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
13 years ago
frosch 4b0b43da2e (svn r23343) -Fix (r23332): Incorrect encoding of sprites with much transparency. 13 years ago
rubidium 9fe11f3283 (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 13 years ago
rubidium d823378d8a (svn r23341) -Fix (r23338): memory leak when converting rails 13 years ago
translators 35ab021de0 (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
13 years ago
rubidium a8014c0af5 (svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL 13 years ago
rubidium 26eebf2203 (svn r23337) -Fix [FS#4826]: don't send chat messages to clients that haven't joined yet 13 years ago
rubidium 4cbd3f4c5d (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) 13 years ago
frosch 9a533fb58b (svn r23335) -Change: Make determination of vehicle weight when loaded consistent between road and rail vehicle purchase info. 13 years ago
frosch 7f1c696567 (svn r23334) -Fix [FS#4820]: Road vehicle purchase info failed to display vehicles carrying no cargo. (Can only happen when NewGRFs are screwed up.) 13 years ago
peter1138 b100c49227 (svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom. 13 years ago
peter1138 fad1c81243 (svn r23332) -Fix (r23316): Length of transparent pixels could exceed a byte. (frosch) 13 years ago
rubidium 9e9ea7fa81 (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) 13 years ago
rubidium 7d447d139a (svn r23330) -Fix [FS#4853] (r23316): alignment of signals in the signals menu was incorrect 13 years ago
peter1138 1a0d9e73de (svn r23329) -Fix (r23316): Scale child sprite pixel offsets unless told not to. Fixes lifts and industry graphics. 13 years ago
peter1138 ba617a796c (svn r23328) -Change: Make the viewport vehicle position hash cover the same area. 13 years ago
translators 3eb056712a (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
13 years ago
rubidium 9e50228fe2 (svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore 13 years ago
peter1138 1121fb8698 (svn r23325) -Fix (r23316): World screenshot was incorrectly positioned. 13 years ago
peter1138 9f787611fc (svn r23324) -Fix (r15555): Don't free reusable buffer. 13 years ago
truebrain 2635be0549 (svn r23323) -Fix: when you fund a town, it should grow; goals reached or not 13 years ago
rubidium d4f7128d18 (svn r23322) -Fix: French language used a wrong argument index 13 years ago
peter1138 67fd36246b (svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at wrong zoom level. 13 years ago
translators 8541873dfa (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
13 years ago
peter1138 0043123c33 (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. 13 years ago
peter1138 64559ea8d3 (svn r23318) -Change: Make text effects rise at their previous speed. 13 years ago
peter1138 85ba11d91b (svn r23317) -Change: Rename sprite_cache_size setting so that the new default is used. 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 9e0e4bf639 (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 13 years ago
peter1138 782aee3c2a (svn r23314) -Add: Add settings to restrict viewport zoom levels. 13 years ago
truebrain 76f6bd8cfd (svn r23313) -Fix: economy.fund_buildings was not shown in the GUI 13 years ago
rubidium b2830546b8 (svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it 13 years ago
truebrain e271463efa (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 13 years ago
truebrain f3bed7c328 (svn r23310) -Fix: Town GUI was not representing the true conditions of arctic / tropical goals 13 years ago
truebrain 1ad295a4cf (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 13 years ago
translators ef9aac6462 (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
13 years ago
truebrain a6551698c3 (svn r23307) -Revert (r23306): committed one file too many :s 13 years ago
truebrain 5af7516425 (svn r23306) -Fix (r23302): forgot to mention AITownEffectList in the Changelog 13 years ago
rubidium 7df6a9217a (svn r23305) -Fix (r23298): warning about comparing different enums 13 years ago
truebrain 3a5d257e46 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
truebrain 08efac8549 (svn r23303) -Add: economy.fund_buildings, to disallow funding buildings 13 years ago
truebrain ad5830e42d (svn r23302) -Add: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to query statistics about a town regarding its growing 13 years ago
truebrain 19b80a772e (svn r23301) -Fix: remove changed strings from all languages and alter those we can 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 3d80ed07cc (svn r23299) -Codechange: remove silly comments from AI documentation 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
truebrain 71a040776a (svn r23297) -Add: {CARGO_TINY} (Rubidium) 13 years ago
truebrain ed6ec8c52a (svn r23296) -Codechange: I found a fund building, but do I fund found buildings? 13 years ago
truebrain 2e731592c4 (svn r23295) -Codechange: put ImportLibrary in AIController (and document the parameters for NoAI docs) 13 years ago
truebrain 396822504a (svn r23294) -Codechange: sq_pop in native callback is just a waste of CPU cycles, as the top is reset in all cases 13 years ago
truebrain 7700e274de (svn r23293) -Codechange: make LoadScript/LoadFile non-static 13 years ago
translators 900b244ffd (svn r23292) -Update from WebTranslator v3.0:
catalan - 57 changes by arnau
dutch - 8 changes by habell
swedish - 9 changes by Zuu
13 years ago
michi_cc 2579f5b17d (svn r23291) -Feature: [NewGRF] Properties to always include/exclude cargo types from the refit mask. (peter1138) 13 years ago
michi_cc 3b45b41e68 (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. 13 years ago
translators c9782d4e56 (svn r23289) -Update from WebTranslator v3.0:
german - 12 changes by NG
polish - 19 changes by icecrasher, wojteks86
13 years ago
rubidium 74a025b38c (svn r23288) -Feature: use the monospace font for the NewGRF text windows 13 years ago
rubidium d164eeb147 (svn r23287) -Fix (r23274): mono_size is a better name than large_mono for the size variable in the configuration file 13 years ago
translators b5f187496c (svn r23286) -Update from WebTranslator v3.0:
basque - 1 changes by Thadah
croatian - 8 changes by VoyagerOne
welsh - 4 changes by kazzie
13 years ago
rubidium 637086fe02 (svn r23285) -Fix: scanning of content after download didn't work 13 years ago
rubidium 11bfbc2e02 (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 13 years ago
rubidium a799efbbb2 (svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fonts 13 years ago
frosch 0e28c6665e (svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed. 13 years ago
rubidium dd26086629 (svn r23279) -Codechange: try to prevent slanted and skinny fonts with fontconfig. This should generally make the fallback choice better legible 13 years ago
rubidium 97d1969a69 (svn r23277) -Codechange: fallback font support for fontcache 13 years ago
rubidium e82325e5c6 (svn r23276) -Codechange: add the answer for the question whether we're looking for monospace fonts in the searcher 13 years ago
rubidium 17db686187 (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 13 years ago
rubidium 49047246fa (svn r23274) -Add: internal support for a monospaced sprite font 13 years ago
rubidium 1713d1ad3e (svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings) 13 years ago
rubidium 8f86283203 (svn r23272) -Codechange: pass the initial font size to DrawString and friends 13 years ago
rubidium c2ea904860 (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 13 years ago
rubidium 7f1f23a766 (svn r23270) -Fix (r23267): compile failure without freetype 13 years ago
rubidium c591589818 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 13 years ago
rubidium 3e09fa8102 (svn r23268) -Fix (r23267): compilation failed on Windows 13 years ago
rubidium 2ce44dc201 (svn r23267) -Codechange: unify the font name setting of the font cache 13 years ago
translators 95550d4b4b (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
13 years ago
rubidium e3905eecbb (svn r23265) -Codechange: replace the setfallbackfont callback function with a class to call back 13 years ago
truebrain 3429287e7d (svn r23264) -Fix (r23263): save before commit 13 years ago
truebrain 8d14fd4b29 (svn r23263) -Documentation: stop naming AI in comments in script/ files; it makes no sense 13 years ago
truebrain b2ae274a5d (svn r23262) -Fix: one annoying typo in a squirrel_export marker line 13 years ago
truebrain c1f0332015 (svn r23261) -Codechange: Squirrel glue templates were not inline (tnx to michi_cc) 13 years ago
frosch 4b6fcf4d32 (svn r23253) -Fix: Several clipping issues with the display of textfiles, esp. with RTL text direction. 13 years ago
frosch 3b0816c614 (svn r23252) -Codechange: Add WD_BEVEL_xxx constants. 13 years ago
frosch 35c90314ca (svn r23251) -Fix: 3-column view of NewGRF GUI had too much space for certain font sizes. 13 years ago
translators 81bde3cf0a (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
13 years ago
frosch ba6d212079 (svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license. 13 years ago
frosch 42ba77bd11 (svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic. 13 years ago
rubidium 2e06a28470 (svn r23247) -Fix (r23244): compile failure on certain archaic platforms 13 years ago
rubidium 8961575ef9 (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 13 years ago
rubidium 4509f814b3 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 13 years ago
rubidium c77ae1f54c (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 13 years ago
rubidium 54dc2babe4 (svn r23242) -Codechange: allow ignoring the sprite font completely when checking whether the font supports a language 13 years ago
rubidium 67d90f1174 (svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD 13 years ago
rubidium 2052561c2e (svn r23240) -Codechange: rework the code of the download status window 13 years ago
rubidium d98207d51b (svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs 13 years ago
translators 66a8591e27 (svn r23238) -Update from WebTranslator v3.0:
vietnamese - 23 changes by nglekhoi
13 years ago
rubidium a4a2e0ecc0 (svn r23237) -Fix: ignore special characters, such as the train "character", when determining a fallback font 13 years ago
frosch cc82b15f2a (svn r23236) -Fix (r23141): Construction of objects was always rejected. 13 years ago
translators eca99e92d8 (svn r23235) -Update from WebTranslator v3.0:
serbian - 32 changes by etran
13 years ago
rubidium ffccec6d84 (svn r23234) -Fix [FS#4840]: crash when after downloading content 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium b6d3db762d (svn r23232) -Change: move the "default" overrides out of the baseset in order to ensure they all use the same values 13 years ago
michi_cc d7b2bd7aa5 (svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch. 13 years ago
rubidium 6f1bd8f8c9 (svn r23230) -Codechange: stupid casing for UnPause. It's a single word, not two words "CamelCased" after eachother 13 years ago
translators 195f81fb0a (svn r23229) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
13 years ago
frosch 1ab0108bb9 (svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets. 13 years ago
frosch 88980e11a3 (svn r23227) -Fix (r23219): The FileScanner should also consider the old directories. 13 years ago
frosch 4eb0160cf6 (svn r23226) -Fix (r23219): If you find a file, also use it. 13 years ago
rubidium 44cc20b269 (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 13 years ago
rubidium cebe2eac6b (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) 13 years ago
rubidium 896fa9ddf1 (svn r23223) -Codechange: store the last newgrf count in the misc section 13 years ago
rubidium 023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 13 years ago
rubidium 5135e2a09e (svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset 13 years ago
rubidium 78628b590d (svn r23218) -Codechange: prepare code for a separate base set directory 13 years ago
rubidium 4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 13 years ago
rubidium 9bf2cb0e86 (svn r23216) -Codechange: introduce the concept of having different tar lists 13 years ago
rubidium 1cd3dac854 (svn r23215) -Codechange: stricter type safety for CommandFlags 13 years ago
rubidium 5879b4e39f (svn r23214) -Codechange: for base media sets pass the "search in tars" parameter to determine what to do 13 years ago
translators a29fd4fcef (svn r23213) -Update from WebTranslator v3.0:
belarusian - 3 changes by Wowanxm
italian - 3 changes by lorenzodv
russian - 1 changes by Lone_Wolf
13 years ago
frosch 6be3e8b16e (svn r23212) -Fix [FS#4834] (r22980): Deleting groups did not update statistics of DEFAULT group. 13 years ago
planetmaker 67053ce41f (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits 13 years ago
rubidium 4e91548f71 (svn r23210) -Codechange: generate the GetClassName function for the AI classes programmatically 13 years ago
truebrain cbe453eab0 (svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one. 13 years ago
truebrain e35a1d7843 (svn r23208) -Codechange: mark function with /* static */ in the source file, which are defined static in the header file 13 years ago
truebrain 5e7bae46f8 (svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit) 13 years ago
translators 5a566f3536 (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
13 years ago
rubidium ca22f6be80 (svn r23204) -Fix (r23201): if you rename a constant, then also rename it in the helper scripts that use it 13 years ago
rubidium 1c5ecf5619 (svn r23202) -Fix [FS#4829]: unstable sorting in the network list when two servers had the exact same name 13 years ago
yexo 7229e955fa (svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway 13 years ago
translators 9f2a47fecc (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
13 years ago
rubidium bec64ece5a (svn r23199) -Fix [FS#4822]: oil rigs that "expired" did not get removed from the station list 13 years ago
rubidium 33d71b45fe (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 13 years ago
smatz ae10eb2ce5 (svn r23196) -Fix: GCC 4.7 compilation 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium 3053d8e3b5 (svn r23194) -Codechange: don't cast away const needlessly 13 years ago
rubidium 4ef3d33895 (svn r23193) -Codechange: don't cast away const unneededly 13 years ago
rubidium e81d564625 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago