matthijs
02c54475fa
(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).
17 years ago
matthijs
a0a9a7f3cd
(svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel.
...
-Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
17 years ago
peter1138
a6da8c9519
(svn r10344) -Fix (r10317): confusion between TRACK_n and TRACK_BIT_n stopped NW/SE slopes being picked up, and compare middle of tile against current z, not previous.
17 years ago
belugas
15d4a27c89
(svn r10343) -Cleanup: Add documentation of functions and code-style fix.
...
Thanks of 45 degree patch for bringing it up
17 years ago
miham
6efd909fc9
(svn r10342) -Update: WebTranslator2 update to 2007-06-26 18:48:16
...
american - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 17 fixed by tucalipe (17)
catalan - 15 fixed, 10 changed by arnaullv (25)
dutch - 9 fixed by Zr40 (9)
estonian - 1 fixed by kristjans (1)
french - 17 fixed by glx (17)
german - 29 fixed by moewe2 (29)
hungarian - 17 fixed by miham (17)
italian - 17 fixed, 1 changed by lorenzodv (17), bluesboy84 (1)
japanese - 19 fixed by ickoonite (19)
korean - 19 fixed by darkttd (19)
norwegian_bokmal - 58 fixed by oletk (58)
polish - 113 fixed, 32 changed by meush (145)
romanian - 18 fixed by kneekoo (18)
russian - 15 fixed by Smoky555 (15)
slovak - 86 fixed by lengyel (86)
spanish - 113 fixed by eusebio (113)
swedish - 30 fixed by giddorah (30)
traditional_chinese - 16 fixed by xbddc (16)
turkish - 21 fixed by jnmbk (21)
ukrainian - 15 fixed by znikoz (10), fevral13 (4), mad (1)
17 years ago
maedhros
821d10f44c
(svn r10341) -Fix (r10236): Only update the timetable when leaving stations if this is a scheduled stop.
17 years ago
truelight
90fa779a24
(svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy
17 years ago
truelight
189fa7cca5
(svn r10339) -Fix r10311: if you fix your own name, at least also update your description ;)
17 years ago
maedhros
6fe1113382
(svn r10338) -Codechange: Show the total time that the timetable will take.
17 years ago
peter1138
8b314ffd1f
(svn r10337) -Fix [FS#880]: Autoreplace is only valid for the standard vehicle list, not station or shared order lists.
17 years ago
peter1138
dc78cf178c
(svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases incorrectly stopped signal updates
17 years ago
maedhros
fb284a9264
(svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
17 years ago
peter1138
217765fc0b
(svn r10334) -Fix [FS#937]: with smooth scrolling enabled, the viewport destination was not clamped to the map
17 years ago
rubidium
36945fd628
(svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame screen and high score chart.
17 years ago
rubidium
3c3c02d0fb
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
17 years ago
maedhros
4af9ca5335
(svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
...
the times from the first (or subsequent) run-throughs.
17 years ago
peter1138
2fce0506a6
(svn r10330) -Fix [FS#939]: budget window used wrong param for loan repay/borrow amounts
17 years ago
rubidium
8b2c8b6164
(svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map.
17 years ago
maedhros
992d64b0fb
(svn r10328) -Codechange: Close the timetable window when closing the vehicle window.
17 years ago
maedhros
9216eabb54
(svn r10327) -Fix (r10236) [FS#934]: Vehicles wait at stations when they arrive early even
...
if they haven't been timetabled to wait, so make sure the lateness counter gets
updated as well.
17 years ago
peter1138
ff126a9c1d
(svn r10326) -Update: change to new string codes used in english.txt
17 years ago
peter1138
b957786ea4
(svn r10325) -Fix (r10323): Missed 3 company name references
17 years ago
peter1138
d69589b3c2
(svn r10324) -Codechange: reference engine names by index
17 years ago
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
17 years ago
maedhros
0e59b4dc57
(svn r10322) -Codechange: Make the timetable window smaller by default so it doesn't take up so much space on small resolutions.
17 years ago
peter1138
fd73ea2058
(svn r10321) -Codechange: refer to sign text by index
17 years ago
rubidium
5c6106cbcf
(svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them.
17 years ago
rubidium
1904f8e838
(svn r10319) -Fix (r10266): the limit of 65535 references was not enough for cargo packets. Increase this limit to approximately 2^32, which noone should ever be able to reach on any normal system ;)
17 years ago
miham
15de25dd83
(svn r10318) -Update: WebTranslator2 update to 2007-06-25 11:14:04
...
bulgarian - 7 fixed by thetitan (7)
catalan - 2 fixed, 2 changed by arnaullv (4)
danish - 15 fixed, 5 changed by ThomasA (20)
dutch - 8 fixed, 39 changed by Zr40 (45), webfreakz (2)
estonian - 2 fixed, 2 changed by t2t2 (4)
french - 7 fixed by Skiper (7)
hungarian - 1 fixed by miham (1)
italian - 2 fixed, 2 changed by lorenzodv (4)
russian - 57 fixed by Smoky555 (57)
spanish - 8 fixed by eusebio (8)
traditional_chinese - 1 fixed, 2 changed by xbddc (3)
turkish - 52 fixed by jnmbk (52)
ukrainian - 3 fixed, 2 changed by fevral13 (5)
17 years ago
rubidium
9c0ccadbe0
(svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.
17 years ago
peter1138
74e34ee729
(svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
17 years ago
miham
d1805ed054
(svn r10315) -Update: WebTranslator2 update to 2007-06-25 06:40:44
...
american - 5 fixed by WhiteRabbit (5)
estonian - 11 fixed by t2t2 (11)
hungarian - 6 fixed, 2 changed by miham (8)
italian - 2 changed by lorenzodv (2)
japanese - 5 fixed by ickoonite (5)
norwegian_nynorsk - 6 fixed by pollux (6)
romanian - 6 fixed, 2 changed by kneekoo (8)
russian - 8 fixed, 2 changed by Smoky555 (10)
slovenian - 5 fixed by Sonicelo (5)
traditional_chinese - 5 fixed by xbddc (5)
ukrainian - 10 fixed by fevral13 (10)
17 years ago
peter1138
fc7418d19d
(svn r10314) -Codechange: Refer to vehicle names by index
17 years ago
rubidium
ce91598e3c
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
17 years ago
rubidium
7f8535526b
(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
17 years ago
orudge
a191162f59
(svn r10311) -Fix: I'm not retired, just relatively inactive ;)
17 years ago
orudge
0bad65bf78
(svn r10310) -Fix: Trunk can now be built on OS/2 :)
17 years ago
rubidium
58451059de
(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
17 years ago
rubidium
1caa0f7fb7
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
17 years ago
rubidium
b17b9351dd
(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening.
17 years ago
miham
af5667394c
(svn r10305) -Update: WebTranslator2 update to 2007-06-24 18:32:39
...
american - 33 fixed by WhiteRabbit (33)
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan - 5 fixed, 7 changed by arnaullv (12)
italian - 5 fixed by lorenzodv (5)
japanese - 8 fixed by ickoonite (8)
korean - 5 fixed, 2 changed by darkttd (7)
norwegian_nynorsk - 36 fixed by pollux (36)
portuguese - 7 fixed by izhirahider (7)
slovenian - 32 fixed by Necrolyte (32)
traditional_chinese - 78 fixed, 2 changed by xbddc (80)
17 years ago
KUDr
59090c53d8
(svn r10304) -Fix [YAPF](r10301): removed assert which could violate without danger when searching for the nearest depot. From now on the segment can be closed without reason in that case (peter1138)
17 years ago
KUDr
ac9fb1c34e
(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
17 years ago
KUDr
a7d5363e65
(svn r10302) -Fix [YAPF, MP]: now (with r10301) it is no longer needed to invalidate the YAPF segment cache every tick in MP. Segment cost now doesn't contain the curves between segments. As a result the cache should be now accurate.
17 years ago
KUDr
ef4c335cb4
(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR)
17 years ago
rubidium
c600158c1d
(svn r10300) -Fix [FS#917]: give a better explanation why the loading of a savegame failed and do not crash on loading savegames that were altered by patches or branches.
17 years ago
rubidium
e12e83ef5f
(svn r10299) -Codechange [FS#931]: industry foundations should be drawn as all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
17 years ago
rubidium
6402d00190
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
17 years ago
rubidium
be35df3f03
(svn r10297) -Codechange: increase the performance of CargoPacket::AllocateRaw using a very simple "caching" system.
17 years ago
miham
e1958a1d59
(svn r10296) -Update: WebTranslator2 update to 2007-06-23 20:35:10
...
brazilian_portuguese - 38 fixed by tucalipe (38)
catalan - 35 fixed, 10 changed by arnaullv (45)
dutch - 33 fixed by webfreakz (14), habell (19)
estonian - 4 fixed by kristjans (4)
french - 32 fixed by glx (32)
hungarian - 7 fixed by miham (7)
italian - 34 fixed, 1 changed by lorenzodv (35)
korean - 34 fixed by darkttd (34)
romanian - 59 fixed by kneekoo (59)
russian - 45 fixed, 11 changed by Smoky555 (56)
swedish - 29 fixed by giddorah (29)
ukrainian - 1 fixed by mad (1)
17 years ago
truelight
0844eaabc5
(svn r10295) -Fix [FS#775]: flush stdout on dedicated server output to ensure an update of stdout (Zuu)
17 years ago
truelight
62cb041238
(svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious)
17 years ago
truelight
834d0cf79e
(svn r10293) -Add [FS#885]: a sticky button for the client list window (oxygene)
17 years ago
KUDr
6ced6f8f5f
(svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning C4258: 'y' : definition from the for loop is ignored; the definition from the enclosing scope is used" which prevents compilation on MSVC 2003
17 years ago
truelight
2d591ec1af
(svn r10291) -Fix [FS#920]: double click in town-GUI didn't work as expected
17 years ago
truelight
27a6e21975
(svn r10290) -Fix: with smooth_economy, when industry production hit 32, it stayed there for ever. Give it some chance to get out of that uber-lowness (although it is a very slim chance, at least it has one)
17 years ago
rubidium
2d42f4544d
(svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}.
17 years ago
truelight
34723257f0
(svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan)
17 years ago
rubidium
117368a5a9
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
17 years ago
truelight
8d415469cc
(svn r10286) -Fix r10284: nice typo (tnx glx)
17 years ago
truelight
cc6ee1840a
(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 ;))
17 years ago
rubidium
a56661fcc1
(svn r10283) -Fix [FS#913]: catenary was drawn on bridges when elrail was disabled. Patch by B. N. SmatZ!.
17 years ago
truelight
60f0610a85
(svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPU
17 years ago
truelight
2e19d3cf78
(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
17 years ago
glx
e90b072c11
(svn r10273) -Change: remove the strings removed in r10270 from the translations
17 years ago
glx
337d56d4bb
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
17 years ago
truelight
cc533d77e5
(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)
17 years ago
truelight
f80fa33cc5
(svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
17 years ago
rubidium
74b867db72
(svn r10269) -Fix [FS#912]: station ratings were shown for all cargos instead of only the cargos that have been transported.
17 years ago
rubidium
96d208d04b
(svn r10268) -Fix: some old savegames could have the wrong bits unset (follow up of r10147)
17 years ago
glx
8dff21e421
(svn r10267) -Add: enable double clic to add in 'add newgrf' window
17 years ago
rubidium
e5c352818d
(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.
17 years ago
truelight
6159f58948
(svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action
17 years ago
rubidium
046b6f18da
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
17 years ago
rubidium
0b34c9aefe
(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.
17 years ago
rubidium
fb7964e902
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
17 years ago
miham
e432c7459e
(svn r10260) -Update: WebTranslator2 update to 2007-06-21 19:36:07
...
piglatin - 12 fixed by adammw (12)
17 years ago
rubidium
9feb9f84fc
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
17 years ago
rubidium
9c0944aa09
(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.
17 years ago
miham
c5225992c1
(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)
17 years ago
belugas
240bba540e
(svn r10256) -Add: Addition of IndustryTileOverrideManager
17 years ago
truelight
af8a234db0
(svn r10255) -Codechange: remove some old debug code nobody was using anymore
17 years ago
truelight
56eb1738ee
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
17 years ago
rubidium
2792019b78
(svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small.
17 years ago
rubidium
02154f38b8
(svn r10252) -Fix: never overflow when applying exchange rates before drawing the amount of money.
17 years ago
glx
3fe19238b2
(svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave the taskbar visible
17 years ago
rubidium
bc01e53967
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
17 years ago
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.
17 years ago
rubidium
709ec29563
(svn r10248) -Codechange: don't limit the cost of tunnels.
17 years ago
rubidium
eb1472a82d
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
17 years ago
rubidium
f806b46cc9
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
17 years ago
truelight
06fded123a
(svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory
17 years ago
truelight
e8f9332af9
(svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs
17 years ago
glx
edf68a04b0
(svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions
17 years ago
truelight
1fa725ecae
(svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim
17 years ago
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)
17 years ago
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)
17 years ago
maedhros
e93d82d4b2
(svn r10239) -Fix (r10236): The pin button didn't move when resizing the timetable gui.
17 years ago
maedhros
996fde1699
(svn r10238) -Fix (r10236): Resizing the timetable window caused it to think it could only show one line at a time.
17 years ago
maedhros
b2609653e4
(svn r10237) -Fix (r10236): It helps if you use svn add with new files...
17 years ago
maedhros
cf0118ee63
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
17 years ago
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)
17 years ago
truelight
636db862a5
(svn r10234) -Fix r10233: make peter1138 happy
17 years ago
truelight
d7acd238ac
(svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row were non-transparent (tnx boekabart)
17 years ago
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...
17 years ago
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.
17 years ago
glx
6e4264237e
(svn r10229) -Cleanup: removed duplicate include (dihedral)
17 years ago
rubidium
aec52c4ebd
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
17 years ago
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)
17 years ago
belugas
2ad0d708cc
(svn r10226) -Codechange: Add support for newindustry tiles drawing.
...
Heavily based on Maedhros's newhouses implementation
17 years ago
truelight
2a6b7e4e02
(svn r10225) -Codechange: move common Colour routines for 32bpp to the base class (and nick it colour, not color)
17 years ago
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.
17 years ago
glx
9e2e73f30b
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
17 years ago
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)
17 years ago
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.
17 years ago
truelight
65a3abe1c1
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
17 years ago
rubidium
265f8b7d5d
(svn r10219) -Fix [FS#882,FS#890]: land under foundations was terraform when it shouldn't be terraformed.
17 years ago
glx
fc3ec8689b
(svn r10218) -Fix r10216: more compile errors
17 years ago
truelight
a7dd710f06
(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx)
17 years ago
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
17 years ago
truelight
9ad02c11c6
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
17 years ago
truelight
b98e0ea648
(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)
17 years ago
rubidium
16ce2192e4
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
17 years ago
glx
23af871615
(svn r10211) -Feature: [NewGRF] Add support for action 0F
17 years ago
rubidium
7d6c255044
(svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
17 years ago
rubidium
fbb22487fc
(svn r10209) -Fix/Codechange: forgot a few changes of int32 -> Money in the previous commit
17 years ago
rubidium
2ee73b50b8
(svn r10208) -Codechange: replace int32 with Money where appropriate.
17 years ago
rubidium
7a72dcb3b5
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
17 years ago
truelight
26e9b5ca5f
(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer
17 years ago
rubidium
49220cc6f1
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
17 years ago
truelight
09879ea308
(svn r10203) -Codechange: more moving things to blitter-layer: DrawLine
17 years ago
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.
17 years ago
rubidium
b09431478d
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
17 years ago
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)
17 years ago
rubidium
0c369c21e0
(svn r10198) -Fix (r10194): did not search all search paths.
17 years ago
rubidium
966e2738b9
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
17 years ago
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)
17 years ago
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.
17 years ago
truelight
f5776a8c6b
(svn r10193) -Fix r10190: somehow an other partly-patch was applied too
17 years ago
truelight
9a93a6006b
(svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver
17 years ago
rubidium
6680a6a0e6
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
17 years ago
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
17 years ago
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>
17 years ago
rubidium
6d9393cb60
(svn r10187) -Fix: don't do a 270 degree turn on the international airport when a 90 degree turn is enough.
17 years ago
glx
22257f46c2
(svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32)
17 years ago
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).
17 years ago
rubidium
28b1809725
(svn r10184) -Fix: remove empty strings that are clearly bad. WT2 shouldn't add them anymore.
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
6c67bdcc71
(svn r10180) -Fix (r10167): do not reset the 2cc loaded feature setting when a (later) newgrf does not have 2cc.
17 years ago
maedhros
5a9c7b5899
(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.
17 years ago
peter1138
94bd08fc17
(svn r10177) -Fix: Passengers has one A and two Es (ln)
17 years ago
maedhros
cf4911ddaf
(svn r10176) -Fix (r10071): Deselect the currently selected order when clicking on an empty part of the orders window.
17 years ago
miham
f177c1769f
(svn r10175) -Fix: [Translations] Stupid me, {STRINGx} can only be used in english...
17 years ago
miham
4507044cbb
(svn r10174) -Fix: [Translations]: piglatin plural forms had some problem..
17 years ago
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
17 years ago
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.
17 years ago
rubidium
9f01009b39
(svn r10170) -Codechange: remove some duplication of code.
17 years ago
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.
17 years ago
rubidium
d58d721fab
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
17 years ago
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 :)
17 years ago
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.
17 years ago
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.
17 years ago
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)
17 years ago
belugas
402cf772f0
(svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way.
17 years ago
rubidium
0e2978720d
(svn r10158) -Codechange: port some changes from NoAI and FS#872 to make the loan commands a little better readable.
17 years ago
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
17 years ago
truelight
a61f0d9049
(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images
17 years ago
rubidium
0e5a6661f7
(svn r10155) -Fix [FS#601]: Airports didn't flood when there are aircraft on the airport.
17 years ago
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!.
17 years ago
rubidium
991996eb36
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
17 years ago
truelight
ab6883bc19
(svn r10150) -Fix r10148: show a message to users when using 32bpp blitter and no libpng available
17 years ago
truelight
79817428b1
(svn r10149) -Fix r10143: MSVC warnings... (tnx boekabart and glx)
17 years ago
truelight
4b51ea375b
(svn r10148) -Fix r10143: make --without-png to compile again
17 years ago
rubidium
2c6bf89e02
(svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases.
17 years ago
belugas
0b65070b36
(svn r10146) -Codechange: Silence a compiler warning
...
-Codechange: Comment style beautifying
-Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
17 years ago
rubidium
197a8fd5f3
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
17 years ago
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
17 years ago
truelight
4185c4afcd
(svn r10142) -Fix r10132: do something useful with the alpha channel instead of ignoring it
17 years ago
celestar
5f1791bfb1
(svn r10141) -Fix (FS#848, r8973): Set the newgrf bit for realistic plane speeds (bulb)
17 years ago
rubidium
91420c0d8d
(svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
112f05e705
(svn r10137) -Add: console command to get the current game date.
17 years ago
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
17 years ago
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.
17 years ago
maedhros
860fe49b80
(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.
17 years ago
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.
17 years ago
peter1138
f7e4d4d6e7
(svn r10128) -Fix (r4811): missing printf parameters in newgrf debug message
17 years ago
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)
17 years ago
glx
da1743e980
(svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were
17 years ago
rubidium
031565527e
(svn r10125) -Fix [FS#865]: under some circumstances the wagons of a train didn't get loaded properly.
17 years ago
truelight
2f5c49abc2
(svn r10124) -Fix r10123: fix the OSX video driver properly
17 years ago
bjarni
ee4208ffe9
(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again
17 years ago
maedhros
12be876131
(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
17 years ago
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
17 years ago
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)
17 years ago
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.
17 years ago
rubidium
73790d9cd6
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
17 years ago
belugas
4df44a4dff
(svn r10115) -Codechange: Create accessors to triggers and random bits for industries.
...
Implementation will follow soon.
17 years ago
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.
17 years ago
peter1138
d1e71eb34e
(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments
17 years ago
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')
17 years ago
maedhros
105c7455ae
(svn r10110) -Fix: Reset NewGRF errors along with all the other NewGRF data so that errors get loaded again when pressing "Apply".
17 years ago
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).
17 years ago
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.
17 years ago
peter1138
28c5730583
(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'
17 years ago
rubidium
01593bdb6a
(svn r10106) -Fix (r10098): there's always a compiler complaining about something...
17 years ago
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...
17 years ago
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)
17 years ago
maedhros
560a542354
(svn r10103) -Fix (r10086): TrackBitsToTrack doesn't cope well with TRACK_BIT_NONE (e.g. non-rail tiles), so use FindFirstTrack instead.
17 years ago
truelight
4ad6639475
(svn r10102) -Documentation: @file header was wrong
17 years ago
truelight
d2d25295ce
(svn r10101) -Codechange: the class is named 8bppSimple, so name the files like that too
17 years ago
truelight
31ade47910
(svn r10100) -Fix r10093: some code now became obsolete as it never did something
17 years ago
belugas
81c7c87ed7
(svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
...
Spotted by Oxygene
17 years ago
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 :)
17 years ago
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.
17 years ago
truelight
be0f5cf877
(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird
17 years ago
truelight
9d570fa018
(svn r10095) -Fix: avoid reading outside the buffer because of scaling problems
17 years ago
rubidium
f98b175cf5
(svn r10094) -Fix: some really broken strings got in.
17 years ago
truelight
a391f03ae2
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
17 years ago
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
17 years ago
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.
17 years ago
belugas
94200b63b8
(svn r10088) -Codechange: A typo and a code-style
17 years ago
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.
17 years ago
maedhros
fe3a7cc5ed
(svn r10086) -Codechange: Use more sensible types and functions in GenericPlaceSignals.
17 years ago
rubidium
a0ffa793cc
(svn r10085) -Fix [FS#839]: message that you had given money appeared even when an error occured.
17 years ago
rubidium
77b06e922f
(svn r10084) -Fix [FS#855]: reversing a train when loading at a station crashed.
17 years ago
rubidium
d0ad020dc6
(svn r10082) -Fix [FS#846]: another memory leak in the networking code (benc).
17 years ago
rubidium
7767e466e5
(svn r10081) -Fix [FS851]: towns/AIs didn't build bridges anymore (boekabart).
17 years ago
bjarni
ff40914740
(svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values
17 years ago
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)
17 years ago
belugas
08c9365971
(svn r10078) -Codechange: Centralize all industry counts data and access
17 years ago
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.
17 years ago
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)
17 years ago
rubidium
02146b13c8
(svn r10075) -Fix [FS#844]: small memory leak on some early returns.
17 years ago
belugas
9a4a911bde
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
17 years ago
rubidium
142f2aba15
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
17 years ago
truelight
653b343018
(svn r10072) -Fix r10070: typo in zoom.hpp
17 years ago
rubidium
6b1cb3aaae
(svn r10071) -Feature [FS#828]: moving of orders (skidd13).
17 years ago
truelight
98c3056aa6
(svn r10070) -Fix: fix the rounding problem of zoom-levels in zoom.hpp, so it is global for every call
17 years ago
truelight
d3a7fb8d73
(svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected...
17 years ago
rubidium
5b972a1d58
(svn r10068) -Fix [FS#835]: coverage area highlight was still show when it was turned off for docks.
17 years ago
belugas
e8c6d57150
(svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few.
17 years ago
glx
6983d0b547
(svn r10065) -Cleanup (r9850): remove now unneeded stuff
17 years ago
belugas
f51b869e69
(svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run
17 years ago
belugas
7586143e3b
(svn r10063) -Codechange: Change VARDEF for extern
...
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
17 years ago
peter1138
9c66082b07
(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
17 years ago
peter1138
29f6ae952c
(svn r10061) -Codechange: [NewGRF] Add common cargo subtype support to vehicle var 42
17 years ago
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)
17 years ago
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.
17 years ago
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).
17 years ago
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.
17 years ago
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)
17 years ago
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.
17 years ago
rubidium
770d7188ac
(svn r10053) -Fix: could not clear a level-crossing tile with tram tracks.
17 years ago
peter1138
041c946119
(svn r10052) -Codechange: Support reserve/activate stage bits of action 7/9 variable 84.
17 years ago
rubidium
eab8ac49ce
(svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation.
17 years ago
peter1138
07c34b2628
(svn r10048) -Fix (r6455): Don't use override engine type for articulated wagon parts.
17 years ago
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)
17 years ago
rubidium
2045611078
(svn r10046) -Documentation: add some documentation in order_gui (skidd13).
17 years ago
peter1138
fdb7ef8703
(svn r10045) -Codechange: Process Action 8 during GLS_RESERVATION to allow Action 7/Action 9s to work properly
17 years ago
peter1138
4258139a52
(svn r10044) -Fix: Minor NewGRF debug message fixes, and skip sprites of an unsupported Action 5 feature.
17 years ago
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
17 years ago
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.
17 years ago
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)
17 years ago
belugas
a95fdc8bb5
(svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it
17 years ago
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
17 years ago
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.
17 years ago
glx
32a04368b3
(svn r10037) -Fix (r10035, r10036): silence some 'may be used uninitialized' warnings
17 years ago
glx
62524492d5
(svn r10036) -Add: sort the strings in town names dropdown
17 years ago
glx
59cb4da628
(svn r10035) -Change: simplified network language string sorting
17 years ago
rubidium
a99ed285cb
(svn r10034) -Change: remove the string changed in r10033 from the translations, so it will be properly translated in all languages.
17 years ago
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.
17 years ago
glx
cb340626ca
(svn r10032) -Add: sort the strings in server language dropdown
17 years ago
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)
17 years ago
rubidium
6a60ba3eaa
(svn r10030) -Fix [FS#823]: one could build on (some) slopes when building on slopes was disabled.
17 years ago
rubidium
a752c73469
(svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks.
17 years ago
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.
17 years ago
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
17 years ago
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
17 years ago
bjarni
81698422a2
(svn r10024) -Feature: [build windows] trains, road vehicles and ships can now be sorted by cargo capacity (planes already had this option)
17 years ago
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.
17 years ago
maedhros
1e7b8190f2
(svn r10022) -Fix (r10007): Set the type of multiheaded trains before the subtype.
17 years ago
rubidium
62c20a9698
(svn r10021) -Fix (r9560): memory "corruption" that could lead to a failure to load newgrfs.
17 years ago
maedhros
8f361393dd
(svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train.
17 years ago
peter1138
06084e0a63
(svn r10019) -Codechange: Implement GRM for newcargos
17 years ago
glx
6e653cd1ab
(svn r10017) -Add (FS#790): more languages flags for servers
17 years ago
rubidium
ecd36dd34f
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
17 years ago
rubidium
31ddab50ad
(svn r10014) -Fix: roads became automatically one way in the scenario editor.
17 years ago
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)
17 years ago
glx
9f60f2ecbb
(svn r10012) -Fix (r9999): crash when forcing road vehicles to turn
17 years ago
maedhros
0d0a8661de
(svn r10011) -Fix (r10008): Set the right svn properties on articulated_vehicles.h and correct a file comment.
17 years ago
maedhros
4acf3e4c3f
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
17 years ago
maedhros
ab8503f5a5
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
17 years ago
maedhros
dce1101039
(svn r10007) -Codechange: Add some asserts to IsFrontEngine and friends to ensure that only trains use them.
17 years ago
glx
2958f0c53a
(svn r10006) -Fix (FS#362): allow different signal types on one tile
17 years ago
belugas
4af692558a
(svn r10005) -Codechange: Merge two flags (2cc and newhouses) indicating some newgrf features have been loaded, and introduce the newindustry one.
17 years ago
rubidium
01f80cf343
(svn r10004) -Fix: trams can always intersect/have junctions on one way roads (because they only work for busses and lorries).
17 years ago
rubidium
b2cd8f3631
(svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge.
17 years ago
rubidium
59c51f9fce
(svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot...
17 years ago
belugas
f8da1b6e1a
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
17 years ago
rubidium
253aa1b0b0
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
17 years ago
rubidium
a02417645e
(svn r9998) -Fix (r9990): possible null pointer dereferences on MorphOS.
17 years ago
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)
17 years ago
rubidium
52f612d711
(svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops.
17 years ago
peter1138
a672a8f77d
(svn r9995) -Fix (r9962): Don't scroll the map at the start of a new game
17 years ago
belugas
86abe1b229
(svn r9994) -Codechange: Add pointers for Industry and Industry Tiles in the grf file.
17 years ago
rubidium
8d82deffa1
(svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.
17 years ago
belugas
0f6e6d9713
(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
...
A few more to go
17 years ago
rubidium
2db0d81cc1
(svn r9991) -Fix: one could build road when trams were driving on the tile and vice versa.
17 years ago
rubidium
b17a89c53d
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
17 years ago
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.
17 years ago
rubidium
70e6102c86
(svn r9988) -Codechange: remove the last direct map accesses, except the ones needed for the savegame saving/loading mechanisms.
17 years ago
rubidium
bc41dc4966
(svn r9987) -Fix [FS#818]: a train under a bridge could collide with a train on the bridge.
17 years ago
rubidium
a31e944149
(svn r9986) -Fix (r9934): flooding towns could not remove tram tracks (boekabart).
17 years ago
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)
17 years ago
belugas
425ea50854
(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
17 years ago
belugas
f8491407d0
(svn r9983) -Codechange: Use the "enabled" property of the industry spec.
17 years ago
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
17 years ago
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)
17 years ago
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
17 years ago
belugas
0af97d4ab2
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
17 years ago
belugas
4cb32f903e
(svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related
17 years ago
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
17 years ago
rubidium
4726fdc0d0
(svn r9972) -Fix (r9969): silence a warning.
17 years ago
rubidium
17b6ce80c7
(svn r9971) -Fix (r9892, r9958): loading of post-'bridges over "everything"' messed with the railtype of bridges.
17 years ago
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)
17 years ago
belugas
35ccad33dd
(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
17 years ago
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
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
66c23060e2
(svn r9964) -Fix: removing of road should not be free of charge.
17 years ago
peter1138
63f7965920
(svn r9963) -Fix (r9962): 'smooth_scroll' patch setting was ignored (always on) in some places.
17 years ago
peter1138
344e9007fe
(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll'
17 years ago
rubidium
1a8a44165b
(svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8.
17 years ago
rubidium
2347c45d35
(svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a tram rails with normal rails to for a crossing.
17 years ago
maedhros
710cc5a597
(svn r9959) -Fix: Only call GetNextVehicle for trains.
17 years ago
rubidium
7f0339748f
(svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable.
17 years ago
rubidium
2dd0ba36cb
(svn r9957) -Change: replace cargo tram with freight tram for consistency.
17 years ago
peter1138
974aebcce5
(svn r9956) -Codechange: Add tram livery schemes
17 years ago
maedhros
21454957b5
(svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious.
17 years ago
rubidium
53380fc047
(svn r9954) -Fix [FS#811]: trolley AI crashed when trying to determine what the roadbits are.
17 years ago
maedhros
1b33f19877
(svn r9953) -Fix: Only check whether trains are multiheaded when cloning.
17 years ago
glx
3db7a70057
(svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram
17 years ago
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
17 years ago
rubidium
8602acc433
(svn r9950) -Feature(tte): allow terraforming under bridges.
17 years ago
rubidium
c69458d894
(svn r9949) -Fix: (road) depots got deowned on bankrupts.
17 years ago
rubidium
35f1299d40
(svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire?
17 years ago
rubidium
7088cedb7a
(svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type.
17 years ago
rubidium
997901189f
(svn r9946) -Fix: more places that weren't correctly marked dirty...
17 years ago
rubidium
54d7cb8f7c
(svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes.
17 years ago
rubidium
ac4a26c705
(svn r9944) -Fix: tile selection drawn on the wrong height for some road bridges.
17 years ago
rubidium
0e07a938b7
(svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype.
17 years ago
rubidium
016e651ffd
(svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge.
17 years ago
bjarni
c346cc430a
(svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator)
17 years ago
rubidium
e88ff7e96b
(svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes.
17 years ago
maedhros
3914f3c85c
(svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains.
17 years ago
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
17 years ago
truelight
35a1668bd4
(svn r9937) -Codechange: don't define a function that is never declared or used
17 years ago
truelight
a856c160ef
(svn r9936) -Fix: (Un)ScaleByZoom missed a minus sign in some cases
17 years ago
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.
17 years ago
rubidium
04f9b1ab61
(svn r9934) -Fix (r9923): towns could remove 'half' tram tracks.
17 years ago
rubidium
1b2016a4b2
(svn r9933) -Fix (9925): unified a little too much.
17 years ago
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)
17 years ago
rubidium
78be11be40
(svn r9931) -Fix: some glitches with catenary and bridges.
17 years ago
rubidium
932a968af2
(svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations.
17 years ago
rubidium
ceae5eaeba
(svn r9929) -Fix [FS#803]: fix several drawing issues.
17 years ago
peter1138
0079e4952d
(svn r9928) -Fix (r9805): Default display options were not set correctly.
17 years ago
rubidium
afaa6062cb
(svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot.
17 years ago
rubidium
8cd950e06a
(svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn.
17 years ago
rubidium
71614fef81
(svn r9925) -Fix: wrong tooltips in station picker.
17 years ago
rubidium
56dc5c5938
(svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle.
17 years ago
rubidium
17390241e6
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
17 years ago
rubidium
9e7798c42e
(svn r9922) -Fix (r9914): [YAPF] null pointer dereference.
17 years ago
rubidium
8484a9a2e5
(svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes.
17 years ago
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)
17 years ago
rubidium
d234e97f8b
(svn r9919) -Codechange: prepare some more places for more road types.
17 years ago
rubidium
9060ab4af1
(svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates.
17 years ago
rubidium
0819f3a9a0
(svn r9917) -Codechange: prepare some more areas for more road types.
17 years ago
peter1138
d5d94e230f
(svn r9916) -Codechange: Free memory used by cargo translation tables
17 years ago
rubidium
440d723d84
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
17 years ago
rubidium
3d143446ee
(svn r9912) -Fix: the AIs could build any road(station)s.
17 years ago
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)
17 years ago
rubidium
04c07c9388
(svn r9910) -Codechange: prepare road building/removing commands for more road types.
17 years ago
maedhros
2832a95f25
(svn r9909) -Fix (r9897): Highlight road tunnels properly when building them.
17 years ago
rubidium
6b176e74c8
(svn r9908) -Codechange: prepare the station picker for more road types.
17 years ago
rubidium
930957d132
(svn r9907) -Codechange: prepare the road gui for more road types.
17 years ago
belugas
f3cf7f6b2d
(svn r9906) -Codechange: Add common properties for both industry and industry tiles specs
17 years ago
maedhros
39016328cc
(svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01.
17 years ago
maedhros
b67d9e0a49
(svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again.
17 years ago
peter1138
c46ac94ce2
(svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group.
17 years ago
maedhros
35ce34d55a
(svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted.
17 years ago
maedhros
ca5c578d0f
(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.
17 years ago
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)
17 years ago
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.
17 years ago
rubidium
b7748a686e
(svn r9897) -Codechange: prepare the toolbar for more road types.
17 years ago
glx
0646d307bd
(svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once
17 years ago
rubidium
d836b25606
(svn r9895) -Fix: assertion when removing roadstop.
17 years ago
rubidium
015c0dd9a4
(svn r9894) -Fix (r9892): catenary was drawn on road bridges ;)
17 years ago