Commit Graph

628 Commits

Author SHA1 Message Date
truelight
af6fe3949b (svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch
settings, off by defaut). An other step to AIScripts.
      WARNING: this is still highly experimental and has known bugs!
2005-11-21 14:28:31 +00:00
tron
99a918aaac (svn r3222) -Feature: Right-Click-Scrolling optionally moves in the opposite direction (Requested by manx) 2005-11-19 12:37:28 +00:00
miham
4e98419f9b (svn r3221) [Translations] Updated to 2005-11-19 2005-11-19 11:07:42 +00:00
bjarni
16e65960b9 (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
This means that any user attempt to remove a rear engine will tell the user to move the front engine instead
	This fixes the assert when moving multiheaded engines (introduced in r3144)
	Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs

-Codechange: train subtype is now a bitmask
	This allows fast access to info like if it is a wagon or engine and if it is in front and so on
	Note: savegame version bump
2005-11-18 23:41:03 +00:00
tron
7b69def47a (svn r3203) Directly use the currency symbols for pounds and yen in the language files like it's already done for dollar and euro 2005-11-16 12:37:22 +00:00
peter1138
7ba8da9dc7 (svn r3157) - Feature: Added patch option to link the terraform toolbar to the rail, road, water and airport toolbars. If enabled, the terraform toolbar will open and close with those toolbars. 2005-11-09 07:25:55 +00:00
bjarni
df6c48fdba (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
-Trains will now remember the length of stations it visits and sell cars
        when being autoreplaced if they became too long
        -If it needs to remove cars, then it starts from the front and sells
        all it can find until the train is short enough
        -This only works for trains, that knows the station length of the route
        so a full uninterrupted run is needed
        -a train needs 1-2 runs to detect if the shortest station is expanded
        -This feature can be turned on and off in the train replace window
        and each company can have it's own setting
        -NOTE: minor savegame version bump
2005-11-07 23:20:47 +00:00
miham
7a2f72d3fc (svn r3121) [Translations] Moved turkish.txt from unfinished to stable 2005-11-02 19:20:48 +00:00
tron
b2bd21c9a2 (svn r3120) Update the turkish translation, about 2000 strings.
Many thanks to jnmbk for his effort!
2005-11-02 19:16:33 +00:00
miham
28f529f56a (svn r3117) [Translations] Updated french 2005-11-01 18:33:47 +00:00
tron
93914d3472 (svn r3115) Fix typos, remove untranslated strings, use the correct charset 2005-11-01 09:34:42 +00:00
Darkvater
71fb375f8c (svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping).
- Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.
2005-10-28 00:09:59 +00:00
tron
4642ac94a9 (svn r3076) s/OSX/OS X/
and Unix is spelled "Unix", not "Linux"
2005-10-21 12:24:55 +00:00
miham
7d86fd9f08 (svn r3060) [Translations] Updating translations to 2005-10-18 {@805} (2 langs changed) 2005-10-18 18:18:50 +00:00
miham
3fae53a61d (svn r3033) [Translations] Fixed (? :-)) lithuanian language 2005-10-12 09:35:14 +00:00
miham
21013669c1 (svn r3020) [Translations] Updating translations to 2005-10-06 {@326} (4 langs changed) 2005-10-06 06:49:53 +00:00
miham
14cb6ac17c (svn r3007) [Translations] Updating translations to 2005-10-02 {@563} (4 langs changed) 2005-10-02 12:31:00 +00:00
miham
ee5d1ae5ec (svn r3000) [Translations] Updating translations to 2005-09-30 {@457} (15 langs changed) 2005-09-30 09:58:59 +00:00
miham
9d1d64daff (svn r2986) [Translations] Fixed up english.txt (still don't know how Webtranslator screwed it up) 2005-09-25 19:39:42 +00:00
miham
d20bcf3eb5 (svn r2983) [Translations] Updating translations to 2005-09-24 {@892} (11 langs changed) 2005-09-24 20:24:35 +00:00
peter1138
5dcb1e34fd (svn r2982) Newgrf: Added patch option for wagon speed limits. This is enabled by default. 2005-09-24 13:56:39 +00:00
peter1138
bc602aa6d2 (svn r2969) -Newgrf: Show a wagon's speed limit in purchase list. 2005-09-22 10:31:09 +00:00
Darkvater
e4ccb2b905 (svn r2958) - Feature: [ 1258971 ] Menu option to toggle console. Mainly for MacOS's or PDA's. (toholio) 2005-09-16 10:50:06 +00:00
Darkvater
4d7e916a09 (svn r2957) - Feature: [ 1263280 ] Danish town names (fey_dk) 2005-09-16 10:37:21 +00:00
Darkvater
78e4cbbfda (svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance. 2005-09-16 00:33:33 +00:00
miham
9048b87af9 (svn r2935) [Translations] Fixed up static strings for various languages (Tron) 2005-09-10 09:52:33 +00:00
tron
ed9df4bcb7 (svn r2934) Remove the {STATIONFEATURES} tag from the tiny station label - there are no tiny transport marker sprites 2005-09-10 09:35:18 +00:00
miham
a43e08f3c3 (svn r2931) [Translations] introduced some minimal caseing in hungarian language (miham) 2005-09-10 06:39:36 +00:00
miham
24fccc0b4d (svn r2930) [Translations] Updated estonian (tron) 2005-09-10 06:32:48 +00:00
tron
5a92c4982d (svn r2920) Remove mindless translation 2005-09-06 16:14:37 +00:00
tron
1155cf7887 (svn r2919) Set correct plural type 2005-09-06 16:01:38 +00:00
tron
de4b9cbe04 (svn r2918) Fix some broken strings 2005-09-06 15:58:27 +00:00
tron
98a975f72c (svn r2917) Some mechanical changes (s/COMMA16/COMMA/ etc.) 2005-09-06 15:33:30 +00:00
tron
4d2caf671a (svn r2916) Remove untranslated strings, revert wrong change, readd newline at the end of file in the danish translation and remove a broken string from the finnish translation 2005-09-06 14:37:19 +00:00
miham
d548894738 (svn r2915) [Translations] Updated danish.txt (Got) 2005-09-06 13:45:53 +00:00
miham
c4bc6e7347 (svn r2914) [Translations] Updated american and german language (Tron) 2005-09-05 18:16:29 +00:00
miham
0ca6b4eb63 (svn r2913) [Translations] Updating translations to 2005-09-05 {@793} (4 langs changed) 2005-09-05 18:02:53 +00:00
miham
4c47773603 (svn r2910) [Translations] Updating translations to 2005-09-03 {@561} (8 langs changed) 2005-09-03 12:28:39 +00:00
miham
0d488894b1 (svn r2902) [Translations] Updated finnish.txt (ln-) 2005-08-31 09:19:34 +00:00
Darkvater
4f402ffd7e (svn r2901) Refix 'replace window' with wrong string-etc. coordinates. Also clean up, and make window-title a bit more meaningful (specify vehicle type replaced) 2005-08-29 22:27:22 +00:00
tron
ac2e16f0e1 (svn r2896) Use genders in the german translation 2005-08-27 18:44:16 +00:00
miham
eacaff5c07 (svn r2889) [Translations] Updated american (tron) 2005-08-25 13:29:32 +00:00
miham
f6fc16c445 (svn r2888) [Translations] Updating translations to 2005-08-24 {@839} (3 langs changed) 2005-08-24 19:08:54 +00:00
miham
d3066ddeeb (svn r2885) [Translations] Removed not-translated romanian strings (Tron) 2005-08-23 07:28:45 +00:00
tron
3801218eff (svn r2883) Use the recently added letters in the czech translation.
This changes more than 500 strings - thanks for the effort, Hadez!
2005-08-21 15:20:13 +00:00
miham
40cfcea3a0 (svn r2881) [Translations] Updating translations to 2005-08-21 {@295} (1 langs changed) 2005-08-21 06:05:51 +00:00
miham
b0ecdbee7d (svn r2878) [Translations] Updating translations to 2005-08-20 {@787} (2 langs changed) 2005-08-20 17:53:49 +00:00
miham
65a39dfc50 (svn r2877) [Translations] Handfixed italian.txt 2005-08-20 07:55:27 +00:00
miham
2f6b9bb066 (svn r2876) [Translations] Updated translations (this time manually :-P) 2005-08-17 17:19:40 +00:00
miham
d83698dfcd (svn r2875) [translations] Restored langfiles (f*cked up at 2874, sorry (problem fixed)) 2005-08-17 12:30:07 +00:00
miham
a7f59ce6e6 (svn r2874) [Translations] Updating translations to 2005-08-16 {@946} (24 langs changed) 2005-08-16 21:42:35 +00:00
miham
c786e12f19 (svn r2873) [Translations] Updating translations 2005-08-16 10:57:21 +00:00
miham
7df77f0449 (svn r2870) \[Translations\] Updating translations 2005-08-15 20:53:06 +00:00
miham
c1b139f669 (svn r2867) \[Translations\] Updating translations 2005-08-15 06:46:22 +00:00
miham
92611f1df6 (svn r2859) \[Translations\] Updating translations 2005-08-11 21:51:05 +00:00
miham
3b95601d29 (svn r2856) [Translations] Fixed languages containing STRING1 (except for english.txt) 2005-08-11 13:20:37 +00:00
miham
999f18fac8 (svn r2854) \[Translations\] Updating translations 2005-08-11 13:06:24 +00:00
tron
08cf26b437 (svn r2846) Minor improvement of the french translation: use {P}, fix spelling of "brûlé", fully translate partly untranslated strings and remove gratuitous whitespace (i hope i got it right) 2005-08-08 21:42:27 +00:00
tron
7cca146b0a (svn r2840) Remove 3 unnecessary strings (they're empty) and fix the alignment of the musick track display 2005-08-08 10:42:02 +00:00
miham
008a534c12 (svn r2838) \[Translations\] Updating translations 2005-08-08 09:42:22 +00:00
miham
37e83f5425 (svn r2837) [Translations] Updated dutch langfile, started testing of the new SVN-handler in WebTranslator 2005-08-08 09:01:22 +00:00
tron
2a2b4ca5fc (svn r2805) Revert r2804, something went wrong 2005-08-04 17:59:05 +00:00
miham
9499232960 (svn r2804) [Translators] Updated translations to 20050804 (21 lang(s)) 2005-08-04 17:45:55 +00:00
tron
875464bf00 (svn r2802) Fix language files (again) 2005-08-03 17:55:07 +00:00
miham
ed66e2b72c (svn r2801) [Translators] Updated translations to 20050803 (2 lang(s)) 2005-08-03 17:45:36 +00:00
tron
ca0f0900ec (svn r2800) Further improvement of the german translation 2005-08-03 13:34:34 +00:00
miham
96c9baca12 (svn r2793) [Translations] Hand fixed polish.txt (thanks to Excumbed) 2005-08-02 19:38:18 +00:00
tron
a85863b9e8 (svn r2792) Two more untranslated strings 2005-08-02 15:51:36 +00:00
tron
eaac831276 (svn r2787) Remove untranslated strings from several translations 2005-08-02 14:21:11 +00:00
tron
77b92f6b60 (svn r2786) Add plural forms 2005-08-02 12:38:09 +00:00
tron
d432e1dfa8 (svn r2785) Minor improvement of the german translation 2005-08-02 12:37:09 +00:00
miham
c890e9e078 (svn r2784) [Translators] Updated translations to 20050802 (6 lang(s)) 2005-08-02 08:53:09 +00:00
tron
2ae758a32b (svn r2780) Remove some more unused strings and make the use of a few strings more explicit 2005-08-01 13:01:14 +00:00
tron
f0382bfeb9 (svn r2778) Improvement of the german translation, thanks to Wolf for some suggestions 2005-08-01 12:51:50 +00:00
tron
2189786003 (svn r2773) Revert accidently commited changes 2005-07-31 22:30:54 +00:00
tron
0ab62e7498 (svn r2772) Simplify the age notice in the vehicle details window 2005-07-31 22:28:49 +00:00
miham
8d4f77e45d (svn r2771) [Translations] Latvian status changed back to unfinished due to 1341 missing strings 2005-07-31 21:20:35 +00:00
tron
aeb40f5ac3 (svn r2770) Remove untranslated/corrupt strings from some languages 2005-07-31 21:08:31 +00:00
miham
ee811d48b5 (svn r2769) [Translations] Updated to 2005-07-31 (7 langs) 2005-07-31 20:36:35 +00:00
tron
531adce1d3 (svn r2768) Remove 29 (hopefully) unused string 2005-07-31 17:26:32 +00:00
tron
06ec749425 (svn r2766) Remove string and make use of the plural feature 2005-07-31 16:15:37 +00:00
bjarni
059ae19626 (svn r2764) -Feature: Clone vehicles
-This allows a player to clone an excisting vehicle of his own
  -[fix]: this uncovered an excisting bug in CmdBuildRailVehicle() where depots could build trains of the wrong track type. This is fixed
  -Thanks to Celestar for drawing the sprites and _luca_ for including them in openttd.grf
2005-07-31 13:08:08 +00:00
miham
8030e8429a (svn r2761) [Translators] Updated translations to 20050730 (1 lang(s)) 2005-07-30 17:45:29 +00:00
miham
68bd17e351 (svn r2711) [Translators] Updated translations to 20050725 (2 lang(s)) 2005-07-25 17:45:57 +00:00
miham
42c6eaa5dd (svn r2693) [Translators] Updated translations to 20050723 (1 lang(s)) 2005-07-23 17:45:42 +00:00
miham
5a7037f68b (svn r2671) [Translations] Hand-fix polish.txt
Translators beware! Please double check your language behaviour!
Otherwise, WebTranslator now also checks paramnumber of the plural param,
and refuses to accept badly formatted plural or gender params!
2005-07-21 22:22:26 +00:00
miham
cae796828b (svn r2668) [Translations] Updated to 2005-07-21 (4 langs) 2005-07-21 21:13:42 +00:00
miham
3e12587f7a (svn r2667) [Translations] Restored german translations (2652:2653) 2005-07-21 19:58:36 +00:00
miham
377c3a510c (svn r2662) [Translations] Updated translations to 2005-07-20 2005-07-21 18:01:43 +00:00
miham
f7638b1794 (svn r2661) [Translators] Updated translations to 20050721 (1 lang(s)) 2005-07-21 17:44:20 +00:00
miham
b4b7d1d6bd (svn r2656) [Translations] Revert changes done in 2653 2005-07-20 19:15:23 +00:00
miham
f1946d8349 (svn r2653) [Translators] Updated translations to 20050720 (28 lang(s)) 2005-07-20 17:48:35 +00:00
miham
cea98113b7 (svn r2642) [Translators] Updated translations to 20050719 (0 lang(s)) 2005-07-19 21:28:15 +00:00
miham
85c9e125ea (svn r2637) [Translations] Updated to 2005-07-18 2005-07-19 16:34:46 +00:00
miham
dc5ee38738 (svn r2627) [Translations] Fixing typos in hungarian langfile 2005-07-17 22:20:04 +00:00
ludde
7238b015fa (svn r2620) Fix: [language] Fix broken french.txt and polish.txt 2005-07-17 18:48:05 +00:00
miham
463bf4641d (svn r2615) [trrnasltwsds] 45253rqwer2 2005-07-17 17:57:57 +00:00
ludde
33a939581b (svn r2605) Fix [languages] Add ##plural command in all langfiles. 2005-07-17 14:03:33 +00:00
ludde
594dd34e84 (svn r2594) Fix: [strgen] Misc updates to the string system.
- Renamed the plural command to "P" instead of "PLURAL". Now write something like this to append an s on plural: {P "" s}. (You can optionally still add an argument index to explicitly specifiy which number that's used)
  - Removed the pluralized cargo strings from the string files. The new method is to use the plural specifier {P}
  - Added support for genders. First add "##gender der das die" on top, then use {G=der} on a cargoname/industry to set the gender, and to switch between genders do something like {G neu neu neue} {STRING}
  - Updated the swedish/english translation with P strings.
2005-07-16 20:58:04 +00:00
miham
cb5fc8f6ff (svn r2593) [Translators] Updated translations to 20050716 (27 lang(s)) 2005-07-16 17:46:58 +00:00
ludde
dc3ca73bd5 (svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
- The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT.
Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly.
2005-07-15 18:30:13 +00:00
miham
dffd746fa1 (svn r2578) translation fix 2005-07-15 17:58:31 +00:00
miham
ed99214121 (svn r2577) [Translators] Updated translations to 20050715 (26 lang(s)) 2005-07-15 17:45:54 +00:00
ludde
275e2f477a (svn r2572) - Codechange: [string] Changed string system so it's not as dependent on decode_parameters
- Feature: [strgen] Allow changing the order of parameters in translated strings.
  - Use {1:TOWN} syntax to set the order.
- Codechange: [strgen] Rewrote lots of strgen internals.
2005-07-15 14:53:44 +00:00
miham
e39b6ebf7f (svn r2567) [Translators] Updated translations to 20050714 (2 lang(s)) 2005-07-14 17:45:02 +00:00
tron
d364efea27 (svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anyway 2005-07-14 15:10:20 +00:00
miham
70c2bfe223 (svn r2551) [Translations] Added slovenian language (~20% complete) 2005-07-12 19:51:58 +00:00
miham
f7d3802a4f (svn r2549) [Translators] Updated translations to 20050712 (1 lang(s)) 2005-07-12 17:45:09 +00:00
miham
dafc85fa1f (svn r2547) [Translators] Updated translations to 20050711 (3 lang(s)) 2005-07-11 17:45:26 +00:00
miham
f2e0a57627 (svn r2543) [Translators] Updated translations to 20050710 (2 lang(s)) 2005-07-10 17:46:07 +00:00
miham
92a8900518 (svn r2540) [Translators] Updated translations to 20050709 (12 lang(s)) 2005-07-09 17:45:57 +00:00
miham
0438c54bd7 (svn r2531) [Translators] Updated translations to 20050708 (1 lang(s)) 2005-07-08 17:46:10 +00:00
Darkvater
bf794fad62 (svn r2529) - Fix: PBS signals showed up as normal signals with the query tool
- Update landscape_grid.html to show busy bits used by PBS.
2005-07-07 22:15:34 +00:00
miham
d6b487b665 (svn r2520) [Translators] Updated translations to 20050705 (14 lang(s)) 2005-07-05 17:45:50 +00:00
hackykid
ab9c6f126d (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
- Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings.
 - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.
2005-07-04 14:58:55 +00:00
miham
e9ecf89078 (svn r2510) [Translators] Updated translations to 20050702 (1 lang(s)) 2005-07-02 17:45:05 +00:00
miham
953912064c (svn r2500) [Translators] Updated translations to 20050630 (1 lang(s)) 2005-06-30 17:45:14 +00:00
miham
35e614b436 (svn r2495) [Translators] Updated translations to 20050628 (1 lang(s)) 2005-06-28 17:45:15 +00:00
miham
f81766c3fd (svn r2493) [Translators] Updated translations to 20050627 (1 lang(s)) 2005-06-27 17:45:21 +00:00
miham
23314a0e3e (svn r2490) [Translators] Updated translations to 20050626 (2 lang(s)) 2005-06-26 17:45:13 +00:00
miham
e8fedc90ec (svn r2488) [Translators] Updated translations to 20050625 (1 lang(s)) 2005-06-25 17:45:40 +00:00
miham
6699ee79d3 (svn r2482) [Translators] Updated translations to 20050623 (1 lang(s)) 2005-06-23 18:32:41 +00:00
miham
333ef1569a (svn r2481) [Translators] Updated translations to 20050623 2005-06-23 18:07:17 +00:00
miham
01f0e594f6 (svn r2478) [Translations] Updated to 2005-06-23 (?? str / 10 langs) 2005-06-23 13:35:41 +00:00
miham
7b8d39cd30 (svn r2472) [Translations] Updated to 2005-06-22 (1 str / 1 lang + 1 string modified in english.txt lately) 2005-06-22 18:00:48 +00:00
hackykid
b9cca2988c (svn r2470) - Fix: Display station signs correctly in smallest zoom level in transparent buildings or tranparant station signs mode. (Peter1138) 2005-06-21 21:13:10 +00:00
miham
6002a73c1b (svn r2466) [Translations] Updated to 2005-06-21 (37 strs / 2 langs) 2005-06-21 07:30:01 +00:00
miham
a32bfcb5ae (svn r2462) [Translations] Updated to 2005-06-20 (202 strs / 5 langs) 2005-06-20 09:33:43 +00:00
miham
6f6153fcf6 (svn r2455) [Translations] Updated to 2005-06-17 (100+ strs / 10+ langs) 2005-06-17 13:39:59 +00:00
miham
870edc7d19 (svn r2442) [Translations] Updated to 2005-06-15 #2. (27+X strs / all lang)
[Translations] 10 strings got added, 8 strings got changed in english.txt, lots of work ahead
2005-06-15 17:09:24 +00:00
celestar
c7de834059 (svn r2441) -Feature: You can now give transfer order to set up feeder systems 2005-06-15 16:58:15 +00:00
miham
bae01fd636 (svn r2439) [Translations] Updated to 2005-06-15 (6 strs / 3 lang) 2005-06-15 09:28:02 +00:00
hackykid
7afe5fc5a9 (svn r2438) - Feature: New display option, 'transparent station signs', makes station signs transparent instead of using a solid bar to draw text on (peter1138) 2005-06-14 10:59:05 +00:00
miham
8097af80e1 (svn r2437) [Translations] Updated to 2005-06-10 (28 strs / 5 lang) 2005-06-10 07:41:26 +00:00
miham
5f46f6bd25 (svn r2435) [Translations] Updated to 2005-06-08 (11 strs / 1 lang) 2005-06-08 15:13:50 +00:00
miham
82964a13f0 (svn r2430) [Translations] Updated to 2005-06-07 (118 strs / 8 langs) 2005-06-07 16:11:19 +00:00
miham
134e689aff (svn r2426) [Translations] Updated to 2005-06-06 #2. (133 strs / 12 langs) 2005-06-06 19:18:40 +00:00
miham
8d3ad041e0 (svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..) 2005-06-06 05:29:06 +00:00
hackykid
26e87892e2 (svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it. 2005-06-06 00:19:24 +00:00
hackykid
eebe82c983 (svn r2413) - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later.
- Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable.
2005-06-05 23:01:10 +00:00
miham
6b3d3a0f8a (svn r2406) [Translations] Updated to 2005-06-04 (42 strs / 11 langs) 2005-06-04 07:36:28 +00:00
miham
92b79ecf95 (svn r2402) [Translations] Updated to 2005-06-03 (10 strs / 5 langs) 2005-06-03 12:09:55 +00:00
Darkvater
13c7b2b337 (svn r2391) - Feature: saving games happen in a seperate thread so you no longer will have to wait such a long time (especially handy on bigger maps and multiplayer games). The mouse also changes into the 'ZZZ' state :P. The thread on windows is currently given a little-bit-less-than-normal priority so it should not interfere that much with the gameplay; it will take a bit longer though. Upon the exit of the game any pending saves are waited upon.
- Fix: fixed GetSavegameFormat() so that it takes the best compressor (highest), or a forced one added with the parameter
- Open issues: 
1. Don't attempt to load a game while saving is in progress, it will kick you back to the intro-screen with only the vast ocean to look at.
2. The server is disabled from threaded-saving, but might be enabled in the future.
3. Current implementation only allows 1 additional running thread.
4. Stupid global variables.....grrr
Big thanks for TrueLight and the amazing memorypool :D
2005-06-01 23:08:33 +00:00
miham
77ce6d50cf (svn r2376) [Translations] Updated to 2005-04-29 (28 strs / 3 langs) 2005-05-29 16:06:21 +00:00
miham
1684e0d0bf (svn r2362) [Translations] Updated to 2005-04-23 (207 strs / 6 langs) 2005-05-23 16:41:51 +00:00
miham
fbc4831826 (svn r2350) [Translations] Updated to 2005-04-18 (156 strs / 3 langs) 2005-05-19 16:25:35 +00:00
miham
72f5ce0563 (svn r2341) [Translations] Updated to 2005-04-17 (74 strs / 6 langs) 2005-05-17 19:08:27 +00:00
miham
5132d16b0e (svn r2335) [Translations] Updated to 2005-05-16 (36 strs / 17 langs, removed unused strings) 2005-05-16 18:19:04 +00:00
Darkvater
e4eb0c672a (svn r2307) - Fix (regression): it was not possible to change the drive-side in the intro-game.
- CodeChange: remove unused "CANT_DO_THIS" double-string.
2005-05-14 18:25:01 +00:00
Darkvater
7470322a3d (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks" 2005-05-14 12:36:16 +00:00
miham
5c8d40bb05 (svn r2305) [Translations] Updated to 2005-05-14 (~50 strs / 7 langs) 2005-05-14 06:48:14 +00:00
Darkvater
09a71c391a (svn r2303) - CodeChange (fix): when giving money to other players only allow transferring money that is above your loan. Eg you can't give away your loan.
- Langfix: 'goes down by' 'increases', vv for down in english.txt.
2005-05-13 17:09:05 +00:00
miham
de0c601db3 (svn r2282) [Translations] Updated to 2005-05-08 (58 strs / 3 langs) 2005-05-08 16:17:01 +00:00
miham
fa541b8656 (svn r2240) [Translations] Updated to 2005-05-01 (17 strs / 2 langs) 2005-05-01 18:40:01 +00:00
miham
e469f69bc6 (svn r2236) [Translations] Updated to 2005-04-28 (21 strs / 3 langs) 2005-04-28 17:42:13 +00:00
miham
65353d05f6 (svn r2235) [Translations] Updated finnish translation (Ville Koshinen) 2005-04-27 05:49:03 +00:00
miham
c35baf477f (svn r2234) [Translations] Updated to 2005-04-26 (149 strs / 12 langs) 2005-04-26 17:56:52 +00:00
Darkvater
9bda9327e1 (svn r2221) - Fix: "Map size" is two words. Also draw the string right-aligned in the intro gui so it doesn't matter how long it is in other languages. 2005-04-21 16:20:38 +00:00
miham
feda65a88b (svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs) 2005-04-21 06:56:16 +00:00
miham
6e4f1b5a4b (svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs) 2005-04-20 22:24:39 +00:00
Darkvater
53135e91ba (svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. This is sufficient until the real window is designed & coded. 2005-04-20 12:52:02 +00:00
Darkvater
dc415a9624 (svn r2214) - Fix: Dragging the desert tool over half-desert turns it into full-desert; dragging the tool while pressing ctrl, will remove the desert area. 2005-04-19 18:30:31 +00:00
miham
62089b8f2f (svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs) 2005-04-17 19:44:05 +00:00
Darkvater
dc193d2f00 (svn r2209) - CodeChange: [ 1184348 ] Remove unused _newspaper_flag that was supposed to be some ugly hack for chatting (gonewacko) 2005-04-16 18:09:24 +00:00
miham
7b673ec0cb (svn r2203) [Translations] Updated to 2005-04-15 (25 strs / 5 langs) 2005-04-15 13:50:08 +00:00
miham
166e1fa992 (svn r2199) [Translations] Updated to 2005-04-14 (188 strs / 13 langs) 2005-04-14 21:34:15 +00:00
miham
b44019b5b3 (svn r2194) [Translations] Updated to 2005-04-14 (12 strs / 5 langs) 2005-04-14 09:58:04 +00:00
Darkvater
e25dfa6e7e (svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type.
- Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
2005-04-13 23:03:31 +00:00
miham
35e5844be3 (svn r2186) [Translations] Refreshed translations (20 strs/3 langs) 2005-04-12 07:29:37 +00:00
miham
88a0e06cfc (svn r2175) [Translations] Updated translations (11 strs/3 langs) 2005-04-10 18:02:48 +00:00
miham
a1f8eb1d32 (svn r2174) [Translations] Updated translations (7 strs/2 langs) 2005-04-09 22:42:12 +00:00
miham
0844159786 (svn r2172) [Translations] Translations from the last two days (37 strs/11 langs) 2005-04-09 06:19:08 +00:00
miham
e3226dba1e (svn r2171) [Translations] Manually fixed string-order in english.txt (someone fscked it up!) 2005-04-09 06:15:16 +00:00
Darkvater
1ba3d4ea9f (svn r2164) - Language: [ 1173684 ] fix some wrong french translations (glx) 2005-04-07 10:50:55 +00:00
Darkvater
817a665c52 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 2005-04-07 01:02:15 +00:00
miham
e6abbbca77 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 2005-04-06 20:20:31 +00:00
miham
4b3f20f484 (svn r2151) [Translations] Updated translations (36 strs/2 langs) 2005-04-05 20:52:55 +00:00
miham
089ea3cbb9 (svn r2150) [Translations] Updated translations (14 strs/10 langs) 2005-04-04 21:25:15 +00:00
miham
facec3d922 (svn r2145) [Translations] Updated translations (174 strs/6 langs)
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
2005-04-03 20:44:14 +00:00
Darkvater
b05713285e (svn r2136) - Fix: [ 1174313 ] terrain hotkeys nonfunctional in scenario editor (D,Q,W,E,R,T,Y,U fltr)
- Fix: 'L' no longer opens ingame terraform bar in scenario editor bar, but the land generator one
- Feature: [ 1095110 ] Create Lake and draggable Create Desert tools (initial implementation GoneWacko), also added sticky buttons to land generator and town generator
- CodeChange: moved around some of the draggable tools, demystifying them
- CodeChange: change CmdBuildCanal to allow for XANDY dragging not only X or Y (only scenario editor)
- CodeChange: add some more enums to sprites.
- TODO: merge most of the ingame and scenario editor land terraform code. This can only be done after OnClickButton function is changed so it also includes the backreference to the widget being clicked, postponed to after 0.4.0
2005-04-02 23:05:09 +00:00
miham
1ce34ea456 (svn r2135) [Translations] Updated translations (142 strings to 4 languages) 2005-04-02 22:37:24 +00:00
pasky
ff403d04a2 (svn r2129) Reverted r2125 and depending revisions (map size selector in the intro window). Will be done in a separate dialog. This also fixes showing of various rail/road-related strings. 2005-04-02 16:40:21 +00:00
pasky
225aa2ef48 (svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector. 2005-04-02 15:03:48 +00:00
miham
333376cb6a (svn r2120) [Translations] Updated translations (166 strings to 6 languages) 2005-04-02 07:19:03 +00:00
miham
5e07cd938d (svn r2117) [Translations] Introduce lithuanian translation as finished 2005-04-01 20:10:20 +00:00
miham
74d7cc6bf3 (svn r2116) [Translations] Updated translations 2005-04-01 20:03:48 +00:00
truelight
3dae675f63 (svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, and you go
to the sign. Very needed for coop. You can find it under World Map.
2005-03-26 21:22:29 +00:00
miham
802b63a5a9 (svn r2050) Weekly langfile updates 2005-03-24 18:48:20 +00:00
miham
e2321fe97a (svn r2027) Fixed a typo in the brazilian-portuguese language name 2005-03-19 22:11:21 +00:00
miham
446a5cbb57 (svn r2026) Moved brasilian_portuguese to finished languages 2005-03-19 22:04:59 +00:00
miham
71a558f09a (svn r2025) Daily langfile changes - 05/03/19 2005-03-19 22:04:36 +00:00
miham
c7e5ef76df (svn r2023) Added brazilian-portuguese translation [yet unfinished] 2005-03-19 12:24:51 +00:00
miham
a55be6ebef (svn r2016) Langfile updates 2005-03-15 19:26:46 +00:00
miham
53f35f4bb4 (svn r1985) Automatic langfile updates 2005-03-10 16:09:51 +00:00
miham
3b8feb2aa8 (svn r1913) Weekly langfile update 2005-02-24 22:37:35 +00:00
celestar
2eda5228d1 (svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit 2005-02-17 10:56:19 +00:00
miham
6186162742 (svn r1880) [Codechange] Added isocodes to langfiles and support code to strgen (Lauri Nurmi) 2005-02-17 07:49:31 +00:00
miham
4b3bac1572 (svn r1871) Daily langfile updates #2. 2005-02-13 12:33:57 +00:00
miham
7c0df5c836 (svn r1870) Added new language: lithuanian 2005-02-13 11:55:35 +00:00
miham
ab57ad1f3d (svn r1864) Automatic langfile updates 2005-02-13 07:44:32 +00:00
bjarni
b0042740a6 (svn r1851) - Language: added Frisian translation (no strings have been translated yet) 2005-02-08 18:07:27 +00:00
miham
491063c9a1 (svn r1807) Langfile updates (20050205) 2005-02-05 22:25:07 +00:00
miham
eb21ec63a3 (svn r1759) Daily/Weekly/Monthly langfile updates 2005-02-01 09:36:07 +00:00
matthijs
eb78cdb2d4 (svn r1751) - Feature: New PathFinder (NPF).
- Supports trains, road vehicles and ships.
	- Uses A* pathfinding (same codebase as the new ai).
	- Currently unlimited search depth, so might perform badly on large maps/networks (especially ships).
	- Will always find a route if there is one.
	- Allows custom penalties for obstacles to be set in openttd.cfg (npf_ values).
	- With NPF enabled, ships can have orders that are very far apart. Be careful, this will break (ships get lost) when the old pathfinder is used again.
- Feature: Disabling 90 degree turns for trains and ships.
	- Requires NPF to be enabled.
	- Ships and trains can no longer make weird 90 degree turns on tile borders.
- Codechange: Removed table/directions.h.
	- table/directions.h contained ugly static tables but was included more than once. The tables, along with a few new ones are in npf.[ch] now. Better suggestions for a location?
- Fix: Binary heap in queue.c did not allocate enough space, resulting in a segfault.
- Codechange: Rewritten FindFirstBit2x64, added KillFirstBit2x64.
- Codechange: Introduced constant INVALID_TILE, to replace the usage of 0 as an invalid tile. Also replaces TILE_WRAPPED.
- Codechange: Moved TileAddWrap() to map.[ch] 
- Add TileIndexDiffCByDir(), TileIndexDiffCByDir(). 
- Codechange: Moved IsTrainStationTile() to station.h
- Add: IsRoadStationTile() and GetRoadStationDir().
2005-01-31 11:23:10 +00:00
tron
001aa8e453 (svn r1722) -Feature: Bigger maps - anyone? 2005-01-29 19:45:14 +00:00
celestar
3c82a2b3c7 (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
a single station.
Thanks to: Truelight for the saveload code, Darkvater and Hackykid for
network testing and Tron for proof-reading 1500 lines of diff.
2005-01-29 19:41:44 +00:00
Celestar
0a531338e9 (svn r1693) -Fix: [ 1108618 ] A wrong error message was displayed when trying to
expand railroad stations beyond maximum spread
2005-01-27 09:43:24 +00:00
miham
08727614fc (svn r1678) Added cheat option for setting production of raw-material product industries in game 2005-01-26 10:52:23 +00:00
dominik
dfd0276d3a (svn r1646) Miscellaneous langfile fixes, in particular for STR_NETWORK_SERVER_ADDRESS, broken by myself in r1611 2005-01-24 20:42:02 +00:00
miham
c1db3ea675 (svn r1630) Langfile update 2005-01-23 22:39:34 +00:00
dominik
c857bfa12a (svn r1611) Display server port in the multiplayer game info window
I had to make the multiplayer window 10 pixels wider for this
2005-01-23 13:19:15 +00:00
dominik
bb34830bee (svn r1598) Feature: Message history now is stickyable and resizeable
The news messages are now precisely cropped according to pixel width to fit optimal into the window.
Introduced a new date format: DATE_TINY, which is ISOish.
2005-01-22 23:13:20 +00:00
celestar
07a10a51a7 (svn r1581) Added a display for the total map population to the town display (Jango) 2005-01-21 16:51:25 +00:00
dominik
274b4f01ee (svn r1579) Fix: [ 1105963 ] Buoys can now only be removed if no ship has it in their schedule.
This makes buoys more useable in multiplayer games again, as buoys can't be deleted by other players if they are used.
2005-01-20 22:19:34 +00:00
miham
05d0c2ce89 (svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates 2005-01-17 22:44:33 +00:00
dominik
8493f68c96 (svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow 2005-01-16 14:10:13 +00:00
darkvater
0fc9b656e2 (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) 2005-01-16 12:29:52 +00:00
darkvater
8bec09737f (svn r1531) -Feature: [1039061] Swiss town-names (vulvulune) 2005-01-15 21:41:49 +00:00
darkvater
cd4272e08d (svn r1518) -Fix: server issue where some company names were wrong
-Fix: Highscore troubles; accessing members of deleted window
2005-01-15 01:52:23 +00:00
darkvater
0961c6af96 (svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this. 2005-01-15 00:42:01 +00:00
miham
0c75fe0948 (svn r1503) Added feature:
o allows users to setup the production values of the rawmaterial producing 
  industries in the editor

Modified:
o ttd.h - added CT_INVALID for 0xFF cargo type
o english.txt - added 1 string
o industry_gui.c - the feature itself
o window.h - added compile asserts to the structs which checks whether their
  sizes are smaller than WINDOW_CUSTOM_SIZE

Thanks:
o Darkvater to bother me to constantly improve the patch
o Various users at #openttd for testing
2005-01-14 00:14:13 +00:00
celestar
cd2779dc67 (svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov) 2005-01-13 17:23:24 +00:00
celestar
18643f2a2f (svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov) 2005-01-13 17:06:10 +00:00
darkvater
84adfdf8c8 (svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
-Fix: fixed some compiler warnings
-Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-13 16:28:47 +00:00
celestar
9a287d932d (svn r1495) -Fix: Loan does not count against the company value
-Feature: New companies receive a 5-year protection period
2005-01-13 09:55:32 +00:00
darkvater
199a77d1ea (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while
-These values are saved in hs.dat; added read/write functions for it
-Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-11 00:54:06 +00:00
truelight
0cfc15a475 (svn r1444) -Fix: fixed weight for double-head trains (and with that the acceleration)
(now maglev lvl4 can reach their top speed, and are faster than lvl3) 
(Tnx to Darkvater :))
-Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly
2005-01-09 14:45:19 +00:00
miham
25470edddd (svn r1439) Daily langfile updates [except latvian for non-iso8859-1 chars] (semi-automatic)
The last patch (norwegian townnames was from Simen Graaten
2005-01-09 01:11:01 +00:00
miham
34dee18a2c (svn r1438) Added norwegian townnames 2005-01-09 00:17:01 +00:00
darkvater
c2b59b2089 (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) 2005-01-07 23:59:59 +00:00
bjarni
3845670c78 (svn r1405) Added half done Estonian translation (indrek) 2005-01-06 19:40:44 +00:00
miham
a08f926fe6 (svn r1403) Daily langfile updates (semi-automatic) [505 missing strings] 2005-01-06 18:49:51 +00:00
dominik
0a37e6202b (svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list are demolished, the plane eventually crashes (running out of fuel) 2005-01-05 13:15:27 +00:00
darkvater
fc52b512aa (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky. 2005-01-04 17:11:03 +00:00
bjarni
578d34cfe0 (svn r1350) Replace Vehicle GUI:
- Replaced "WP(w,replaceveh_d).line_height" with 
"w->resize.step_height" since they needed to be the same anyway
- Cleaned the code a litte for readability (like correct tabbing)
- Added company color to replace vehicle windows to make them look like 
the rest of the vehicle windows and made the caption text white (also to 
fit the standard)

 --This line, and those below, will be ignored--

M    vehicle_gui.c
M    lang/english.txt
M    window.h
2005-01-03 20:52:09 +00:00
truelight
3b7d2a8b67 (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
how the system works. All useful windows are already made resizable. Enjoy :)
-Fix: fixed some GUI-glitches and flaws along the way
2005-01-03 19:45:18 +00:00
darkvater
83342a0bcb (svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
-Copyright notice is now 2002-2005 for all languages
2005-01-03 17:55:25 +00:00
darkvater
d02bdb0768 (svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. 2005-01-03 16:45:42 +00:00
dominik
4c5c4d23f3 (svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files 2005-01-03 12:03:24 +00:00
darkvater
37bf3bf4cf (svn r1327) -Fix: made resource file version independent for windows
-Fix: language file inconsistencies...please update all other language files as well when you rename a string name and do nothing else.
2005-01-03 00:42:43 +00:00
bjarni
5da75918c0 (svn r1323) Adding autoreplace feature
This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once 
ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the 
vehicle overview windows
Note: autorenew is now autoreplace, but to the same engine type
Nice new features, that was added to make this possible
- windows can now have two independant vertical scrollbars
- CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with 
estimated costs even if shift is pressed
- fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
2005-01-02 17:23:04 +00:00
truelight
5eeab7fcfe (svn r1322) -Add: banning system (mostly tnx to guru3)
A server can ban people via ClientList
  Both server and dedicated can do it via console:
   'ban', 'unban', 'banlist'.
2005-01-02 12:03:43 +00:00
truelight
db6e1bbb88 (svn r1314) -Fix: Population numbers is no longer negative for 32k+ towns 2004-12-31 19:09:03 +00:00
truelight
c748f6db57 (svn r1312) -Add: Patch which is on by default: population in label of the town
-Fix: Expand town is a bit more agressive
-Fix: Fixed a bug in growing algorithm
2004-12-31 18:57:24 +00:00
truelight
d32bfd8adb (svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
readable now. 'American' is replaces by 'Additional English' (Jango)
2004-12-31 14:43:47 +00:00
miham
62146b0f3b (svn r1303) Daily langfile update (automatic) 2004-12-31 09:47:09 +00:00
miham
f576a873d6 (svn r1294) Daily langfile updates (automatic) 2004-12-28 22:46:09 +00:00
miham
2b5ffc7208 (svn r1293) Fixed the bug in translator 2004-12-28 22:36:46 +00:00
truelight
fe16ef6637 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking
  - File selector issue
  - Keyboard input
  - Dedicated server console issue (use dedicated.cmd to open a server)
  - Plus many other minor issues
2004-12-27 10:40:04 +00:00
miham
4ca82299f4 (svn r1277) Daily langfile updates (automatic) 2004-12-25 17:08:56 +00:00