rubidium
37e3cbb980
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
2007-06-22 22:28:15 +00:00
truelight
b5a9cc0ed8
(svn r10286) -Fix r10284: nice typo (tnx glx)
2007-06-22 22:25:21 +00:00
truelight
9a93718898
(svn r10284) -Fix [FS#899]: in the unlucky event 2 clients join at the same time to start a new company while there is only one spot left, all clients became spectator. Now only make either one of the joining clients spectator (much more game-friendly ;))
2007-06-22 22:14:42 +00:00
rubidium
f42734a5ff
(svn r10283) -Fix [FS#913]: catenary was drawn on bridges when elrail was disabled. Patch by B. N. SmatZ!.
2007-06-22 21:48:41 +00:00
truelight
44a9fea388
(svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPU
2007-06-22 20:07:39 +00:00
truelight
7bfc7d19e8
(svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
...
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
2007-06-22 20:04:21 +00:00
glx
d5f4251823
(svn r10273) -Change: remove the strings removed in r10270 from the translations
2007-06-22 19:42:00 +00:00
glx
ad41b2dbd4
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
2007-06-22 19:30:59 +00:00
truelight
28a006ec1f
(svn r10271) -Fix r9563: move the Transparency Option menu item to the place it should have been in the first place: Option Menu, not Map Menu (go figure :p)
2007-06-22 18:43:11 +00:00
truelight
80bcbce62b
(svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
2007-06-22 18:28:44 +00:00
rubidium
db097a94db
(svn r10269) -Fix [FS#912]: station ratings were shown for all cargos instead of only the cargos that have been transported.
2007-06-22 17:34:04 +00:00
rubidium
60c61e5116
(svn r10268) -Fix: some old savegames could have the wrong bits unset (follow up of r10147)
2007-06-22 17:33:13 +00:00
glx
68ff3bc90f
(svn r10267) -Add: enable double clic to add in 'add newgrf' window
2007-06-22 13:10:56 +00:00
rubidium
fc201d4ad8
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-22 11:58:59 +00:00
truelight
dc82eeb2ae
(svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action
2007-06-22 10:57:53 +00:00
rubidium
4312cec2c0
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
2007-06-21 19:18:49 +00:00
rubidium
328d369f64
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21 19:08:47 +00:00
rubidium
f91e05a66b
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
2007-06-21 17:38:59 +00:00
miham
377a5e40c0
(svn r10260) -Update: WebTranslator2 update to 2007-06-21 19:36:07
...
piglatin - 12 fixed by adammw (12)
2007-06-21 17:36:16 +00:00
rubidium
75ebd2c5a8
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
2007-06-21 17:27:21 +00:00
rubidium
d0fa4eb9de
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
miham
a482793a32
(svn r10257) -Update: WebTranslator2 update to 2007-06-21 19:15:05
...
danish - 25 fixed, 50 changed by ThomasA (75)
finnish - 117 fixed by habazi (117)
hungarian - 6 fixed by miham (6)
romanian - 8 fixed, 9 changed by CrystyB (17)
spanish - 7 fixed by jfrank (7)
ukrainian - 28 fixed by mad (25), fevral13 (3)
2007-06-21 17:18:33 +00:00
belugas
ad446daf33
(svn r10256) -Add: Addition of IndustryTileOverrideManager
2007-06-21 17:09:10 +00:00
truelight
f58ea51e2a
(svn r10255) -Codechange: remove some old debug code nobody was using anymore
2007-06-21 16:53:57 +00:00
truelight
66a136be09
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
2007-06-21 16:17:47 +00:00
rubidium
21711da99d
(svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small.
2007-06-21 16:12:31 +00:00
rubidium
a571d7f954
(svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money.
2007-06-21 15:57:14 +00:00
glx
f7b378df33
(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
fecf81496a
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
2007-06-21 15:37:05 +00:00
rubidium
3307cb32f4
(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
dffad5260b
(svn r10248) -Codechange: don't limit the cost of tunnels.
2007-06-21 14:58:30 +00:00
rubidium
1b27095c83
(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
0d8e82b7d7
(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
c755fa43d0
(svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory
2007-06-21 13:56:59 +00:00
truelight
2f0500a438
(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
d183723d39
(svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions
2007-06-21 13:30:23 +00:00
truelight
426de65b18
(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
d614cec205
(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
36afc46e2a
(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
07a11f05ae
(svn r10239) -Fix (r10236): The pin button didn't move when resizing the timetable gui.
2007-06-20 20:02:30 +00:00
maedhros
d5da0e0740
(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
29490c6bec
(svn r10237) -Fix (r10236): It helps if you use svn add with new files...
2007-06-20 19:26:25 +00:00
maedhros
7fb6e8f11d
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
2007-06-20 19:17:22 +00:00
truelight
59b54b3b02
(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
0e4a7125ae
(svn r10234) -Fix r10233: make peter1138 happy
2007-06-20 10:30:25 +00:00
truelight
5eff2951cc
(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
d4632dee67
(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
9e55573616
(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
fe7f4a2f9c
(svn r10229) -Cleanup: removed duplicate include (dihedral)
2007-06-19 19:49:03 +00:00
rubidium
0d623dbed4
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
2007-06-19 19:04:25 +00:00
truelight
9efe1d6776
(svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites)
2007-06-19 17:43:30 +00:00
belugas
c492167f74
(svn r10226) -Codechange: Add support for newindustry tiles drawing.
...
Heavily based on Maedhros's newhouses implementation
2007-06-19 17:33:12 +00:00
truelight
bd215277b5
(svn r10225) -Codechange: move common Colour routines for 32bpp to the base class (and nick it colour, not color)
2007-06-19 17:32:01 +00:00
rubidium
bf0be8f0bc
(svn r10224) -Fix [FS#891]: the town road belongs to didn't get set properly when a town builds road over tram bits.
2007-06-19 17:27:59 +00:00
glx
554639ce92
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
2007-06-19 17:13:25 +00:00
peter1138
195ef32835
(svn r10222) -Fix [FS#892]: Only 2 trains could crash at one time as collision checking stopped on the first hit. This could cause desyncs in network games as the collision hash order is not guaranteed. (patch by B. N. Smatz)
2007-06-19 16:40:59 +00:00
rubidium
911f37ee94
(svn r10221) -Fix: the one way sprites weren't drawn in the correct order, so they could remove the tramtrack in some cases.
2007-06-19 15:56:03 +00:00
truelight
766168ad43
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
2007-06-19 15:40:27 +00:00
rubidium
1e73884c10
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
2007-06-19 15:34:43 +00:00
glx
6f25b5db0d
(svn r10218) -Fix r10216: more compile errors
2007-06-19 15:26:10 +00:00
truelight
f5271393e1
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
2007-06-19 15:18:26 +00:00
truelight
cd10965a27
(svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
...
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-19 15:04:08 +00:00
truelight
b63c8b8342
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
2007-06-19 12:19:31 +00:00
truelight
a2b14e718a
(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)
2007-06-19 12:18:24 +00:00
rubidium
f765b3d6aa
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
2007-06-19 00:05:26 +00:00
glx
623a848cca
(svn r10211) -Feature: [NewGRF] Add support for action 0F
2007-06-18 23:00:55 +00:00
rubidium
8220153e6b
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
2007-06-18 22:49:55 +00:00
rubidium
6900de65b9
(svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
2007-06-18 22:09:54 +00:00
rubidium
23727da96f
(svn r10208) -Codechange: replace int32 with Money where appropriate.
2007-06-18 21:44:47 +00:00
rubidium
7dda2d93da
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
2007-06-18 21:00:14 +00:00
truelight
6785ea670f
(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer
2007-06-18 20:08:21 +00:00
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
truelight
d7736f6b83
(svn r10203) -Codechange: more moving things to blitter-layer: DrawLine
2007-06-18 19:38:23 +00:00
peter1138
704a67ff0b
(svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go.
2007-06-18 18:45:12 +00:00
rubidium
82e79b847e
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
2007-06-18 16:42:40 +00:00
KUDr
80d71953ba
(svn r10199) -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely in some cases (1 tile long cached segment followed by target station) stops on assert (immeR)
2007-06-18 14:40:07 +00:00
rubidium
5718743722
(svn r10198) -Fix (r10194): did not search all search paths.
2007-06-18 11:04:12 +00:00
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
miham
fd2cee1864
(svn r10196) -Update: WebTranslator2 update to 2007-06-18 10:15:44
...
japanese - 2 fixed by ickoonite (2)
slovenian - 3 fixed by Necrolyte (3)
2007-06-18 08:17:31 +00:00
rubidium
e2f839b6a2
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
2007-06-17 21:26:57 +00:00
truelight
cdf6192ce0
(svn r10193) -Fix r10190: somehow an other partly-patch was applied too
2007-06-17 20:47:11 +00:00
truelight
32406b0c18
(svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver
2007-06-17 20:40:02 +00:00
rubidium
28f97c790a
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
2007-06-17 20:36:14 +00:00
truelight
79cd3f5db0
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17 20:30:28 +00:00
rubidium
c016eca97f
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
2007-06-17 20:09:05 +00:00
rubidium
265d5ea813
(svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough.
2007-06-17 19:46:01 +00:00
glx
ffbd022a12
(svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32)
2007-06-17 19:00:45 +00:00
rubidium
6c0ba8e879
(svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime).
2007-06-17 18:22:43 +00:00
rubidium
c4d5faa248
(svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore.
2007-06-17 18:18:18 +00:00
rubidium
3c7a85fe94
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
4e4b152adb
(svn r10181) -Fix (r10093): clamp the zoom level so it won't try to use a wrong zoom level when loading an old savegame.
2007-06-17 13:27:50 +00:00
rubidium
7fbd4e4ab4
(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc.
2007-06-17 13:26:19 +00:00
maedhros
8765343e2e
(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.
2007-06-17 11:01:58 +00:00
peter1138
70b6716b98
(svn r10177) -Fix: Passengers has one A and two Es (ln)
2007-06-17 10:47:30 +00:00
maedhros
e0e380e8d9
(svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window.
2007-06-17 10:14:47 +00:00
miham
37aac4a816
(svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english...
2007-06-17 07:24:39 +00:00
miham
da55f0cfe8
(svn r10174) -Fix: [Translations]: piglatin plural forms had some problem..
2007-06-17 07:21:02 +00:00
miham
974c5dbe00
(svn r10173) -Add: Translations: added new language "Pig Latin". Already "pre-translated", only needs checking. Idea of Piglatin language was from Adam M-W
2007-06-17 05:45:05 +00:00
belugas
7f3c41b5bf
(svn r10172) -Fix(r10127): Wrong evaluation order on variable 0x41 for industry tile.
...
The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around.
2007-06-17 01:01:15 +00:00
rubidium
e355b1e55a
(svn r10170) -Codechange: remove some duplication of code.
2007-06-16 12:03:36 +00:00
rubidium
6c87da4fec
(svn r10169) -Fix [FS#875]: trunk did still tell Windows that it was version 0.5.0(.0), so now we use a "bogus" version number to tell it's not a real release. The version number that will be shown in-game will not change, only the version number in the file properties.
2007-06-16 11:13:30 +00:00
rubidium
f5f1909b23
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
2007-06-16 10:10:22 +00:00
belugas
0f0b58d429
(svn r10167) -Codechange: Change the flagging system of grf loaded feature from a bitset to a bool evaluation.
...
Like easier to read and faster to evaluate :)
2007-06-15 23:55:52 +00:00
peter1138
77b29ea3bc
(svn r10166) -Feature(tte): Add support for antialiased typefaces via FreeType. This is configurable for each font size in the configuration settings and requires using the 32bpp blitter and suitable fonts.
2007-06-15 16:21:56 +00:00
rubidium
3efca64a94
(svn r10165) -Fix [FS#874]: crash when trying to get the aircraft movement state of an aircraft going to a just deleted airport.
2007-06-15 08:05:24 +00:00
miham
dcface1b3b
(svn r10164) -Update: WebTranslator2 update to 2007-06-15 07:44:28
...
catalan - 2 fixed by arnaullv (2)
dutch - 2 fixed by habell (2)
esperanto - 1 fixed by LaPingvino (1)
norwegian_bokmal - 24 fixed by oletk (24)
turkish - 16 fixed by jnmbk (16)
2007-06-15 05:44:45 +00:00
belugas
0dc6ed160c
(svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way.
2007-06-15 01:53:43 +00:00
rubidium
46e531da72
(svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable.
2007-06-14 15:24:34 +00:00
truelight
5d55a9435b
(svn r10157) -Fix: use as indentified for PNGs, the place of the image as it was in the grf, not the internal SpriteID
2007-06-14 14:31:48 +00:00
truelight
083504c12e
(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images
2007-06-14 14:11:08 +00:00
rubidium
3cdf29af0d
(svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport.
2007-06-14 08:39:27 +00:00
rubidium
6cd88fd449
(svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!.
2007-06-13 23:43:00 +00:00
rubidium
5644794af9
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
2007-06-13 23:14:08 +00:00
truelight
bda903e70b
(svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available
2007-06-13 19:34:33 +00:00
truelight
402052509f
(svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx)
2007-06-13 19:05:42 +00:00
truelight
063c4f7862
(svn r10148) -Fix r10143: make --without-png to compile again
2007-06-13 18:52:06 +00:00
rubidium
a84e6b015d
(svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases.
2007-06-13 18:36:04 +00:00
belugas
920b4feb9d
(svn r10146) -Codechange: Silence a compiler warning
...
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
2007-06-13 18:35:06 +00:00
rubidium
8ed345d5fb
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
2007-06-13 17:34:05 +00:00
truelight
19513f2604
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
...
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
2007-06-13 16:21:11 +00:00
truelight
63f56f811b
(svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it
2007-06-13 16:04:35 +00:00
celestar
8d623faf0d
(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb)
2007-06-13 15:24:40 +00:00
rubidium
d88f4bc78c
(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
2007-06-13 15:22:28 +00:00
rubidium
e64eede717
(svn r10139) -Fix: all inner parts of OpenTTD assume that the resolution is at least 1 by 1, so force the resolution to be always at least 1 by 1.
2007-06-13 14:57:42 +00:00
rubidium
0a4a4875fb
(svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played.
2007-06-13 14:56:27 +00:00
rubidium
779fd2fa42
(svn r10137) -Add: console command to get the current game date.
2007-06-13 14:52:41 +00:00
truelight
f782a311f8
(svn r10132) -Codechange: split out the last direct video-buffer read access to the blitter-layer
...
-Add: added a new renderer and blitter to make room for some optimized bpp
-Fix: fill the alpha channel in the grf-spriteloader
2007-06-13 10:31:40 +00:00
rubidium
5eda486f93
(svn r10131) -Fix [FS#810]: when removing a dock, a ship will always try to reach the old location of the dock even when it cannot anymore because it the old location of the dock is now land instead of water.
2007-06-13 09:12:10 +00:00
maedhros
bfecf0268d
(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.
2007-06-13 07:59:20 +00:00
peter1138
cb54a561ef
(svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has.
2007-06-13 07:14:42 +00:00
peter1138
19db4ee85c
(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message
2007-06-13 06:42:43 +00:00
belugas
107c84c3ab
(svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
...
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles
-Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
2007-06-13 02:29:08 +00:00
glx
3de8438314
(svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were
2007-06-13 01:38:00 +00:00
rubidium
0b90d5319d
(svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
2007-06-12 23:35:10 +00:00
truelight
a1603f51f2
(svn r10124) -Fix r10123: fix the OSX video driver properly
2007-06-12 23:10:47 +00:00
bjarni
5d013d166e
(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again
2007-06-12 23:06:56 +00:00
maedhros
f8ae742da4
(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
2007-06-12 22:13:49 +00:00
truelight
0e53fd6d32
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
2007-06-12 20:24:12 +00:00
miham
b729f5d08d
(svn r10119) -Update: WebTranslator2 update to 2007-06-12 20:09:56
...
bulgarian - 1 fixed by thetitan (1)
estonian - 23 changed by kristjans (23)
italian - 2 fixed by lorenzodv (2)
korean - 2 fixed by darkttd (2)
romanian - 28 fixed, 59 changed by CrystyB (87)
swedish - 31 fixed by giddorah (31)
ukrainian - 3 fixed by mad (3)
2007-06-12 18:10:14 +00:00
maedhros
12b359fa32
(svn r10117) -Fix [FS#863]: When deleting the vehicles of bankrupt players, delete trains as
...
a whole rather than each part individually, as that leads to invalid tests on
parts that have already been deleted.
2007-06-12 17:10:52 +00:00
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
2007-06-12 15:46:34 +00:00
belugas
443db4bb2e
(svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
...
Implementation will follow soon.
2007-06-12 14:22:28 +00:00
maedhros
94d390eac4
(svn r10114) -Fix: Only load newgrf error messages if the language matches the current
...
language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
2007-06-12 13:22:14 +00:00
peter1138
8f7dea3f4f
(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments
2007-06-12 12:27:40 +00:00
peter1138
ce590b59f3
(svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003')
2007-06-12 11:22:32 +00:00
maedhros
e5ea54fe22
(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply".
2007-06-12 09:41:12 +00:00
rubidium
961a891563
(svn r10109) -Fix [FS#838]: some NewGRFs use the same (unused in the "current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD).
2007-06-12 09:40:50 +00:00
belugas
af35821a2a
(svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
...
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
2007-06-12 00:49:50 +00:00
peter1138
f94300a433
(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'
2007-06-11 21:17:02 +00:00
rubidium
06f9baac62
(svn r10106) -Fix (r10098): there's always a compiler complaining about something...
2007-06-11 19:29:42 +00:00