truelight
9efe1d6776
(svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites)
2007-06-19 17:43:30 +00:00
belugas
c492167f74
(svn r10226) -Codechange: Add support for newindustry tiles drawing.
...
Heavily based on Maedhros's newhouses implementation
2007-06-19 17:33:12 +00:00
truelight
bd215277b5
(svn r10225) -Codechange: move common Colour routines for 32bpp to the base class (and nick it colour, not color)
2007-06-19 17:32:01 +00:00
rubidium
bf0be8f0bc
(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits.
2007-06-19 17:27:59 +00:00
glx
554639ce92
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
2007-06-19 17:13:25 +00:00
peter1138
195ef32835
(svn r10222) -Fix [FS#892]: Only 2 trains could crash at one time as collision checking stopped on the first hit. This could cause desyncs in network games as the collision hash order is not guaranteed. (patch by B. N. Smatz)
2007-06-19 16:40:59 +00:00
rubidium
911f37ee94
(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases.
2007-06-19 15:56:03 +00:00
truelight
766168ad43
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
2007-06-19 15:40:27 +00:00
rubidium
1e73884c10
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
2007-06-19 15:34:43 +00:00
glx
6f25b5db0d
(svn r10218) -Fix r10216: more compile errors
2007-06-19 15:26:10 +00:00
truelight
f5271393e1
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
2007-06-19 15:18:26 +00:00
truelight
cd10965a27
(svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
...
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-19 15:04:08 +00:00
truelight
b63c8b8342
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
2007-06-19 12:19:31 +00:00
truelight
a2b14e718a
(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)
2007-06-19 12:18:24 +00:00
rubidium
f765b3d6aa
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
2007-06-19 00:05:26 +00:00
glx
623a848cca
(svn r10211) -Feature: [NewGRF] Add support for action 0F
2007-06-18 23:00:55 +00:00
rubidium
8220153e6b
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
2007-06-18 22:49:55 +00:00
rubidium
6900de65b9
(svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
2007-06-18 22:09:54 +00:00
rubidium
23727da96f
(svn r10208) -Codechange: replace int32 with Money where appropriate.
2007-06-18 21:44:47 +00:00
rubidium
7dda2d93da
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
2007-06-18 21:00:14 +00:00
truelight
6785ea670f
(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer
2007-06-18 20:08:21 +00:00
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
truelight
d7736f6b83
(svn r10203) -Codechange: more moving things to blitter-layer: DrawLine
2007-06-18 19:38:23 +00:00
peter1138
704a67ff0b
(svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go.
2007-06-18 18:45:12 +00:00
rubidium
82e79b847e
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
2007-06-18 16:42:40 +00:00
KUDr
80d71953ba
(svn r10199) -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely in some cases (1 tile long cached segment followed by target station) stops on assert (immeR)
2007-06-18 14:40:07 +00:00
rubidium
5718743722
(svn r10198) -Fix (r10194): did not search all search paths.
2007-06-18 11:04:12 +00:00
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
miham
fd2cee1864
(svn r10196) -Update: WebTranslator2 update to 2007-06-18 10:15:44
...
japanese - 2 fixed by ickoonite (2)
slovenian - 3 fixed by Necrolyte (3)
2007-06-18 08:17:31 +00:00
rubidium
e2f839b6a2
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
2007-06-17 21:26:57 +00:00
truelight
cdf6192ce0
(svn r10193) -Fix r10190: somehow an other partly-patch was applied too
2007-06-17 20:47:11 +00:00
truelight
32406b0c18
(svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver
2007-06-17 20:40:02 +00:00
rubidium
28f97c790a
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
2007-06-17 20:36:14 +00:00
truelight
79cd3f5db0
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17 20:30:28 +00:00
rubidium
c016eca97f
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
2007-06-17 20:09:05 +00:00
rubidium
265d5ea813
(svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough.
2007-06-17 19:46:01 +00:00
glx
ffbd022a12
(svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32)
2007-06-17 19:00:45 +00:00
rubidium
6c0ba8e879
(svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime).
2007-06-17 18:22:43 +00:00
rubidium
c4d5faa248
(svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore.
2007-06-17 18:18:18 +00:00
rubidium
3c7a85fe94
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
4e4b152adb
(svn r10181) -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame.
2007-06-17 13:27:50 +00:00
rubidium
7fbd4e4ab4
(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc.
2007-06-17 13:26:19 +00:00
maedhros
8765343e2e
(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.
2007-06-17 11:01:58 +00:00
peter1138
70b6716b98
(svn r10177) -Fix: Passengers has one A and two Es (ln)
2007-06-17 10:47:30 +00:00
maedhros
e0e380e8d9
(svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window.
2007-06-17 10:14:47 +00:00
miham
37aac4a816
(svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english...
2007-06-17 07:24:39 +00:00
miham
da55f0cfe8
(svn r10174) -Fix: [Translations]: piglatin plural forms had some problem..
2007-06-17 07:21:02 +00:00
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
2007-06-17 05:45:05 +00:00
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.
2007-06-17 01:01:15 +00:00
rubidium
e355b1e55a
(svn r10170) -Codechange: remove some duplication of code.
2007-06-16 12:03:36 +00:00
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.
2007-06-16 11:13:30 +00:00
rubidium
f5f1909b23
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
2007-06-16 10:10:22 +00:00
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 :)
2007-06-15 23:55:52 +00:00
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.
2007-06-15 16:21:56 +00:00
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.
2007-06-15 08:05:24 +00:00
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)
2007-06-15 05:44:45 +00:00
belugas
0dc6ed160c
(svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way.
2007-06-15 01:53:43 +00:00
rubidium
46e531da72
(svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable.
2007-06-14 15:24:34 +00:00
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
2007-06-14 14:31:48 +00:00
truelight
083504c12e
(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images
2007-06-14 14:11:08 +00:00
rubidium
3cdf29af0d
(svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport.
2007-06-14 08:39:27 +00:00
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!.
2007-06-13 23:43:00 +00:00
rubidium
5644794af9
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
2007-06-13 23:14:08 +00:00
truelight
bda903e70b
(svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available
2007-06-13 19:34:33 +00:00
truelight
402052509f
(svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx)
2007-06-13 19:05:42 +00:00
truelight
063c4f7862
(svn r10148) -Fix r10143: make --without-png to compile again
2007-06-13 18:52:06 +00:00
rubidium
a84e6b015d
(svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases.
2007-06-13 18:36:04 +00:00
belugas
920b4feb9d
(svn r10146) -Codechange: Silence a compiler warning
...
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
2007-06-13 18:35:06 +00:00
rubidium
8ed345d5fb
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
2007-06-13 17:34:05 +00:00
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
2007-06-13 16:21:11 +00:00
truelight
63f56f811b
(svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it
2007-06-13 16:04:35 +00:00
celestar
8d623faf0d
(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb)
2007-06-13 15:24:40 +00:00
rubidium
d88f4bc78c
(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
2007-06-13 15:22:28 +00:00
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.
2007-06-13 14:57:42 +00:00
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.
2007-06-13 14:56:27 +00:00
rubidium
779fd2fa42
(svn r10137) -Add: console command to get the current game date.
2007-06-13 14:52:41 +00:00
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
2007-06-13 10:31:40 +00:00
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.
2007-06-13 09:12:10 +00:00
maedhros
bfecf0268d
(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.
2007-06-13 07:59:20 +00:00
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.
2007-06-13 07:14:42 +00:00
peter1138
19db4ee85c
(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message
2007-06-13 06:42:43 +00:00
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)
2007-06-13 02:29:08 +00:00
glx
3de8438314
(svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were
2007-06-13 01:38:00 +00:00
rubidium
0b90d5319d
(svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
2007-06-12 23:35:10 +00:00
truelight
a1603f51f2
(svn r10124) -Fix r10123: fix the OSX video driver properly
2007-06-12 23:10:47 +00:00
bjarni
5d013d166e
(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again
2007-06-12 23:06:56 +00:00
maedhros
f8ae742da4
(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
2007-06-12 22:13:49 +00:00
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
2007-06-12 20:24:12 +00:00
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)
2007-06-12 18:10:14 +00:00
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.
2007-06-12 17:10:52 +00:00
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
2007-06-12 15:46:34 +00:00
belugas
443db4bb2e
(svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
...
Implementation will follow soon.
2007-06-12 14:22:28 +00:00
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.
2007-06-12 13:22:14 +00:00
peter1138
8f7dea3f4f
(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments
2007-06-12 12:27:40 +00:00
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')
2007-06-12 11:22:32 +00:00
maedhros
e5ea54fe22
(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply".
2007-06-12 09:41:12 +00:00
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).
2007-06-12 09:40:50 +00:00
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.
2007-06-12 00:49:50 +00:00
peter1138
f94300a433
(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'
2007-06-11 21:17:02 +00:00
rubidium
06f9baac62
(svn r10106) -Fix (r10098): there's always a compiler complaining about something...
2007-06-11 19:29:42 +00:00
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...
2007-06-11 18:49:55 +00:00
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)
2007-06-11 17:45:32 +00:00
maedhros
1dac46595d
(svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead.
2007-06-11 16:41:34 +00:00
truelight
02b9eeaa7a
(svn r10102) -Documentation: @file header was wrong
2007-06-11 15:14:57 +00:00
truelight
340d5b43f9
(svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too
2007-06-11 15:13:30 +00:00
truelight
10e826380b
(svn r10100) -Fix r10093: some code now became obsolete as it never did something
2007-06-11 14:45:26 +00:00
belugas
cb65217069
(svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
...
Spotted by Oxygene
2007-06-11 14:25:38 +00:00
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 :)
2007-06-11 14:23:04 +00:00
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.
2007-06-11 14:00:16 +00:00
truelight
4cd71ef4fe
(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird
2007-06-11 13:38:11 +00:00
truelight
37ee35df07
(svn r10095) -Fix: avoid reading outside the buffer because of scaling problems
2007-06-11 12:51:27 +00:00
rubidium
52fa0751b2
(svn r10094) -Fix: some really broken strings got in.
2007-06-11 12:44:02 +00:00
truelight
05e2bd2793
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
2007-06-11 11:59:36 +00:00
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
2007-06-11 11:50:49 +00:00
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.
2007-06-11 04:52:51 +00:00
belugas
7f8b42b598
(svn r10088) -Codechange: A typo and a code-style
2007-06-10 23:40:29 +00:00
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.
2007-06-10 21:34:45 +00:00
maedhros
c33e651393
(svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals.
2007-06-10 21:28:20 +00:00
rubidium
3b9aa52c45
(svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured.
2007-06-10 20:49:11 +00:00
rubidium
f73956888f
(svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.
2007-06-10 20:27:28 +00:00
rubidium
b50f694a85
(svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc).
2007-06-10 19:59:08 +00:00
rubidium
47d7124207
(svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart).
2007-06-10 10:52:19 +00:00
bjarni
e1b7b7aecc
(svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values
2007-06-10 09:37:09 +00:00
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)
2007-06-10 06:31:51 +00:00
belugas
a8e4af3c52
(svn r10078) -Codechange: Centralize all industry counts data and access
2007-06-10 01:25:21 +00:00
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.
2007-06-09 18:31:04 +00:00
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)
2007-06-09 08:31:41 +00:00
rubidium
469e7cb991
(svn r10075) -Fix [FS#844]: small memory leak on some early returns.
2007-06-09 04:01:40 +00:00
belugas
1a2f889a52
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
2007-06-09 02:05:51 +00:00
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
2007-06-08 21:16:17 +00:00
truelight
5b18dccb6b
(svn r10072) -Fix r10070: typo in zoom.hpp
2007-06-08 19:06:35 +00:00
rubidium
abb4ab74cf
(svn r10071) -Feature [FS#828]: moving of orders (skidd13).
2007-06-08 18:59:29 +00:00
truelight
e9c2c4a27e
(svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call
2007-06-08 18:45:14 +00:00
truelight
f4c1938af9
(svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected...
2007-06-08 18:23:26 +00:00
rubidium
1e1154b08c
(svn r10068) -Fix [FS#835]: coverage area highlight was still show when it was turned off for docks.
2007-06-08 18:15:11 +00:00
belugas
9fe860f5f9
(svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few.
2007-06-08 17:54:18 +00:00
glx
5901239de6
(svn r10065) -Cleanup (r9850): remove now unneeded stuff
2007-06-08 16:53:21 +00:00
belugas
dc89ed73ee
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
2007-06-08 15:59:03 +00:00
belugas
256ee60545
(svn r10063) -Codechange: Change VARDEF for extern
...
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
2007-06-08 15:48:48 +00:00
peter1138
f2e0912ce9
(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
2007-06-08 09:35:39 +00:00
peter1138
906385eb3d
(svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42
2007-06-08 06:27:58 +00:00
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)
2007-06-08 05:51:57 +00:00
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.
2007-06-07 18:13:31 +00:00
rubidium
d255041365
(svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month).
2007-06-07 14:38:45 +00:00
rubidium
0fcda4e45c
(svn r10056) -Revert (r10049): removing SLE_WRITEBYTE didn't work as expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy.
2007-06-07 12:37:48 +00:00
miham
5d5b3968a1
(svn r10055) -Update: WebTranslator2 update to 2007-06-07 14:37:06
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 3 fixed by arnaullv (3)
danish - 1 fixed by ThomasA (1)
estonian - 99 fixed by kristjans (99)
galician - 8 fixed by Condex (8)
norwegian_nynorsk - 35 fixed by pollux (35)
2007-06-07 12:37:27 +00:00
rubidium
b0421273f2
(svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format.
2007-06-07 09:20:04 +00:00
rubidium
740eb9d89a
(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.
2007-06-07 08:58:21 +00:00
peter1138
2e9a4359f0
(svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84.
2007-06-07 07:20:44 +00:00
rubidium
ddf249b2fe
(svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation.
2007-06-06 23:57:21 +00:00
peter1138
a0a43b4a7e
(svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts.
2007-06-06 10:51:11 +00:00
miham
d99dd98cb9
(svn r10047) -Update: WebTranslator2 update to 2007-06-06 07:59:17
...
croatian - 58 fixed by knovak (58)
czech - 3 fixed by Hadez (3)
danish - 28 fixed by ThomasA (28)
dutch - 23 fixed by habell (23)
italian - 3 fixed by lorenzodv (3)
korean - 3 fixed by darkttd (3)
ukrainian - 3 fixed by mad (3)
2007-06-06 05:59:32 +00:00
rubidium
b6a199461e
(svn r10046) -Documentation: add some documentation in order_gui (skidd13).
2007-06-05 22:17:03 +00:00
peter1138
f20f1eb47b
(svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow Action 7/Action 9s to work properly
2007-06-05 21:41:31 +00:00
peter1138
6c11a1f9b7
(svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an unsupported Action 5 feature.
2007-06-05 20:49:32 +00:00
truelight
3c522a7451
(svn r10043) -Change: make templates of the blitters, based on zoom and mode, which makes the optimizing better, and therefor a higher blitter speed (tnx boekabart)
...
-Codechange: unify the MainBlitter a bit more
2007-06-05 12:01:50 +00:00
peter1138
de7e370240
(svn r10042) -Codechange: Replace hardcoded spritecache size with a configuration
...
option, sprite_cache_size. The default size is 2MB and the value can
range from 1 to 64MB. If you experience slow-downs when scrolling the
map, try increasing this setting.
2007-06-05 10:40:29 +00:00
miham
0e09964973
(svn r10041) -Update: WebTranslator2 update to 2007-06-05 08:19:09
...
czech - 34 fixed by Hadez (34)
french - 3 fixed by glx (3)
hungarian - 4 fixed by miham (4)
ukrainian - 4 fixed by mad (4)
2007-06-05 06:19:27 +00:00
belugas
46d4d0d989
(svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it
2007-06-05 01:49:08 +00:00
bjarni
1026c865fd
(svn r10039) -Fix: [autoreplace] when trying to replace an engine that can't carry the wagons the old one carries (GRF restrictoin), then don't try to replace at all
2007-06-04 20:46:01 +00:00
peter1138
1102c157eb
(svn r10038) -Fix (r8634): Sprite resulting from '?' substitution was reloaded into the cache entry for SPR_IMG_QUERY instead of the original sprite cache entry. This resulted in unaccounted missing sprite cache memory, and was exacerbated because the original missing sprite was not cached, so it did it again and again and again. Slowdowns and boom. Etc.
2007-06-04 20:42:49 +00:00
glx
a81fd98057
(svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings
2007-06-04 20:06:54 +00:00
glx
1a7c7d768f
(svn r10036) -Add: sort the strings in town names dropdown
2007-06-04 19:51:31 +00:00
glx
a5e5757656
(svn r10035) -Change: simplified network language string sorting
2007-06-04 19:49:00 +00:00
rubidium
0653d52288
(svn r10034) -Change: remove the string changed in r10033 from the translations, so it will be properly translated in all languages.
2007-06-04 19:39:16 +00:00
rubidium
ad747e3026
(svn r10033) -Feature [FS#760]: skip to the selected order in the order list when clicking on the "skip" button while pressing CTRL.
2007-06-04 19:32:45 +00:00
glx
a816369802
(svn r10032) -Add: sort the strings in server language dropdown
2007-06-04 16:07:22 +00:00
miham
65deecb2c2
(svn r10031) -Update: WebTranslator2 update to 2007-06-04 08:32:00
...
brazilian_portuguese - 33 fixed by tucalipe (33)
bulgarian - 25 fixed by thetitan (25)
catalan - 31 fixed by arnaullv (31)
czech - 28 fixed by Hadez (28)
dutch - 12 fixed by webfreakz (12)
french - 25 fixed, 5 changed by glx (30)
german - 42 fixed by Neonox (42)
hungarian - 32 fixed by miham (32)
italian - 25 fixed by lorenzodv (25)
japanese - 34 fixed by ickoonite (34)
korean - 25 fixed by darkttd (25)
norwegian_nynorsk - 63 fixed by pollux (63)
portuguese - 45 fixed by izhirahider (45)
slovak - 39 fixed by lengyel (39)
ukrainian - 27 fixed by znikoz (27)
2007-06-04 06:34:00 +00:00
rubidium
7d160d02ab
(svn r10030) -Fix [FS#823]: one could build on (some) slopes when building on slopes was disabled.
2007-06-03 19:22:23 +00:00
rubidium
17dd40ea0f
(svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks.
2007-06-02 21:07:03 +00:00
peter1138
2900732931
(svn r10028) -Fix (r2270/r2951): When deleting the first engine of a train with multiple engines, only reopen the train window if the player had the original train window open. This fixes 'random' windows opening for multiple players of the same company.
2007-06-02 20:08:23 +00:00
bjarni
9f13fc2cf5
(svn r10026) -Fix: unlinking a rail vehicle didn't clear the first pointer
...
After r9973, this could cause some asserts as some vehicles could end up with first pointers to chains they didn't belong to
2007-06-02 17:23:31 +00:00
bjarni
07e7a80a05
(svn r10025) -Fix: [build windows] sorting planes for capacity didn't check mail capacity. Now mail capacity is used if passenger capacity is the same
...
The sort will still resort to EngineID if both mail and passenger capacities are the same
2007-06-02 15:47:38 +00:00
bjarni
65ff472991
(svn r10024) -Feature: [build windows] trains, road vehicles and ships can now be sorted by cargo capacity (planes already had this option)
2007-06-02 15:41:37 +00:00
maedhros
6777662286
(svn r10023) -Fix (r3218): When selling trains, if there were no wagons between multiheaded
...
engines the rear part could be checked despite having already been deleted,
triggering an assert.
2007-06-02 14:42:25 +00:00
maedhros
19250f91b0
(svn r10022) -Fix (r10007): Set the type of multiheaded trains before the subtype.
2007-06-02 11:15:38 +00:00
rubidium
19d7d1c9c5
(svn r10021) -Fix (r9560): memory "corruption" that could lead to a failure to load newgrfs.
2007-06-02 09:26:03 +00:00
maedhros
fb5072b824
(svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train.
2007-06-02 09:11:06 +00:00
peter1138
7660db1716
(svn r10019) -Codechange: Implement GRM for newcargos
2007-06-02 08:56:21 +00:00
glx
9113b5721a
(svn r10017) -Add (FS#790): more languages flags for servers
2007-06-01 23:06:01 +00:00
rubidium
4a1b33a01f
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
2007-06-01 17:59:11 +00:00
rubidium
5abeb5be65
(svn r10014) -Fix: roads became automatically one way in the scenario editor.
2007-06-01 17:58:43 +00:00
miham
44c9a4dcba
(svn r10013) -Update: WebTranslator2 update to 2007-06-01 19:05:03
...
american - 7 fixed by WhiteRabbit (7)
catalan - 1 fixed by arnaullv (1)
danish - 37 fixed, 7 changed by ThomasA (44)
french - 7 fixed, 1 changed by glx (8)
italian - 7 fixed, 1 changed by lorenzodv (8)
korean - 7 fixed by darkttd (7)
swedish - 8 fixed by giddorah (8)
turkish - 23 fixed by jnmbk (23)
ukrainian - 1 fixed by mad (1)
2007-06-01 17:05:23 +00:00
glx
435cc84f66
(svn r10012) -Fix (r9999): crash when forcing road vehicles to turn
2007-06-01 16:06:23 +00:00
maedhros
3c7273271d
(svn r10011) -Fix (r10008): Set the right svn properties on articulated_vehicles.h and correct a file comment.
2007-06-01 12:26:14 +00:00
maedhros
fa548f1a6f
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
2007-06-01 12:03:10 +00:00
maedhros
2181e11c18
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
2007-06-01 11:41:02 +00:00
maedhros
abdffa410d
(svn r10007) -Codechange: Add some asserts to IsFrontEngine and friends to ensure that only trains use them.
2007-06-01 11:17:30 +00:00
glx
6a4be9758c
(svn r10006) -Fix (FS#362): allow different signal types on one tile
2007-05-31 21:21:04 +00:00
belugas
4c243d099c
(svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one.
2007-05-31 19:13:41 +00:00
rubidium
4a62006c39
(svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries).
2007-05-31 18:12:35 +00:00
rubidium
b3aa28e879
(svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge.
2007-05-31 18:11:39 +00:00
rubidium
f7f289667d
(svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot...
2007-05-31 16:47:32 +00:00
belugas
78151810d7
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
2007-05-31 15:40:36 +00:00
rubidium
294a154bf7
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
2007-05-31 15:15:00 +00:00
rubidium
cca48f8e7e
(svn r9998) -Fix (r9990): possible null pointer dereferences on MorphOS.
2007-05-31 14:29:19 +00:00
miham
598d6d041a
(svn r9997) -Update: WebTranslator2 update to 2007-05-31 16:16:13
...
american - 30 fixed by WhiteRabbit (30)
french - 1 changed by glx (1)
2007-05-31 14:16:22 +00:00
rubidium
a4750af656
(svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops.
2007-05-31 07:34:40 +00:00
peter1138
9cb7ebfccc
(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
2007-05-31 07:21:33 +00:00
belugas
311b04e87a
(svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file.
2007-05-31 03:35:11 +00:00