Commit Graph

6518 Commits

Author SHA1 Message Date
rubidium
aeb7241db8 (svn r9266) -Codechange: unify the retrieval of the base paths a little more. 2007-03-17 11:36:04 +00:00
peter1138
70e32d663a (svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type... 2007-03-16 21:42:11 +00:00
peter1138
28717b6bc5 (svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type. 2007-03-16 17:40:31 +00:00
celestar
045d3dc05f (svn r9251) -Fix(r6057, FS#644): Use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game. The AI now sucks a even a bit more than before (if that's even possible). 2007-03-16 10:11:16 +00:00
peter1138
50811a49ed (svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup. 2007-03-16 00:55:59 +00:00
rubidium
3a038ac2d8 (svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM). 2007-03-15 23:26:47 +00:00
peter1138
5b3b287883 (svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs. 2007-03-15 22:48:46 +00:00
belugas
dbee26fda9 (svn r9215) -Documentation : correct Doxygen of comments 2007-03-15 17:42:32 +00:00
truelight
89794adebe (svn r9205) -Fix: if you started openttd with '-g' you got the same map every run 2007-03-15 14:34:10 +00:00
truelight
dd2cd20026 (svn r9198) [Config] -Add: added 'make run-gdb' which starts gdb + OpenTTD + OPENTTD_ARGS for you 2007-03-15 13:17:54 +00:00
belugas
9e90282712 (svn r9190) -Fix: Little typo in an enum. 2007-03-15 01:17:20 +00:00
maedhros
787d0fcf62 (svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under bridges. 2007-03-14 12:56:09 +00:00
belugas
ee945d2375 (svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
2007-03-14 02:52:50 +00:00
peter1138
c4a191dd11 (svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios. 2007-03-13 21:31:09 +00:00
KUDr
8a58bb5108 (svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous) 2007-03-13 21:04:22 +00:00
truelight
b1e8191040 (svn r9137) -Fix: if all news-setting buttons show 'full', make the ALL-button show 'full' too 2007-03-13 12:05:41 +00:00
miham
21392c7846 (svn r9132) [Translations] -Fix: Removed empty strings added by last commit 2007-03-12 19:58:56 +00:00
rubidium
48299a729f (svn r9131) -Codechange: move the OSX application bundle resource directories so they comply (better) to Apple's guidelines and to our naming 'scheme' for the lang and data directories. 2007-03-12 15:54:19 +00:00
rubidium
9a107b8752 (svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together. 2007-03-12 15:40:12 +00:00
rubidium
c0ac3745a0 (svn r9129) -Codechange: unify parts of DeterminePaths. 2007-03-12 15:25:33 +00:00
peter1138
a2c7352f71 (svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little) 2007-03-11 22:29:37 +00:00
bjarni
e93ace0cfa (svn r9126) -Feature: "Function of scrollwheel" can now be set to off as well
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 21:53:46 +00:00
bjarni
a7259e6317 (svn r9125) -Fix r9111: default scrollwheel setting is now zooming, not scrolling 2007-03-11 21:39:20 +00:00
miham
c998e496e4 (svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39
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 15:17:30 +00:00
rubidium
40ebea6a6a (svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window. 2007-03-11 14:56:35 +00:00
miham
8ce88873c7 (svn r9116) [Translations] -Change: force remove of changed translations (r9115) to ensure they are really changed 2007-03-11 14:38:52 +00:00
rubidium
bfe4878568 (svn r9115) -Fix [FS#622]: make clear in the tooltips when the canal build tool (in the scenario editor) makes flooding water (ocean). 2007-03-11 14:17:53 +00:00
bjarni
49d26fd754 (svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the smallmap 2007-03-11 11:57:11 +00:00
bjarni
7d498a55de (svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (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 10:55:35 +00:00
belugas
c90cfa1df0 (svn r9108) -Fix(9093) : MSVC was a bit unhappy with some of the type changes. So basically, widening the types makes the difference 2007-03-11 02:53:44 +00:00
belugas
a06fb56746 (svn r9106) -Documentation: forgotten usage of m2 (storing TownID) in statue unmovable tile type 2007-03-11 01:22:21 +00:00
rubidium
b510eaaca5 (svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0. 2007-03-10 21:44:22 +00:00
KUDr
3ccc5e7b27 (svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138) 2007-03-10 20:05:31 +00:00
peter1138
53452ef9a7 (svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks 2007-03-10 16:21:29 +00:00
truelight
de5beec61c (svn r9097) -Fix [FS#525]: open and close messages now have their own 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 12:10:00 +00:00
peter1138
23e4a98dad (svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type. 2007-03-10 10:08:38 +00:00
peter1138
1efd1adc97 (svn r9093) -Codechange: variable scope / type 2007-03-10 09:55:11 +00:00
peter1138
ec5b2c600b (svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate. 2007-03-10 09:23:33 +00:00
belugas
b57ef910f8 (svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-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 03:33:43 +00:00
belugas
8ef56794ab (svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple 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 03:25:15 +00:00
Darkvater
8b2f9c8207 (svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all 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 00:30:18 +00:00
Darkvater
8007fb38d4 (svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. 2007-03-10 00:29:20 +00:00
Darkvater
6f36db349f (svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale. 2007-03-10 00:27:20 +00:00
Darkvater
a59eec1c36 (svn r9083) -Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length. 2007-03-10 00:26:19 +00:00
Darkvater
6fe5620876 (svn r9082) -Codechange: [win32] Update VS2003 and VS2005 project files to 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-10 00:25:54 +00:00
KUDr
9cd4f3a204 (svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead. 2007-03-09 23:26:21 +00:00
peter1138
8754295bd9 (svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window. 2007-03-09 22:55:57 +00:00
peter1138
53ee239945 (svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo payment graph 2007-03-09 22:55:04 +00:00
rubidium
9cfae085cb (svn r9078) -Codechange: coding style. 2007-03-09 15:12:37 +00:00
rubidium
2b6736d244 (svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances. 2007-03-09 14:41:39 +00:00