Commit Graph

1364 Commits (59b54b3b024145219878fb3906468de085587e20)

Author SHA1 Message Date
peter1138 70b6716b98 (svn r10177) -Fix: Passengers has one A and two Es (ln) 18 years ago
maedhros e0e380e8d9 (svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window. 18 years ago
miham 37aac4a816 (svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english... 18 years ago
miham da55f0cfe8 (svn r10174) -Fix: [Translations]: piglatin plural forms had some problem.. 18 years ago
miham 974c5dbe00 (svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W 18 years ago
belugas 7f3c41b5bf (svn r10172) -Fix(r10127): Wrong evaluation order on variable 0x41 for industry tile.
The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around.
18 years ago
rubidium e355b1e55a (svn r10170) -Codechange: remove some duplication of code. 18 years ago
rubidium 6c87da4fec (svn r10169) -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties. 18 years ago
rubidium f5f1909b23 (svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it. 18 years ago
belugas 0f0b58d429 (svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
Like easier to read and faster to evaluate :)
18 years ago
peter1138 77b29ea3bc (svn r10166) -Feature(tte): Add support for antialiased typefaces via FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts. 18 years ago
rubidium 3efca64a94 (svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport. 18 years ago
miham dcface1b3b (svn r10164) -Update: WebTranslator2 update to 2007-06-15 07:44:28
catalan    - 2 fixed by arnaullv (2)
dutch      - 2 fixed by habell (2)
esperanto  - 1 fixed by LaPingvino (1)
norwegian_bokmal - 24 fixed by oletk (24)
turkish    - 16 fixed by jnmbk (16)
18 years ago
belugas 0dc6ed160c (svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way. 18 years ago
rubidium 46e531da72 (svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable. 18 years ago
truelight 5d55a9435b (svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID 18 years ago
truelight 083504c12e (svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images 18 years ago
rubidium 3cdf29af0d (svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport. 18 years ago
rubidium 6cd88fd449 (svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!. 18 years ago
rubidium 5644794af9 (svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!. 18 years ago
truelight bda903e70b (svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available 18 years ago
truelight 402052509f (svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx) 18 years ago
truelight 063c4f7862 (svn r10148) -Fix r10143: make --without-png to compile again 18 years ago
rubidium a84e6b015d (svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. 18 years ago
belugas 920b4feb9d (svn r10146) -Codechange: Silence a compiler warning
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
18 years ago
rubidium 8ed345d5fb (svn r10145) -Fix: make compiling with networking disabled (again) possible. 18 years ago
truelight 19513f2604 (svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
18 years ago
truelight 63f56f811b (svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it 18 years ago
celestar 8d623faf0d (svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb) 18 years ago
rubidium d88f4bc78c (svn r10140) -Fix [FS#867]: an industry could overbuild a bridge. 18 years ago
rubidium e64eede717 (svn r10139) -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1. 18 years ago
rubidium 0a4a4875fb (svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played. 18 years ago
rubidium 779fd2fa42 (svn r10137) -Add: console command to get the current game date. 18 years ago
truelight f782a311f8 (svn r10132) -Codechange: split out the last direct video-buffer read access to the blitter-layer
-Add: added a new renderer and blitter to make room for some optimized bpp
-Fix: fill the alpha channel in the grf-spriteloader
18 years ago
rubidium 5eda486f93 (svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water. 18 years ago
maedhros bfecf0268d (svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages. 18 years ago
peter1138 cb54a561ef (svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has. 18 years ago
peter1138 19db4ee85c (svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message 18 years ago
belugas 107c84c3ab (svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
18 years ago
glx 3de8438314 (svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were 18 years ago
rubidium 0b90d5319d (svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly. 18 years ago
truelight a1603f51f2 (svn r10124) -Fix r10123: fix the OSX video driver properly 18 years ago
bjarni 5d013d166e (svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again 18 years ago
maedhros f8ae742da4 (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops. 18 years ago
truelight 0e53fd6d32 (svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
18 years ago
miham b729f5d08d (svn r10119) -Update: WebTranslator2 update to 2007-06-12 20:09:56
bulgarian  - 1 fixed by thetitan (1)
estonian   - 23 changed by kristjans (23)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by darkttd (2)
romanian   - 28 fixed, 59 changed by CrystyB (87)
swedish    - 31 fixed by giddorah (31)
ukrainian  - 3 fixed by mad (3)
18 years ago
maedhros 12b359fa32 (svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
a whole rather than each part individually, as that leads to invalid tests on
parts that have already been deleted.
18 years ago
rubidium 60d738f23a (svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh. 18 years ago
belugas 443db4bb2e (svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
Implementation will follow soon.
18 years ago
maedhros 94d390eac4 (svn r10114) -Fix: Only load newgrf error messages if the language matches the current
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
18 years ago
peter1138 8f7dea3f4f (svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments 18 years ago
peter1138 ce590b59f3 (svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003') 18 years ago
maedhros e5ea54fe22 (svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply". 18 years ago
rubidium 961a891563 (svn r10109) -Fix [FS#838]: some NewGRFs use the same (unused in the "current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD). 18 years ago
belugas af35821a2a (svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
18 years ago
peter1138 f94300a433 (svn r10107) -Fix (r10092): Missing 'i' in 'optimized' 18 years ago
rubidium 06f9baac62 (svn r10106) -Fix (r10098): there's always a compiler complaining about something... 18 years ago
truelight 9ee02182fa (svn r10105) -Fix r10092: fix sprite 4845 till 4881 (inclusive), so they store the data as on the disk in the memory, as the old landscape generate assumes this. Talking about ugly hacks... 18 years ago
miham 8f30750ade (svn r10104) -Update: WebTranslator2 update to 2007-06-11 19:45:13
catalan    - 4 changed by arnaullv (4)
czech      - 3 fixed, 1 changed by Hadez (4)
danish     - 2 fixed by MiR (2)
dutch      - 1 fixed by habell (1)
estonian   - 2 fixed, 15 changed by kristjans (17)
french     - 3 fixed by glx (3)
hungarian  - 2 fixed by miham (2)
18 years ago
maedhros 1dac46595d (svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead. 18 years ago
truelight 02b9eeaa7a (svn r10102) -Documentation: @file header was wrong 18 years ago
truelight 340d5b43f9 (svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too 18 years ago
truelight 10e826380b (svn r10100) -Fix r10093: some code now became obsolete as it never did something 18 years ago
belugas cb65217069 (svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Spotted by Oxygene
18 years ago
rubidium 76e25154bd (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 18 years ago
maedhros c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
18 years ago
truelight 4cd71ef4fe (svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird 18 years ago
truelight 37ee35df07 (svn r10095) -Fix: avoid reading outside the buffer because of scaling problems 18 years ago
rubidium 52fa0751b2 (svn r10094) -Fix: some really broken strings got in. 18 years ago
truelight 05e2bd2793 (svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair 18 years ago
truelight 27febd474c (svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
18 years ago
maedhros 41443a26a6 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
18 years ago
belugas 7f8b42b598 (svn r10088) -Codechange: A typo and a code-style 18 years ago
rubidium a2b505e4ca (svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could result in duplicate messages that money has been transfered when it only happened once. 18 years ago
maedhros c33e651393 (svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals. 18 years ago
rubidium 3b9aa52c45 (svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured. 18 years ago
rubidium f73956888f (svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed. 18 years ago
rubidium b50f694a85 (svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc). 18 years ago
rubidium 47d7124207 (svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart). 18 years ago
bjarni e1b7b7aecc (svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values 18 years ago
miham fbcbd101c3 (svn r10079) -Update: WebTranslator2 update to 2007-06-10 08:31:40
bulgarian  - 29 fixed by thetitan (29)
catalan    - 1 fixed by arnaullv (1)
estonian   - 159 changed by kristjans (159)
18 years ago
belugas a8e4af3c52 (svn r10078) -Codechange: Centralize all industry counts data and access 18 years ago
bjarni 160aa21f31 (svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains
  Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
18 years ago
miham 8686e247ac (svn r10076) -Update: WebTranslator2 update to 2007-06-09 10:29:27
danish     - 1 fixed by ThomasA (1)
estonian   - 1 fixed, 96 changed by kristjans (97)
german     - 29 fixed by Neonox (29)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by lorenzodv (1)
japanese   - 1 fixed by ickoonite (1)
korean     - 1 fixed by darkttd (1)
18 years ago
rubidium 469e7cb991 (svn r10075) -Fix [FS#844]: small memory leak on some early returns. 18 years ago
belugas 1a2f889a52 (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 18 years ago
rubidium 9a57a1912d (svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again). 18 years ago
truelight 5b18dccb6b (svn r10072) -Fix r10070: typo in zoom.hpp 18 years ago
rubidium abb4ab74cf (svn r10071) -Feature [FS#828]: moving of orders (skidd13). 18 years ago
truelight e9c2c4a27e (svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call 18 years ago
truelight f4c1938af9 (svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected... 18 years ago
rubidium 1e1154b08c (svn r10068) -Fix [FS#835]: coverage area highlight was still show when it was turned off for docks. 18 years ago
belugas 9fe860f5f9 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 18 years ago
glx 5901239de6 (svn r10065) -Cleanup (r9850): remove now unneeded stuff 18 years ago
belugas dc89ed73ee (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run 18 years ago
belugas 256ee60545 (svn r10063) -Codechange: Change VARDEF for extern
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
18 years ago
peter1138 f2e0912ce9 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. 18 years ago
peter1138 906385eb3d (svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42 18 years ago
miham 7cdb0a12f0 (svn r10060) -Update: WebTranslator2 update to 2007-06-08 07:51:39
estonian   - 228 changed by kristjans (228)
japanese   - 13 fixed by ickoonite (13)
portuguese - 2 fixed by izhirahider (2)
slovenian  - 99 fixed by Necrolyte (99)
18 years ago
peter1138 bbfad49142 (svn r10059) -Fix (r10045): Pretend GRF is still in initialisation state when leaving reservation stage. This fixes action 7/9 tests for grfs that will be active. 18 years ago