summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-25(svn r8404) -Update: WebTranslator2 update to 2007-01-25 19:36:44miham
korean - 2 changed by leejaeuk5 (2) slovak - 1 changed by lengyel (1) slovenian - 290 changed by Necrolyte (290) ukrainian - 1 fixed, 55 changed by mad (7), znikoz (49)
2007-01-25(svn r8403) -Fix (r8402): Forgot to remove an enumcelestar
2007-01-25(svn r8402) -Codechange: Move RoadStop-specific enums to the RoadStop class, ↵celestar
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
2007-01-25(svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and ↵celestar
rename it to 'IsValid' -Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
2007-01-25(svn r8400) -Fixtron
Simplify r8399
2007-01-25(svn r8399) -Fix (r8185): a new road stop was always created in ↵glx
CmdBuildRoadStop(), but it was not deleted if DC_EXEC flag was not set or if the station creation failed
2007-01-24(svn r8398) -Cleanup: Remove WATCOM crud from strgen and map.h include from ↵Darkvater
macros.h as it is no longer needed.
2007-01-24(svn r8397) -Codechange: [orders window] don't move the refit button to the ↵bjarni
same location as the unload button instead assert if the widget array place them at different locations
2007-01-24(svn r8396) -Update: WebTranslator2 update to 2007-01-24 19:41:28miham
estonian - 1 fixed by vermon (1) finnish - 1 fixed by kerba (1) greek - 13 fixed by Kesnar (13) norwegian_bokmal - 1 fixed by oletk (1) romanian - 1 fixed by kneekoo (1) spanish - 1 fixed by eusebio (1) ukrainian - 31 fixed, 24 changed by znikoz (4), mad (51)
2007-01-24(svn r8395) -Cleanup: [orders window] moved the refit button two places up, ↵bjarni
so the order of the widget array fits the placement on the screen
2007-01-24(svn r8394) -Cleanup: added an enum with widget names to the orders windowbjarni
2007-01-24(svn r8393) -Fixtron
-Codechange: CheckCompatibleRail() is only called for tiles which are known to contain a piece of rail. Simplify the function accordingly by eliminating unnecessary checks. -Fix (?): Also fix an inconsistency in deciding what a compatible rail type is between level crossings and other rail tiles. It is unknown if this caused any problems.
2007-01-24(svn r8392) -Fixtron
Use HASBIT() instead of implementing it manually
2007-01-24(svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf ↵peter1138
stations work
2007-01-24(svn r8390) -Codechange (r8384): Rewrote ResizeButtons()bjarni
Now it only works on first and last widget to resize It now works with offsets correctly (no longer assumes the left is 0) It's no longer needed to have a widget right of the ones you resize Can handle any number of widgets
2007-01-24(svn r8385) -Fixtron
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
2007-01-24(svn r8384) -Codechange: [GUI] instead of writing a resize button function ↵bjarni
for each window, a global ResizeButtons() is added
2007-01-24(svn r8383) -Feature: train detail window is now resizable horizontally ↵bjarni
(requested by Wolf01)
2007-01-24(svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.hbjarni
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
2007-01-23(svn r8381) -Fix (r8377): [build vehicle window] cleaned up the train ↵bjarni
refitable detection. It had two variables doing the same thing, but not always set to the same (oops)
2007-01-23(svn r8380) [Translations] -Fix: After held a developer mini-conference upon ↵miham
this wrong argidx issue, we decided to remove the {P ..} from STR_TONS
2007-01-23(svn r8379) -Cleanup: [build vehicle window] removed overloading with ↵bjarni
DrawVehiclePurchaseInfo() and renamed them into type specific names
2007-01-23(svn r8378) -Fix (r8331): [build vehicle window] extended the widget with ↵bjarni
the details with one line since some newgrf trains needs it
2007-01-23(svn r8377) -Fix (r8331): [build vehicle window] train cargo capacity now ↵bjarni
only add "(refitable)" if the engine in question is refitable
2007-01-23(svn r8376) -Codechange: remove unused tablerubidium
2007-01-23(svn r8375) -Update: WebTranslator2 update to 2007-01-23 19:34:40miham
brazilian_portuguese - 2 changed by fukumori (2) esperanto - 14 changed by LaPingvino (14) simplified_chinese - 6 fixed, 10 changed by Fishingsnow (16) slovenian - 394 changed by Necrolyte (394) ukrainian - 68 changed by mad (61), znikoz (7)
2007-01-23(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX ↵maedhros
describes the required value better anyway. However, INT64_MAX comes from stdint.h which doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
2007-01-23(svn r8373) -Codechange: remove some obsolete MSVC6 compatability definesrubidium
2007-01-23(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from ↵rubidium
openttd.h, which does not exist in the masterserver/updater.
2007-01-23(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a ↵bjarni
file of it's own Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
2007-01-23(svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file historybjarni
2007-01-23(svn r8369) -Cleanup: [Graphs] Rename include_neg and adj_height to more ↵maedhros
descriptive names, and add some more comments.
2007-01-23(svn r8368) -Cleanup: [Graphs] Rename the variables relating to whether ↵maedhros
datasets should be drawn, and use HASBIT for testing against them.
2007-01-23(svn r8367) -Fix: [Graphs] Don't try to use the same value to mean something ↵maedhros
is invalid for both an int64 and a uint.
2007-01-23(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and ↵maedhros
fix two longstanding bugs. 1) If the graph contained negative values, the y axis labels were half the size they should have been. 2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
2007-01-23(svn r8365) -Cleanup: Remove unneeded and dead links, install Owner ↵belugas
informations, add attribute m6. More to come on that matter...
2007-01-23(svn r8364) -Codechange (r8362): added an assert to catch conditions where a ↵bjarni
request wants to draw more vehicles than the list contains
2007-01-23(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a ↵bjarni
file of it's own
2007-01-22(svn r8362) -Codechange: [vehicle build window] moved the engine drawing ↵bjarni
loop to a function of it's own -Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left
2007-01-22(svn r8361) -Codechange: make sure the range of the dates coming from the ↵rubidium
network are valid in OpenTTD -Codechange: use_password is a boolean variable -Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
2007-01-22(svn r8360) [Translations] -Fix: removed 4 empty strings from simplified ↵miham
chinese translation -Fix: added dummy ownname to Korean, translator will have to supply it through WT2
2007-01-22(svn r8359) [Translations] -Change: Removed the .UTF-8 suffix from isocodesmiham
2007-01-22(svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the ↵maedhros
scaling for negative values.
2007-01-22(svn r8354) -Update: WebTranslator2 update to 2007-01-22 19:27:50miham
american - 1 fixed by WhiteRabbit (1) brazilian_portuguese - 5 changed by fukumori (5) esperanto - 4 changed by LaPingvino (4) japanese - 28 changed by ickoonite (28) korean - 6 fixed, 151 changed by leejaeuk5 (157) simplified_chinese - 7 fixed, 2 changed by Fishingsnow (9)
2007-01-22(svn r8353) -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace ↵bjarni
code (duplicated code removal)
2007-01-22(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a ↵maedhros
hardcoded offset to make the string appear centred.
2007-01-22(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with ↵bjarni
real static inline functions
2007-01-22(svn r8347) -Codechange: [Graphs] Make some more variables local to the ↵maedhros
loops they're used in, and remove some assumptions about the size of an array.
2007-01-22(svn r8343) -Cleanup: [build vehicle windows] added a few comments and ↵bjarni
removed two switch-cases, that we can do without
2007-01-22(svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure ↵bjarni
valid vehicle types in the argument