rubidium
dd927661cf
(svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport".
2008-09-04 19:09:31 +00:00
frosch
bce424a4aa
(svn r14239) -Fix [FS#2267]: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines.
2008-09-03 18:05:02 +00:00
glx
744c9eda2f
(svn r14235) -Fix (r14234): compilation with MSVC was broken
2008-09-03 13:25:56 +00:00
smatz
e25227d709
(svn r14234) -Fix: feeder share was computed wrong when splitting cargo packet
2008-09-03 10:30:07 +00:00
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.
2008-09-03 07:51:07 +00:00
smatz
5c6a23f8fa
(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3
2008-09-02 21:11:48 +00:00
rubidium
660f6a2320
(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff.
2008-09-02 20:24:55 +00:00
frosch
7a13b29190
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
2008-09-02 20:01:18 +00:00
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.
2008-09-02 18:45:15 +00:00
smatz
97b1eb2c6f
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
2008-09-02 17:24:46 +00:00
rubidium
c358955127
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02 15:20:38 +00:00
smatz
2c58a87f4c
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
2008-09-02 14:46:28 +00:00
rubidium
f5c8513f75
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
2008-09-02 08:25:15 +00:00
peter1138
1537b346c3
(svn r14215) -Cleanup (r13866): Strange line wrapping...
2008-09-01 08:57:33 +00:00
rubidium
242cbd0074
(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142 .
2008-08-31 23:12:57 +00:00
smatz
1856a89c0f
(svn r14210) -Codechange: remove a useless check when creating new waypoint
2008-08-31 21:30:36 +00:00
smatz
3c5ab035d8
(svn r14209) -Feature(tte): doubleclick to join selected server/company
2008-08-31 20:54:01 +00:00
peter1138
8b926efae3
(svn r14208) -Fix (r14197): Crash if no .obg files are found.
2008-08-31 20:08:24 +00:00
rubidium
9f91aacc07
(svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions.
2008-08-31 19:56:52 +00:00
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)
2008-08-31 17:48:17 +00:00
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
2008-08-31 17:34:03 +00:00
peter1138
4b53c92be2
(svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
2008-08-31 16:41:27 +00:00
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.
2008-08-31 15:46:14 +00:00
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.
2008-08-31 15:26:46 +00:00
rubidium
05d9c19226
(svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments!
2008-08-31 11:51:09 +00:00
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.
2008-08-31 10:50:05 +00:00
peter1138
4be6701717
(svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties.
2008-08-31 09:52:47 +00:00
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.
2008-08-31 08:46:43 +00:00
rubidium
d452683aa6
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
2008-08-31 08:38:30 +00:00
rubidium
17998f7f98
(svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want.
2008-08-30 12:14:56 +00:00
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)
2008-08-30 10:26:16 +00:00
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.
2008-08-30 09:46:52 +00:00
rubidium
943031bdaf
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
2008-08-30 09:43:07 +00:00
peter1138
76895a93f4
(svn r14189) -Fix (r14188): Accidental line removal
2008-08-30 09:01:05 +00:00
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.
2008-08-30 08:59:55 +00:00
rubidium
639620f5be
(svn r14187) -Fix (r14104): silence warning when compiling without networking enabled.
2008-08-29 21:11:28 +00:00
rubidium
7accf0ac97
(svn r14186) -Fix [FS#2255]: small typo (Jafinto)
2008-08-29 21:07:26 +00:00
rubidium
509b77371f
(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.
2008-08-29 21:06:49 +00:00
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.
2008-08-29 20:03:51 +00:00
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.
2008-08-28 19:53:25 +00:00
peter1138
4071e36f36
(svn r14181) -Fix (r14175): Rail types are not road types
2008-08-28 19:22:03 +00:00
glx
9788ce3757
(svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list).
2008-08-27 21:30:20 +00:00
frosch
8c0e108960
(svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty.
2008-08-27 19:54:41 +00:00
frosch
b4c0a3efe3
(svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders.
2008-08-27 19:21:01 +00:00
smatz
eeaeecd255
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
2008-08-25 22:10:47 +00:00
smatz
6074de33d0
(svn r14176) -Fix: better 'safe' than ... 'save'
2008-08-25 20:54:34 +00:00
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.
2008-08-25 20:42:54 +00:00
smatz
1294253d68
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
2008-08-25 20:10:45 +00:00
peter1138
18032db8c1
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
2008-08-25 18:14:19 +00:00
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.
2008-08-25 17:16:27 +00:00
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.
2008-08-25 16:41:00 +00:00
peter1138
7de2096d1f
(svn r14170) -Codechange: Missing enum for road type iteration.
2008-08-25 16:20:26 +00:00
belugas
de43d17a82
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
2008-08-25 16:10:34 +00:00
peter1138
7b632aa8aa
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
2008-08-25 16:07:10 +00:00
rubidium
4548c5a26b
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
2008-08-25 15:15:41 +00:00
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.
2008-08-25 12:47:17 +00:00
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.
2008-08-25 10:58:24 +00:00
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.
2008-08-25 06:35:28 +00:00
peter1138
e3fad31f31
(svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same.
2008-08-24 23:29:58 +00:00
rubidium
bd14bd872e
(svn r14161) -Codechange: allow inis to be loaded from tars.
2008-08-24 23:12:10 +00:00
peter1138
2ea575e36c
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
2008-08-24 23:10:23 +00:00
peter1138
e999f189e6
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
2008-08-24 23:00:11 +00:00
peter1138
6261063689
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
2008-08-24 21:31:24 +00:00
smatz
8abd4137d4
(svn r14156) -Fix (r14153): missing/wrong comments
2008-08-24 17:29:57 +00:00
glx
01e8ec447e
(svn r14155) -Fix (r14154): wrong comments
2008-08-24 17:18:05 +00:00
glx
4bb40a7d44
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
2008-08-24 17:02:21 +00:00
rubidium
7ceb1252a2
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
2008-08-24 13:50:31 +00:00
rubidium
0742de717f
(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker)
2008-08-24 09:48:21 +00:00
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.
2008-08-24 08:41:38 +00:00
belugas
7b01fb91c7
(svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption
2008-08-24 01:39:56 +00:00
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.
2008-08-23 23:31:27 +00:00
frosch
b66b3937ed
(svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles.
2008-08-23 23:15:04 +00:00
frosch
464899f9ad
(svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit().
2008-08-23 22:31:36 +00:00
rubidium
07c20252c3
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23 20:16:54 +00:00
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.
2008-08-23 19:14:27 +00:00
peter1138
1de6c87cdd
(svn r14144) -Fix (r8826): Incorrect cargo weights
2008-08-23 18:05:52 +00:00
frosch
6b9b879a2c
(svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint.
2008-08-23 16:34:05 +00:00
frosch
bb85d482d8
(svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies.
2008-08-23 16:26:01 +00:00
frosch
40796e9f19
(svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner.
2008-08-23 16:16:37 +00:00
frosch
8886f5b4c3
(svn r14140) -Fix (r14135): Enum in saveload-table.
2008-08-23 16:13:31 +00:00
frosch
a7bc5f2d0d
(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.
2008-08-23 16:09:06 +00:00
smatz
983a93d447
(svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue
2008-08-23 12:29:41 +00:00
celestar
3546b74e93
(svn r14137) -Codechange: Remove a now unused member of CargoPacket
2008-08-23 09:31:53 +00:00
belugas
23b1f53ff6
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
2008-08-23 02:15:46 +00:00
frosch
b6ae11f3ae
(svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'.
2008-08-23 00:32:01 +00:00
rubidium
1fb68ddff5
(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.
2008-08-22 22:54:38 +00:00
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)
2008-08-22 22:48:12 +00:00
frosch
2dd9bc672a
(svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc)
2008-08-22 22:42:21 +00:00
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)
2008-08-22 22:28:26 +00:00
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.
2008-08-22 22:19:23 +00:00
belugas
dd1ae8c13f
(svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown
2008-08-22 01:14:25 +00:00
frosch
7ef5905b8c
(svn r14126) -Codechange (r14125): Add some tabs.
2008-08-21 20:45:52 +00:00
frosch
ec30cfeff3
(svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
...
Note: Proper indenting in next commit.
2008-08-21 20:42:45 +00:00
belugas
15d8d1d74b
(svn r14123) -Codechange: a few magical number to sprite name conversions
2008-08-21 19:12:24 +00:00
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)
2008-08-21 08:46:25 +00:00
belugas
97de2577e3
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
2008-08-21 02:19:31 +00:00
belugas
a91c078526
(svn r14118) -Fix(r14104): typos creeping like bugs
2008-08-21 01:42:21 +00:00
frosch
378782b3ed
(svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs.
2008-08-20 19:53:42 +00:00
frosch
dde40c53ed
(svn r14113) -Codechange: Language updates for r14112.
2008-08-20 19:33:06 +00:00
frosch
59f813267c
(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken.
2008-08-20 19:31:35 +00:00
frosch
24c01374a1
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
2008-08-20 19:10:42 +00:00
glx
28fb23ca56
(svn r14110) -Fix: desyncs due to bubbles in toyland
2008-08-20 16:51:08 +00:00
smatz
c45a143e27
(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled
2008-08-20 16:06:27 +00:00
belugas
2ac0767af5
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
2008-08-20 15:27:22 +00:00
smatz
506a6ffe57
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
2008-08-20 15:21:03 +00:00
belugas
f9494992c5
(svn r14106) -Fix(r14104): A string too much been commited
2008-08-20 13:32:57 +00:00
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 :)
2008-08-20 01:38:12 +00:00
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.
2008-08-20 01:29:05 +00:00
smatz
1145a11b9d
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
2008-08-19 10:55:33 +00:00
rubidium
949885aeb3
(svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
2008-08-19 09:08:45 +00:00
rubidium
3596b61c58
(svn r14101) -Cleanup (r14083): leftover friend.
2008-08-18 21:44:03 +00:00
belugas
e4e3259433
(svn r14099) -Codechange: Welcome back, Celestar.
...
While at it, an alphabetic error been fixed
2008-08-18 17:07:27 +00:00
celestar
1fa55e4ec0
(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle
2008-08-18 16:52:40 +00:00
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.
2008-08-17 21:07:09 +00:00
rubidium
66b9ea9a5a
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
2008-08-17 19:56:17 +00:00
frosch
8daea149e9
(svn r14095) -Fix (r14076): Trains shall not stop instantly.
2008-08-17 18:48:18 +00:00
glx
e88e07b3bf
(svn r14094) -Revert (r14071): caused more problems than it solved
2008-08-17 15:03:54 +00:00
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).
2008-08-17 13:56:11 +00:00
rubidium
8035f120b4
(svn r14092) -Cleanup (r14083): dead code, i.e. unused function.
2008-08-17 11:52:06 +00:00
frosch
99ac60e5e1
(svn r14091) -Cleanup (r14083): Remove superfluous '#include's.
2008-08-17 11:49:35 +00:00
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.
2008-08-17 11:12:56 +00:00
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.
2008-08-17 11:04:37 +00:00
rubidium
5314e27ff1
(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime)
2008-08-16 21:48:28 +00:00
smatz
0b2c6bc2b3
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
2008-08-16 18:01:23 +00:00
frosch
fc8997bcc3
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
2008-08-16 14:15:32 +00:00
frosch
ea2564c420
(svn r14084) -Codechange: Language updates for r14083.
2008-08-16 14:04:29 +00:00
frosch
92f3c368b8
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
2008-08-16 14:02:20 +00:00
frosch
302cdf69a4
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
2008-08-16 13:52:44 +00:00
glx
c7453851d3
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
2008-08-15 22:06:58 +00:00
peter1138
550fc3a3f5
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
2008-08-15 17:54:43 +00:00
frosch
c8e699cc35
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
2008-08-15 13:57:43 +00:00
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.
2008-08-13 19:09:27 +00:00
rubidium
a7d3d86f55
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
2008-08-13 14:52:54 +00:00
rubidium
8e8fabd27c
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
2008-08-13 14:26:20 +00:00
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.
2008-08-13 06:22:04 +00:00
rubidium
c816cc37fd
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
2008-08-13 06:05:01 +00:00
rubidium
688267ad52
(svn r14062) -Fix [FS#2226]: division by 0 in newai.
2008-08-13 05:12:36 +00:00
belugas
ae15f2e063
(svn r14061) -Codechange: constification and move a declaration more logically
2008-08-13 02:48:50 +00:00
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.
2008-08-13 02:43:42 +00:00
belugas
e69de261ad
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
2008-08-13 01:48:58 +00:00
rubidium
7f5ef3da45
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
2008-08-12 22:14:57 +00:00
rubidium
142ea9a0aa
(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime)
2008-08-12 22:12:14 +00:00
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.
2008-08-12 20:49:27 +00:00
rubidium
edc1b3cdc2
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
2008-08-12 20:31:49 +00:00
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.
2008-08-12 19:29:10 +00:00
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.
2008-08-12 12:23:05 +00:00
rubidium
b76620939d
(svn r14051) -Codechange: enumify the DrawString buffer length.
2008-08-12 11:21:37 +00:00
belugas
5cbd0fb5a4
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
2008-08-12 02:20:39 +00:00
rubidium
467d6e31c3
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
2008-08-11 22:58:30 +00:00
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.
2008-08-11 22:45:11 +00:00
rubidium
122f029b93
(svn r14046) -Codechange: make the size of querystring "widgets" more configurable.
2008-08-11 22:08:56 +00:00
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.
2008-08-11 22:07:26 +00:00
belugas
eb461386ce
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
2008-08-11 20:06:57 +00:00
belugas
ba3d49df40
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
2008-08-11 18:30:52 +00:00
glx
9fa2cbd93e
(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
2008-08-11 17:15:31 +00:00
belugas
2a935c9025
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
...
since captions have their own encoded colours in string.
2008-08-11 16:31:36 +00:00
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)
2008-08-10 21:56:47 +00:00
rubidium
b3a15a3983
(svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL.
2008-08-10 19:00:33 +00:00
frosch
110a9f8fc0
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
2008-08-10 15:02:21 +00:00
rubidium
f0347e5383
(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc)
2008-08-10 13:37:09 +00:00
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)
2008-08-10 09:55:26 +00:00
peter1138
fc442ce9af
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
2008-08-09 18:46:51 +00:00
peter1138
ae230e9153
(svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi)
2008-08-09 18:42:37 +00:00
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)
2008-08-09 17:56:31 +00:00
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.
2008-08-09 16:42:55 +00:00
frosch
3c2128dedb
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
2008-08-09 11:04:42 +00:00
belugas
82ada4b3d0
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
2008-08-09 03:30:15 +00:00
belugas
b4b9626172
(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around.
2008-08-09 02:54:06 +00:00
belugas
b714273706
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
2008-08-09 02:11:46 +00:00
glx
812ab1279a
(svn r14026) -Cleanup (r13995, r14004): trailing whitespaces
2008-08-08 15:49:16 +00:00
smatz
dffc12fb23
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
2008-08-08 15:02:21 +00:00
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)
2008-08-08 14:58:27 +00:00
smatz
5719c0f16d
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
2008-08-08 13:53:06 +00:00
smatz
c665a2f233
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
2008-08-08 13:29:18 +00:00
rubidium
9f239cca37
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
2008-08-08 09:31:50 +00:00
peter1138
2c92a979ad
(svn r14018) -Fix (r14017): Typos prevented compilation.
2008-08-08 06:02:06 +00:00
belugas
f4997d8866
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
2008-08-08 03:37:00 +00:00
belugas
e89b108161
(svn r14016) -Codechange: Remove some magical numbers
2008-08-08 02:28:28 +00:00
peter1138
d6c385a41e
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
2008-08-07 18:26:13 +00:00
peter1138
ad52678d14
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
2008-08-07 18:11:09 +00:00
rubidium
6acc3f6e59
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
2008-08-07 13:07:51 +00:00
peter1138
f7ea5b51e7
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
2008-08-07 07:48:57 +00:00
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?
2008-08-07 01:28:27 +00:00
peter1138
afe73dfe11
(svn r14009) -Cleanup (r14008): Bad whitespace...
2008-08-06 20:14:21 +00:00
peter1138
1a28c1c4ee
(svn r14008) -Fix (r14004): NewGRF preset drop down list not working
2008-08-06 20:12:42 +00:00
frosch
3064767d69
(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside.
2008-08-06 19:00:31 +00:00
frosch
84cbf2c755
(svn r14006) -Codechange: Deduplicate some code.
2008-08-06 18:57:37 +00:00
smatz
132e7e9b69
(svn r14005) -Codechange: minor coding style fix
2008-08-06 15:52:04 +00:00
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().
2008-08-06 07:10:40 +00:00
belugas
6532897b5a
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
2008-08-06 04:01:07 +00:00
smatz
7fce33fb51
(svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game
2008-08-05 13:25:49 +00:00
peter1138
b1dd8f9334
(svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum
2008-08-05 00:17:56 +00:00
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.
2008-08-04 22:31:49 +00:00
rubidium
12037a8b38
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
2008-08-04 19:07:37 +00:00
frosch
d8bfe46027
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
2008-08-04 18:54:19 +00:00
rubidium
b32b101b8c
(svn r13995) -Fix (r13988): some warnings of the compile farm.
2008-08-04 18:27:54 +00:00
belugas
39c92f9068
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
2008-08-04 17:27:06 +00:00
belugas
754c825b2c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
2008-08-04 17:12:23 +00:00
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.
2008-08-04 15:07:17 +00:00
smatz
d097276022
(svn r13991) -Codechange: draw text effects after all other signs
2008-08-04 14:40:50 +00:00