rubidium
02154f38b8
(svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money.
2007-06-21 15:57:14 +00:00
glx
3fe19238b2
(svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave the taskbar visible
2007-06-21 15:48:00 +00:00
rubidium
bc01e53967
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
2007-06-21 15:37:05 +00:00
rubidium
b6cbd30c3f
(svn r10249) -Fix [FS#906]: town tried to gather information about the neighbourhood of a tile when it couldn't even *ever* build on that tile.
2007-06-21 15:13:09 +00:00
rubidium
709ec29563
(svn r10248) -Codechange: don't limit the cost of tunnels.
2007-06-21 14:58:30 +00:00
rubidium
eb1472a82d
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
2007-06-21 14:54:51 +00:00
rubidium
f806b46cc9
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
2007-06-21 14:32:27 +00:00
truelight
06fded123a
(svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory
2007-06-21 13:56:59 +00:00
truelight
e8f9332af9
(svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs
2007-06-21 13:31:41 +00:00
glx
edf68a04b0
(svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions
2007-06-21 13:30:23 +00:00
truelight
1fa725ecae
(svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim
2007-06-21 12:45:41 +00:00
truelight
3fa3d2e365
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
...
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
2007-06-21 12:36:46 +00:00
miham
3b12e7b6b0
(svn r10240) -Update: WebTranslator2 update to 2007-06-21 08:03:49
...
american - 30 fixed, 1 changed by WhiteRabbit (31)
bulgarian - 1 fixed by thetitan (1)
dutch - 1 fixed by habell (1)
estonian - 25 fixed by kristjans (25)
french - 1 fixed by glx (1)
german - 15 fixed by Neonox (15)
hungarian - 24 fixed by miham (24)
italian - 1 fixed by lorenzodv (1)
japanese - 25 fixed by ickoonite (25)
korean - 1 fixed by darkttd (1)
slovenian - 1 fixed by Necrolyte (1)
2007-06-21 06:09:50 +00:00
maedhros
e93d82d4b2
(svn r10239) -Fix (r10236): The pin button didn't move when resizing the timetable gui.
2007-06-20 20:02:30 +00:00
maedhros
996fde1699
(svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time.
2007-06-20 19:57:18 +00:00
maedhros
b2609653e4
(svn r10237) -Fix (r10236): It helps if you use svn add with new files...
2007-06-20 19:26:25 +00:00
maedhros
cf0118ee63
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
2007-06-20 19:17:22 +00:00
truelight
a982fe2e80
(svn r10235) -Fix: the 32bpp-anim blitter repainted pixel color 0, which is transparency and therefor should never be repainted (spotted by Rubidium)
2007-06-20 12:09:47 +00:00
truelight
636db862a5
(svn r10234) -Fix r10233: make peter1138 happy
2007-06-20 10:30:25 +00:00
truelight
d7acd238ac
(svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row were non-transparent (tnx boekabart)
2007-06-20 10:26:39 +00:00
belugas
436eb69a39
(svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
...
It never hurt before, but it would have...
2007-06-20 03:03:00 +00:00
rubidium
55b93b1c05
(svn r10230) -Fix [FS#594]: terraforming wipes out canals. Now you always have to remove the canal before terraforming, instead of "just" removing the canal.
2007-06-19 21:15:14 +00:00
glx
6e4264237e
(svn r10229) -Cleanup: removed duplicate include (dihedral)
2007-06-19 19:49:03 +00:00
rubidium
aec52c4ebd
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
2007-06-19 19:04:25 +00:00
truelight
b2bd361dae
(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
2ad0d708cc
(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
2a6b7e4e02
(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
b11bf3e157
(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
9e2e73f30b
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
2007-06-19 17:13:25 +00:00
peter1138
e7191fc57a
(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
e51a513eb8
(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
65a3abe1c1
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
2007-06-19 15:40:27 +00:00
rubidium
265f8b7d5d
(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
fc3ec8689b
(svn r10218) -Fix r10216: more compile errors
2007-06-19 15:26:10 +00:00
truelight
a7dd710f06
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
2007-06-19 15:18:26 +00:00
truelight
1c4760ee06
(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
9ad02c11c6
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
2007-06-19 12:19:31 +00:00
truelight
b98e0ea648
(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)
2007-06-19 12:18:24 +00:00
rubidium
16ce2192e4
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
2007-06-19 00:05:26 +00:00
glx
23af871615
(svn r10211) -Feature: [NewGRF] Add support for action 0F
2007-06-18 23:00:55 +00:00
rubidium
7d6c255044
(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
fbb22487fc
(svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
2007-06-18 22:09:54 +00:00
rubidium
2ee73b50b8
(svn r10208) -Codechange: replace int32 with Money where appropriate.
2007-06-18 21:44:47 +00:00
rubidium
7a72dcb3b5
(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
26e9b5ca5f
(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer
2007-06-18 20:08:21 +00:00
rubidium
49220cc6f1
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
truelight
09879ea308
(svn r10203) -Codechange: more moving things to blitter-layer: DrawLine
2007-06-18 19:38:23 +00:00
peter1138
c31ff284c3
(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
b09431478d
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
2007-06-18 16:42:40 +00:00
KUDr
fad2a36b8f
(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
0c369c21e0
(svn r10198) -Fix (r10194): did not search all search paths.
2007-06-18 11:04:12 +00:00
rubidium
966e2738b9
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
miham
f6be61bb34
(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
5938dea88d
(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
f5776a8c6b
(svn r10193) -Fix r10190: somehow an other partly-patch was applied too
2007-06-17 20:47:11 +00:00
truelight
9a93a6006b
(svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver
2007-06-17 20:40:02 +00:00
rubidium
6680a6a0e6
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
2007-06-17 20:36:14 +00:00
truelight
003375d375
(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
b2799961bc
(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
6d9393cb60
(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
22257f46c2
(svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32)
2007-06-17 19:00:45 +00:00
rubidium
3afa69052d
(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
28b1809725
(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
347c28b71a
(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
5fdde681c2
(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
6c67bdcc71
(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
5a9c7b5899
(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
94bd08fc17
(svn r10177) -Fix: Passengers has one A and two Es (ln)
2007-06-17 10:47:30 +00:00
maedhros
cf4911ddaf
(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
f177c1769f
(svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english...
2007-06-17 07:24:39 +00:00
miham
4507044cbb
(svn r10174) -Fix: [Translations]: piglatin plural forms had some problem..
2007-06-17 07:21:02 +00:00
miham
f8a5775a6c
(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
0b2b435c44
(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
9f01009b39
(svn r10170) -Codechange: remove some duplication of code.
2007-06-16 12:03:36 +00:00
rubidium
f4c0bfc3a4
(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
d58d721fab
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
2007-06-16 10:10:22 +00:00
belugas
108ee9bc3e
(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
ef099dbc27
(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
d6267f5539
(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
54fbad017e
(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
402cf772f0
(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
0e2978720d
(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
144035bf5c
(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
a61f0d9049
(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images
2007-06-14 14:11:08 +00:00
rubidium
0e5a6661f7
(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
3b5203dbc6
(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
991996eb36
(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
ab6883bc19
(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
79817428b1
(svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx)
2007-06-13 19:05:42 +00:00
truelight
4b51ea375b
(svn r10148) -Fix r10143: make --without-png to compile again
2007-06-13 18:52:06 +00:00
rubidium
2c6bf89e02
(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
0b65070b36
(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
197a8fd5f3
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
2007-06-13 17:34:05 +00:00
truelight
b7443d800b
(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
4185c4afcd
(svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it
2007-06-13 16:04:35 +00:00
celestar
5f1791bfb1
(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb)
2007-06-13 15:24:40 +00:00
rubidium
91420c0d8d
(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
2007-06-13 15:22:28 +00:00
rubidium
a702f6b3a8
(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
504d93c499
(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
112f05e705
(svn r10137) -Add: console command to get the current game date.
2007-06-13 14:52:41 +00:00
truelight
e7221d1fa9
(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
97b74fe4f2
(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
860fe49b80
(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.
2007-06-13 07:59:20 +00:00
peter1138
f477075a0b
(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
f7e4d4d6e7
(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message
2007-06-13 06:42:43 +00:00
belugas
30863358f9
(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
da1743e980
(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
031565527e
(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
2f5c49abc2
(svn r10124) -Fix r10123: fix the OSX video driver properly
2007-06-12 23:10:47 +00:00
bjarni
ee4208ffe9
(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again
2007-06-12 23:06:56 +00:00
maedhros
12be876131
(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
f3f744d36a
(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
381b11c979
(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
49ba521e77
(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
73790d9cd6
(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
4df44a4dff
(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
109dd33c4a
(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
d1e71eb34e
(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments
2007-06-12 12:27:40 +00:00
peter1138
78d797a6b7
(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
105c7455ae
(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
be0539cb43
(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
8efb7e53ec
(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
28c5730583
(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'
2007-06-11 21:17:02 +00:00
rubidium
01593bdb6a
(svn r10106) -Fix (r10098): there's always a compiler complaining about something...
2007-06-11 19:29:42 +00:00
truelight
d0250f6108
(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
30627e6eeb
(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
560a542354
(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
4ad6639475
(svn r10102) -Documentation: @file header was wrong
2007-06-11 15:14:57 +00:00
truelight
d2d25295ce
(svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too
2007-06-11 15:13:30 +00:00
truelight
31ade47910
(svn r10100) -Fix r10093: some code now became obsolete as it never did something
2007-06-11 14:45:26 +00:00
belugas
81c7c87ed7
(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
cc4d18ecc4
(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
3e326085fa
(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
be0f5cf877
(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird
2007-06-11 13:38:11 +00:00
truelight
9d570fa018
(svn r10095) -Fix: avoid reading outside the buffer because of scaling problems
2007-06-11 12:51:27 +00:00
rubidium
f98b175cf5
(svn r10094) -Fix: some really broken strings got in.
2007-06-11 12:44:02 +00:00
truelight
a391f03ae2
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
2007-06-11 11:59:36 +00:00
truelight
6b101cc177
(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
96a3a89c86
(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
94200b63b8
(svn r10088) -Codechange: A typo and a code-style
2007-06-10 23:40:29 +00:00
rubidium
5f5ab6cc87
(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
fe3a7cc5ed
(svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals.
2007-06-10 21:28:20 +00:00
rubidium
a0ffa793cc
(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
77b06e922f
(svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.
2007-06-10 20:27:28 +00:00
rubidium
d0ad020dc6
(svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc).
2007-06-10 19:59:08 +00:00
rubidium
7767e466e5
(svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart).
2007-06-10 10:52:19 +00:00
bjarni
ff40914740
(svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values
2007-06-10 09:37:09 +00:00
miham
ab89ee7770
(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
08c9365971
(svn r10078) -Codechange: Centralize all industry counts data and access
2007-06-10 01:25:21 +00:00
bjarni
3afea2d673
(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
ec25b71bd4
(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
02146b13c8
(svn r10075) -Fix [FS#844]: small memory leak on some early returns.
2007-06-09 04:01:40 +00:00
belugas
9a4a911bde
(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
142f2aba15
(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
653b343018
(svn r10072) -Fix r10070: typo in zoom.hpp
2007-06-08 19:06:35 +00:00
rubidium
6b1cb3aaae
(svn r10071) -Feature [FS#828]: moving of orders (skidd13).
2007-06-08 18:59:29 +00:00
truelight
98c3056aa6
(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
d3a7fb8d73
(svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected...
2007-06-08 18:23:26 +00:00
rubidium
5b972a1d58
(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
e8c6d57150
(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
6983d0b547
(svn r10065) -Cleanup (r9850): remove now unneeded stuff
2007-06-08 16:53:21 +00:00
belugas
f51b869e69
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
2007-06-08 15:59:03 +00:00
belugas
7586143e3b
(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
9c66082b07
(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
29f6ae952c
(svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42
2007-06-08 06:27:58 +00:00
miham
246791424b
(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
c1df3a8aa6
(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
8a74b2ebe1
(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
622a4d10b9
(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
9a81f009a0
(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
40cea6c3ef
(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
770d7188ac
(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.
2007-06-07 08:58:21 +00:00
peter1138
041c946119
(svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84.
2007-06-07 07:20:44 +00:00
rubidium
eab8ac49ce
(svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation.
2007-06-06 23:57:21 +00:00
peter1138
07c34b2628
(svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts.
2007-06-06 10:51:11 +00:00
miham
4ffe147bd4
(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
2045611078
(svn r10046) -Documentation: add some documentation in order_gui (skidd13).
2007-06-05 22:17:03 +00:00
peter1138
fdb7ef8703
(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
4258139a52
(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
7d0a1c91d4
(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
4403d41934
(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
959eaae6a4
(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
a95fdc8bb5
(svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it
2007-06-05 01:49:08 +00:00
bjarni
9f44031a27
(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
18b98ad6aa
(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
32a04368b3
(svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings
2007-06-04 20:06:54 +00:00
glx
62524492d5
(svn r10036) -Add: sort the strings in town names dropdown
2007-06-04 19:51:31 +00:00
glx
59cb4da628
(svn r10035) -Change: simplified network language string sorting
2007-06-04 19:49:00 +00:00
rubidium
a99ed285cb
(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
c4806955e5
(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
cb340626ca
(svn r10032) -Add: sort the strings in server language dropdown
2007-06-04 16:07:22 +00:00
miham
f61029d47e
(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
6a60ba3eaa
(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
a752c73469
(svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks.
2007-06-02 21:07:03 +00:00
peter1138
43482d22d0
(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
e129438139
(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
532391db12
(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
81698422a2
(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
229e311cb9
(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
1e7b8190f2
(svn r10022) -Fix (r10007): Set the type of multiheaded trains before the subtype.
2007-06-02 11:15:38 +00:00
rubidium
62c20a9698
(svn r10021) -Fix (r9560): memory "corruption" that could lead to a failure to load newgrfs.
2007-06-02 09:26:03 +00:00
maedhros
8f361393dd
(svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train.
2007-06-02 09:11:06 +00:00
peter1138
06084e0a63
(svn r10019) -Codechange: Implement GRM for newcargos
2007-06-02 08:56:21 +00:00
glx
6e653cd1ab
(svn r10017) -Add (FS#790): more languages flags for servers
2007-06-01 23:06:01 +00:00
rubidium
ecd36dd34f
(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
31ddab50ad
(svn r10014) -Fix: roads became automatically one way in the scenario editor.
2007-06-01 17:58:43 +00:00
miham
7bf841ebd1
(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
9f60f2ecbb
(svn r10012) -Fix (r9999): crash when forcing road vehicles to turn
2007-06-01 16:06:23 +00:00
maedhros
0d0a8661de
(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
4acf3e4c3f
(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
ab8503f5a5
(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
dce1101039
(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
2958f0c53a
(svn r10006) -Fix (FS#362): allow different signal types on one tile
2007-05-31 21:21:04 +00:00
belugas
4af692558a
(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
01f80cf343
(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
b2cd8f3631
(svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge.
2007-05-31 18:11:39 +00:00
rubidium
59c51f9fce
(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
f8da1b6e1a
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
2007-05-31 15:40:36 +00:00
rubidium
253aa1b0b0
(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
a02417645e
(svn r9998) -Fix (r9990): possible null pointer dereferences on MorphOS.
2007-05-31 14:29:19 +00:00
miham
efd2fce9a4
(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
52f612d711
(svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops.
2007-05-31 07:34:40 +00:00
peter1138
a672a8f77d
(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
86abe1b229
(svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file.
2007-05-31 03:35:11 +00:00
rubidium
8d82deffa1
(svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.
2007-05-30 20:34:16 +00:00
belugas
0f6e6d9713
(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
...
A few more to go
2007-05-30 20:20:58 +00:00
rubidium
2db0d81cc1
(svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa.
2007-05-30 20:13:58 +00:00
rubidium
b17a89c53d
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
2007-05-30 18:24:54 +00:00
rubidium
2bfc36c1ba
(svn r9989) -Fix [FS#817]: trams/road vehicles did go to the closest road stop regardless whether they could actually "drive" on there.
2007-05-30 18:22:56 +00:00
rubidium
70e6102c86
(svn r9988) -Codechange: remove the last direct map accesses, except the ones needed for the savegame saving/loading mechanisms.
2007-05-30 13:33:19 +00:00
rubidium
bc41dc4966
(svn r9987) -Fix [FS#818]: a train under a bridge could collide with a train on the bridge.
2007-05-30 13:27:56 +00:00
rubidium
a31e944149
(svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart).
2007-05-30 13:16:45 +00:00
miham
6252272e87
(svn r9985) -Update: WebTranslator2 update to 2007-05-30 09:59:31
...
dutch - 1 fixed by habell (1)
italian - 16 fixed, 22 changed by lorenzodv (38)
korean - 1 fixed by darkttd (1)
norwegian_bokmal - 8 fixed by jankmi (8)
ukrainian - 30 fixed by mad (30)
2007-05-30 07:59:43 +00:00
belugas
425ea50854
(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
2007-05-30 02:08:18 +00:00
belugas
f8491407d0
(svn r9983) -Codechange: Use the "enabled" property of the industry spec.
2007-05-30 01:55:11 +00:00
bjarni
7d3d73e104
(svn r9982) -Fix (r9874): autoreplacing vehicles from a group could sometimes add the new vehicle twice to the engine (EngineID, not total count) count in the group
2007-05-29 20:52:35 +00:00
bjarni
eb5b4ecd4a
(svn r9981) -Fix: fixed a rare event that could cause autoreplace to run out of money and generate an error (spotted by elmex and UndernotBuilder)
...
This happened if the new engine was a dualheaded engine and there was money to replace and refit the front, but not the rear
It also adds the cost of refitting the rear end of dualheaded engines to the cost animations (display only)
2007-05-29 20:06:06 +00:00
belugas
0cb8413a8f
(svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
...
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
2007-05-29 17:41:59 +00:00
belugas
0af97d4ab2
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
2007-05-29 14:44:22 +00:00
belugas
4cb32f903e
(svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related
2007-05-29 14:32:46 +00:00
bjarni
77f5c1e25e
(svn r9973) -Cleanup: removed some code that kept both ends of a dualheaded engine in the same train (when moving wagons in a depot)
...
NormaliseTrainConsist() is called later in the same command and it will take care of this issue
2007-05-29 10:35:52 +00:00
rubidium
4726fdc0d0
(svn r9972) -Fix (r9969): silence a warning.
2007-05-29 08:20:38 +00:00
rubidium
17b6ce80c7
(svn r9971) -Fix (r9892, r9958): loading of post-'bridges over "everything"' messed with the railtype of bridges.
2007-05-29 08:19:37 +00:00
miham
191845f736
(svn r9970) -Update: WebTranslator2 update to 2007-05-29 09:12:20
...
brazilian_portuguese - 29 fixed by tucalipe (29)
catalan - 30 fixed by arnaullv (30)
danish - 1 fixed by ThomasA (1)
dutch - 29 fixed, 2 changed by webfreakz (31)
french - 30 fixed, 2 changed by glx (32)
hungarian - 29 fixed by miham (29)
italian - 30 fixed, 1 changed by lorenzodv (31)
japanese - 18 fixed by ickoonite (18)
korean - 34 fixed by darkttd (34)
portuguese - 5 fixed by izhirahider (5)
romanian - 28 fixed, 682 changed by CrystyB (710)
swedish - 31 fixed by giddorah (31)
traditional_chinese - 57 fixed by thomasau (57)
2007-05-29 07:12:49 +00:00
belugas
35ccad33dd
(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
2007-05-29 00:15:34 +00:00
bjarni
a6bea527a3
(svn r9967) -Fix (r9938): autoreplace would in certain conditions move dualheaded engines in a train (usually to the rear)
...
-Change: moving an engine in between the two ends of a dualheaded engine will now move the rear dualheaded engine to the front of the newly added engine (instead of moving the new engine to the rear of the rear dualheaded engine)
This can make a difference if there are wagons in the train
2007-05-28 21:40:40 +00:00
rubidium
df1bbe55e2
(svn r9966) -Fix: bridges and tunnels were not always removed on bankruptcy, thus leaving tunnels/bridges with an invalid owner that would crash the game when clicking with the query tool on them.
2007-05-28 21:32:26 +00:00
rubidium
c5d073a84f
(svn r9965) -Fix: the ownership of drive through road stops on town owned roads wasn't properly reset when the road stop was removed.
2007-05-28 20:46:59 +00:00
rubidium
66c23060e2
(svn r9964) -Fix: removing of road should not be free of charge.
2007-05-28 19:26:32 +00:00
peter1138
63f7965920
(svn r9963) -Fix (r9962): 'smooth_scroll' patch setting was ignored (always on) in some places.
2007-05-28 17:07:19 +00:00
peter1138
344e9007fe
(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll'
2007-05-28 16:46:16 +00:00
rubidium
1a8a44165b
(svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8.
2007-05-28 04:15:32 +00:00
rubidium
2347c45d35
(svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a tram rails with normal rails to for a crossing.
2007-05-28 03:41:18 +00:00
maedhros
710cc5a597
(svn r9959) -Fix: Only call GetNextVehicle for trains.
2007-05-27 17:27:07 +00:00
rubidium
7f0339748f
(svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable.
2007-05-27 14:42:40 +00:00
rubidium
2dd0ba36cb
(svn r9957) -Change: replace cargo tram with freight tram for consistency.
2007-05-27 10:00:37 +00:00
peter1138
974aebcce5
(svn r9956) -Codechange: Add tram livery schemes
2007-05-27 09:33:41 +00:00
maedhros
21454957b5
(svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious.
2007-05-27 09:17:30 +00:00
rubidium
53380fc047
(svn r9954) -Fix [FS#811]: trolley AI crashed when trying to determine what the roadbits are.
2007-05-27 08:53:21 +00:00
maedhros
1b33f19877
(svn r9953) -Fix: Only check whether trains are multiheaded when cloning.
2007-05-27 05:32:37 +00:00
glx
3db7a70057
(svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram
2007-05-27 01:59:07 +00:00
glx
8c9b4ee548
(svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
...
-Fix: you could build a drive-through station over a sloped road/tram track
2007-05-27 01:03:59 +00:00
rubidium
8602acc433
(svn r9950) -Feature(tte): allow terraforming under bridges.
2007-05-26 23:23:22 +00:00
rubidium
c69458d894
(svn r9949) -Fix: (road) depots got deowned on bankrupts.
2007-05-26 23:18:42 +00:00
rubidium
35f1299d40
(svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire?
2007-05-26 22:44:09 +00:00
rubidium
7088cedb7a
(svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type.
2007-05-26 22:19:04 +00:00
rubidium
997901189f
(svn r9946) -Fix: more places that weren't correctly marked dirty...
2007-05-26 22:01:49 +00:00
rubidium
54d7cb8f7c
(svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes.
2007-05-26 21:45:16 +00:00
rubidium
ac4a26c705
(svn r9944) -Fix: tile selection drawn on the wrong height for some road bridges.
2007-05-26 21:34:38 +00:00
rubidium
0e07a938b7
(svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype.
2007-05-26 21:00:48 +00:00
rubidium
016e651ffd
(svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge.
2007-05-26 20:52:23 +00:00
bjarni
c346cc430a
(svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator)
2007-05-26 20:30:55 +00:00
rubidium
e88ff7e96b
(svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes.
2007-05-26 20:30:40 +00:00
maedhros
3914f3c85c
(svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains.
2007-05-26 17:06:45 +00:00
bjarni
fd2d6329f3
(svn r9938) -Fix [FS#799]: 100 wagons train + replace engine
...
Replacing a unit in a train will now remove the old unit before adding the new one. This will solve issues when max train length has been reached
2007-05-26 17:00:44 +00:00
truelight
35a1668bd4
(svn r9937) -Codechange: don't define a function that is never declared or used
2007-05-26 16:18:43 +00:00
truelight
a856c160ef
(svn r9936) -Fix: (Un)ScaleByZoom missed a minus sign in some cases
2007-05-26 15:20:13 +00:00
rubidium
9ca9d73eea
(svn r9935) -Fix: could not build a drive through station when there when you own the tram bits and the town owns the road.
2007-05-26 14:24:19 +00:00
rubidium
04f9b1ab61
(svn r9934) -Fix (r9923): towns could remove 'half' tram tracks.
2007-05-26 13:00:52 +00:00
rubidium
1b2016a4b2
(svn r9933) -Fix (9925): unified a little too much.
2007-05-26 12:34:25 +00:00
truelight
79fe6c57cc
(svn r9932) -Fix: can't assume a zoom-level with MarkAllViewportsDirty, causing segfaults when trying to load savegames in dedicated server via -g (reported by peter1138)
2007-05-26 12:19:54 +00:00
rubidium
78be11be40
(svn r9931) -Fix: some glitches with catenary and bridges.
2007-05-26 10:40:34 +00:00
rubidium
932a968af2
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
2007-05-26 09:13:59 +00:00
rubidium
ceae5eaeba
(svn r9929) -Fix [FS#803]: fix several drawing issues.
2007-05-26 07:58:49 +00:00
peter1138
0079e4952d
(svn r9928) -Fix (r9805): Default display options were not set correctly.
2007-05-26 07:47:52 +00:00
rubidium
afaa6062cb
(svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot.
2007-05-25 23:45:36 +00:00
rubidium
8cd950e06a
(svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn.
2007-05-25 23:32:30 +00:00
rubidium
71614fef81
(svn r9925) -Fix: wrong tooltips in station picker.
2007-05-25 23:21:32 +00:00
rubidium
56dc5c5938
(svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle.
2007-05-25 22:31:34 +00:00
rubidium
17390241e6
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
2007-05-25 22:07:40 +00:00
rubidium
9e7798c42e
(svn r9922) -Fix (r9914): [YAPF] null pointer dereference.
2007-05-25 15:49:14 +00:00
rubidium
8484a9a2e5
(svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes.
2007-05-25 15:37:12 +00:00
miham
b194f38390
(svn r9920) -Update: WebTranslator2 update to 2007-05-25 14:56:27
...
catalan - 34 fixed, 15 changed by arnaullv (49)
italian - 2 fixed by lorenzodv (2)
romanian - 12 fixed, 11 changed by CrystyB (23)
2007-05-25 12:56:41 +00:00
rubidium
d234e97f8b
(svn r9919) -Codechange: prepare some more places for more road types.
2007-05-25 11:01:44 +00:00
rubidium
9060ab4af1
(svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates.
2007-05-25 08:47:40 +00:00
rubidium
0819f3a9a0
(svn r9917) -Codechange: prepare some more areas for more road types.
2007-05-25 08:13:01 +00:00
peter1138
d5d94e230f
(svn r9916) -Codechange: Free memory used by cargo translation tables
2007-05-25 06:39:12 +00:00
rubidium
440d723d84
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
2007-05-24 22:41:50 +00:00
rubidium
3d143446ee
(svn r9912) -Fix: the AIs could build any road(station)s.
2007-05-24 21:45:54 +00:00
miham
c5a3dcb3f0
(svn r9911) -Update: WebTranslator2 update to 2007-05-24 23:07:47
...
american - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 30 fixed by thetitan (30)
czech - 34 fixed by Hadez (34)
dutch - 2 fixed by habell (2)
french - 2 fixed, 12 changed by glx (14)
hungarian - 2 fixed by miham (2)
japanese - 34 fixed, 8 changed by ickoonite (42)
russian - 42 fixed by HMage (42)
slovak - 9 fixed by lengyel (9)
turkish - 25 fixed by jnmbk (25)
ukrainian - 34 fixed by mad (34)
2007-05-24 21:08:08 +00:00
rubidium
04c07c9388
(svn r9910) -Codechange: prepare road building/removing commands for more road types.
2007-05-24 09:31:09 +00:00
maedhros
2832a95f25
(svn r9909) -Fix (r9897): Highlight road tunnels properly when building them.
2007-05-24 09:24:46 +00:00
rubidium
6b176e74c8
(svn r9908) -Codechange: prepare the station picker for more road types.
2007-05-24 08:52:28 +00:00
rubidium
930957d132
(svn r9907) -Codechange: prepare the road gui for more road types.
2007-05-24 08:36:11 +00:00
belugas
f3cf7f6b2d
(svn r9906) -Codechange: Add common properties for both industry and industry tiles specs
2007-05-24 01:12:00 +00:00
maedhros
39016328cc
(svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01.
2007-05-23 17:33:03 +00:00
maedhros
b67d9e0a49
(svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again.
2007-05-23 14:43:47 +00:00
peter1138
c46ac94ce2
(svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group.
2007-05-23 14:02:10 +00:00
maedhros
35ce34d55a
(svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted.
2007-05-23 13:52:10 +00:00
maedhros
ca5c578d0f
(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.
2007-05-23 12:45:56 +00:00
miham
9f148789c8
(svn r9899) -Update: WebTranslator2 update to 2007-05-22 23:52:38
...
american - 32 fixed by WhiteRabbit (32)
brazilian_portuguese - 25 fixed by tucalipe (25)
bulgarian - 6 fixed by thetitan (6)
danish - 32 fixed, 21 changed by ThomasA (53)
dutch - 32 fixed, 3 changed by habell (35)
french - 32 fixed by glx (32)
german - 17 fixed by Neonox (17)
hungarian - 32 fixed by miham (32)
italian - 32 fixed by lorenzodv (32)
korean - 29 fixed by darkttd (29)
slovak - 35 fixed by lengyel (35)
slovenian - 10 fixed by Necrolyte (10)
spanish - 34 fixed by eusebio (34)
swedish - 32 fixed by giddorah (32)
2007-05-22 21:55:37 +00:00
peter1138
2125b96387
(svn r9898) -Fix (r9874): Many...
...
- Group protection status wasn't changed via a command.
- Group renaming didn't check group owner (and in fact changed the owner,
just like renaming a sign...).
- Added owner checks to other group commands.
- Invalidate window data after the command has been completed instead of after
the command has been sent. This fixes gui issues in network play.
2007-05-22 19:48:11 +00:00
rubidium
b7748a686e
(svn r9897) -Codechange: prepare the toolbar for more road types.
2007-05-21 21:58:31 +00:00
glx
0646d307bd
(svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once
2007-05-21 17:19:01 +00:00
rubidium
d836b25606
(svn r9895) -Fix: assertion when removing roadstop.
2007-05-21 16:58:23 +00:00
rubidium
015c0dd9a4
(svn r9894) -Fix (r9892): catenary was drawn on road bridges ;)
2007-05-20 22:43:26 +00:00
rubidium
07535d857b
(svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads.
2007-05-20 22:04:24 +00:00
rubidium
d86b5e5e93
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
2007-05-20 19:14:08 +00:00
rubidium
c685a7179f
(svn r9891) -Fix [FS#787]: the manage list menu wasn't removed/updated when changing to another group making it able to perform "group" actions for "all vehicles", which would cause a crash.
2007-05-20 18:34:47 +00:00
peter1138
f1c0229b5d
(svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges
2007-05-20 16:17:03 +00:00
peter1138
546dfc2758
(svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme.
2007-05-20 10:27:43 +00:00
peter1138
c28cffdf67
(svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned.
2007-05-20 09:17:42 +00:00
peter1138
44fc08391d
(svn r9887) -Fix (r9867): Industry production statistics messed up...
2007-05-20 05:53:19 +00:00
belugas
88042df6bb
(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
2007-05-20 00:50:06 +00:00
truelight
49aa3bedfb
(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
...
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
truelight
6954045bb4
(svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
...
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
2007-05-19 22:48:04 +00:00
peter1138
1ce633b894
(svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value.
2007-05-19 22:37:24 +00:00
rubidium
707bc97c03
(svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases.
2007-05-19 21:47:14 +00:00
rubidium
904619f631
(svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts.
2007-05-19 20:15:50 +00:00
glx
c9d72a900b
(svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability)
2007-05-19 19:13:12 +00:00
rubidium
1434c7746d
(svn r9879) -Fix (r9874): global autoreplace was little broken ;)
2007-05-19 12:46:48 +00:00
rubidium
4570a8954a
(svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles.
2007-05-19 12:29:09 +00:00
peter1138
a58bd26b74
(svn r9877) -Revert (r9876): one file too many...
2007-05-19 11:18:22 +00:00
peter1138
47d17bea9d
(svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production)
2007-05-19 11:17:30 +00:00
peter1138
60a2c5280e
(svn r9875) -Fix (r9828): Only set carriage capacity if the wagon has not been refitted.
2007-05-19 10:29:51 +00:00
rubidium
7d4be11516
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-19 09:40:18 +00:00
peter1138
816d31f0aa
(svn r9873) -Codechange: Add missing second callback parameter for houses
2007-05-19 09:13:08 +00:00
rubidium
5178911345
(svn r9872) -Codechange: more type strictness for vehicle types
2007-05-18 23:38:29 +00:00
peter1138
b8a82dcb05
(svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required.
2007-05-18 21:50:32 +00:00
belugas
49570edfe9
(svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct
2007-05-18 17:55:07 +00:00
rubidium
ba24c34f85
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
2007-05-18 17:31:41 +00:00
belugas
2196abd71d
(svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment
2007-05-18 14:34:15 +00:00
belugas
380d18fb69
(svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead.
2007-05-18 00:33:47 +00:00
rubidium
44ddf033ed
(svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later.
2007-05-17 20:19:55 +00:00
glx
5b74a6ab2f
(svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen
2007-05-17 20:00:45 +00:00
rubidium
c8a84628f6
(svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error().
2007-05-17 13:36:00 +00:00
rubidium
aea6ef94bc
(svn r9861) -Fix: null pointer derefence under MorphOS and AmigaOS.
2007-05-17 12:06:47 +00:00
rubidium
042bcc0325
(svn r9857) -Fix: loading of TTDP savegames with features that OTTD has.
2007-05-16 21:28:23 +00:00
rubidium
c53bd7404d
(svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles.
2007-05-16 08:20:37 +00:00
belugas
3fb4003534
(svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
...
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
truelight
d2776ccde9
(svn r9848) -Fix r9846: how every many times you check something, of course you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing)
2007-05-15 17:54:46 +00:00
miham
052ab1929d
(svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
...
estonian - 10 fixed by kristjans (10)
japanese - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
2007-05-15 17:41:50 +00:00
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
truelight
d3f375231f
(svn r9844) -Codechange: replace zoomlevel with an enum
...
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
rubidium
196ddae1db
(svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading.
2007-05-15 13:38:43 +00:00
rubidium
f9e0d3835b
(svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled.
2007-05-15 13:01:52 +00:00
rubidium
23492f1f34
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
2007-05-15 11:28:22 +00:00
rubidium
a390db6941
(svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas).
2007-05-15 06:20:16 +00:00
rubidium
54de7d90f6
(svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished.
2007-05-14 20:17:26 +00:00
rubidium
72662e15f9
(svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
...
- Now it is really FIFO.
- When there is enough cargo to fill the first vehicle in the queue, the next vehicle in the queue start loading (and the next when ....).
2007-05-14 20:12:32 +00:00
peter1138
b80e11c44c
(svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling.
2007-05-14 17:37:34 +00:00
rubidium
c7d57379fb
(svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading.
2007-05-14 16:07:05 +00:00
truelight
d7b4fb80d0
(svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible
2007-05-14 15:20:50 +00:00
glx
62fe9c2e42
(svn r9834) -Add: win9x check in win32 builds
2007-05-14 14:06:46 +00:00
rubidium
42f920964b
(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.
2007-05-14 08:07:20 +00:00
rubidium
e72ab0fdf5
(svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading.
2007-05-13 22:10:04 +00:00
rubidium
d78651f7b1
(svn r9831) -Codechange: more refactoring of the loading/unloading.
2007-05-13 21:24:58 +00:00
belugas
2ccc060b4a
(svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13)
2007-05-13 00:11:13 +00:00
rubidium
c46a00aba7
(svn r9829) -Codechange: more refactoring of the unloading algorithm.
2007-05-12 09:09:10 +00:00
peter1138
1d5135830a
(svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
2007-05-12 07:05:34 +00:00
peter1138
5e00e688f8
(svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...)
2007-05-11 19:22:43 +00:00
peter1138
c9018d3e7c
(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.
2007-05-10 23:10:23 +00:00
maedhros
3cc31aae86
(svn r9823) -Feature: Add support for house property 1F - minimum life span.
2007-05-10 16:03:06 +00:00
peter1138
9643fd7638
(svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb)
2007-05-10 09:21:22 +00:00
peter1138
dc2073b96e
(svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested.
2007-05-10 06:42:43 +00:00
rubidium
f24f9d5a2e
(svn r9817) -Fix [FS#772]: an assertion that was triggered by the AI building when its rating for the town was not high enough.
2007-05-09 20:50:11 +00:00
rubidium
2d86e87a3d
(svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits.
2007-05-08 16:42:48 +00:00
maedhros
d098e88035
(svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files.
2007-05-08 14:28:55 +00:00
rubidium
5869384530
(svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p).
2007-05-08 08:41:16 +00:00
peter1138
e0a276c1a2
(svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button.
2007-05-07 20:25:20 +00:00
miham
e52a953e99
(svn r9811) -Update: WebTranslator2 update to 2007-05-07 19:59:41
...
american - 11 fixed by WhiteRabbit (11)
danish - 11 fixed by ThomasA (11)
dutch - 9 fixed, 2 changed by Zr40 (11)
2007-05-07 17:59:50 +00:00
peter1138
e643aeaed2
(svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01)
2007-05-07 17:10:30 +00:00
peter1138
bc7d762196
(svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships.
2007-05-07 16:38:21 +00:00
rubidium
2efecd34c4
(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
2007-05-07 16:21:34 +00:00
rubidium
161786e222
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
2007-05-07 15:58:05 +00:00
peter1138
4591fb5b0d
(svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types.
2007-05-07 13:26:10 +00:00
peter1138
0de85b7eb0
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
2007-05-07 11:24:23 +00:00
peter1138
76ee6d1c82
(svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' changes, as well as 'state'. (Thanks to bulb)
2007-05-06 21:10:49 +00:00
rubidium
b46e37774d
(svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p).
2007-05-06 20:05:10 +00:00
rubidium
feadd86819
(svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p).
2007-05-06 20:00:36 +00:00
rubidium
411985b13a
(svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p).
2007-05-06 19:58:34 +00:00
rubidium
208e40a839
(svn r9800) -Codechange: play sound effects based on the engine class, not the rail type (mart3p).
2007-05-06 19:51:25 +00:00
rubidium
fe1306ce65
(svn r9799) -Codechange: separate engine class and engine running cost class (mart3p).
2007-05-06 19:44:22 +00:00
peter1138
37a873e03c
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
2007-05-06 18:14:33 +00:00
miham
b0e3c0d40a
(svn r9796) -Update: WebTranslator2 update to 2007-05-06 19:05:33
...
brazilian_portuguese - 10 fixed by tucalipe (10)
bulgarian - 5 fixed by thetitan (5)
catalan - 9 fixed by arnaullv (9)
czech - 9 fixed by Hadez (9)
esperanto - 11 fixed by LaPingvino (11)
finnish - 11 fixed by habazi (11)
french - 9 fixed by belugas (9)
german - 9 fixed by Neonox (9)
hungarian - 9 fixed by miham (9)
italian - 9 fixed by lorenzodv (9)
japanese - 2 fixed by ickoonite (2)
korean - 9 fixed by darkttd (9)
norwegian_nynorsk - 11 fixed by pollux (11)
polish - 8 fixed by meush (8)
portuguese - 21 fixed, 6 changed by supra90 (27)
romanian - 11 fixed by kneekoo (11)
spanish - 2 fixed by eusebio (2)
swedish - 11 fixed by giddorah (11)
traditional_chinese - 11 fixed, 2 changed by xbddc (13)
turkish - 8 fixed by jnmbk (8)
ukrainian - 11 fixed by mad (11)
2007-05-06 17:06:10 +00:00
rubidium
5c0a52149d
(svn r9795) -Codechange: enumify the EngineClass.
2007-05-06 15:01:44 +00:00
rubidium
abbaa1691e
(svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
2007-05-06 14:59:01 +00:00
maedhros
cf927a9792
(svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year.
2007-05-06 09:12:58 +00:00
maedhros
b81a390d47
(svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor.
2007-05-06 08:50:03 +00:00
glx
41bbc5c990
(svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value
2007-05-05 23:21:49 +00:00
peter1138
74bf87dd82
(svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except activation. This also cleans up some special-case handling of the sprites. Actions 1 and 2 are now not considered unsafe, as an Action 3 (which is unsafe) is required for them.
2007-05-05 10:47:35 +00:00
rubidium
438d55d576
(svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered.
2007-05-05 09:51:26 +00:00
glx
79637ef7b8
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
2007-05-04 22:45:37 +00:00
rubidium
b76cc8c96b
(svn r9784) -Codechange: remove unused variable.
2007-05-04 22:38:36 +00:00
peter1138
e81906c62d
(svn r9780) -Codechange: [NewGRF] Add support for variable vehicle weight for trains (callback 36, property 16)
2007-05-04 19:24:01 +00:00
belugas
aff49954bf
(svn r9779) -Feature: Add the possiblity to choose different road patterns for towns to use.
...
Possible patterns are :
No Road (not available in scenario editor)
Original (for the nostalgics)
Better Roads (same as original, but based on distance of 2 tiles instead of one)
2x2 grids
3x3 grids
Patch by skiddl13
2007-05-04 16:27:13 +00:00
peter1138
449e76c05a
(svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings.
2007-05-04 07:08:35 +00:00
miham
574013a920
(svn r9774) -Update: WebTranslator2 update to 2007-05-03 22:30:56
...
brazilian_portuguese - 1 fixed by tucalipe (1)
bulgarian - 2 fixed by thetitan (2)
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
dutch - 2 fixed by habell (2)
estonian - 1 fixed, 1 changed by kristjans (2)
french - 2 fixed by belugas (2)
german - 3 fixed by Neonox (3)
hungarian - 2 fixed by miham (2)
italian - 2 fixed by lorenzodv (2)
korean - 2 fixed by leejaeuk5 (1), darkttd (1)
norwegian_nynorsk - 19 fixed, 3 changed by pollux (22)
russian - 1 fixed, 33 changed by HMage (34)
slovak - 1 fixed, 15 changed by lengyel (16)
slovenian - 1 fixed by Necrolyte (1)
2007-05-03 20:31:25 +00:00
glx
a7c39f7325
(svn r9773) -Fix r9772: MSVC warning
2007-05-03 17:07:51 +00:00
rubidium
9194d5ab9e
(svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly).
2007-05-03 11:02:37 +00:00
peter1138
c584b7a401
(svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral)
2007-05-02 19:00:59 +00:00
rubidium
981bf52bdd
(svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
2007-05-02 18:29:11 +00:00
belugas
e4dc1f460b
(svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean
2007-05-02 15:20:48 +00:00
rubidium
951c74806f
(svn r9765) -Codechange: constify some class functions.
2007-05-02 09:39:11 +00:00
rubidium
dce7dcb664
(svn r9764) -Codechange: replace some lookup tables by functions.
2007-05-02 09:29:41 +00:00
rubidium
1bea3b55a6
(svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either.
2007-05-01 18:17:52 +00:00
belugas
9b7a615887
(svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
...
Based on FS#289, by pitt2
2007-05-01 17:16:51 +00:00
rubidium
f25a168c98
(svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle.
2007-05-01 16:45:03 +00:00
rubidium
a4e045a3fb
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
2007-05-01 16:35:14 +00:00
truelight
2ccee752fd
(svn r9759) -Add: added threading code for MorphOS (tokai)
2007-05-01 15:25:00 +00:00
peter1138
7ce17c9577
(svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts
2007-05-01 06:43:18 +00:00
rubidium
0aad91f43b
(svn r9757) -Fix [FS#1244842]: when you have closed the "Load game"/"New game" windows accessible from the "New Server" window, any creation of new game/loading from the intro menu should not start a server.
2007-04-30 20:05:31 +00:00
rubidium
cbd9a1bf0d
(svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left.
2007-04-29 22:51:12 +00:00
rubidium
ec9ac99d01
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
2007-04-29 22:33:51 +00:00
rubidium
202009522c
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-29 21:24:08 +00:00
bjarni
95e48eacac
(svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
...
v->dest_tile is now copied when replacing the front engine
2007-04-29 20:16:58 +00:00
rubidium
6440440f12
(svn r9752) -Codechange: remove some duplication related to BeginLoading.
2007-04-29 18:21:24 +00:00
KUDr
bf04c88eca
(svn r9746) -Codechange [YAPF]: added DEBUGs level 0 if the current train order is OT_GOTO_WAYPOINT and waypoint is invalid or v->dest_tile is wrong
2007-04-29 10:14:42 +00:00
KUDr
027597f485
(svn r9745) -Codechange [YAPF}: if destination is a waypoint then YAPF gets destination tile from that waypoint->xy instead of from v->dest_tile
2007-04-29 09:55:32 +00:00
maedhros
469c04478a
(svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water.
2007-04-29 09:18:52 +00:00
maedhros
02e770ff2c
(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time.
2007-04-29 08:43:00 +00:00
rubidium
ccf4ddc06f
(svn r9741) -Fix [FS#672]: station signs were not resized when the language changed, causing overflows in the coloured sign background.
2007-04-29 07:24:48 +00:00
truelight
347bfc7f9f
(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
2007-04-28 22:23:10 +00:00
maedhros
6ebe60fc17
(svn r9734) -Feature: Add an option to automatically pause when starting a new game.
2007-04-28 15:06:32 +00:00
truelight
57ad2dd0fb
(svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with spaces, making it look ugly from time to time
2007-04-28 10:41:00 +00:00
maedhros
889f2ab48c
(svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles.
2007-04-27 21:35:02 +00:00
rubidium
e1057864d8
(svn r9729) -Documentation: add some documentation in various places
2007-04-27 21:29:36 +00:00
glx
75ba8f4489
(svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key is a dead-key. It needs to be pressed twice to have an effect but the console is then opened and closed on the 'same' keypress (2 WM_CHAR events). So skip the first WM_CHAR generated to restore the 'console' key functionality.
2007-04-27 21:27:02 +00:00
peter1138
b02623901a
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
2007-04-27 20:50:49 +00:00
rubidium
6b37ea7b47
(svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it.
2007-04-27 20:01:25 +00:00
rubidium
49cd2374bb
(svn r9725) -Fix [FS#743]: plane made a 270 degree turn instead of a 90 degree turn on take off from the southern runway.
2007-04-27 19:47:39 +00:00
miham
9c741dd325
(svn r9724) -Update: WebTranslator2 update to 2007-04-27 20:28:02
...
american - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 2 fixed by fukumori (2)
russian - 10 changed by HMage (10)
ukrainian - 1 changed by mad (1)
2007-04-27 18:28:44 +00:00
belugas
436cb70988
(svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
...
More to come.
2007-04-27 02:27:44 +00:00
belugas
5912b08890
(svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
...
All the tiny fonts industry names should be removed from language files soon.
2007-04-26 20:20:12 +00:00
peter1138
5577d5c86c
(svn r9720) -Codechange: Remove global var and gotos from window autoplacement
2007-04-26 17:32:54 +00:00
rubidium
b469c443e9
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
2007-04-26 07:41:24 +00:00
peter1138
4d0483b650
(svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window.
2007-04-26 07:24:19 +00:00
peter1138
5b5598b2a6
(svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation.
2007-04-26 06:49:32 +00:00
glx
c1b898392e
(svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag.
2007-04-25 17:40:06 +00:00
miham
78e542a62e
(svn r9715) -Update: WebTranslator2 update to 2007-04-24 21:45:15
...
italian - 2 changed by lorenzodv (2)
portuguese - 9 fixed by izhirahider (9)
russian - 3 fixed, 328 changed by HMage (331)
simplified_chinese - 7 fixed by Fishingsnow (7)
traditional_chinese - 1 changed by xbddc (1)
2007-04-24 19:45:59 +00:00
peter1138
1164c275af
(svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading.
2007-04-24 19:05:16 +00:00
peter1138
fa180a15cc
(svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses.
2007-04-21 20:23:20 +00:00
truelight
a5b77fad87
(svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD
2007-04-21 13:20:20 +00:00
maedhros
ac0c371d5a
(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.
2007-04-21 08:51:42 +00:00
peter1138
e5a314399a
(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array.
2007-04-21 07:27:16 +00:00
peter1138
01ae38e3d7
(svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly.
2007-04-21 07:17:14 +00:00
belugas
3a1e7679d8
(svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
...
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
2007-04-21 02:47:33 +00:00
belugas
803b073c59
(svn r9704) -Documentation: Add comments on industry data macro
2007-04-21 02:42:51 +00:00
peter1138
1052b0e8f1
(svn r9703) -Codechange: support callback 36 in vehicle purchase lists
2007-04-20 21:42:06 +00:00
peter1138
15bfaba259
(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43
2007-04-20 21:21:47 +00:00
peter1138
a4b3066433
(svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables
2007-04-20 21:19:28 +00:00
KUDr
d0de381c30
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
2007-04-20 19:43:06 +00:00
KUDr
3df2656633
(svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator)
2007-04-20 19:19:23 +00:00
KUDr
4728765870
(svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference
2007-04-20 19:13:35 +00:00
rubidium
17dc1c6336
(svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station.
2007-04-20 17:52:28 +00:00
peter1138
98fe82da66
(svn r9691) -Fix (r9683): Forgotten savegame bump...
2007-04-20 17:26:10 +00:00
peter1138
8e457248a7
(svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags
2007-04-20 17:23:33 +00:00
bjarni
aa0e97e3ce
(svn r9689) -Fix: Clone vehicles will no longer refit for free
2007-04-20 17:08:55 +00:00
bjarni
73875647b5
(svn r9688) -Codechange: Created a function to get default cargo type for a cargo type
2007-04-20 16:56:55 +00:00
miham
afea22e013
(svn r9687) -Update: WebTranslator2 update to 2007-04-20 17:51:25
...
romanian - 2 fixed by kneekoo (2)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovak - 2 fixed by lengyel (2)
slovenian - 2 fixed by Necrolyte (2)
traditional_chinese - 2 changed by xbddc (2)
2007-04-20 15:52:07 +00:00
peter1138
67529d2e63
(svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags
2007-04-20 15:03:58 +00:00
maedhros
034f3591cf
(svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot.
2007-04-20 11:39:01 +00:00
maedhros
8b65349d86
(svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding
...
them again when they leave, and add a v->LeaveStation() call for aircraft.
2007-04-20 11:05:56 +00:00
rubidium
fdf86bb4a2
(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
2007-04-20 08:00:30 +00:00
peter1138
a8350e5fdf
(svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*)
2007-04-20 07:51:20 +00:00
miham
20f22f021c
(svn r9681) [Translations] -Fix: removed two unnecessary colons from the finnish translations (spotted by ln-)
2007-04-19 19:19:53 +00:00
miham
7e63ff86e1
(svn r9680) -Update: WebTranslator2 update to 2007-04-19 21:10:21
...
bulgarian - 2 fixed by thetitan (1), kokobongo (1)
czech - 2 fixed by joeprusa (2)
danish - 2 fixed by ThomasA (2)
dutch - 2 fixed, 1 changed by habell (3)
esperanto - 2 fixed by LaPingvino (2)
estonian - 2 fixed by vermon (2)
finnish - 2 fixed by habazi (2)
german - 3 fixed by Neonox (3)
italian - 18 fixed, 2 changed by lorenzodv (20)
japanese - 10 fixed by ickoonite (10)
norwegian_bokmal - 27 fixed by oletk (27)
polish - 10 fixed by meush (10)
russian - 2 fixed by HMage (2)
spanish - 2 fixed by jfrank (2)
traditional_chinese - 2 fixed by xbddc (2)
turkish - 11 fixed by jnmbk (11)
ukrainian - 2 fixed, 5 changed by fevral13 (7)
2007-04-19 19:11:24 +00:00
belugas
15a2c71a01
(svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01)
2007-04-19 18:51:40 +00:00
peter1138
a40d53d8d1
(svn r9678) -Codechange: Support changing of aircraft running cost via callback 36.
2007-04-19 18:49:40 +00:00
peter1138
0552b19225
(svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour.
2007-04-19 17:54:45 +00:00
belugas
95ae29b470
(svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
...
This makes the code clearer.
2007-04-19 14:50:01 +00:00
rubidium
2dc5589290
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
2007-04-18 22:41:53 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
peter1138
41cf2fa69b
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
2007-04-18 18:37:40 +00:00
rubidium
aa284fd531
(svn r9670) -Documentation: add documentation to some the _map files.
2007-04-18 18:20:31 +00:00
belugas
4eb87ac62b
(svn r9669) -Documentation: some more doxygen fixes
2007-04-18 18:00:33 +00:00
miham
7789eef209
(svn r9668) -Update: WebTranslator2 update to 2007-04-18 19:27:38
...
catalan - 2 fixed by arnaullv (2)
french - 2 fixed, 2 changed by glx (4)
hungarian - 2 fixed by miham (2)
korean - 2 fixed by darkttd (2)
swedish - 2 fixed, 1 changed by daishan (3)
2007-04-18 17:28:22 +00:00
maedhros
16a948a463
(svn r9667) -Feature: Add the concept of cities. A (configurable) proportion of towns can
...
start off larger, and will grow twice as quickly as other towns. They can also
be placed specifically in the scenario editor. Thanks to TheJosh for the
initial patch and the idea.
2007-04-18 14:23:30 +00:00
peter1138
4b7c59fce1
(svn r9666) -Fix (r9651): end of data / column flags were reversed
2007-04-18 07:22:53 +00:00
belugas
d6651c1741
(svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections...
2007-04-18 00:41:09 +00:00
belugas
addcae43fa
(svn r9664) -Documentation: Doxygen corrections,errors and omissions
2007-04-17 21:09:38 +00:00
belugas
607a55f4ec
(svn r9662) -Documentation: Doxygen corrections and @file omissions
2007-04-17 20:23:13 +00:00
belugas
c39ab93daa
(svn r9658) -Codechange: CT_FOOD is not part of temperate climate, place it accordingly in arctic.
...
It could be put in tropic too, but it can be placed in both, so first to catch it...
2007-04-17 19:08:00 +00:00
peter1138
2b2cfaeec1
(svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot
2007-04-17 17:54:31 +00:00
maedhros
2a32b3b8db
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
2007-04-17 10:08:17 +00:00
belugas
792339554f
(svn r9653) -Codechange: Indicate the proper function names in the GRF messages
2007-04-16 20:56:19 +00:00
belugas
44143b8cdb
(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
...
I guess i'm a bit eager to have a writable array for newindustries ;)
2007-04-16 19:55:17 +00:00
belugas
a5bd48b23d
(svn r9651) -Codechange: make legend system of smallmap a little bit less magic with the help of a struct and not an array of bytes
2007-04-16 19:44:22 +00:00
belugas
fc6cf587cd
(svn r9650) -Documentation: Finalize doxygen comments for town_land.h
2007-04-16 19:26:01 +00:00
miham
87e3e48ef0
(svn r9649) -Update: WebTranslator2 update to 2007-04-16 18:55:24
...
brazilian_portuguese - 8 fixed by fukumori (8)
dutch - 8 fixed by habell (8)
estonian - 11 fixed by kristjans (11)
italian - 25 changed by lorenzodv (25)
2007-04-16 16:56:04 +00:00
maedhros
0ec51d51b0
(svn r9648) -Codechange: Use HASBIT directly rather than shifting and then using it on the first bit.
2007-04-16 10:59:35 +00:00
maedhros
720842ba91
(svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen)
2007-04-16 10:30:31 +00:00
peter1138
229eb8cba5
(svn r9646) -Fix (r9645): incorrect count in error message for airport graphics
2007-04-16 08:31:00 +00:00
peter1138
15e112c290
(svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites.
2007-04-16 06:35:10 +00:00
belugas
cc647a08a0
(svn r9644) -Codechange: if else cascade into a switch case
2007-04-16 02:56:48 +00:00
belugas
61c99f99a2
(svn r9643) -Codechange: Simplify a test.
2007-04-16 02:53:55 +00:00
belugas
83c269d071
(svn r9642) -Documentation: Having a different macro name for _original_house_specs (MS) than for _town_tile_data (M) might teach doxygen that we are dealing with two entities...
2007-04-16 02:47:01 +00:00
rubidium
e17209b3cc
(svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names.
2007-04-15 22:30:26 +00:00
miham
071e466609
(svn r9640) -Update: WebTranslator2 update to 2007-04-15 19:49:19
...
swedish - 23 fixed by giddorah (23)
traditional_chinese - 336 changed by xbddc (336)
2007-04-15 17:51:23 +00:00
peter1138
49eb9b6fad
(svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader.
2007-04-15 16:20:35 +00:00
miham
24e95eb2cd
(svn r9633) -Update: WebTranslator2 update to 2007-04-15 08:06:47
...
american - 8 fixed by WhiteRabbit (8)
bulgarian - 8 fixed by thetitan (8)
catalan - 8 fixed by arnaullv (8)
czech - 8 fixed by Hadez (8)
danish - 8 fixed by MiR (8)
esperanto - 8 fixed, 2 changed by LaPingvino (10)
estonian - 8 fixed by t2t2 (8)
finnish - 8 fixed by habazi (8)
french - 8 fixed by glx (8)
german - 18 fixed by Neonox (18)
italian - 16 fixed, 847 changed by lorenzodv (863)
japanese - 6 fixed, 5 changed by PouncingAnt (11)
korean - 8 fixed by darkttd (6), leejaeuk5 (2)
romanian - 8 fixed by kneekoo (8)
russian - 8 fixed by HMage (8)
slovak - 8 fixed by lengyel (8)
slovenian - 8 fixed by Necrolyte (8)
spanish - 8 fixed by eusebio (8)
traditional_chinese - 8 fixed by thomasau (8)
ukrainian - 8 fixed by mad (8)
2007-04-15 06:12:13 +00:00
peter1138
01ef0284cb
(svn r9621) -Codechange: implement newgrf house property 1E (cargo types)
2007-04-13 21:18:48 +00:00
peter1138
59399480b3
(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65
2007-04-13 19:32:18 +00:00
belugas
39735f7b54
(svn r9619) -Documentation: Comments on drawing arrays of houses and industries
2007-04-13 17:15:06 +00:00
peter1138
b5b7b489ce
(svn r9617) -Codechange: Implement callback for cargo profit calculation
2007-04-12 19:33:05 +00:00
maedhros
b962cc911d
(svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors.
2007-04-12 18:36:54 +00:00
miham
10d4bfa2a7
(svn r9615) -Update: WebTranslator2 update to 2007-04-12 20:22:06
...
hungarian - 8 fixed by miham (8)
italian - 21 fixed, 707 changed by lorenzodv (728)
japanese - 11 fixed by ickoonite (11)
2007-04-12 18:24:44 +00:00
maedhros
39b193efb6
(svn r9614) -Feature: Use the normal growth rate values when the growth rate is set to none and "Fund new buildings" is used.
2007-04-12 18:23:47 +00:00
maedhros
61fe356880
(svn r9613) -Feature: Make it possible to have some control over the town growth. The
...
default rate is TTD's original rate, and to approximate OpenTTD's previous
behaviour the rate should be set to "Fast" or "Very Fast". Town growth can be
switched off entirely, and if so, buildings will not be rebuilt. It is also
possible to specify a proportion of towns that grow twice as fast as the
others.
2007-04-12 17:24:34 +00:00
maedhros
ccaaa7d33a
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
2007-04-12 13:07:15 +00:00
peter1138
8cdec9a2ab
(svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting.
2007-04-12 06:16:46 +00:00
peter1138
69982b1f01
(svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID
2007-04-11 21:04:03 +00:00
peter1138
b47078d690
(svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows...
2007-04-11 20:42:13 +00:00
peter1138
91c407bd37
(svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off
2007-04-11 20:14:11 +00:00
peter1138
23d9d6cfb4
(svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency...
2007-04-11 20:13:32 +00:00
peter1138
9e967ed6bf
(svn r9595) -Fix (r9563): Transparency hotkeys didn't work
2007-04-11 20:03:05 +00:00
belugas
e161e60af6
(svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have
2007-04-10 20:58:04 +00:00
miham
e34df4f3ad
(svn r9585) -Update: WebTranslator2 update to 2007-04-10 14:52:27
...
romanian - 26 fixed, 7 changed by kneekoo (33)
turkish - 11 fixed by jnmbk (11)
2007-04-10 12:55:08 +00:00
maedhros
afc3da5fc8
(svn r9581) -Revert (r9562): This broke as much as it fixed, so revert until a proper way of paying for refits when cloning can be found.
2007-04-10 09:01:56 +00:00
belugas
82ad5a6d9c
(svn r9580) -Documentation: Correction of doxygen function declarations
2007-04-09 15:06:24 +00:00
belugas
ec03c72afb
(svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation.
2007-04-09 01:43:29 +00:00
belugas
93acc50678
(svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing
2007-04-09 01:14:43 +00:00
belugas
cdb910d64b
(svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
...
-Move the check proc array, in order to make it more useful latter.
-Add basic newGRF stuff on the industry spec. Not used yet.
2007-04-09 01:08:11 +00:00
miham
039720650a
(svn r9576) -Update: WebTranslator2 update to 2007-04-08 19:22:55
...
american - 15 fixed by WhiteRabbit (15)
polish - 1 changed by meush (1)
2007-04-08 17:24:10 +00:00
belugas
12addc1bbe
(svn r9574) -Fix(r9520, FS#721): Oil Rig ( or industry with behaviour INDUSTRYBEH_BUILT_ONWATER) should check all tiles before leaving the test. A tile in water does not ensure that all required tiles will necessary be on water.
2007-04-08 00:29:12 +00:00
glx
6b35482c8d
(svn r9573) -Fix: enclose settings names containing spaces (like newgrf paths) with quotes
2007-04-07 22:30:10 +00:00
miham
cb431a6a3e
(svn r9572) [Translations] -Fix: (r9571) strange problem fixed in galician language header
2007-04-07 20:26:12 +00:00
miham
78a3c51423
(svn r9571) -Update: WebTranslator2 update to 2007-04-07 22:18:15
...
danish - 15 fixed by MiR (15)
galician - 14 fixed by Condex (14)
portuguese - 6 fixed by izhirahider (6)
russian - 10 fixed by HMage (10)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovenian - 15 fixed by Necrolyte (15)
2007-04-07 20:21:03 +00:00
miham
558a6267fd
(svn r9570) -Update: WebTranslator2 update to 2007-04-06 19:21:04
...
brazilian_portuguese - 14 fixed by fukumori (14)
bulgarian - 13 fixed by thetitan (10), groupsky (3)
catalan - 13 fixed by arnaullv (13)
czech - 9 fixed by Hadez (9)
dutch - 13 fixed by habell (13)
esperanto - 13 fixed by LaPingvino (13)
finnish - 15 fixed by habazi (15)
french - 9 fixed by glx (9)
frisian - 99 fixed by ikkejw (99)
german - 6 fixed by moewe2 (6)
hungarian - 9 fixed by miham (9)
italian - 13 fixed by lorenzodv (13)
korean - 15 fixed by darkttd (15)
norwegian_nynorsk - 9 fixed by khaavik (9)
polish - 16 fixed, 1 changed by meush (17)
russian - 6 fixed, 3 changed by HMage (9)
slovak - 9 fixed by lengyel (9)
spanish - 15 fixed by eusebio (15)
traditional_chinese - 15 fixed, 5 changed by xbddc (20)
ukrainian - 9 fixed by mad (9)
2007-04-06 17:30:17 +00:00
belugas
1c97841ff6
(svn r9569) -Fix(r9567): testing mode leftover...
2007-04-06 12:57:15 +00:00
belugas
d4d5ce7ee5
(svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible
2007-04-06 04:10:19 +00:00
belugas
15d360c7f6
(svn r9567) -Fix(9555, FS#718): The industry ID been collected was just an index in a out of phase array. Now, ensure that the ID will really be an IndustryType
2007-04-06 02:12:15 +00:00
peter1138
39f92d1f21
(svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC.
2007-04-05 12:59:57 +00:00
peter1138
614dd12f21
(svn r9564) -Fix (r9563): When adding files remember to add them...
2007-04-05 09:07:20 +00:00
peter1138
a2cec54c9d
(svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-04-05 07:49:04 +00:00
maedhros
abf88b687c
(svn r9562) -Fix: When cloning, pay for the refit costs as well.
2007-04-04 14:21:46 +00:00
rubidium
3b8dd00bae
(svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.
...
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
2007-04-04 12:43:43 +00:00
rubidium
db91588845
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
2007-04-04 12:03:10 +00:00
belugas
a1b7fb8909
(svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that...
2007-04-04 04:08:47 +00:00
belugas
f81217bcf4
(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done
2007-04-04 03:21:14 +00:00
belugas
dfe5533db6
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
2007-04-04 01:35:16 +00:00
belugas
f12d1a3f0a
(svn r9555) -Codechange: Cleanup of industry_cmd (Step-9). Use in-game appearing chances for industry creation.
2007-04-04 00:32:40 +00:00
rubidium
a403f32e59
(svn r9554) -Documentation: add documentation to some map accessors.
2007-04-03 21:51:40 +00:00
rubidium
d2634aaeec
(svn r9553) -Documentation: fix ambiguity issue.
2007-04-03 19:19:04 +00:00
belugas
64f2e6ef07
(svn r9552) -Documentation: Some more doxygen work, adding comments too
2007-04-03 17:19:06 +00:00
belugas
56943ab584
(svn r9551) -Documentation: Some more doxygen work
2007-04-03 16:12:28 +00:00
belugas
0d691539a4
(svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
...
Not used yet.
2007-04-03 00:13:59 +00:00
belugas
b1e0fdfd2a
(svn r9549) -Codechange: Add definition of callbacks and callback masks for both industries and industry tiles
2007-04-03 00:01:18 +00:00
miham
b13086bfee
(svn r9548) [Translations] -Fix: Fixed empty strings added by WT2 [note to self: really should fix this old bug in WT2]
2007-04-02 19:47:36 +00:00
miham
517225935b
(svn r9547) -Update: WebTranslator2 update to 2007-04-02 21:37:30
...
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian - 2 fixed by thetitan (2)
catalan - 2 fixed by arnaullv (2)
czech - 6 fixed by Hadez (6)
dutch - 2 fixed by habell (2)
esperanto - 2 fixed, 1 changed by LaPingvino (3)
estonian - 4 fixed by t2t2 (4)
french - 6 fixed by glx (6)
hungarian - 7 fixed by miham (7)
italian - 2 fixed by lorenzodv (2)
norwegian_bokmal - 12 fixed by oletk (12)
slovak - 6 fixed by lengyel (6)
ukrainian - 6 fixed by mad (6)
2007-04-02 19:38:24 +00:00
rubidium
48c23d27f3
(svn r9546) -Fix (r9545): several typos...
2007-04-02 15:08:36 +00:00
belugas
d58f9ef7b4
(svn r9545) -Documentation: Some corrections to previous doxygen work
2007-04-02 14:20:31 +00:00
maedhros
e2cd1fedf7
(svn r9544) -Cleanup (r9543): Remove unused strings.
2007-04-02 11:38:52 +00:00
maedhros
eae03e0f72
(svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
...
translated properly and remove "buildable", since it isn't actually a word.
2007-04-02 11:35:08 +00:00
belugas
65bc46082e
(svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
2007-04-01 11:11:49 +00:00
celestar
191ea4b1ba
(svn r9541) -Codechange: Safeguard the company-buying routines so that the buying player and the bought player need to be two different entities
2007-04-01 10:55:31 +00:00
celestar
e3f1914de0
(svn r9540) -Fix (r1): Bankrupt AIs no longer buy themselves (usage of wrong variable)
2007-04-01 10:54:31 +00:00
truelight
32c3ba6604
(svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company.
2007-03-31 12:19:22 +00:00
maedhros
9c88baee67
(svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through road stops more descriptive.
2007-03-31 09:53:40 +00:00
maedhros
3ac05f25db
(svn r9531) -Fix (r8661) [FS#692]: The scroll settings were wrong for trains as only a part
...
of the window should be horizontally scrollable, not all of it. This lead to
wagons without an engine overflowing the window and not being able to scroll to
the end of a train if there was an engine attached.
2007-03-31 08:24:05 +00:00
belugas
377fbf9eb7
(svn r9530) -Codechange: Replace a direct industry type access by a behaviour
2007-03-31 01:16:17 +00:00
truelight
a764888619
(svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first
2007-03-30 22:17:47 +00:00
glx
94b3ea7b34
(svn r9528) -Fix r8610: don't try to modify non-existent widgets (many thanks to Bruce Perence, the libefence developer)
2007-03-30 21:58:38 +00:00
miham
70a73fceab
(svn r9527) -Update: WebTranslator2 update to 2007-03-30 19:44:17
...
slovenian - 2 fixed by Necrolyte (2)
2007-03-30 17:44:51 +00:00
belugas
77b3767f2f
(svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees
2007-03-30 13:51:03 +00:00
miham
7a57ae4968
(svn r9525) -Update: WebTranslator2 update to 2007-03-29 19:56:13
...
estonian - 3 fixed, 4 changed by kristjans (7)
finnish - 2 fixed by pallokala (2)
italian - 1 changed by lorenzodv (1)
traditional_chinese - 1 changed by xbddc (1)
turkish - 12 fixed by jnmbk (12)
2007-03-29 17:59:24 +00:00
celestar
a1ab0d29fe
(svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts)
2007-03-29 13:52:34 +00:00
belugas
386e298acd
(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
2007-03-28 20:41:35 +00:00
belugas
72fc068844
(svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc...
2007-03-28 20:06:28 +00:00
glx
29b2455761
(svn r9519) -Fix r7406 (revert r9518): free the malloced variable, not a pointer to that variable. Also free it if there's any error.
2007-03-28 14:31:52 +00:00
rubidium
5d3c610ab5
(svn r9518) -Fix [Windows]: do not free an uninitialized pointer.
2007-03-28 09:27:38 +00:00
maedhros
c25d539543
(svn r9476) -Codechange: Make build windows for all vehicle types the same width.
2007-03-26 12:28:44 +00:00
maedhros
cdf74ca0c9
(svn r9475) -Codechange: Allow the purchase details widget to expand dynamically if there's still not enough room for the text.
2007-03-26 11:41:14 +00:00
maedhros
d2bd12d52e
(svn r9474) -Fix (r8378): Expand the details widget in the vehicle build windows again to make room for all the text.
2007-03-26 08:55:45 +00:00
peter1138
2afcd1561a
(svn r9473) -Codechange: add 'unhandled variable' debug message to newcargo resolver
2007-03-26 08:43:14 +00:00
maedhros
c2312c37d6
(svn r9472) -Fix (r9449): num is the number of newlines in the string, not the number of lines. Also allow for maxh being negative.
2007-03-26 08:04:29 +00:00
belugas
ac784b5fbe
(svn r9469) -Fix(r3720): The maximum year allowed for to_euro conversion of custom currency was set to 1000, making it impossible to ever have one. Now, with 3000, it should be a little more comfortable
2007-03-25 23:57:09 +00:00
belugas
683aae8abf
(svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the custom currency was reset too, thus loosing the setting a user could have used for it.(glx)
2007-03-25 23:42:55 +00:00
rubidium
45e788d524
(svn r9455) -Fix: the values for diff_custom, diff_level and snow_line in the .cfg were not properly checked.
2007-03-25 19:21:22 +00:00
maedhros
1a70cf53ff
(svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long.
2007-03-25 16:09:36 +00:00
peter1138
f56fbbfed9
(svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable...
2007-03-25 10:43:27 +00:00
peter1138
e74169364c
(svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary.
2007-03-25 08:13:07 +00:00
rubidium
0a3719fb72
(svn r9437) -Fix (r9420): dedicated server crashed when the y part of the resolution was less than 10.
2007-03-25 00:13:22 +00:00
peter1138
0ceca4140a
(svn r9436) -Fix (r9411): don't deactivate GRF in an action 7/9 during reservation (and loading of cargo data), and action 6 should be run also
2007-03-24 23:43:33 +00:00
peter1138
fc540fcd0d
(svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high
2007-03-24 18:56:59 +00:00
peter1138
bea0993015
(svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something
2007-03-24 16:09:39 +00:00
truelight
9a9e891e0c
(svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted
2007-03-24 15:13:46 +00:00
peter1138
d53e16131d
(svn r9427) -Codechange: remove redundant variable
2007-03-24 14:42:11 +00:00
celestar
49ff7cb938
(svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
2007-03-24 09:12:03 +00:00
rubidium
694c7fdf0f
(svn r9420) -Fix [FS#701]: crashes when the chatbox would be drawn outside of the main window.
2007-03-23 22:20:39 +00:00
peter1138
68572f1076
(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites
2007-03-23 20:55:45 +00:00
peter1138
8353032129
(svn r9417) -Fix (r1): Waiting cargo icons in the station view window were incorrectly drawn if the cargo list was scrolled, resulting in overlapping images
2007-03-23 20:51:42 +00:00
peter1138
2e32df30dd
(svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though)
2007-03-23 20:01:25 +00:00
miham
c603a27d29
(svn r9415) -Update: WebTranslator2 update to 2007-03-23 20:04:40
...
danish - 1 changed by ThomasA (1)
german - 5 fixed by moewe2 (5)
hungarian - 1 fixed by miham (1)
portuguese - 8 fixed by Digitalfox (8)
simplified_chinese - 9 fixed by Fishingsnow (9)
2007-03-23 19:06:07 +00:00
peter1138
85ec21e8c5
(svn r9413) -Codechange: Remove default cargo translation table and use bitnums directly if no table is provided. This lets pre-cargolabel cargo definitions work.
2007-03-23 00:03:08 +00:00
peter1138
2f6a46632a
(svn r9412) -Fix (r8886): When looking up a cargo type by label skip disabled cargos
2007-03-22 23:32:24 +00:00
peter1138
4d81a464e2
(svn r9411) -Codechange: Add support for loading of newcargo data.
2007-03-22 23:19:40 +00:00
belugas
06d3669bb5
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
2007-03-22 03:42:43 +00:00
belugas
6e9ab4f7b8
(svn r9399) -Feature: Openttd.cfg will now present landscape patch entry as been temperate, arctic, tropic or toyland.
...
This is the first usage of the callback conversion system of settings loading
2007-03-22 03:35:18 +00:00
belugas
deca0cc3fa
(svn r9398) -Feature: Allow for a conversion callback system while reading configuration file, in case of wrong value.
...
This is the basic step, no patch setting is actually using it, so far
2007-03-22 03:15:58 +00:00
peter1138
e2801aa320
(svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler
2007-03-21 20:58:01 +00:00
miham
c29aa2ec44
(svn r9392) -Update: WebTranslator2 update to 2007-03-21 19:54:29
...
brazilian_portuguese - 2 changed by fukumori (2)
danish - 11 fixed, 2 changed by ThomasA (13)
esperanto - 8 fixed by LaPingvino (8)
estonian - 28 fixed by vermon (27), t2t2 (1)
finnish - 19 fixed, 66 changed by pallokala (9), habazi (76)
french - 9 changed by Skiper (9)
italian - 1 fixed, 49 changed by sidew (50)
traditional_chinese - 2 fixed by thomasau (2)
ukrainian - 9 changed by mad (9)
2007-03-21 18:58:03 +00:00
belugas
ca2fc01944
(svn r9391) -Documentation : correct Doxygen of comments and @file inclusion. Time for P and Q files
2007-03-21 17:42:43 +00:00
belugas
57557ba599
(svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O
2007-03-21 15:19:33 +00:00
peter1138
d7f56f1550
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
2007-03-21 13:19:01 +00:00
rubidium
a9651a8b8f
(svn r9387) -Fix (r9385): termination of a comment forgotten.
2007-03-21 11:50:34 +00:00
belugas
dcd510c81f
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
2007-03-21 03:06:21 +00:00
rubidium
80ef389080
(svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount of players in the network game when they haven't joined the game yet.
2007-03-20 20:11:17 +00:00
rubidium
8e3e055248
(svn r9377) -Fix (r9376): the off-by-one error was also present at another location :(
2007-03-20 16:43:20 +00:00
rubidium
c865b9f566
(svn r9376) -Fix (r8969): off-by-one error for the amount of mouth pieces for men.
2007-03-20 16:32:41 +00:00
rubidium
154c7c4bcf
(svn r9373) -Fix (r9271): the chosen language was not stored nor read properly in/from the cfg.
2007-03-20 14:01:21 +00:00
maedhros
48f2bf9bb1
(svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
...
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
2007-03-20 13:47:00 +00:00
maedhros
7812f7fd0a
(svn r9367) -Fix (r9315): If a new house doesn't have a corresponding action 3, the
...
graphics for the substitute (original) house should be drawn instead.
2007-03-20 10:06:39 +00:00
belugas
b82ed41a19
(svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot.
2007-03-20 02:24:14 +00:00
peter1138
1bea18b440
(svn r9352) -Codechange: Use cargo class to determine if an aircraft should carry mail
2007-03-19 20:54:13 +00:00
rubidium
b0beea9989
(svn r9339) -Codechange: disable shares by default as the sharing system is broken (abusable) and should therefor not be used in multiplayer games.
...
-Codechange: make default maximum distance from the edge for oil refineries a little higher, so the chance that you get oil refineries is a little better.
2007-03-19 17:08:51 +00:00
truelight
58ef6ecc33
(svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles
2007-03-19 15:59:23 +00:00
truelight
9435d8cc83
(svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open.
2007-03-19 15:36:18 +00:00
peter1138
63ccdcf082
(svn r9327) -Fix (r9301): Fix warning on MSVC
2007-03-19 12:58:43 +00:00
peter1138
457930c483
(svn r9322) -Codechange: Use cargo class to count crash/flood victims
2007-03-19 12:40:51 +00:00
maedhros
28aa933489
(svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge.
2007-03-19 11:41:21 +00:00
maedhros
73ff939ddb
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
...
the newhouses grf specs, so all newhouses grfs will be playable in the game.
Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
peter1138
ae48a7447b
(svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft.
2007-03-18 22:32:05 +00:00
peter1138
8ef0e43b94
(svn r9302) -Codechange: Use cargo class to test for passengers when deciding on the livery scheme to use.
2007-03-18 22:11:24 +00:00
peter1138
e485b8f694
(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops.
2007-03-18 22:07:44 +00:00
peter1138
f4cad9017e
(svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui
2007-03-18 21:58:03 +00:00
richk
f44cbfe1fe
(svn r9299) -Fix (FS#675,FS#660): Small micro-movements on airports (of <4 pixels) caused odd aircraft movements. On oilrigs, this caused a full crash as movement would take helicopter out of airport/station tile.
...
Corrected by maneuvering aircraft directly over these tiny movements, rather than relying on movement by changing facing.
2007-03-18 21:44:00 +00:00
richk
408442d575
(svn r9298) -Fix (r1): A34-1000, Z-Shuttle, and Kelling K1 should be listed as small aircraft.
2007-03-18 21:38:30 +00:00
miham
051b3aba87
(svn r9292) [Translations] -Fix: Removed empty translation reached /trunk
2007-03-18 20:06:51 +00:00
miham
1f30eca98a
(svn r9286) -Update: WebTranslator2 update to 2007-03-18 19:56:07
...
american - 10 fixed by WhiteRabbit (10)
brazilian_portuguese - 7 fixed by fukumori (7)
bulgarian - 12 fixed by thetitan (12)
catalan - 3 fixed by arnaullv (3)
czech - 8 fixed by Hadez (8)
dutch - 8 fixed by habell (8)
french - 3 fixed by glx (3)
greek - 80 fixed by thanoulas (80)
italian - 7 fixed, 7 changed by sidew (6), bluesboy84 (8)
japanese - 11 fixed by PouncingAnt (2), ickoonite (9)
korean - 3 fixed by darkttd (3)
norwegian_nynorsk - 6 fixed by pollux (6)
polish - 7 fixed by meush (7)
russian - 9 fixed, 1 changed by DarkFenX (10)
slovak - 10 fixed by lengyel (10)
slovenian - 6 fixed by Necrolyte (6)
spanish - 9 fixed by eusebio (9)
swedish - 9 fixed by daishan (9)
traditional_chinese - 6 fixed, 4 changed by thomasau (10)
ukrainian - 9 fixed by mad (9)
2007-03-18 19:00:27 +00:00
rubidium
5171c3fbe4
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
2007-03-18 18:02:24 +00:00
rubidium
84d9f832c3
(svn r9277) -Fix [FS#685]: shared orders got messed up when the 'first' trains got removed in the depot.
2007-03-18 15:32:42 +00:00
celestar
693c2f12cb
(svn r9275) -Fix(r8973, FS#686): Faulty display of aircraft maximum velocity in the news item for new vehicles
2007-03-18 10:37:22 +00:00
rubidium
7fb3b4f83e
(svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths).
2007-03-17 22:21:05 +00:00
rubidium
534db3cf08
(svn r9267) -Fix (r9266): some leftover includes and erronous call to ChangeWorkingDirectory (it was moved).
2007-03-17 14:15:21 +00:00
rubidium
50b2088674
(svn r9266) -Codechange: unify the retrieval of the base paths a little more.
2007-03-17 11:36:04 +00:00
peter1138
92486ac980
(svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...
2007-03-16 21:42:11 +00:00
peter1138
1014c82180
(svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type.
2007-03-16 17:40:31 +00:00
celestar
124725d863
(svn r9251) -Fix(r6057, FS#644): Use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game. The AI now sucks a even a bit more than before (if that's even possible).
2007-03-16 10:11:16 +00:00
peter1138
c5313e3479
(svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup.
2007-03-16 00:55:59 +00:00
peter1138
99577265de
(svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs.
2007-03-15 22:48:46 +00:00
belugas
78b4c42f17
(svn r9215) -Documentation : correct Doxygen of comments
2007-03-15 17:42:32 +00:00
truelight
41caaf4d14
(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
2007-03-15 14:34:10 +00:00
belugas
eb1e6c19ad
(svn r9190) -Fix: Little typo in an enum.
2007-03-15 01:17:20 +00:00
maedhros
33e84b2c1e
(svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under bridges.
2007-03-14 12:56:09 +00:00
belugas
65ce0e36db
(svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
...
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
2007-03-14 02:52:50 +00:00
peter1138
4177215b41
(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
2007-03-13 21:31:09 +00:00
KUDr
c7bcdb69b1
(svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous)
2007-03-13 21:04:22 +00:00
truelight
e3f73943f6
(svn r9137) -Fix: if all news-setting buttons show 'full', make the ALL-button show 'full' too
2007-03-13 12:05:41 +00:00
miham
31957860f3
(svn r9132) [Translations] -Fix: Removed empty strings added by last commit
2007-03-12 19:58:56 +00:00
rubidium
1926b9038d
(svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together.
2007-03-12 15:40:12 +00:00
rubidium
9299e76a25
(svn r9129) -Codechange: unify parts of DeterminePaths.
2007-03-12 15:25:33 +00:00
peter1138
1c55149e1f
(svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little)
2007-03-11 22:29:37 +00:00
bjarni
4cc3551ef2
(svn r9126) -Feature: "Function of scrollwheel" can now be set to off as well
...
Note: since this can be useful for all platforms, the GUI is no longer OSX specific.
Note: scrolling lists is still unaffected by this setting
2007-03-11 21:53:46 +00:00
bjarni
3cf65b8a08
(svn r9125) -Fix r9111: default scrollwheel setting is now zooming, not scrolling
2007-03-11 21:39:20 +00:00
miham
276eeb14df
(svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39
...
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian - 1 fixed by thetitan (1)
catalan - 5 fixed by arnaullv (5)
czech - 1 changed by Hadez (1)
esperanto - 1 fixed by LaPingvino (1)
french - 5 fixed by glx (5)
german - 1 fixed by Neonox (1)
greek - 260 fixed by thanoulas (260)
hungarian - 8 fixed by miham (8)
italian - 1 fixed by sidew (1)
korean - 12 fixed by leejaeuk5 (7), darkttd (5)
polish - 1 fixed, 2 changed by meush (3)
portuguese - 2 fixed by izhirahider (2)
slovenian - 1 fixed by Necrolyte (1)
traditional_chinese - 1 fixed, 42 changed by thomasau (43)
2007-03-11 15:17:30 +00:00
rubidium
16a9f79a6a
(svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window.
2007-03-11 14:56:35 +00:00
miham
473f33f129
(svn r9116) [Translations] -Change: force remove of changed translations (r9115) to ensure they are really changed
2007-03-11 14:38:52 +00:00
rubidium
a2ca998dd4
(svn r9115) -Fix [FS#622]: make clear in the tooltips when the canal build tool (in the scenario editor) makes flooding water (ocean).
2007-03-11 14:17:53 +00:00
bjarni
9be41fede6
(svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the smallmap
2007-03-11 11:57:11 +00:00
bjarni
50fe0fe059
(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
...
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming
Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting
appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
2007-03-11 10:55:35 +00:00
belugas
6def45089d
(svn r9108) -Fix(9093) : MSVC was a bit unhappy with some of the type changes. So basically, widening the types makes the difference
2007-03-11 02:53:44 +00:00
rubidium
b89d13cdbf
(svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0.
2007-03-10 21:44:22 +00:00
KUDr
00bc893312
(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
2007-03-10 20:05:31 +00:00
peter1138
1a7d9dd6c0
(svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks
2007-03-10 16:21:29 +00:00
truelight
146e5e12ec
(svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
...
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
2007-03-10 12:10:00 +00:00
peter1138
1461e39bb9
(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.
2007-03-10 10:08:38 +00:00
peter1138
f662e0f996
(svn r9093) -Codechange: variable scope / type
2007-03-10 09:55:11 +00:00
peter1138
e83e9b9e44
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
2007-03-10 09:23:33 +00:00
belugas
0a8e1aa8d6
(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
...
-Codechange: Use the newly created WWT_TEXT widget.
-Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events.
Thanks glx for ideas from an old patch
2007-03-10 03:33:43 +00:00
belugas
3e91313326
(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
2007-03-10 03:25:15 +00:00
Darkvater
2a2ee534e9
(svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus.
2007-03-10 00:30:18 +00:00
Darkvater
86be8991c6
(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
2007-03-10 00:29:20 +00:00
Darkvater
3702f987c8
(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale.
2007-03-10 00:27:20 +00:00
Darkvater
3b3c7554b7
(svn r9083) -Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length.
2007-03-10 00:26:19 +00:00
KUDr
933c406678
(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead.
2007-03-09 23:26:21 +00:00
peter1138
fe2b3e18fb
(svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window.
2007-03-09 22:55:57 +00:00
peter1138
c94480ab80
(svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo payment graph
2007-03-09 22:55:04 +00:00
rubidium
8dc695edea
(svn r9078) -Codechange: coding style.
2007-03-09 15:12:37 +00:00
rubidium
2e1bda2c1a
(svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances.
2007-03-09 14:41:39 +00:00
rubidium
d609dff2ba
(svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13).
2007-03-09 10:12:08 +00:00
belugas
8eb0a220e6
(svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use.
2007-03-09 02:04:07 +00:00
glx
b52c4dea25
(svn r9074) -Codechange: win32 dedicated console now doesn't need an extra 'enter' to fully quit
2007-03-09 00:15:43 +00:00
bjarni
f776f3beb1
(svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file)
2007-03-08 23:05:05 +00:00
bjarni
c2b7d0192d
(svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use
2007-03-08 21:39:34 +00:00
truelight
daeac3d310
(svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI
2007-03-08 21:05:05 +00:00
truelight
8877d11815
(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station
2007-03-08 20:50:27 +00:00
peter1138
6040e559ce
(svn r9069) -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway...
2007-03-08 19:23:49 +00:00
rubidium
ce919e8c71
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
2007-03-08 16:27:54 +00:00
truelight
aca3fb2b6e
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
2007-03-08 15:50:07 +00:00
truelight
7b153e6356
(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it
2007-03-08 14:34:32 +00:00
rubidium
c517f8fd6e
(svn r9065) -Fix: possible dereference of NULL pointer.
2007-03-08 13:54:19 +00:00
truelight
70623e3488
(svn r9064) -Fix [FS#663]: don't keep on scrolling for non-numeric values in settings, but require reclick
2007-03-08 12:57:08 +00:00
celestar
0fd907e0ec
(svn r9062) -Fix (r4822, FS#595): The station list, sorted by cargo rating, now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function
2007-03-08 12:26:31 +00:00
rubidium
c89379f7eb
(svn r9061) -Fix [r9038, FS#668]: passwords are send when the server is in the 'authorizing' state, not 'inactive'.
2007-03-08 09:46:44 +00:00
Darkvater
2536a14abd
(svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
2007-03-07 18:58:28 +00:00
miham
5e1351b377
(svn r9054) -Update: WebTranslator2 update to 2007-03-07 18:39:14
...
catalan - 2 fixed by arnaullv (2)
croatian - 95 fixed, 34 changed by Ydobon (129)
czech - 1 fixed, 3 deleted, 109 changed by Hadez (113)
danish - 4 fixed by ThomasA (4)
dutch - 2 fixed by habell (2)
esperanto - 5 fixed by LaPingvino (5)
french - 2 fixed by glx (2)
german - 1 fixed by Neonox (1)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by sidew (1)
japanese - 14 fixed by ickoonite (14)
korean - 9 fixed by Nios (9)
norwegian_nynorsk - 1 fixed by Eikje3 (1)
polish - 2 fixed by meush (2)
simplified_chinese - 5 fixed by Fishingsnow (5)
slovenian - 1 fixed by Necrolyte (1)
spanish - 5 fixed by eusebio (5)
swedish - 5 fixed by daishan (5)
traditional_chinese - 7 fixed by sam0737 (7)
ukrainian - 1 fixed by znikoz (1)
2007-03-07 17:42:09 +00:00
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
glx
0b5cbecd3d
(svn r9048) -Fix r9040: non-bool used as bool
2007-03-06 23:27:14 +00:00
rubidium
1e8a2e19b3
(svn r9043) -Fix [FS#652]: the personal (.openttd) directories were hidden in the load/save directory listings (stepancheg).
2007-03-06 22:37:04 +00:00
belugas
7a58642b6c
(svn r9042) -Add : Maedhros as a developper
2007-03-06 22:16:43 +00:00
bjarni
f61f1962c5
(svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares the code to figure out if an aircraft is buildable in the hangar in question
...
This should help ensuring that the build command and the list are consistent in what aircraft are buildable
2007-03-06 22:11:58 +00:00
bjarni
a24913d461
(svn r9039) -Fix r9034: missed the _pause in cocoa_v.mm
2007-03-06 22:01:59 +00:00
rubidium
a2b5b74b83
(svn r9038) -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server.
2007-03-06 22:00:42 +00:00
maedhros
68020bfa6d
(svn r9037) -Feature: [NewGRF] Add support for Action 13, which allows you to translate
...
grf-specific texts. The translations will only be shown if you're using a
language with a grf language id and if a string hasn't already been set
specifically for the language you're using.
2007-03-06 22:00:13 +00:00
rubidium
f1abcf0ff7
(svn r9036) -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use inttypes.h which defines the things we need from stdint.h.
2007-03-06 21:18:25 +00:00
truelight
621ea1d863
(svn r9035) -Fix [SunOS]: Solaris sometimes has pid_t defined as long. Fix warnings in those cases
2007-03-06 21:14:48 +00:00
truelight
43133c766c
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
...
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
2007-03-06 20:59:52 +00:00
maedhros
1c7df202c6
(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states that are
...
mutually exclusive. At the same time, add an INITIALISED state which makes it
possible to check if a grf is not yet active but will be later on during the
GLS_ACTIVATION loading stage.
2007-03-06 19:33:28 +00:00
maedhros
60703d3691
(svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask.
2007-03-06 19:12:56 +00:00
rubidium
b5f418d9f1
(svn r9027) -Fix [FS#664]: desync caused by buffer overrun.
2007-03-06 18:03:06 +00:00
richk
4b2ff65e0e
(svn r9022) -Fix [FS#660]: Airport state machine fails if the adjustment in position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur.
...
Full solution is to allow minor corrections without changing the facing of the aircraft. (spotted by ledow)
2007-03-05 23:00:43 +00:00
miham
71e4bb484c
(svn r9021) [Translations] -Fix: removed empty strings once again.
2007-03-05 20:00:43 +00:00
miham
3859bde772
(svn r9020) -Update: WebTranslator2 update to 2007-03-05 19:56:28
...
american - 17 fixed by WhiteRabbit (17)
brazilian_portuguese - 4 fixed by fukumori (4)
bulgarian - 1 fixed by thetitan (1)
catalan - 4 fixed by arnaullv (4)
czech - 5 fixed, 39 changed by Hadez (44)
dutch - 4 fixed by habell (4)
finnish - 7 fixed by pallokala (7)
greek - 10 fixed by thanoulas (10)
italian - 4 fixed by sidew (4)
polish - 3 fixed, 5 changed by meush (8)
portuguese - 3 fixed by izhirahider (3)
romanian - 17 fixed, 8 changed by kneekoo (25)
russian - 3 changed by DarkFenX (3)
slovak - 4 fixed, 30 changed by lengyel (34)
ukrainian - 6 fixed by znikoz (6)
2007-03-05 18:57:19 +00:00
truelight
657be6d2d0
(svn r9019) -Fix: use <> for system-headers
2007-03-05 18:00:18 +00:00
miham
53caedd0bf
(svn r9018) -Change: added SunOS as OS name in the quit dialog
2007-03-05 17:05:41 +00:00
celestar
f8e7d08885
(svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.
...
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10)
Note: With this commit, building and running on Solaris 10 works, thus
we officially support this OS now :)
2007-03-05 09:35:45 +00:00
tron
e092b2d8c7
(svn r9015) -Fix
...
NL at EOF
2007-03-05 05:03:28 +00:00
tron
89d03d004a
(svn r9014) -Fix
...
Improve translation using gender tags
2007-03-05 05:02:24 +00:00
tron
8dfe956a37
(svn r9013) -Fix
...
Remove incorrect empty translation
2007-03-05 05:01:06 +00:00
Darkvater
915ae8ffc2
(svn r9012) -Fix/Feature (UTF8): When cutting strings into multiple lines also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'.
...
-Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
2007-03-05 00:45:56 +00:00
Darkvater
aea64adbb9
(svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset
2007-03-05 00:34:48 +00:00
Darkvater
b3f59814de
(svn r9009) -Fix (r1): Determine whether to play a sound or not when entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now.
2007-03-04 22:14:32 +00:00
miham
ebe9bd4539
(svn r9005) -Update: WebTranslator2 update to 2007-03-04 09:03:25
...
bulgarian - 13 fixed by groupsky (13)
danish - 13 fixed by ThomasA (13)
french - 4 fixed, 6 changed by glx (4), Skiper (6)
german - 4 fixed by Neonox (4)
hungarian - 3 fixed by miham (3)
norwegian_bokmal - 13 fixed by oletk (13)
norwegian_nynorsk - 20 fixed, 1 changed by pollux (21)
portuguese - 4 fixed by izhirahider (4)
russian - 4 fixed, 10 changed by DarkFenX (14)
simplified_chinese - 13 fixed by Fishingsnow (13)
slovenian - 4 fixed by Necrolyte (4)
traditional_chinese - 2 fixed by thomasau (2)
2007-03-04 08:05:43 +00:00
Darkvater
0d643c624b
(svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence.
2007-03-04 00:49:40 +00:00
rubidium
ead8c82ab6
(svn r9002) -Update: remove strings removed in r9001 from languages other than English.
2007-03-03 22:15:37 +00:00
rubidium
35fde14a52
(svn r9001) -Codechange: remove duplication of functions and strings with respect to the news of new vehicles.
2007-03-03 22:03:15 +00:00
rubidium
cf47f2a856
(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".
2007-03-03 20:43:52 +00:00
rubidium
2061d6af27
(svn r8999) -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode.
2007-03-03 20:43:50 +00:00
Darkvater
e33a8d3caa
(svn r8995) -Fix (FS#620, r8464): revert properly (reversion of r4322) internal speeds
2007-03-03 13:36:25 +00:00
Darkvater
b024134c6a
(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.
2007-03-03 13:13:25 +00:00
peter1138
db2f57e3a1
(svn r8990) -Fix: more indenting and variable scoping
2007-03-03 10:48:25 +00:00
peter1138
8f2a554864
(svn r8989) -Fix: more indenting and variable scoping
2007-03-03 09:58:20 +00:00
peter1138
55d544d47e
(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage
2007-03-03 09:40:34 +00:00
belugas
b71354dc40
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
2007-03-03 04:04:22 +00:00
rubidium
6887fbbaaf
(svn r8980) -Fix (FS#656): the industry list should also be (re)set when the number of industries is 0.
2007-03-02 19:57:55 +00:00
rubidium
517f2bcc57
(svn r8979) -Fix (r8978): unsigned vs signed comparisons.
2007-03-02 18:57:54 +00:00
richk
d11e36e477
(svn r8978) -Feature: Rewrite of transfer system.
...
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
2007-03-02 18:49:11 +00:00
Darkvater
0961e1bc56
(svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
2007-03-02 17:54:52 +00:00