belugas
12218ae7d2
(svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement.
16 years ago
smatz
1c27747886
(svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case
16 years ago
smatz
8c5cfd6850
(svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty)
16 years ago
smatz
1c126cb2e6
(svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries
16 years ago
rubidium
5ab74534da
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
16 years ago
frosch
40018be915
(svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'.
16 years ago
frosch
60e5d69ec4
(svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains.
16 years ago
rubidium
fc1ad68714
(svn r14410) -Codechange: one can't inject a negative number of parameters, so enforce this by using a uint.
16 years ago
frosch
b588578bcc
(svn r14409) -Codechange: Simplify a loop and correct a comment.
16 years ago
glx
dee7b2148a
(svn r14408) -Fix (r9205): generation seed set using -G was always overwritten by -g
16 years ago
frosch
e8038cbf58
(svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ)
16 years ago
frosch
32289ebd63
(svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains.
16 years ago
frosch
423160f946
(svn r14405) -Fix [FS#2289]: Correct handling of selling free wagons while the following vehicle is an engine (i.e. a new train is created).
16 years ago
rubidium
8fe7d9f217
(svn r14404) -Change [FS#2176]: don't make the town flatten land unconditionally when build on slopes is turned on. Based on a patch by Eddi.
16 years ago
frosch
5fd49a8cd2
(svn r14403) -Fix (r14384): The condition was too restrictive.
16 years ago
translators
b6796b635e
(svn r14402) -Update: WebTranslator2 update to 2008-09-26 17:45:50
...
slovenian - 3 fixed by Necrolyte (3)
traditional_chinese - 1 fixed, 8 changed by josesun (9)
16 years ago
peter1138
21a5c6bb7d
(svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead parts for callback 1D when moving a chain of wagons.
16 years ago
smatz
75d63af2ae
(svn r14398) -Cleanup (r14395): unused function sneaked in
16 years ago
rubidium
48ece47bd9
(svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
16 years ago
smatz
4057132b00
(svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0
16 years ago
smatz
a000de8418
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
...
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
16 years ago
translators
8b84fea7e1
(svn r14394) -Update: WebTranslator2 update to 2008-09-24 14:01:38
...
danish - 8 changed by ThomasA (8)
german - 5 changed by sulai (5)
hungarian - 17 fixed, 4 changed by alyr (21)
korean - 45 changed by dlunch (45)
norwegian_bokmal - 9 fixed by christian (9)
spanish - 1 changed by eusebio (1)
traditional_chinese - 91 fixed, 1044 changed by josesun (1135)
16 years ago
rubidium
f54f161bfb
(svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice.
16 years ago
rubidium
9246ff28ac
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
16 years ago
rubidium
f49d5057ee
(svn r14390) -Codechange: replace magic constants with symbolic constants.
16 years ago
translators
d49381e5c9
(svn r14386) -Update: WebTranslator2 update to 2008-09-22 19:58:30
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 3 fixed by arnaullv (3)
english_US - 2 fixed by WhiteRabbit (2)
estonian - 1 fixed by kristjans (1)
french - 1 fixed by glx (1)
galician - 1 changed by Condex (1)
hungarian - 3 changed by alyr (3)
korean - 18 changed by dlunch (18)
norwegian_bokmal - 194 fixed by christian (194)
spanish - 2 fixed by eusebio (2)
16 years ago
frosch
fb1fae001a
(svn r14384) -Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain.
16 years ago
smatz
a756b23dc4
(svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' in the NewGRF code, too
16 years ago
rubidium
7935517470
(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station.
16 years ago
frosch
99969d533e
(svn r14369) -Fix: Enforce non-front engines to be stopped.
...
This could be caused by old savegames resp. their conversion, and causes
trouble for e.g. autoreplace.
16 years ago
rubidium
0f56f52080
(svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner.
16 years ago
frosch
a4fd962adf
(svn r14366) -Fix (r14362): Match multiheaded parts starting from the first vehicle in a chain.
16 years ago
glx
0b65ce9d46
(svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
16 years ago
glx
8b0d8589e3
(svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twice
16 years ago
frosch
6782d81142
(svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains.
16 years ago
translators
4389ef9ec0
(svn r14361) -Update: WebTranslator2 update to 2008-09-19 20:23:28
...
italian - 8 fixed by lorenzodv (8)
korean - 3 fixed by leejaeuk5 (3)
simplified_chinese - 119 fixed by ww9980 (119)
spanish - 1 fixed by eusebio (1)
swedish - 13 fixed by ChrillDeVille (13)
ukrainian - 3 fixed by mad (3)
16 years ago
smatz
da39b8c866
(svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button
16 years ago
rubidium
da69e69f5a
(svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set for very old savegames (including TTD's) making it impossible to remove some pieces of road.
16 years ago
smatz
3f11e731a5
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
16 years ago
belugas
4aade3b880
(svn r14352) -Feature: Allow sorting vehicles by remaining life time.
...
Patch by yorick
16 years ago
smatz
615844dd5d
(svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we know it is a tram, so compiler doesn't generate code for trains and ships
16 years ago
smatz
6dd1163594
(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls
16 years ago
smatz
74892fbdf6
(svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, they have colour of invalid player
16 years ago
smatz
94c5c9f21d
(svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin)
16 years ago
smatz
b5fe06f430
(svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deleted
...
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
16 years ago
smatz
cb16b68474
(svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game)
16 years ago
smatz
e6afe2ea0c
(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller
16 years ago
smatz
564aa83835
(svn r14340) -Fix (r11822): signs from old savegames were lost (causing little memory leaks)
16 years ago
smatz
6d5475cb91
(svn r14339) -Fix (r13731): crash when loading the intro game failed
16 years ago
smatz
aef674d858
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
16 years ago
smatz
00ce8ceb2b
(svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty
16 years ago
frosch
e10127f032
(svn r14335) -Codechange: Remove some magic numbers.
16 years ago
smatz
e543181b12
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
16 years ago
belugas
9419a28a4b
(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
...
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
16 years ago
smatz
ffa39caf3d
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
16 years ago
rubidium
aa2c3bdd6f
(svn r14330) -Fix: compile warnings in some unfinished lang files.
16 years ago
rubidium
1c5338cbce
(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.
16 years ago
smatz
9954d13f06
(svn r14328) -Fix (r11822): when a company was renamed and then manager was renamed before building anything, company name changed
16 years ago
rubidium
244ccddc1b
(svn r14327) -Fix [FS#2251]: if you rename a town before building something and build something near that town your company would be called "<old townname> Transport".
16 years ago
rubidium
c70f745de8
(svn r14326) -Fix: some wrong comments (Yexo)
16 years ago
translators
775fd4797b
(svn r14325) -Update: WebTranslator2 update to 2008-09-14 17:42:18
...
czech - 2 fixed, 31 changed by Hadez (33)
english_US - 211 fixed by WhiteRabbit (211)
galician - 193 fixed, 10 changed by Condex (203)
german - 2 fixed, 38 changed by sulai (40)
swedish - 60 fixed by ChrillDeVille (60)
16 years ago
rubidium
31494d756a
(svn r14324) -Fix [FS#2241]: free any blocks that a helicopter may have on an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies.
16 years ago
smatz
50b955542d
(svn r14323) -Fix (r14064): forgot a return...
16 years ago
smatz
b24e0a08bb
(svn r14322) -Fix (r10368): possible assert when renaming removed waypoint
16 years ago
rubidium
feb15bb421
(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals.
16 years ago
rubidium
efe93c527b
(svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP)
16 years ago
smatz
7bc1b443eb
(svn r14319) -Fix (r10760): use operator delete when deleting an order, so order pool fills up a bit slower
16 years ago
rubidium
de532c616f
(svn r14318) -Fix [FS#2296]: OSK of the chat box did not get updated. This as the chatbox got a higher priority than the OSK instead of the usual other way around.
16 years ago
peter1138
fb77ced24a
(svn r14317) -Fix (r13662) [FS#2298]: Order distance processing for conditional orders on ships treated v->orders as an array, and didn't use the correct next order.
16 years ago
smatz
7dc595ca72
(svn r14316) -Fix: do not allow building road over level crossings and drive-through road stops in the wrong direction even when the roadtype is present
16 years ago
smatz
5b14c67064
(svn r14315) -Fix: allow adding roadtypes only to drive-through road stops
16 years ago
smatz
33e46bb75a
(svn r14314) -Fix: pay for two road bits when adding/removing roadtype at drive through road stop/level crossing
16 years ago
frosch
869e90ea86
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
16 years ago
rubidium
ee4173d8a4
(svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby.
16 years ago
rubidium
69e4e88e99
(svn r14309) -Fix [FS#2244]: aircraft frozen above oil rig when the next order is invalid.
16 years ago
rubidium
18a0c351cc
(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop.
16 years ago
smatz
7e4e999a97
(svn r14307) -Fix: when deleting a station, remove news items regarding it
16 years ago
rubidium
4ea5308d49
(svn r14306) -Codechange: unify the code to draw the vehicle list.
...
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
16 years ago
frosch
ede0dd6a72
(svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for multistop when they are really reachable.
16 years ago
smatz
d7421cadd4
(svn r14304) -Fix (r14104): waypoint train list wasn't closed with the waypoint window (crashes since r14296)
16 years ago
rubidium
ac48a45cb8
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
16 years ago
rubidium
f60ef76050
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
16 years ago
rubidium
3423721523
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
16 years ago
translators
1f8be3fbf7
(svn r14300) -Update: WebTranslator2 update to 2008-09-12 17:41:59
...
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan - 12 fixed by arnaullv (12)
danish - 9 fixed, 7 changed by ThomasA (16)
dutch - 1 changed by habell (1)
estonian - 5 fixed by kristjans (5)
galician - 98 fixed, 6 changed by Condex (104)
german - 7 fixed, 83 changed by sulai (69), dih (21)
korean - 12 fixed by leejaeuk5 (12)
romanian - 20 fixed by kneekoo (20)
slovenian - 5 fixed by Necrolyte (5)
16 years ago
rubidium
0b4c2e9493
(svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected.
16 years ago
rubidium
9862a2e79a
(svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination".
16 years ago
rubidium
7f461f0bba
(svn r14297) -Fix: one could be trying to get the station name of a station that is outside of the pool.
16 years ago
rubidium
e9a3ed016d
(svn r14296) -Codechange: there is no case where an invalid waypoint index should be passed to be drawn as a string.
16 years ago
belugas
95058df2ca
(svn r14295) -Fix(r14294): If the house is not built yet, still give me proper coordinates, pretty please!
...
Plus, two(2) rogue tabs found their way in.
16 years ago
belugas
db278c68de
(svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for houses, Coordinates of the house tile
16 years ago
smatz
70525eaa7f
(svn r14293) -Change: do not show PBS track reservation in the intro game
16 years ago
frosch
5f84ddf150
(svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz)
16 years ago
frosch
f1a7f57cb9
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
16 years ago
smatz
c33d779e5a
(svn r14290) -Fix (r13932): level crossings could be barred when they shouldn't be after savegame conversion
16 years ago
smatz
36937525c4
(svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
...
(based on a patch by kakaopor)
16 years ago
michi_cc
0ac103e506
(svn r14286) -Fix [FS#2265]: If a change of conventional/electric rail coincided with the start of a station platform, stale reservations could be left behind.
16 years ago
michi_cc
5a28d3a54f
(svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole.
16 years ago
michi_cc
e008f58350
(svn r14284) -Fix (r13958): Trains would not look ahead and extend their reservation on a waypoint tile in all cases.
16 years ago
smatz
572423d06c
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
16 years ago
translators
ad2fa20fe2
(svn r14282) -Update: WebTranslator2 update to 2008-09-09 17:38:39
...
czech - 1 fixed, 7 changed by Hadez (7), joeprusa (1)
danish - 61 fixed, 6 changed by ThomasA (28), MiR (39)
dutch - 6 fixed by habell (5), webfreakz (1)
estonian - 1 fixed by kristjans (1)
finnish - 66 fixed by habazi (66)
french - 2 fixed, 2 changed by glx (4)
galician - 14 fixed by Condex (14)
german - 63 fixed, 16 changed by sulai (41), dih (38)
italian - 1 fixed, 1 changed by lorenzodv (2)
piglatin - 27 fixed by adammw (27)
romanian - 57 fixed by kneekoo (57)
russian - 13 fixed by Smoky555 (13)
slovenian - 6 fixed by Necrolyte (6)
spanish - 9 fixed by eusebio (9)
ukrainian - 6 fixed by mad (6)
16 years ago
smatz
ff7e0b2586
(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places
16 years ago
frosch
c229e15b91
(svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore.
16 years ago
frosch
d0d40c625a
(svn r14275) -Change: Rename 'Configure patches' to 'Advanced settings'.
16 years ago
smatz
5ab3096716
(svn r14274) -Fix (r10237): nonexistant order could be selected in the timetable window (causing SIGFPE)
16 years ago
smatz
8d85d8bf97
(svn r14270) -Fix: make small UFO aware of articulated RVs
16 years ago
smatz
85b1ae6ad7
(svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of explicit destructor call instead of using operator delete
16 years ago
smatz
6077302660
(svn r14263) -Codechange: give a better error message when removing a sign fails
16 years ago
rubidium
956c99e46c
(svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people don't get confused that the keypad doesn't work as expected.
16 years ago
rubidium
6e67ea1f9d
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
16 years ago
rubidium
466e7740d7
(svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer causing memory corruption.
16 years ago
belugas
521afee044
(svn r14254) -Codechange: Code style and breathing room
16 years ago
translators
18903e80cb
(svn r14250) -Update: WebTranslator2 update to 2008-09-05 15:13:08
...
afrikaans - 9 fixed by TrueTenacity (9)
croatian - 19 fixed by tperic (19)
czech - 5 fixed, 50 changed by Hadez (55)
dutch - 5 fixed by habell (5)
estonian - 9 fixed by kristjans (9)
french - 5 fixed by glx (5)
german - 85 fixed by dih (45), MaSch (40)
italian - 5 fixed, 4 changed by lorenzodv (9)
polish - 25 fixed, 4 changed by heimat (29)
spanish - 7 fixed by eusebio (7)
ukrainian - 5 fixed by mad (5)
16 years ago
rubidium
d877247d40
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
16 years ago
rubidium
dd927661cf
(svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport".
16 years ago
frosch
bce424a4aa
(svn r14239) -Fix [FS#2267]: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines.
16 years ago
glx
744c9eda2f
(svn r14235) -Fix (r14234): compilation with MSVC was broken
16 years ago
smatz
e25227d709
(svn r14234) -Fix: feeder share was computed wrong when splitting cargo packet
16 years ago
rubidium
882d39a081
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
16 years ago
smatz
5c6a23f8fa
(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3
16 years ago
rubidium
660f6a2320
(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff.
16 years ago
frosch
7a13b29190
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
16 years ago
rubidium
9ca1972e01
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
16 years ago
smatz
97b1eb2c6f
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
16 years ago
rubidium
c358955127
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
16 years ago
smatz
2c58a87f4c
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
16 years ago
rubidium
f5c8513f75
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
16 years ago
peter1138
1537b346c3
(svn r14215) -Cleanup (r13866): Strange line wrapping...
16 years ago
rubidium
242cbd0074
(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142 .
16 years ago
smatz
1856a89c0f
(svn r14210) -Codechange: remove a useless check when creating new waypoint
16 years ago
smatz
3c5ab035d8
(svn r14209) -Feature(tte): doubleclick to join selected server/company
16 years ago
peter1138
8b926efae3
(svn r14208) -Fix (r14197): Crash if no .obg files are found.
16 years ago
rubidium
9f91aacc07
(svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions.
16 years ago
translators
51a017c3da
(svn r14205) -Update: WebTranslator2 update to 2008-08-31 19:47:56
...
bulgarian - 12 fixed by thetitan (12)
catalan - 49 fixed by arnaullv (49)
czech - 4 fixed, 15 changed by Hadez (19)
dutch - 2 fixed, 5 changed by habell (7)
french - 2 fixed, 1 changed by belugas (1), glx (2)
galician - 75 fixed, 54 changed by Condex (129)
german - 10 fixed, 1 changed by dih (11)
italian - 5 fixed, 5 changed by lorenzodv (10)
korean - 14 fixed by leejaeuk5 (14)
slovenian - 6 fixed by Necrolyte (6)
turkish - 18 fixed by jnmbk (18)
ukrainian - 2 fixed by mad (2)
16 years ago
smatz
6e5cc48c34
(svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already
16 years ago
peter1138
4b53c92be2
(svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
16 years ago
peter1138
5dbac1d461
(svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs.
16 years ago
peter1138
b301bd832e
(svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
...
-Codechange: [NewGRF] *Do* continue processing if the value of a property is invalid, however.
16 years ago
rubidium
05d9c19226
(svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments!
16 years ago
rubidium
a20b833516
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
peter1138
4be6701717
(svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties.
16 years ago
rubidium
915a09e4c6
(svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
...
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
16 years ago
rubidium
d452683aa6
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
16 years ago
rubidium
17998f7f98
(svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want.
16 years ago
rubidium
58cb5bbd2b
(svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus)
16 years ago
rubidium
951ea4ae6d
(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
...
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
16 years ago
rubidium
943031bdaf
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
16 years ago
peter1138
76895a93f4
(svn r14189) -Fix (r14188): Accidental line removal
16 years ago
peter1138
84d9510928
(svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it.
16 years ago
rubidium
639620f5be
(svn r14187) -Fix (r14104): silence warning when compiling without networking enabled.
16 years ago
rubidium
7accf0ac97
(svn r14186) -Fix [FS#2255]: small typo (Jafinto)
16 years ago
rubidium
509b77371f
(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.
16 years ago
peter1138
50d230a52f
(svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached.
16 years ago
peter1138
2e0d735f1f
(svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early.
16 years ago
peter1138
4071e36f36
(svn r14181) -Fix (r14175): Rail types are not road types
16 years ago
glx
9788ce3757
(svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list).
16 years ago
frosch
8c0e108960
(svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty.
16 years ago
frosch
b4c0a3efe3
(svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders.
16 years ago
smatz
eeaeecd255
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
16 years ago
smatz
6074de33d0
(svn r14176) -Fix: better 'safe' than ... 'save'
16 years ago
peter1138
c805cd6328
(svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
16 years ago
smatz
1294253d68
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
16 years ago
peter1138
18032db8c1
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
16 years ago
belugas
40b27b50c1
(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
...
In other words, one can now specifies a 16 bits cost multiplier.
16 years ago
belugas
521e8e858b
(svn r14171) -Codechange: Make the test for HQ a bit lighter.
...
The presence of a HQ is only dictated by the 7th bit been set.
The rest of the data is related to the size and the type.
16 years ago
peter1138
7de2096d1f
(svn r14170) -Codechange: Missing enum for road type iteration.
16 years ago
belugas
de43d17a82
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
16 years ago
peter1138
7b632aa8aa
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
16 years ago
rubidium
4548c5a26b
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
16 years ago
matthijs
53735906f8
(svn r14166) -Doc: Change "forbid 90 degree turn" patch option description to say "not with NTP" instead of "requires NPF" (which has been untrue since the introduction of YAPF). Thanks to FauxFaux for pointing this out.
16 years ago
peter1138
243aba268c
(svn r14165) -Codechange: When over-building rail with a different type, don't convert the rail if the engines of the new type are powered on the existing type.
16 years ago
rubidium
d7bfd54a3d
(svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
...
-Fix: wrong insertion management causing leaks.
16 years ago
peter1138
e3fad31f31
(svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same.
16 years ago
rubidium
bd14bd872e
(svn r14161) -Codechange: allow inis to be loaded from tars.
16 years ago
peter1138
2ea575e36c
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
16 years ago
peter1138
e999f189e6
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
16 years ago
peter1138
6261063689
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
16 years ago
smatz
8abd4137d4
(svn r14156) -Fix (r14153): missing/wrong comments
16 years ago
glx
01e8ec447e
(svn r14155) -Fix (r14154): wrong comments
16 years ago
glx
4bb40a7d44
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
16 years ago
rubidium
7ceb1252a2
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
16 years ago
rubidium
0742de717f
(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker)
16 years ago
rubidium
2ced86e7ae
(svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
16 years ago
belugas
7b01fb91c7
(svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption
16 years ago
frosch
f932e81127
(svn r14149) -Fix: When selling the front engine of a train consist with another engine at the second position, not all 'important' data was copied to the new head.
16 years ago
frosch
b66b3937ed
(svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles.
16 years ago
frosch
464899f9ad
(svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit().
16 years ago
rubidium
07c20252c3
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
16 years ago
frosch
4335c27218
(svn r14145) -Fix (r14135, r14141): When savegame conversion cannot determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
16 years ago
peter1138
1de6c87cdd
(svn r14144) -Fix (r8826): Incorrect cargo weights
16 years ago
frosch
6b9b879a2c
(svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint.
16 years ago
frosch
bb85d482d8
(svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies.
16 years ago
frosch
40796e9f19
(svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner.
16 years ago
frosch
8886f5b4c3
(svn r14140) -Fix (r14135): Enum in saveload-table.
16 years ago
frosch
a7bc5f2d0d
(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.
16 years ago
smatz
983a93d447
(svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue
16 years ago
celestar
3546b74e93
(svn r14137) -Codechange: Remove a now unused member of CargoPacket
16 years ago
belugas
23b1f53ff6
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
16 years ago
frosch
b6ae11f3ae
(svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'.
16 years ago
rubidium
1fb68ddff5
(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.
16 years ago
frosch
9c3ba61347
(svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the current block really is a PBS block. (michi_cc)
16 years ago
frosch
2dd9bc672a
(svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc)
16 years ago
frosch
7020a48ea0
(svn r14130) -Fix (r13961) [FS#2248]: Clear the stuck state of a train that is reversing with the first vehicle inside a depot. (michi_cc)
16 years ago
frosch
7f5cd0e843
(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me.
16 years ago
belugas
dd1ae8c13f
(svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown
16 years ago
frosch
7ef5905b8c
(svn r14126) -Codechange (r14125): Add some tabs.
16 years ago
frosch
ec30cfeff3
(svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
...
Note: Proper indenting in next commit.
16 years ago
belugas
15d8d1d74b
(svn r14123) -Codechange: a few magical number to sprite name conversions
16 years ago
translators
6f366c955a
(svn r14120) -Update: WebTranslator2 update to 2008-08-21 10:46:06
...
brazilian_portuguese - 33 fixed by tucalipe (33)
czech - 1 fixed, 11 changed by Hadez (12)
dutch - 4 fixed by habell (4)
estonian - 25 fixed, 111 changed by kristjans (135), vermon (1)
french - 3 fixed, 8 changed by glx (9), belugas (2)
galician - 78 fixed by Condex (78)
german - 13 fixed by dih (13)
korean - 20 fixed, 1 changed by leejaeuk5 (21)
simplified_chinese - 51 fixed, 1 changed by ww9980 (52)
slovenian - 54 fixed by Necrolyte (54)
ukrainian - 3 fixed by mad (3)
16 years ago
belugas
97de2577e3
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
16 years ago
belugas
a91c078526
(svn r14118) -Fix(r14104): typos creeping like bugs
16 years ago
frosch
378782b3ed
(svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs.
16 years ago
frosch
dde40c53ed
(svn r14113) -Codechange: Language updates for r14112.
16 years ago
frosch
59f813267c
(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken.
16 years ago
frosch
24c01374a1
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
16 years ago
glx
28fb23ca56
(svn r14110) -Fix: desyncs due to bubbles in toyland
16 years ago
smatz
c45a143e27
(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled
16 years ago
belugas
2ac0767af5
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
16 years ago
smatz
506a6ffe57
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
16 years ago
belugas
f9494992c5
(svn r14106) -Fix(r14104): A string too much been commited
16 years ago
belugas
9506434539
(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
...
Provided by ln
I've added a little fix on currency.cpp too, why not :)
16 years ago
belugas
d096431936
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
...
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
16 years ago
smatz
1145a11b9d
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
16 years ago
rubidium
949885aeb3
(svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
16 years ago
rubidium
3596b61c58
(svn r14101) -Cleanup (r14083): leftover friend.
16 years ago
belugas
e4e3259433
(svn r14099) -Codechange: Welcome back, Celestar.
...
While at it, an alphabetic error been fixed
16 years ago
celestar
1fa55e4ec0
(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle
16 years ago
rubidium
141001d031
(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though.
16 years ago
rubidium
66b9ea9a5a
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
16 years ago
frosch
8daea149e9
(svn r14095) -Fix (r14076): Trains shall not stop instantly.
16 years ago
glx
e88e07b3bf
(svn r14094) -Revert (r14071): caused more problems than it solved
16 years ago
rubidium
e4e563afc2
(svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5).
16 years ago
rubidium
8035f120b4
(svn r14092) -Cleanup (r14083): dead code, i.e. unused function.
16 years ago
frosch
99ac60e5e1
(svn r14091) -Cleanup (r14083): Remove superfluous '#include's.
16 years ago
rubidium
d063758582
(svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot.
16 years ago
rubidium
38905d596f
(svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot.
16 years ago
rubidium
5314e27ff1
(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime)
16 years ago
smatz
0b2c6bc2b3
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
16 years ago
frosch
fc8997bcc3
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
16 years ago
frosch
ea2564c420
(svn r14084) -Codechange: Language updates for r14083.
16 years ago
frosch
92f3c368b8
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
16 years ago
frosch
302cdf69a4
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
16 years ago
glx
c7453851d3
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
16 years ago
peter1138
550fc3a3f5
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
16 years ago
frosch
c8e699cc35
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
16 years ago
rubidium
75ea55cc65
(svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one.
16 years ago
rubidium
a7d3d86f55
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
16 years ago
rubidium
8e8fabd27c
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
16 years ago
rubidium
8dffbcfd26
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
16 years ago
rubidium
c816cc37fd
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
16 years ago
rubidium
688267ad52
(svn r14062) -Fix [FS#2226]: division by 0 in newai.
16 years ago
belugas
ae15f2e063
(svn r14061) -Codechange: constification and move a declaration more logically
16 years ago
belugas
89a12634de
(svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
...
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
16 years ago
belugas
e69de261ad
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
16 years ago
rubidium
7f5ef3da45
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
16 years ago
rubidium
142ea9a0aa
(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime)
16 years ago
rubidium
083fbf9a96
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
16 years ago
rubidium
edc1b3cdc2
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
16 years ago
rubidium
2053688226
(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
16 years ago
rubidium
6199dc987b
(svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages.
16 years ago
rubidium
b76620939d
(svn r14051) -Codechange: enumify the DrawString buffer length.
16 years ago
belugas
5cbd0fb5a4
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
16 years ago
rubidium
467d6e31c3
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
16 years ago
rubidium
31d69a49e8
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
16 years ago
rubidium
122f029b93
(svn r14046) -Codechange: make the size of querystring "widgets" more configurable.
16 years ago
rubidium
0fab1dc699
(svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name.
16 years ago
belugas
eb461386ce
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
16 years ago
belugas
ba3d49df40
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
16 years ago
glx
9fa2cbd93e
(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
16 years ago
belugas
2a935c9025
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
...
since captions have their own encoded colours in string.
16 years ago
rubidium
19de9ac7e1
(svn r14039) -Fix [FS#2217]: reversing an overlength train at a station would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc)
16 years ago
rubidium
b3a15a3983
(svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL.
16 years ago
frosch
110a9f8fc0
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
16 years ago
rubidium
f0347e5383
(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc)
16 years ago
translators
75fffeb3fc
(svn r14035) -Update: WebTranslator2 update to 2008-08-10 11:54:57
...
bulgarian - 4 fixed by thetitan (4)
croatian - 15 fixed by knovak (15)
czech - 47 fixed, 29 changed by Hadez (76)
dutch - 29 fixed by habell (29)
estonian - 8 fixed, 63 changed by kristjans (71)
french - 29 fixed, 1 changed by glx (30)
italian - 29 fixed, 6 changed by lorenzodv (35)
russian - 52 fixed by Smoky555 (52)
slovak - 2 fixed by lengyel (2)
spanish - 35 fixed by eusebio (35)
ukrainian - 30 fixed by mad (30)
16 years ago
peter1138
fc442ce9af
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
16 years ago
peter1138
ae230e9153
(svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi)
16 years ago
bjarni
14ea857edb
(svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default
...
Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
16 years ago
frosch
5bcf7de45a
(svn r14031) -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did.
16 years ago
frosch
3c2128dedb
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
16 years ago
belugas
82ada4b3d0
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
16 years ago
belugas
b4b9626172
(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around.
16 years ago
belugas
b714273706
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
16 years ago
glx
812ab1279a
(svn r14026) -Cleanup (r13995, r14004): trailing whitespaces
16 years ago
smatz
dffc12fb23
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
16 years ago
smatz
5b3d1432df
(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc)
16 years ago
smatz
5719c0f16d
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
16 years ago
smatz
c665a2f233
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
16 years ago
rubidium
9f239cca37
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
16 years ago
peter1138
2c92a979ad
(svn r14018) -Fix (r14017): Typos prevented compilation.
16 years ago
belugas
f4997d8866
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
16 years ago
belugas
e89b108161
(svn r14016) -Codechange: Remove some magical numbers
16 years ago
peter1138
d6c385a41e
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
16 years ago
peter1138
ad52678d14
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
16 years ago
rubidium
6acc3f6e59
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
16 years ago
peter1138
f7ea5b51e7
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
16 years ago
belugas
d27984b79c
(svn r14011) -Codechange: not required to define an enum which was just the representation of another.
...
If you want to customize it more easily, why not a simple const of said enum value?
16 years ago
peter1138
afe73dfe11
(svn r14009) -Cleanup (r14008): Bad whitespace...
16 years ago
peter1138
1a28c1c4ee
(svn r14008) -Fix (r14004): NewGRF preset drop down list not working
16 years ago
frosch
3064767d69
(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside.
16 years ago
frosch
84cbf2c755
(svn r14006) -Codechange: Deduplicate some code.
16 years ago
smatz
132e7e9b69
(svn r14005) -Codechange: minor coding style fix
16 years ago
peter1138
76b0ffd342
(svn r14004) -Codechange: Clean of drop down lists.
...
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
16 years ago
belugas
6532897b5a
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
16 years ago
smatz
7fce33fb51
(svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game
16 years ago
peter1138
b1dd8f9334
(svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum
16 years ago
rubidium
1ef65c329e
(svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot.
16 years ago
rubidium
12037a8b38
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
16 years ago
frosch
d8bfe46027
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
16 years ago
rubidium
b32b101b8c
(svn r13995) -Fix (r13988): some warnings of the compile farm.
16 years ago
belugas
39c92f9068
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
16 years ago
belugas
754c825b2c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
16 years ago
rubidium
fb5c4e469b
(svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too.
16 years ago
smatz
d097276022
(svn r13991) -Codechange: draw text effects after all other signs
16 years ago
glx
b9bbcfcb9b
(svn r13990) -Fix (r13988): win32 compilation failed
16 years ago
rubidium
33148eae6e
(svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc).
16 years ago
rubidium
eb5fb4443a
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
16 years ago
peter1138
8018aeac9f
(svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space.
16 years ago
smatz
bea84ea8d9
(svn r13985) -Fix (r13944): gcc 2.95 compilation
16 years ago
peter1138
f02671e0f4
(svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height.
16 years ago
frosch
8644a8915e
(svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up.
16 years ago
peter1138
a5913396f0
(svn r13982) -Fix (r13981): And then not enough was cleared...
16 years ago
peter1138
70e195126b
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
16 years ago
peter1138
85accd400b
(svn r13980) -Codechange: Turn small map legend while loop into a for-loop.
16 years ago
peter1138
99771c63ba
(svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area.
16 years ago
peter1138
efcc875036
(svn r13978) -Fix: Incorrect widget size.
16 years ago
peter1138
d5c80dfb8e
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
16 years ago
frosch
fe058e2ec2
(svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc)
16 years ago
peter1138
6e4144f84b
(svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window.
16 years ago
frosch
ba1b3c7f11
(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc)
16 years ago
smatz
98bb9ffada
(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc)
16 years ago
rubidium
bd0f9f1097
(svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect.
16 years ago
rubidium
8b10e70f39
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
16 years ago
belugas
98d8501278
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
16 years ago
glx
d6520ae096
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
16 years ago
rubidium
e62a150293
(svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc)
16 years ago
rubidium
1e549a0fcc
(svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc)
16 years ago
rubidium
2a567afff4
(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc)
16 years ago
rubidium
14f6b1f49c
(svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc)
16 years ago
rubidium
e0e8f0e711
(svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc)
16 years ago
rubidium
ed629f599b
(svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc)
16 years ago
rubidium
a32fb70e1d
(svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc)
16 years ago
rubidium
e78a235293
(svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc)
16 years ago
rubidium
0b38276d5a
(svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc)
16 years ago
rubidium
1415b19fad
(svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc)
16 years ago
rubidium
f0fdbf9644
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
16 years ago
rubidium
bcfc5a78ed
(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc)
16 years ago
rubidium
c213ff35e5
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
16 years ago
rubidium
49967b9077
(svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc)
16 years ago
rubidium
f6bdf23527
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
16 years ago
rubidium
2e2a6d4909
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
16 years ago