summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-14(svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile ↵belugas
animation data into IndustryTileSpec array Added a few documentation on remaining animation arrays (mostly ToyLand ones)
2007-03-13(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and ↵peter1138
enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
2007-03-13(svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated ↵KUDr
incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous)
2007-03-13(svn r9137) -Fix: if all news-setting buttons show 'full', make the ↵truelight
ALL-button show 'full' too
2007-03-12(svn r9132) [Translations] -Fix: Removed empty strings added by last commitmiham
2007-03-12(svn r9131) -Codechange: move the OSX application bundle resource ↵rubidium
directories so they comply (better) to Apple's guidelines and to our naming 'scheme' for the lang and data directories.
2007-03-12(svn r9130) -Codechange: move the fileio functions that do open a file into ↵rubidium
a Fio slot together.
2007-03-12(svn r9129) -Codechange: unify parts of DeterminePaths.rubidium
2007-03-11(svn r9127) -Codechange: Check if a cargo is valid before displaying it in a ↵peter1138
station's cargo rating list. (And duff up the block a little)
2007-03-11(svn r9126) -Feature: "Function of scrollwheel" can now be set to off as wellbjarni
Note: since this can be useful for all platforms, the GUI is no longer OSX specific. Note: scrolling lists is still unaffected by this setting
2007-03-11(svn r9125) -Fix r9111: default scrollwheel setting is now zooming, not ↵bjarni
scrolling
2007-03-11(svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39miham
brazilian_portuguese - 2 fixed by fukumori (2) bulgarian - 1 fixed by thetitan (1) catalan - 5 fixed by arnaullv (5) czech - 1 changed by Hadez (1) esperanto - 1 fixed by LaPingvino (1) french - 5 fixed by glx (5) german - 1 fixed by Neonox (1) greek - 260 fixed by thanoulas (260) hungarian - 8 fixed by miham (8) italian - 1 fixed by sidew (1) korean - 12 fixed by leejaeuk5 (7), darkttd (5) polish - 1 fixed, 2 changed by meush (3) portuguese - 2 fixed by izhirahider (2) slovenian - 1 fixed by Necrolyte (1) traditional_chinese - 1 fixed, 42 changed by thomasau (43)
2007-03-11(svn r9117) -Fix: the (current) difficulty level button was not selected ↵rubidium
when opening the difficulty window.
2007-03-11(svn r9116) [Translations] -Change: force remove of changed translations ↵miham
(r9115) to ensure they are really changed
2007-03-11(svn r9115) -Fix [FS#622]: make clear in the tooltips when the canal build ↵rubidium
tool (in the scenario editor) makes flooding water (ocean).
2007-03-11(svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the ↵bjarni
smallmap
2007-03-11(svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map ↵bjarni
(in all directions) It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
2007-03-11(svn r9108) -Fix(9093) : MSVC was a bit unhappy with some of the type ↵belugas
changes. So basically, widening the types makes the difference
2007-03-11(svn r9106) -Documentation: forgotten usage of m2 (storing TownID) in statue ↵belugas
unmovable tile type
2007-03-10(svn r9105) -Fix [FS#629]: disable the ability to make flooding water with ↵rubidium
the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0.
2007-03-10(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, ↵KUDr
std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
2007-03-10(svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle ↵peter1138
refit masks
2007-03-10(svn r9097) -Fix [FS#525]: open and close messages now have their own ↵truelight
setting, so you can hide economy changes, but do show open/close of industries -Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
2007-03-10(svn r9094) -Codechange: Don't set up refit masks for engine types not in ↵peter1138
the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.
2007-03-10(svn r9093) -Codechange: variable scope / typepeter1138
2007-03-10(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid ↵peter1138
if the chosen type is not available in the current climate.
2007-03-10(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.belugas
-Codechange: Use the newly created WWT_TEXT widget. -Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events. Thanks glx for ideas from an old patch
2007-03-10(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple ↵belugas
truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
2007-03-10(svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all ↵Darkvater
keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus.
2007-03-10(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage ↵Darkvater
(non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
2007-03-10(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have ↵Darkvater
CF_UNICODETEXT) correctly converts the input to the current locale.
2007-03-10(svn r9083) -Codechange: Be more lenient when trimming UTF-8 strings and ↵Darkvater
don't terminate the string when an invalid encoding is encountered, but only focus on maximum length.
2007-03-10(svn r9082) -Codechange: [win32] Update VS2003 and VS2005 project files to ↵Darkvater
use the same outpath, and build in UNICODE mode. When making a release it is probably better to make two binaries, one without UNICODE, the other with, guaranteeing full Win9x compatibility (UNICODE with MSLU also works, without it's even better). -Remove: [os/2] Relic project file remains from watcom
2007-03-09(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use ↵KUDr
std::numeric_limits<uint32>::max() instead.
2007-03-09(svn r9080) -Codechange: dynamically build cargo filter buttons in the ↵peter1138
station list window.
2007-03-09(svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo ↵peter1138
payment graph
2007-03-09(svn r9078) -Codechange: coding style.rubidium
2007-03-09(svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel ↵rubidium
entrances.
2007-03-09(svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' ↵rubidium
runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13).
2007-03-09(svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that ↵belugas
is. The new industry messages do not need a series of tests. Only one property to use.
2007-03-09(svn r9074) -Codechange: win32 dedicated console now doesn't need an extra ↵glx
'enter' to fully quit
2007-03-08(svn r9073) -Codechange: moved autoreplace to a file of it's own (now ↵bjarni
autoreplace has a cmd and a gui file)
2007-03-08(svn r9072) -Codechange: [Orders] added methods to orders to free them and ↵bjarni
check if they are in use
2007-03-08(svn r9071) -Fix [FS#459]: when in networking an other player takes over an ↵truelight
AI which is also controlled by a player, move the player with the company to the company who bought out the AI
2007-03-08(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, ↵truelight
you wouldn't ever be able to do so for a given station
2007-03-08(svn r9069) -Codechange: Change a do ... while loop with a for loop. This ↵peter1138
fixes some warning that I never got anyway...
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-08(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you ↵truelight
loose the information who it owns
2007-03-08(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets ↵truelight
removed, the town is notified of it
2007-03-08(svn r9065) -Fix: possible dereference of NULL pointer.rubidium