Commit Graph

4311 Commits

Author SHA1 Message Date
smatz c620d5e5f0 (svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3 2008-09-02 21:11:48 +00:00
rubidium a482f0053d (svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff. 2008-09-02 20:24:55 +00:00
frosch 3ce1a5672e (svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff. 2008-09-02 20:01:18 +00:00
rubidium fc216aeeb8 (svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported. 2008-09-02 18:45:15 +00:00
smatz c0cdfea97d (svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work 2008-09-02 17:24:46 +00:00
rubidium c8e8911ef6 (svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites. 2008-09-02 15:20:38 +00:00
smatz cbe397388f (svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels 2008-09-02 14:46:28 +00:00
rubidium fd97a89c57 (svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data. 2008-09-02 08:25:15 +00:00
peter1138 941f8b5f16 (svn r14215) -Cleanup (r13866): Strange line wrapping... 2008-09-01 08:57:33 +00:00
rubidium 886c8ec79f (svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142. 2008-08-31 23:12:57 +00:00
smatz b51bb8c221 (svn r14210) -Codechange: remove a useless check when creating new waypoint 2008-08-31 21:30:36 +00:00
smatz 7fa98e33ce (svn r14209) -Feature(tte): doubleclick to join selected server/company 2008-08-31 20:54:01 +00:00
peter1138 744b3527e5 (svn r14208) -Fix (r14197): Crash if no .obg files are found. 2008-08-31 20:08:24 +00:00
rubidium dc2ace2494 (svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions. 2008-08-31 19:56:52 +00:00
translators 48479cd86f (svn r14205) -Update: WebTranslator2 update to 2008-08-31 19:47:56
bulgarian  - 12 fixed by thetitan (12)
catalan    - 49 fixed by arnaullv (49)
czech      - 4 fixed, 15 changed by Hadez (19)
dutch      - 2 fixed, 5 changed by habell (7)
french     - 2 fixed, 1 changed by belugas (1), glx (2)
galician   - 75 fixed, 54 changed by Condex (129)
german     - 10 fixed, 1 changed by dih (11)
italian    - 5 fixed, 5 changed by lorenzodv (10)
korean     - 14 fixed by leejaeuk5 (14)
slovenian  - 6 fixed by Necrolyte (6)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 2 fixed by mad (2)
2008-08-31 17:48:17 +00:00
smatz f2dbe6685d (svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already 2008-08-31 17:34:03 +00:00
peter1138 7bc5b136b1 (svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID. 2008-08-31 16:41:27 +00:00
peter1138 b4b1f26a9f (svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs. 2008-08-31 15:46:14 +00:00
peter1138 7e88b7bb3e (svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
-Codechange: [NewGRF] *Do* continue processing if the value of a property is invalid, however.
2008-08-31 15:26:46 +00:00
rubidium 6b86de13d6 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 2008-08-31 11:51:09 +00:00
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 2008-08-31 10:50:05 +00:00
peter1138 46e23b8f99 (svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties. 2008-08-31 09:52:47 +00:00
rubidium c3a9653c89 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
rubidium 1afa473d0f (svn r14196) -Codechange: make the searching for files with a specific extension extendable. 2008-08-31 08:38:30 +00:00
rubidium 0b88f0cf54 (svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want. 2008-08-30 12:14:56 +00:00
rubidium d40145008e (svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus) 2008-08-30 10:26:16 +00:00
rubidium d3d34d2aac (svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
2008-08-30 09:46:52 +00:00
rubidium e06c21426e (svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended. 2008-08-30 09:43:07 +00:00
peter1138 bfcd6e9772 (svn r14189) -Fix (r14188): Accidental line removal 2008-08-30 09:01:05 +00:00
peter1138 2b67c01a24 (svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it. 2008-08-30 08:59:55 +00:00
rubidium 468655c916 (svn r14187) -Fix (r14104): silence warning when compiling without networking enabled. 2008-08-29 21:11:28 +00:00
rubidium ead8de78ea (svn r14186) -Fix [FS#2255]: small typo (Jafinto) 2008-08-29 21:07:26 +00:00
rubidium 7c002c14cc (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 2008-08-29 21:06:49 +00:00
peter1138 4c56b827e5 (svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached. 2008-08-29 20:03:51 +00:00
peter1138 80c9ecedcd (svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early. 2008-08-28 19:53:25 +00:00
peter1138 38ee1c8d49 (svn r14181) -Fix (r14175): Rail types are not road types 2008-08-28 19:22:03 +00:00
glx e598fa4701 (svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list). 2008-08-27 21:30:20 +00:00
frosch ef60a4cf35 (svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty. 2008-08-27 19:54:41 +00:00
frosch 7ce75961b4 (svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders. 2008-08-27 19:21:01 +00:00
smatz 361292bd23 (svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet 2008-08-25 22:10:47 +00:00
smatz e840aabf8d (svn r14176) -Fix: better 'safe' than ... 'save' 2008-08-25 20:54:34 +00:00
peter1138 759fb5937d (svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication. 2008-08-25 20:42:54 +00:00
smatz c9bef19043 (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing' 2008-08-25 20:10:45 +00:00
peter1138 b60ff46806 (svn r14173) -Fix: Don't check for rail type and catenary on aqueducts. 2008-08-25 18:14:19 +00:00
belugas 23a9938317 (svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
In other words, one can now specifies a 16 bits cost multiplier.
2008-08-25 17:16:27 +00:00
belugas bc7a87613f (svn r14171) -Codechange: Make the test for HQ a bit lighter.
The presence of a HQ is only dictated by the 7th bit been set.
The rest of the data is related to the size and the type.
2008-08-25 16:41:00 +00:00
peter1138 6a742cef5f (svn r14170) -Codechange: Missing enum for road type iteration. 2008-08-25 16:20:26 +00:00
belugas 08898f69be (svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation 2008-08-25 16:10:34 +00:00
peter1138 cf52b683c0 (svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified. 2008-08-25 16:07:10 +00:00
rubidium 621a9b647a (svn r14167) -Fix: items in some ini-groups got duplicated on save. 2008-08-25 15:15:41 +00:00