rubidium
4ad9dda5a0
(svn r15842) -Codechange: make DrawSortButtonState RTL.
2009-03-25 00:21:22 +00:00
rubidium
86b97f3127
(svn r15841) -Fix: the saveload window could draw directory partly outside the window
2009-03-25 00:16:28 +00:00
rubidium
716fa8b501
(svn r15840) -Codechange: complete the game option window widget enum and unify the naming.
2009-03-25 00:08:47 +00:00
rubidium
283b5bd27c
(svn r15839) -Fix: high score text was (partly) off-screen when using RTL and the window was wider than 640 pixels
2009-03-24 22:18:40 +00:00
rubidium
4546be7e90
(svn r15838) -Fix: MSVC 64 bits warnings
2009-03-24 22:00:11 +00:00
rubidium
5c44bb6b63
(svn r15837) -Codechange: support SETX(Y) with RTL text, swap alignment for RTL text.
2009-03-24 21:23:56 +00:00
rubidium
8cba245791
(svn r15836) -Fix [FS#2762]: acceptance not shown in the station window (swapping top and bottom isn't a great idea)
2009-03-24 20:23:47 +00:00
yexo
84fb615344
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
2009-03-24 20:03:02 +00:00
translators
306239ee3e
(svn r15834) -Update: WebTranslator2 update to 2009-03-24 18:51:22
...
bulgarian - 13 fixed by Ar4i (13)
korean - 2 changed by dlunch (2)
latvian - 2 fixed by silentKnight (2)
luxembourgish - 14 fixed by Gubius (14)
polish - 22 fixed by xaxa (22)
2009-03-24 18:51:30 +00:00
rubidium
2347c41840
(svn r15833) -Fix: alignment of up/down arrows and closebox when in RTL 'view'
2009-03-23 22:20:23 +00:00
rubidium
c9e2e22bc0
(svn r15832) -Codechange: improve the aligning of right aligned/centered strings
2009-03-23 14:10:54 +00:00
smatz
abff5eacbc
(svn r15831) -Fix: make sure house class/ID counters don't overflow
2009-03-23 14:09:05 +00:00
smatz
c299bac5be
(svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h
2009-03-23 11:48:05 +00:00
yexo
c91f965f08
(svn r15827) -Fix (r15823): line still was a bit too long
2009-03-23 00:15:35 +00:00
yexo
b61a681f02
(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN.
2009-03-23 00:08:59 +00:00
rubidium
4012549c5e
(svn r15824) -Fix: determine the actual length of the strings to draw in the viewport
2009-03-22 23:54:36 +00:00
yexo
3b231810ee
(svn r15823) -Codechange: prepare the WWT_FRAME and WWT_DROPDOWN(IN) widget types for rtl languages.
2009-03-22 23:44:53 +00:00
rubidium
e25b2f5d60
(svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window.
2009-03-22 23:38:29 +00:00
peter1138
216a8eaac6
(svn r15821) -Fix (r15813): Wrong widget selection prevented drop down label showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw.
2009-03-22 21:56:40 +00:00
alberth
6567a29e18
(svn r15820) -Codechange: Some windows using nested widgets
2009-03-22 21:16:57 +00:00
alberth
12a31f3d5c
(svn r15819) -Add: Nested widgets framework
2009-03-22 21:15:45 +00:00
rubidium
56e7d2944b
(svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie)
2009-03-22 21:07:55 +00:00
alberth
2fe151bd92
(svn r15817) -Codechange: Make room for additional widget types (Rubidium)
2009-03-22 18:46:56 +00:00
translators
dcf7d05a66
(svn r15816) -Update: WebTranslator2 update to 2009-03-22 18:37:40
...
english_US - 3 fixed by WhiteRabbit (3)
german - 2 changed by planetmaker (2)
japanese - 43 fixed, 2 changed by nex259 (45)
portuguese - 1 fixed by SnowFlake (1)
romanian - 1 fixed by stykat (1)
2009-03-22 18:37:47 +00:00
rubidium
9e1cd7ab64
(svn r15815) -Fix (~r15800): bridge strings got truncated too early
2009-03-22 16:52:15 +00:00
alberth
b563cc0755
(svn r15814) -Fix (r1): Remove double background widget from cheat gui
2009-03-22 16:06:12 +00:00
rubidium
e75e1e62cb
(svn r15813) -Codechange: remove the last remnants of the old text drawing API.
2009-03-22 14:55:49 +00:00
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
2009-03-22 14:39:20 +00:00
rubidium
22d4270ea8
(svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty.
2009-03-22 14:08:53 +00:00
alberth
663c73595f
(svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window
2009-03-22 13:17:37 +00:00
alberth
3b2f47c470
(svn r15809) -Codechange: Add name comments to build vehicle widgets
2009-03-22 12:14:44 +00:00
rubidium
57174a9301
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
2009-03-22 12:01:21 +00:00
rubidium
dfe5dad5f6
(svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width.
2009-03-22 11:06:25 +00:00
rubidium
ead0a6a6e5
(svn r15806) -Codechange: pass both left and right to the vehicle details drawing functions instead of only the left.
2009-03-22 10:37:51 +00:00
alberth
8324f65b4b
(svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment
2009-03-22 09:58:38 +00:00
rubidium
4eaf4e6182
(svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
...
-Codechange: use the new string drawing API for the viewport.
2009-03-22 09:43:00 +00:00
rubidium
e74dc1e1d6
(svn r15803) -Codechange: use the new text drawing API for multicenter
...
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-22 09:34:06 +00:00
alberth
70d0f8857e
(svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment
2009-03-22 09:04:15 +00:00
peter1138
4c02622cae
(svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on.
2009-03-22 08:10:20 +00:00
rubidium
a07fae67c3
(svn r15800) -Codechange: make the engine gui use the new multiline API.
2009-03-22 00:15:00 +00:00
peter1138
3abddfe705
(svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary.
2009-03-21 23:58:20 +00:00
yexo
d1fd756755
(svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static.
2009-03-21 23:45:46 +00:00
rubidium
d837fc4d03
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
2009-03-21 23:45:34 +00:00
rubidium
676bf31e82
(svn r15796) -Codechange: unify multiline drawstrings
2009-03-21 23:23:06 +00:00
yexo
0f7b9af9fa
(svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :)
2009-03-21 23:16:09 +00:00
rubidium
f11300d1f9
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
2009-03-21 22:46:17 +00:00
frosch
ce513b46b7
(svn r15793) -Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train.
2009-03-21 22:32:51 +00:00
frosch
88a95661a3
(svn r15792) -Codechange: Use a different algorithm for train vehicles to follow the vehicle in front of them.
2009-03-21 22:25:38 +00:00
rubidium
69decac406
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
2009-03-21 22:22:00 +00:00
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
2009-03-21 22:00:00 +00:00
frosch
d452a0a0ec
(svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it.
2009-03-21 21:43:23 +00:00
rubidium
fd0f0bda72
(svn r15788) -Codechange: enumify the network join status widgets and use them.
2009-03-21 21:26:10 +00:00
rubidium
2d66f8e467
(svn r15787) -Codechange: enumify the land info and about window widgets and use them.
2009-03-21 20:40:02 +00:00
rubidium
5c8906bff7
(svn r15786) -Codechange: enumify the engine preview widgets (and use them)
2009-03-21 20:39:37 +00:00
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
2009-03-21 20:12:12 +00:00
glx
9fcff01850
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
2009-03-21 20:06:00 +00:00
rubidium
93fe44a3c5
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
2009-03-21 19:31:47 +00:00
rubidium
8a758beec3
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
2009-03-21 19:10:26 +00:00
yexo
971ed8d2a3
(svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints.
2009-03-21 19:08:04 +00:00
translators
42dc3bf742
(svn r15780) -Update: WebTranslator2 update to 2009-03-21 18:49:32
...
german - 2 changed by planetmaker (2)
hebrew - 18 fixed by EScake (18)
lithuanian - 27 fixed, 1 changed by Devastator (28)
polish - 29 fixed by coolik (29)
portuguese - 9 fixed by SnowFlake (9)
russian - 1 changed by Smoky555 (1)
spanish - 1 fixed by erregerre (1)
2009-03-21 18:49:45 +00:00
rubidium
a22559ff95
(svn r15779) -Codechange: unify (most) of the text drawing "API".
2009-03-21 18:28:01 +00:00
rubidium
529dd0867f
(svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the running cost (sbr)
2009-03-21 11:16:10 +00:00
rubidium
3ef8a09e20
(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
2009-03-21 01:34:31 +00:00
yexo
d2dae07595
(svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI.
2009-03-19 23:38:51 +00:00
rubidium
ee4a660b0c
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
2009-03-19 23:32:39 +00:00
yexo
096debebe7
(svn r15772) -Fix (r15767): MSVC can't find the right function anymore because the return value in the header was not updated.
2009-03-19 23:03:53 +00:00
yexo
5933a07a86
(svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values.
2009-03-19 22:37:41 +00:00
translators
d405795bf1
(svn r15770) -Update: WebTranslator2 update to 2009-03-19 18:49:29
...
danish - 33 fixed by ThomasA (33)
2009-03-19 18:49:31 +00:00
translators
6e5f5c5811
(svn r15769) -Update: WebTranslator2 update to 2009-03-19 18:46:01
...
arabic_egypt - 4 fixed, 1 changed by khaloofah (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
esperanto - 9 fixed by maristo (9)
polish - 7 fixed by Simek (7)
slovak - 3 fixed by James (3)
swedish - 6 fixed by Wiggelicous (6)
2009-03-19 18:46:09 +00:00
rubidium
d20b8a95dd
(svn r15768) -Change: remove an "experimental" marker for something that has been working fine for a long time and remove the ununderstandable part of the description.
2009-03-19 18:23:51 +00:00
rubidium
9fd7774235
(svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated).
2009-03-19 17:58:25 +00:00
rubidium
f5cb1873d6
(svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice.
2009-03-19 17:56:45 +00:00
frosch
6dd04a9a78
(svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere.
2009-03-18 19:32:13 +00:00
glx
ea2c50281e
(svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them
2009-03-18 17:55:47 +00:00
translators
3a80b4213b
(svn r15761) -Update: WebTranslator2 update to 2009-03-18 17:44:55
...
croatian - 10 fixed by tifached (10)
indonesian - 4 fixed by adjayanto (4)
japanese - 60 fixed by ickoonite (60)
latvian - 5 fixed by silentKnight (5)
russian - 4 fixed by Smoky555 (4)
2009-03-18 17:48:58 +00:00
rubidium
35e4dc0f4b
(svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth)
2009-03-18 01:06:48 +00:00
glx
c0a4498518
(svn r15758) -Fix (r15757): win9x compilation
2009-03-18 00:55:10 +00:00
glx
5654966e75
(svn r15757) -Fix/hackaround (r15314): of course on some system searching a font using its english name fails. So now we search the font using the localised name and use the english name for the final 'validation' only.
2009-03-18 00:51:44 +00:00
rubidium
022a929e2d
(svn r15756) -Codechange: remove the assumption that the second windget is always the title bar. Also replace a few magic numbers with a const.
2009-03-17 23:26:28 +00:00
frosch
c7345c6db0
(svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards.
2009-03-17 19:40:10 +00:00
translators
ef28042bf1
(svn r15754) -Update: WebTranslator2 update to 2009-03-17 18:42:46
...
bulgarian - 63 fixed by thetitan (63)
dutch - 4 fixed by habell (4)
romanian - 3 fixed by kkmic (3)
spanish - 3 fixed by eusebio (3)
turkish - 3 fixed by Emin (3)
ukrainian - 4 fixed by mad (4)
2009-03-17 18:42:54 +00:00
yexo
5e1cad1b1b
(svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window.
2009-03-17 17:17:52 +00:00
glx
e968f5c572
(svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not ready
2009-03-17 16:28:21 +00:00
yexo
93be9a1c90
(svn r15750) -Fix: The big ufo sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases.
2009-03-17 01:30:39 +00:00
yexo
72dc128915
(svn r15749) -Codechange: apply coding style to disaster_cmd.cpp
2009-03-17 00:47:01 +00:00
rubidium
f044ef6564
(svn r15748) -Fix (r1722): the assumption that the number of tiles on the X side equals the number of tiles on the Y side does not hold anymore. As a result of this submarines could be created far outside of the map. Later in r15733 we would test whether that tile would be a water tile and we'd find out the tile isn't within the map.
2009-03-16 23:23:33 +00:00
rubidium
7bbdd4f119
(svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop.
2009-03-16 20:45:32 +00:00
orudge
677b157943
(svn r15746) -Fix: Update threading code for OS/2, add mutex support
2009-03-16 20:05:24 +00:00
orudge
bcc870e3f8
(svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS
2009-03-16 20:03:37 +00:00
smatz
f62e71ba8e
(svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities
2009-03-16 18:38:28 +00:00
yexo
384599ef2c
(svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file.
2009-03-16 17:30:49 +00:00
yexo
b078f8095a
(svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored anymore.
2009-03-16 14:40:32 +00:00
smatz
cabf57b221
(svn r15741) -Fix (r15740): czech town name generator needs very long buffer, use different min size for each generator
2009-03-16 12:49:55 +00:00
smatz
38056dabdf
(svn r15740) -Codechange: make code in namegen.cpp ~50% faster, apply coding style and add comments
2009-03-16 10:51:49 +00:00
peter1138
5df06384d3
(svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25.
2009-03-16 08:03:50 +00:00
yexo
ce4744e1d6
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
2009-03-15 22:41:57 +00:00
rubidium
dda2396096
(svn r15735) -Update: trunk ain't going to 0.7 anymore ;)
2009-03-15 22:16:02 +00:00
yexo
42e0a5d2ca
(svn r15733) -Fix: Enabling freeform edges could cause submarines to get stuck on land tiles.
2009-03-15 21:49:37 +00:00
rubidium
deab21114e
(svn r15732) -Fix: enumified constant name style
2009-03-15 21:34:18 +00:00
rubidium
64dcd8acc5
(svn r15731) -Codechange: unify submarine creation
2009-03-15 21:29:07 +00:00
rubidium
5648ea3058
(svn r15729) -Fix: silence MSVC warning
2009-03-15 21:16:07 +00:00
translators
9dc98b4c27
(svn r15728) -Update: WebTranslator2 update to 2009-03-15 18:52:21
...
czech - 7 fixed, 6 changed by SmatZ (13)
danish - 4 fixed by MiR (4)
german - 3 fixed by planetmaker (3)
hungarian - 2 fixed by alyr (2)
indonesian - 2 fixed by fanioz (2)
korean - 4 fixed by darkttd (4)
lithuanian - 43 fixed, 1 changed by Enternald (8), geckonas (36)
norwegian_nynorsk - 12 fixed by Thor (12)
2009-03-15 18:52:31 +00:00
smatz
36dfa1f21e
(svn r15727) -Codechange: apply coding style to namegen arrays
...
-Fix (r1307): missing comma in _name_original_english_4
2009-03-15 16:31:16 +00:00
smatz
8585aa71ed
(svn r15726) -Codechange: unify coding style for const pointers
2009-03-15 16:04:39 +00:00
smatz
af293142fe
(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate
2009-03-15 15:25:18 +00:00
rubidium
4f8eeca437
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
2009-03-15 15:22:09 +00:00
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
2009-03-15 15:12:06 +00:00
rubidium
8761a5a4c4
(svn r15721) -Change: give a more useful (for 'normal' users) error message when there's no AI and they want to play with an AI
2009-03-15 14:33:40 +00:00
rubidium
6e9dc85c76
(svn r15720) -Change: put a bit more information into the crash log
2009-03-15 14:28:46 +00:00
yexo
e5204f96f9
(svn r15719) -Update: the credit section.
2009-03-15 00:32:36 +00:00
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
2009-03-15 00:32:18 +00:00
rubidium
d72273d1f3
(svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/
2009-03-15 00:03:27 +00:00
yexo
86a9df82b7
(svn r15716) -Change [NoAI]: AI libraries should now be stored in ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected.
2009-03-14 23:57:37 +00:00
frosch
1f5ad840a4
(svn r15714) -Remove: 'Original vehicle names' - err - language... Use the (static) newgrf on BaNaNaS if you care.
2009-03-14 19:52:41 +00:00
frosch
e0dd907cab
(svn r15713) -Feature(ette): Allow static newgrfs to set 'GRF ID engine overrides', if the source GRF is static.
2009-03-14 19:38:19 +00:00
translators
40ddc49764
(svn r15712) -Update: WebTranslator2 update to 2009-03-14 18:38:56
...
catalan - 4 fixed by arnaullv (4)
finnish - 3 fixed by jpx_ (3)
french - 3 fixed by glx (3)
german - 3 fixed by planetmaker (3)
hungarian - 1 fixed, 1 changed by alyr (2)
italian - 3 fixed by lorenzodv (3)
lithuanian - 17 fixed by geckonas (17)
norwegian_nynorsk - 11 fixed by Thor (11)
slovenian - 10 fixed by Necrolyte (10)
2009-03-14 18:39:10 +00:00
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
2009-03-14 18:16:29 +00:00
glx
1692ce8312
(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
2009-03-14 15:42:53 +00:00
rubidium
aea8e7291e
(svn r15709) -Change [FS#2729]: be a tad more specific about the fact that you're building incompatible tracks when building incompatible track types on the same tile.
2009-03-14 15:34:30 +00:00
yexo
2e6e2457f1
(svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash.
2009-03-14 01:32:04 +00:00
michi_cc
0ca92a47a2
(svn r15707) -Fix (r15686): The config file was not updated on Windows because rename() can't replace existing files.
2009-03-14 00:26:03 +00:00
michi_cc
b1479bec02
(svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding.
2009-03-14 00:25:59 +00:00
frosch
fa35dc10e5
(svn r15705) -Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo.
2009-03-13 23:49:12 +00:00
smatz
40745dc0d9
(svn r15704) -Cleanup: remove further includes from recently split files
2009-03-13 23:48:07 +00:00
belugas
42d9816ce3
(svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp.
2009-03-13 21:49:24 +00:00
rubidium
27bcfd115b
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
2009-03-13 21:32:38 +00:00
frosch
4129b418cc
(svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.
2009-03-13 21:28:40 +00:00
rubidium
e6353a1a22
(svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp.
2009-03-13 20:29:35 +00:00
rubidium
070320f25b
(svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp.
2009-03-13 20:09:35 +00:00
translators
38d66e82e2
(svn r15698) -Update: WebTranslator2 update to 2009-03-13 18:45:47
...
dutch - 1 changed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
finnish - 1 fixed by jpx_ (1)
german - 1 fixed, 3 changed by planetmaker (4)
italian - 1 fixed by lorenzodv (1)
slovak - 1 fixed by James (1)
turkish - 3 fixed by jnmbk (3)
2009-03-13 18:45:56 +00:00
rubidium
2adbf67968
(svn r15697) -Fix (r15695): warning about comparing signed vs unsigned.
2009-03-13 00:48:03 +00:00
rubidium
eb0d43aadd
(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.
2009-03-13 00:30:26 +00:00
belugas
f6e4bc765a
(svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
...
Some warnings:
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
2009-03-12 23:54:20 +00:00
rubidium
af18469455
(svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics.
2009-03-12 20:43:03 +00:00
frosch
afe547448e
(svn r15692) -Fix [FS#2721]: Just sell the old engines after autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway.
2009-03-12 19:40:16 +00:00
translators
684d1c4d4c
(svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
...
french - 1 fixed by glx (1)
hungarian - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian - 146 fixed by ali sattari (146)
russian - 1 fixed by Smoky555 (1)
spanish - 1 fixed by eusebio (1)
2009-03-12 18:42:25 +00:00
rubidium
0f361aab6e
(svn r15690) -Feature(tte(tte)): CTRL-"New Game" skips the "World generation" window.
2009-03-12 16:48:28 +00:00
rubidium
d5a2dc1d0b
(svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town.
2009-03-12 15:14:22 +00:00
rubidium
9dbf8a163f
(svn r15688) -Codechange: unifiy cleaning up the map generation (normal and abort)
2009-03-12 14:28:55 +00:00
rubidium
8ed58f2b94
(svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way.
2009-03-12 14:23:23 +00:00
rubidium
bd2e1ac903
(svn r15686) -Codechange: make it a bit harder for crashes to trash your config file.
2009-03-12 14:22:17 +00:00
rubidium
3d780608a2
(svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage.
2009-03-12 14:21:18 +00:00
yexo
cef662825b
(svn r15684) -Add [NoAI]: AIOrder::SkipToOrder().
2009-03-12 11:43:40 +00:00
yexo
9eef8f77e2
(svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible.
2009-03-12 11:36:18 +00:00
rubidium
84e5e44ca9
(svn r15682) -Codechange: some coding style
2009-03-12 11:28:03 +00:00
rubidium
55ce735c2c
(svn r15681) -Cleanup: remove unneeded forward declaration.
2009-03-12 11:04:41 +00:00
smatz
c2834412f7
(svn r15680) -Cleanup: remove redundant comment
2009-03-12 10:42:02 +00:00
belugas
7f650197d7
(svn r15679) -Cleanup: Little code-style application
2009-03-12 01:35:27 +00:00
rubidium
f67e2a41ce
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
2009-03-11 23:35:32 +00:00
rubidium
cf21547814
(svn r15677) -Fix [FS#2546]: vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too.
2009-03-11 23:23:08 +00:00
rubidium
655b0ccc2e
(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.
2009-03-11 20:43:14 +00:00
rubidium
48c8cdfd84
(svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor.
2009-03-11 19:50:19 +00:00
translators
a471321b1b
(svn r15674) -Update: WebTranslator2 update to 2009-03-11 18:52:10
...
german - 9 changed by planetmaker (9)
indonesian - 1 fixed by fanioz (1)
luxembourgish - 121 fixed by Gubius (121)
portuguese - 4 fixed by SnowFlake (4)
russian - 1 fixed by Smoky555 (1)
slovak - 3 fixed by James (3)
2009-03-11 18:52:19 +00:00
glx
308dbcf822
(svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed)
2009-03-11 17:40:49 +00:00
rubidium
fb2ea6c9ed
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
2009-03-11 17:26:58 +00:00
rubidium
66e0fcdd01
(svn r15671) -Codechange: bit of coding style/clarification.
2009-03-11 15:00:40 +00:00
yexo
bdab37b11a
(svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself.
2009-03-11 10:58:42 +00:00
yexo
2b0b9a6367
(svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open.
2009-03-11 09:21:11 +00:00
yexo
13fb01d07d
(svn r15668) -Fix: a few typos.
2009-03-11 07:32:31 +00:00
yexo
da0cbb2a2f
(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies.
2009-03-10 23:16:45 +00:00
rubidium
fa78027ffd
(svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity.
2009-03-10 21:17:00 +00:00
peter1138
733c0c5c5b
(svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1.
2009-03-10 18:54:33 +00:00
glx
f45e3b3068
(svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved
2009-03-10 14:54:46 +00:00
rubidium
d6f2a65323
(svn r15663) -Fix: growing of vsize as (some) threads weren't properly released.
2009-03-10 11:12:03 +00:00
peter1138
0564d52d99
(svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command.
2009-03-10 06:53:00 +00:00
yexo
01167ea456
(svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times.
2009-03-09 23:08:23 +00:00
yexo
1ff06b3f9c
(svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function.
2009-03-09 22:14:47 +00:00
rubidium
c4c0a09927
(svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files
2009-03-09 21:55:17 +00:00
frosch
aa7a19fd49
(svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager.
2009-03-09 21:33:05 +00:00
michi_cc
e982100fe6
(svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values.
2009-03-09 19:14:36 +00:00
frosch
cfea2d428b
(svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16)
2009-03-09 18:56:50 +00:00
translators
db05dbc70a
(svn r15653) -Update: WebTranslator2 update to 2009-03-09 18:42:57
...
dutch - 1 fixed by habell (1)
german - 1 fixed by planetmaker (1)
luxembourgish - 387 fixed by Gubius (387)
romanian - 1 fixed by kkmic (1)
thai - 29 fixed by meemee1983 (29)
welsh - 1 fixed by PlayDead (1)
2009-03-09 18:43:05 +00:00
michi_cc
81595bf256
(svn r15652) -Fix [FS#2706]: new (this) is seldom a good idea as destructors of member variables aren't run causing memory leaks.
2009-03-09 18:41:54 +00:00
peter1138
6667241814
(svn r15651) -Codechange: Codestyle and comments.
2009-03-09 13:38:00 +00:00
peter1138
6616393cd2
(svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF pseudo-sprites into instead of using malloc()/free() for every single one.
2009-03-09 13:06:49 +00:00
rubidium
60de42be49
(svn r15649) -Fix (r15556): don't unnecessarily reallocate
2009-03-09 09:38:00 +00:00
rubidium
a231ab7560
(svn r15648) -Fix (r14773): hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4. Thanks to PearPC and TrueBrain's OSX compiler.
2009-03-08 23:06:41 +00:00
translators
7b39b0c652
(svn r15647) -Update: WebTranslator2 update to 2009-03-08 18:32:50
...
arabic_egypt - 2 fixed, 20 changed by khaloofah (22)
catalan - 1 fixed by arnaullv (1)
dutch - 4 changed by Yexo (4)
english_US - 3 fixed by WhiteRabbit (3)
finnish - 1 fixed, 1 changed by jpx_ (2)
french - 1 fixed by glx (1)
greek - 57 fixed by hellis (57)
hungarian - 1 fixed by alyr (1)
italian - 1 fixed by lorenzodv (1)
korean - 1 fixed by leejaeuk5 (1)
traditional_chinese - 2 changed by josesun (2)
ukrainian - 1 fixed by mad (1)
2009-03-08 18:33:05 +00:00
frosch
e17ded04f1
(svn r15646) -Fix: Be lenient on users who do stupid things like loading newgrfs statically, which modify engine names, while dynamic_engines is enabled or the to be modified engine is not (yet) present.
2009-03-08 18:08:30 +00:00
frosch
987e72f4f2
(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
2009-03-08 16:51:08 +00:00
rubidium
4a5c4f6089
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
2009-03-08 16:14:14 +00:00
smatz
e124aa8fd6
(svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits
2009-03-08 16:10:39 +00:00
smatz
7c8474da13
(svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile
2009-03-08 01:20:11 +00:00
rubidium
f5c1365471
(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard...
2009-03-07 23:02:28 +00:00
smatz
642dc1ea5e
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
2009-03-07 22:40:47 +00:00
yexo
3f73152b7f
(svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads.
2009-03-07 21:36:13 +00:00
truebrain
3ca01c64f7
(svn r15638) -Fix: there is a time in your life you should stop coding for a project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!)
2009-03-07 20:55:24 +00:00
truebrain
3adc0d77b8
(svn r15637) -Fix: when you try to protect something from doing something it shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases.
2009-03-07 20:53:32 +00:00
translators
81dde09c27
(svn r15636) -Update: WebTranslator2 update to 2009-03-07 18:58:32
...
greek - 211 fixed, 4 changed by hellis (215)
korean - 2 changed by dlunch (2)
2009-03-07 18:58:35 +00:00
rubidium
accb79049e
(svn r15635) -Fix [FS#2707]: don't allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time.
2009-03-07 18:19:53 +00:00
rubidium
0d2d5565a6
(svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf.
2009-03-07 17:57:54 +00:00
yexo
d1a9fcc67f
(svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr.
2009-03-06 21:07:01 +00:00
rubidium
406832fed8
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
2009-03-06 19:33:45 +00:00
translators
bc58d4ef9a
(svn r15631) -Update: WebTranslator2 update to 2009-03-06 18:47:57
...
catalan - 1 fixed by arnaullv (1)
german - 33 changed by planetmaker (33)
greek - 14 fixed by hellis (14)
korean - 1 fixed by darkttd (1)
luxembourgish - 818 fixed by Gubius (818)
persian - 72 fixed by ali sattari (72)
romanian - 1 fixed by kkmic (1)
russian - 1 fixed by Smoky555 (1)
welsh - 1 fixed by PlayDead (1)
2009-03-06 18:48:10 +00:00
yexo
3633fd9a06
(svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file.
2009-03-06 15:20:18 +00:00
yexo
b520d73285
(svn r15629) -Fix (r15027): Validate strings that are passed from squirrel to the API, not strings passed from the API to squirrel.
2009-03-06 14:21:26 +00:00
smatz
f3ed8268b6
(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server
2009-03-06 12:42:01 +00:00
belugas
3d05c31031
(svn r15627) -Documentation: Add two Doxygen strings (Alberth).
2009-03-06 03:01:35 +00:00
rubidium
86ca408d46
(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.
2009-03-06 01:23:25 +00:00
smatz
c3a7e6b693
(svn r15625) -Codechange: remove unneeded assert
2009-03-06 00:41:58 +00:00
smatz
a92cd2b72e
(svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types
2009-03-05 22:55:47 +00:00
rubidium
f2f2a6d303
(svn r15623) -Fix (r15615): close the files you've opened
2009-03-05 22:14:27 +00:00
peter1138
7dd6f218ef
(svn r15622) -Codechange: Duplication.
2009-03-05 17:52:35 +00:00
peter1138
1bde2d97b5
(svn r15621) -Feature: When cloning a vehicle with a custom name, add and/or increment a number at the end of name and assign it to the new vehicle (for emma)
2009-03-05 17:37:56 +00:00
belugas
05fe2d8d21
(svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith).
2009-03-05 17:21:42 +00:00
michi_cc
a4aba77e49
(svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely.
2009-03-05 16:14:56 +00:00
rubidium
c0d71b84f9
(svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached (though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often.
2009-03-04 23:32:23 +00:00
yexo
890c5e3ae4
(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags().
2009-03-04 23:12:48 +00:00
rubidium
15e9fdd47a
(svn r15615) -Feature: show scenarios/heightmaps from both your home directory and installation directory.
...
-Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
2009-03-04 23:12:15 +00:00
yexo
ffe2caf20f
(svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type).
2009-03-04 22:37:25 +00:00
translators
5fd7c79987
(svn r15613) -Update: WebTranslator2 update to 2009-03-04 18:38:03
...
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed by glx (1)
german - 17 changed by planetmaker (17)
icelandic - 73 fixed by pall (73)
italian - 1 fixed by lorenzodv (1)
ukrainian - 1 fixed by mad (1)
2009-03-04 18:38:12 +00:00
rubidium
a52d50c62f
(svn r15612) -Codechange: unduplicate directory creation
2009-03-04 14:25:53 +00:00
rubidium
6cbf131318
(svn r15611) -Change: when sorting files on modification date and the modification date is equal sort on the title so reversing the sorting direction actually reverses the order the listed files
2009-03-04 10:02:00 +00:00
rubidium
0d8da02ec1
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
2009-03-04 09:53:31 +00:00
peter1138
f0de54bc10
(svn r15609) -Fix: Code style...
2009-03-04 08:02:16 +00:00
rubidium
0682c1c46c
(svn r15608) -Codechange: use the file scanner to find the files for the saveload window.
2009-03-04 01:09:48 +00:00
rubidium
4f3da358ee
(svn r15607) -Codechange: support searching files without filtering on extension.
2009-03-04 00:19:42 +00:00
rubidium
d1d0778a54
(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).
2009-03-04 00:17:51 +00:00
rubidium
908e850b5a
(svn r15605) -Codechange: constify a function
2009-03-04 00:13:52 +00:00
rubidium
f1a96c5577
(svn r15604) -Fix [FS#2661]: towns would only build houses where the grid would not be, even when they aren't allowed to build roads and the user 'implements' another layout.
2009-03-03 22:46:08 +00:00
rubidium
b55ed2e668
(svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large sprite as cursor.
2009-03-03 20:33:57 +00:00
translators
07df0d05dc
(svn r15602) -Update: WebTranslator2 update to 2009-03-03 18:40:15
...
brazilian_portuguese - 1 fixed by tucalipe (1)
dutch - 1 fixed by habell (1)
german - 1 fixed, 12 changed by planetmaker (13)
hungarian - 1 fixed by alyr (1)
indonesian - 1 fixed by fanioz (1)
persian - 102 fixed by ali sattari (102)
spanish - 1 fixed by eusebio (1)
2009-03-03 18:40:23 +00:00
rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
yexo
6dd3703a4c
(svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar.
2009-03-02 21:01:19 +00:00
translators
9ff4ae0f5d
(svn r15599) -Update: WebTranslator2 update to 2009-03-02 18:39:38
...
brazilian_portuguese - 4 fixed by tucalipe (4)
german - 35 changed by planetmaker (35)
lithuanian - 49 fixed, 33 changed by Devastator (82)
2009-03-02 18:39:42 +00:00
rubidium
b1c105e77e
(svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport.
2009-03-02 18:01:33 +00:00
rubidium
52f5717a66
(svn r15596) -Change: road vehicles can stop at stops when they own the stop, not when they own the road/tram track.
2009-03-01 21:48:03 +00:00
translators
6082ba65d7
(svn r15595) -Update: WebTranslator2 update to 2009-03-01 18:35:59
...
german - 39 changed by planetmaker (39)
icelandic - 80 fixed by scrooge (80)
italian - 2 changed by lorenzodv (2)
lithuanian - 116 fixed by Devastator (116)
persian - 219 fixed by ali sattari (219)
serbian - 4 fixed by marko85nis (4)
2009-03-01 18:36:05 +00:00
translators
ff348c8972
(svn r15594) -Update: WebTranslator2 update to 2009-02-28 18:51:15
...
arabic_egypt - 7 fixed by khaloofah (7)
french - 1 fixed by glx (1)
frisian - 51 fixed by luc (51)
german - 25 changed by planetmaker (25)
italian - 2 changed by lorenzodv (2)
korean - 1 changed by leejaeuk5 (1)
persian - 147 fixed, 2 changed by ali sattari (149)
swedish - 4 fixed by Wiggelicous (4)
traditional_chinese - 87 changed by josesun (87)
ukrainian - 4 fixed by mad (4)
urdu - 22 fixed by yasirniazkhan (22)
2009-02-28 18:51:26 +00:00
yexo
dbec2ec628
(svn r15593) -Change: the background of the the waypoint sign is now in the company color.
2009-02-27 22:26:06 +00:00
frosch
e01106f66b
(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.
2009-02-27 20:40:39 +00:00
translators
7299728472
(svn r15591) -Update: WebTranslator2 update to 2009-02-27 18:16:01
...
afrikaans - 6 changed by Ludslad (6)
catalan - 1 fixed by arnaullv (1)
danish - 4 fixed by ThomasA (4)
dutch - 4 fixed by habell (4)
finnish - 1 fixed by jpx_ (1)
frisian - 41 fixed, 8 changed by luc (49)
german - 1 fixed by planetmaker (1)
hungarian - 1 fixed by alyr (1)
indonesian - 4 fixed by fanioz (4)
italian - 1 fixed, 2 changed by lorenzodv (3)
korean - 4 fixed, 35 changed by leejaeuk5 (8), darkttd (31)
portuguese - 1 fixed by izhirahider (1)
romanian - 1 fixed, 1 changed by kkmic (2)
russian - 1 fixed by Smoky555 (1)
spanish - 4 fixed by eusebio (3), erregerre (1)
turkish - 4 fixed by Emin (4)
welsh - 1 fixed, 5 changed by PlayDead (6)
2009-02-27 18:16:21 +00:00
yexo
eafdc200c8
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
2009-02-26 20:30:41 +00:00
smatz
1a940c24e3
(svn r15589) -Fix: drawing of waypoints with invalid owner was broken
...
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
2009-02-26 14:10:57 +00:00
smatz
3fdac6f702
(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts
2009-02-26 14:07:42 +00:00
yexo
a41b143e58
(svn r15587) -Fix (r15345): I should really test even those simple api functions better.
2009-02-26 07:30:13 +00:00
yexo
a78724e824
(svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes.
2009-02-26 01:53:22 +00:00
yexo
a0c4f1156a
(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).
2009-02-25 21:50:54 +00:00
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
2009-02-25 21:45:14 +00:00
frosch
c5684e56ec
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
2009-02-25 21:29:50 +00:00
frosch
c7e324bb40
(svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). Btw. it would also cause desyncs and wrap around the map.
2009-02-25 21:24:42 +00:00
translators
0a2e46c6c7
(svn r15581) -Update: WebTranslator2 update to 2009-02-25 18:44:53
...
afrikaans - 7 changed by Ludslad (7)
catalan - 3 fixed by arnaullv (3)
czech - 3 fixed by Hadez (3)
danish - 12 fixed, 13 changed by ThomasA (25)
dutch - 3 fixed by habell (3)
english_US - 3 fixed by WhiteRabbit (3)
estonian - 54 fixed by t2t2 (54)
finnish - 3 fixed by jpx_ (3)
french - 3 fixed, 8 changed by belugas (8), glx (3)
german - 3 fixed by planetmaker (3)
hungarian - 3 fixed by alyr (3)
italian - 3 fixed by lorenzodv (3)
norwegian_bokmal - 7 fixed by christian (7)
romanian - 3 fixed, 5 changed by kkmic (8)
russian - 3 fixed by Smoky555 (3)
slovak - 3 fixed by James (3)
traditional_chinese - 37 fixed by irvin (37)
welsh - 3 fixed by welshdragon (3)
2009-02-25 18:45:16 +00:00
rubidium
3ae9851bd8
(svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute.
2009-02-25 17:00:59 +00:00
rubidium
1ad50ce4e6
(svn r15578) -Change: unexternalise squirrel.
2009-02-25 01:21:50 +00:00
rubidium
66a8c0a132
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
2009-02-25 00:48:04 +00:00
yexo
3bb872e7dd
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
2009-02-25 00:45:52 +00:00
yexo
901230bde1
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
2009-02-25 00:14:46 +00:00
rubidium
d86ae1fde6
(svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo
2009-02-25 00:12:57 +00:00
yexo
1104e10695
(svn r15573) -Fix (r15538): Terrain type and sea level couldn't be changed in the scenario editor.
2009-02-24 23:20:17 +00:00
smatz
13f390be3e
(svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction
2009-02-24 22:57:02 +00:00
smatz
846044ee26
(svn r15571) -Fix: incorrect use of memset
2009-02-24 22:25:23 +00:00
yexo
2860399397
(svn r15570) -Fix: Too long strings in the advanced settings window are now truncated.
2009-02-24 22:23:47 +00:00
smatz
425fe86a3d
(svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT
2009-02-24 21:32:23 +00:00
smatz
d73c1fa7bf
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
2009-02-24 20:59:17 +00:00
yexo
8beca127dd
(svn r15567) -Fix [FS#2674]: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal.
2009-02-24 19:15:23 +00:00
rubidium
8fa247c4b1
(svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused.
2009-02-24 13:32:18 +00:00
rubidium
4bf2f4a166
(svn r15565) -Fix [FS#2675]: dependency information wasn't requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically.
2009-02-24 13:25:35 +00:00
yexo
391fe952b9
(svn r15564) -Fix: Refresh all industry windows if the modify production cheat is enabled/disabled.
2009-02-23 22:00:29 +00:00
yexo
932b1c24b2
(svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID().
2009-02-23 21:07:01 +00:00
yexo
1884ba20bc
(svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier.
2009-02-23 20:57:55 +00:00
rubidium
c876e3e1b2
(svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs
2009-02-23 20:45:34 +00:00
rubidium
cfc233e2ab
(svn r15560) -Fix: typos in Spanish town names (Erregerre)
2009-02-23 20:42:20 +00:00
frosch
a987c7299b
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
2009-02-23 20:03:38 +00:00
yexo
cabfe35e54
(svn r15558) -Cleanup: Remove some unnecessary friend declarations.
2009-02-23 19:35:19 +00:00
rubidium
85c0276d0e
(svn r15557) -Fix: the font width cache was not updated when changing fonts causing the font spacing to be off when changing fonts in-game (auto font detection).
2009-02-23 18:14:18 +00:00
rubidium
3ba802e995
(svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding.
2009-02-23 17:54:02 +00:00
rubidium
0c1b8ea602
(svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites.
2009-02-23 10:50:25 +00:00
rubidium
2433ba042b
(svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator.
2009-02-23 01:51:19 +00:00
translators
c81866fb8d
(svn r15553) -Update: WebTranslator2 update to 2009-02-22 18:58:31
...
french - 2 changed by belugas (2)
japanese - 67 fixed by ickoonite (67)
polish - 3 fixed by xaxa (3)
spanish - 38 changed by erregerre (38)
2009-02-22 18:58:44 +00:00
rubidium
54f852f094
(svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing the same FD twice and zlib's docs weren't very clear about whether it would close a FD it didn't open.
2009-02-22 02:57:15 +00:00
rubidium
731c1e90e8
(svn r15551) -Fix [FS#2656]: [NoAI] crash when setting a depot order to the southern part of a ship depot
2009-02-22 00:30:36 +00:00
rubidium
b68a870fe3
(svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting industries/unmoveables; "X is in the way" isn't helpful at all in that case.
2009-02-21 21:38:46 +00:00
translators
930a31f5f5
(svn r15549) -Update: WebTranslator2 update to 2009-02-21 18:48:25
...
brazilian_portuguese - 5 changed by tucalipe (5)
german - 7 changed by planetmaker (7)
indonesian - 4 changed by fanioz (4)
korean - 2 changed by darkttd (2)
norwegian_nynorsk - 1 fixed, 7 changed by Thor (8)
polish - 15 fixed by xaxa (11), coolik (4)
romanian - 2 changed by kkmic (2)
simplified_chinese - 3 fixed by ww9980 (3)
spanish - 2 changed by eusebio (2)
2009-02-21 18:48:38 +00:00
rubidium
87751dc95d
(svn r15548) -Fix: incorrect error message when removing non-existing diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail).
2009-02-21 18:10:08 +00:00
frosch
6390ece34f
(svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.
2009-02-21 15:56:02 +00:00
rubidium
81d8e55c38
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
2009-02-21 15:23:49 +00:00
rubidium
8316c4381f
(svn r15545) -Fix [FS#2653]: if a buoy was placed directly in front of a dock, that dock was seen as a buoy and thus skipped once within 3 tiles.
2009-02-21 14:02:00 +00:00
rubidium
fdc2e85184
(svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for Windows if one uses a non-ASCII.
2009-02-21 14:00:35 +00:00
rubidium
a4567f243d
(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).
2009-02-21 13:27:09 +00:00
frosch
157e0481ad
(svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase list.
2009-02-21 13:24:55 +00:00
frosch
d3850e101c
(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.
...
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
Note: It is intentional that you cannot control refittability by CB 36.
2009-02-21 12:52:41 +00:00
frosch
b674d1f6f5
(svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'.
2009-02-21 11:54:25 +00:00
frosch
85333d4211
(svn r15539) -Fix: If an aircraft cannot carry any available cargo, it should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do.
2009-02-21 11:50:17 +00:00
yexo
c3c549f731
(svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when changing the amount of towns/industries from the newgame gui.
2009-02-21 02:34:53 +00:00
rubidium
13bc604fde
(svn r15537) -Fix (r5215): don't allow special sprite characters (e.g. the ship sprite) as characters in input like filenames or text that is sent over the network.
2009-02-21 00:47:59 +00:00
glx
ab3fc1d437
(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs
2009-02-21 00:43:18 +00:00
frosch
15789a76c1
(svn r15534) -Codechange: Rename some variables.
2009-02-20 23:21:04 +00:00
rubidium
c4fb879561
(svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again.
2009-02-20 21:05:27 +00:00
yexo
7dc607b2d1
(svn r15531) -Fix (r15467): AIs were stopped at every error, whether they caught it or not.
2009-02-20 13:39:18 +00:00
yexo
07a37af14c
(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel.
2009-02-20 10:03:16 +00:00
rubidium
c5677da94d
(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game.
2009-02-20 00:03:29 +00:00
yexo
ef67e59145
(svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ).
2009-02-20 00:02:25 +00:00
yexo
a54061f840
(svn r15527) -Fix (r15526): A ')' too much.
2009-02-19 23:22:31 +00:00
yexo
b3fe664d90
(svn r15526) -Add [NoAI]: Support for conditional orders.
2009-02-19 23:12:57 +00:00
yexo
2fdc395d45
(svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server.
2009-02-19 23:10:32 +00:00
yexo
3491b0fab9
(svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort.
2009-02-19 19:44:19 +00:00
translators
ce5b380a1d
(svn r15523) -Update: WebTranslator2 update to 2009-02-19 16:58:17
...
afrikaans - 3 fixed, 8 changed by Ludslad (11)
estonian - 14 fixed by t2t2 (14)
latvian - 1 changed by v3rb0 (1)
luxembourgish - 336 fixed by Gubius (336)
2009-02-19 16:58:24 +00:00
rubidium
a5f30dd553
(svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle.
2009-02-19 09:45:44 +00:00
yexo
459a855e60
(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed.
2009-02-19 09:01:34 +00:00
yexo
c0e7ddeb9e
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
2009-02-19 07:40:08 +00:00
rubidium
c2d9c85c0f
(svn r15518) -Fix [FS#2631]: use distance to closest station tile as estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations.
2009-02-19 00:15:36 +00:00
frosch
336fda62be
(svn r15517) -Fix [FS#2642](r6455): Wagonoverrides and articulated engine parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles.
2009-02-18 20:40:24 +00:00
frosch
3542b1dced
(svn r15516) -Fix (r10097): Livery overrides for articulated parts of roadvehicles were not applied.
2009-02-18 20:35:02 +00:00
translators
b832881a6e
(svn r15515) -Update: WebTranslator2 update to 2009-02-18 18:31:54
...
afrikaans - 10 fixed, 1 changed by Ludslad (11)
brazilian_portuguese - 6 fixed by ferrerow (6)
bulgarian - 11 fixed by Ar4i (11)
hungarian - 13 changed by alyr (13)
indonesian - 3 fixed by adjayanto (3)
japanese - 19 fixed by ickoonite (19)
latvian - 8 fixed by silentKnight (8)
lithuanian - 52 fixed by Enternald (52)
luxembourgish - 70 fixed by Gubius (70)
romanian - 23 changed by kkmic (23)
russian - 14 fixed by Smoky555 (14)
slovak - 1 fixed by James (1)
swedish - 48 fixed by giddorah (48)
welsh - 282 fixed, 2 changed by PlayDead (284)
2009-02-18 18:32:10 +00:00
rubidium
3e1664aff1
(svn r15514) -Fix: make the join/spectate command require to be connected to a network game; in SP it could lead to crashes.
2009-02-18 15:17:27 +00:00
peter1138
fd6a480004
(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent.
2009-02-18 09:14:41 +00:00
peter1138
fe5acb59f7
(svn r15512) -Cleanup: Codestyle fixes.
2009-02-18 09:10:02 +00:00
yexo
e5d6f3ef2e
(svn r15511) -Fix [FS#2641] (r15190): Generating a map with the original map generator with freeform edges on resulted in an assert.
2009-02-17 20:33:13 +00:00
translators
5d0e1f70de
(svn r15510) -Update: WebTranslator2 update to 2009-02-17 17:50:34
...
croatian - 22 fixed by tifached (22)
czech - 20 fixed by joeprusa (19), miris2009 (1)
english_US - 81 changed by WhiteRabbit (81)
hungarian - 1 changed by alyr (1)
korean - 3 fixed by darkttd (3)
latvian - 8 fixed by Reinis (5), waste (3)
luxembourgish - 50 fixed by Gubius (50)
norwegian_bokmal - 60 fixed by khh (60)
russian - 6 fixed by MajestiC (6)
slovak - 49 fixed by James (49)
swedish - 145 fixed by Andreas (9), giddorah (136)
turkish - 3 fixed by Emin (3)
welsh - 76 fixed by PlayDead (76)
2009-02-17 17:50:53 +00:00
smatz
e9378e17c8
(svn r15509) -Codechange: move definition of some Window methods to class definition
2009-02-17 12:41:29 +00:00
smatz
b8471e5401
(svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header
2009-02-17 02:08:53 +00:00
smatz
42c0faf9e1
(svn r15507) -Update (r15506): rename strings in other languages too
2009-02-17 00:30:59 +00:00
smatz
42747e222c
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
2009-02-17 00:21:08 +00:00
smatz
0878541cf2
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
2009-02-16 23:23:33 +00:00
smatz
b9b14bd803
(svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them
2009-02-16 21:43:44 +00:00
smatz
2f767e77e8
(svn r15499) -Fix (r15340): the default town layout was changed
2009-02-16 20:17:07 +00:00
translators
de07228f68
(svn r15498) -Update: WebTranslator2 update to 2009-02-16 18:45:15
...
catalan - 2 changed by arnaullv (2)
dutch - 3 fixed by Excel20 (3)
english_US - 7 fixed by WhiteRabbit (7)
german - 3 fixed by planetmaker (2), ralph (1)
hungarian - 1 changed by alyr (1)
lithuanian - 1 fixed by Enternald (1)
luxembourgish - 140 fixed by Gubius (140)
norwegian_nynorsk - 9 fixed, 5 changed by Thor (14)
portuguese - 4 fixed by SnowFlake (4)
romanian - 2 fixed, 5 changed by kkmic (7)
slovak - 53 fixed by James (53)
slovenian - 20 fixed by Necrolyte (20)
2009-02-16 18:45:30 +00:00
smatz
e1c43f4fac
(svn r15497) -Fix (r15027): when trains crashed, AIEvent was created only for one train
2009-02-16 17:16:58 +00:00
smatz
f65d70476b
(svn r15496) -Codechange: one division less in the train acceleration code
2009-02-16 01:57:55 +00:00
yexo
1f9ec758aa
(svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth.
2009-02-14 23:17:32 +00:00
yexo
a0b57c849e
(svn r15494) -Change [API CHANGE]: Split AIRoad::BuildRoadStation in BuildRoadStation and BuildDriveThroughRoadStation.
2009-02-14 22:06:11 +00:00
yexo
2b221f5afc
(svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon and MoveWagonChain (frosch).
2009-02-14 21:22:42 +00:00
yexo
336abd66a2
(svn r15491) -Change [API CHANGE]: AIMarine::BuildWaterDepot now accepts a front tile instead of a bool is_vertical (frosch).
2009-02-14 21:19:33 +00:00
yexo
7d88077add
(svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges.
2009-02-14 21:17:35 +00:00
yexo
16954ba378
(svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes.
2009-02-14 21:16:21 +00:00
yexo
bce1bcb0f2
(svn r15488) -Change [API CHANGE]: Add support for distant-join stations.
2009-02-14 21:15:23 +00:00
yexo
5a5bc8ab52
(svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle.
2009-02-14 21:13:45 +00:00
yexo
8ceb92e699
(svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID.
2009-02-14 21:13:15 +00:00
yexo
cea470e687
(svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation.
2009-02-14 21:09:48 +00:00
yexo
58359b8d6e
(svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName.
2009-02-14 21:06:58 +00:00
yexo
7fdde2fec0
(svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use AIIndustry::GetLastMonthProduction instead.
2009-02-14 21:05:57 +00:00
yexo
92fc2e692c
(svn r15482) -Fix [NoAI]: Typos in api docs.
2009-02-14 20:07:05 +00:00
yexo
37819fc8c5
(svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call.
2009-02-14 20:03:06 +00:00
michi_cc
84deeecc5b
(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window.
2009-02-14 18:42:03 +00:00
frosch
b123756c9f
(svn r15479) -Fix: Documentation of AIIndustryType::CanBuildIndustry().
2009-02-14 18:40:31 +00:00
translators
03a1051de9
(svn r15478) -Update: WebTranslator2 update to 2009-02-14 18:38:28
...
catalan - 3 fixed by arnaullv (3)
finnish - 2 fixed by UltimateSephiroth (2)
french - 2 fixed by glx (2)
hungarian - 3 fixed by IPG (1), alyr (2)
italian - 3 fixed, 4 changed by lorenzodv (7)
norwegian_nynorsk - 42 fixed, 14 changed by Thor (56)
romanian - 1 fixed by kkmic (1)
spanish - 3 fixed by Dominus (3)
ukrainian - 3 fixed by mad (3)
2009-02-14 18:38:39 +00:00
rubidium
7f245b22dc
(svn r15476) -Fix [FS#2630]: crash when opening the game options when the currently loaded base graphics pack has less than 2 valid graphics files. For example when someone replaces all his/her original base graphics with custom work (but keeps the name) or renames the dos ones to windows or vice versa.
2009-02-14 01:42:12 +00:00
rubidium
7b5c5d4432
(svn r15475) -Update: do r15474 also for the other languages.
2009-02-14 01:40:26 +00:00
rubidium
53caa6cb21
(svn r15474) -Cleanup: remove some (long) unused strings.
2009-02-14 01:29:18 +00:00
rubidium
9554b8aafe
(svn r15473) -Fix: add two missing tooltips in the intro gui
2009-02-13 21:24:21 +00:00
rubidium
424a494c7b
(svn r15472) -Fix: consistency of capitalisation of words in the intro gui and of NewGRF.
2009-02-13 21:19:32 +00:00
translators
9e6363a7d9
(svn r15471) -Update: WebTranslator2 update to 2009-02-13 18:45:45
...
dutch - 12 changed by Excel20 (12)
finnish - 1 fixed by jpx_ (1)
french - 1 fixed, 2 changed by glx (3)
luxembourgish - 333 fixed by Gubius (333)
ukrainian - 5 fixed by mad (5)
2009-02-13 18:45:53 +00:00
yexo
e84f25a2bd
(svn r15470) -Fix [NoAI]: Check the types of the parameters passed to AddSetting, AddLabels and RegisterAI.
2009-02-13 18:43:56 +00:00
rubidium
f33bf2dddd
(svn r15469) -Fix (r15468): why doesn't subversion trigger the save of my text editor before doing the commit?
2009-02-13 17:55:45 +00:00
rubidium
8535ceb5e2
(svn r15468) -Fix: reword the multiplayer tooltip so it doesn't mention the (incorrect) number of players anymore.
2009-02-13 17:50:33 +00:00
yexo
8e14d77d05
(svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game.
2009-02-13 17:17:34 +00:00
yexo
15b9366f06
(svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile.
2009-02-13 16:25:53 +00:00
smatz
d3f018a7e3
(svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move definition of very simple getters to header file
2009-02-13 02:11:54 +00:00
yexo
9292c90360
(svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization.
2009-02-13 01:44:56 +00:00
yexo
b9c66aa750
(svn r15463) -Change [API CHANGE]: Replace AIInfo::CanLoadFromVersion(version) with AIInfo::MinVersionToLoad() which should return a single integer, the minimum version the AI is able to load data from.
2009-02-13 01:24:30 +00:00
yexo
4c7106dad7
(svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.
...
-Fix (r15460): ai_controller.hpp.sq was forgotten.
2009-02-13 00:18:56 +00:00
rubidium
806807e16b
(svn r15461) -Fix (r15459): massive removal of strings from serbian.
2009-02-12 23:47:13 +00:00
rubidium
dea3490b2f
(svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName.
2009-02-12 22:25:53 +00:00
translators
3314ef39d2
(svn r15459) -Update: WebTranslator2 update to 2009-02-12 18:45:56
...
afrikaans - 5 fixed, 3 changed by Ludslad (8)
dutch - 18 changed by Excel20 (18)
german - 3 changed by planetmaker (3)
hungarian - 1 changed by alyr (1)
ido - 27 fixed by Cecile (12), Selene (15)
indonesian - 10 changed by rindu (10)
luxembourgish - 346 fixed by Gubius (346)
serbian - 19 fixed by burek (19)
spanish - 4 changed by eusebio (4)
2009-02-12 18:46:07 +00:00
frosch
565602fe90
(svn r15458) -Fix: Missing 'static'.
2009-02-12 18:08:47 +00:00
rubidium
9fb19be134
(svn r15457) -Fix: typo in stringid.
2009-02-12 15:17:10 +00:00
rubidium
0a673d870b
(svn r15456) -Fix(ish): add strgen support to add 'directional formatting codes', so one can guide the bidirectional rendering a bit better.
2009-02-12 10:42:22 +00:00
rubidium
1d362442ec
(svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g.
2009-02-12 10:13:30 +00:00
rubidium
e8dbf62761
(svn r15454) -Fix [FS#2614]: towns did not know about build_on_slopes in some cases, or made decisions on the 'original' slope instead the slope after applying the foundation..
2009-02-11 20:41:17 +00:00
frosch
81cf1cac8f
(svn r15453) -Fix [FS#2450](r14613): Founding industries as OWNER_TOWN resulted in unwanted effects.
2009-02-11 20:09:29 +00:00
frosch
032346cf8a
(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.
2009-02-11 18:50:47 +00:00
translators
92584d0149
(svn r15451) -Update: WebTranslator2 update to 2009-02-11 18:46:59
...
afrikaans - 5 fixed, 9 changed by Ludslad (14)
german - 7 changed by planetmaker (1), eddi (6)
hungarian - 5 fixed by alyr (5)
indonesian - 17 fixed, 2 changed by rindu (2), fanioz (1), adjayanto (16)
persian - 11 fixed, 31 changed by ali sattari (42)
romanian - 5 fixed, 14 changed by kkmic (19)
serbian - 500 fixed, 14 changed by syndrome (514)
slovak - 4 fixed by choze (4)
spanish - 5 fixed by eusebio (5)
2009-02-11 18:49:06 +00:00
peter1138
15152cdc03
(svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX.
2009-02-11 18:37:13 +00:00
frosch
3e3a158610
(svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does.
2009-02-11 18:33:27 +00:00
peter1138
3728df8323
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
2009-02-11 18:10:12 +00:00
peter1138
e73a4e490c
(svn r15447) -Codechange: void functions don't tend to return true if and only if anyway
2009-02-11 07:17:39 +00:00
belugas
62be0ce7e6
(svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
...
Thanks, Yexo. I feel less ignorant today :D
2009-02-11 02:53:15 +00:00
belugas
c26426a44e
(svn r15445) -Fix: little typos
2009-02-11 02:30:08 +00:00
rubidium
5239eee6ac
(svn r15444) -Fix (r15425): the chat messages gone gray. That gray colour was technically right. The string contained {GRAY}, but due to a latent bug (accidentally fixed in r15425) in the string drawing routing the gray would be interpreted as use palette colour 14, which is a white.
2009-02-11 01:46:09 +00:00
rubidium
dba12992e8
(svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant.
2009-02-11 01:28:10 +00:00
yexo
8d25202067
(svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored.
2009-02-11 00:48:15 +00:00
yexo
1eeb0f6748
(svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it.
2009-02-10 19:22:09 +00:00
smatz
3072a5d7c2
(svn r15439) -Fix [FS#2626]: call Vehicle::LeaveStation() before reversing overlength loading train (station triggers were missed, PBS reservation could cause crash)
2009-02-10 12:49:12 +00:00
glx
d6e8601a62
(svn r15438) -Fix (r15434): MSVC performance warning
2009-02-10 04:23:37 +00:00
belugas
da9783aaf7
(svn r15437) -Codechange: Do not run a code section when you already know it is useless
...
-Codechange: Do not rely on a decision based on something that has already been evaluated
2009-02-10 00:50:04 +00:00
peter1138
ad30a3c4ca
(svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
2009-02-09 22:49:28 +00:00
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
2009-02-09 21:20:05 +00:00
peter1138
cd0b38d234
(svn r15433) -Fix (r15126): Content download progress bar was not centered properly.
2009-02-09 20:30:16 +00:00
translators
8c36a96920
(svn r15432) -Update: WebTranslator2 update to 2009-02-09 18:30:51
...
bulgarian - 30 fixed by Ar4i (30)
catalan - 3 fixed by arnaullv (3)
danish - 33 fixed by ThomasA (33)
dutch - 5 fixed by habell (5)
english_US - 118 fixed by WhiteRabbit (118)
finnish - 5 fixed by jpx_ (5)
german - 5 fixed by ralph (5)
hungarian - 2 fixed by alyr (2)
latvian - 7 fixed by KiitsLV (5), waste (2)
polish - 6 fixed by coolik (6)
romanian - 3 fixed, 2 changed by kkmic (5)
serbian - 123 fixed, 2 deleted, 229 changed by syndrome (354)
simplified_chinese - 5 fixed by ww9980 (5)
spanish - 1 changed by Dominus (1)
ukrainian - 3 fixed by mad (3)
2009-02-09 18:31:10 +00:00
rubidium
d71ec28edc
(svn r15431) -Fix (r15425): wrongly added assertion due to unneeded & 0xFF. Now use the same method of handling the colour as it would do when drawing a string instead of a character.
2009-02-09 10:31:37 +00:00
rubidium
05792c46a3
(svn r15429) -Change: do r15428 also for the string names.
2009-02-09 03:07:03 +00:00
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
rubidium
90e2465d7d
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
2009-02-09 02:33:10 +00:00
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
2009-02-09 02:09:47 +00:00
rubidium
861e9cefb3
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
2009-02-09 01:22:29 +00:00
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
2009-02-09 01:06:23 +00:00
rubidium
7b8c13fa5c
(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.
2009-02-08 23:06:56 +00:00
peter1138
68e641e9ed
(svn r15418) -Codechange: Add action7/9 support to detect available rail type labels
2009-02-08 18:29:22 +00:00
peter1138
a68e0ee42f
(svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table.
2009-02-08 18:11:06 +00:00
rubidium
986224519a
(svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling.
2009-02-08 17:46:08 +00:00
rubidium
faeb00008a
(svn r15415) -Change: close the (station) joiner window when pressing the bulldozer.
2009-02-08 16:03:17 +00:00
rubidium
57b27ffbab
(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/
2009-02-08 16:00:57 +00:00
rubidium
856f26e35b
(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed.
2009-02-08 15:45:34 +00:00
peter1138
748d4d2fb9
(svn r15412) -Fix: Clearing custom engine names could cause desyncs due to be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented.
2009-02-08 12:58:14 +00:00
rubidium
dcb3a9ac51
(svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command
2009-02-08 12:42:45 +00:00
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
2009-02-08 12:25:13 +00:00
frosch
27105127f6
(svn r15409) -Update: Currencies
...
Remove intermediate currency "New Turkish lira".
Add Euro introduction date for Slovakia.
Remove Euro introduction date for Hungary.
2009-02-08 12:02:28 +00:00
Yexo
5bcdcdd1d1
(svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times they're not allowed to sleep.
2009-02-08 11:34:51 +00:00
peter1138
5f8c2b1b4e
(svn r15407) -Codechange: When loading a save game with an invalid pool index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash.
2009-02-08 10:37:24 +00:00
rubidium
e1b1fd18b5
(svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
2009-02-08 01:51:48 +00:00
michi_cc
8bd5f10a2c
(svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness.
2009-02-08 01:10:48 +00:00
translators
088d5bb2ed
(svn r15403) -Update: WebTranslator2 update to 2009-02-07 18:48:00
...
arabic_egypt - 6 fixed by khaloofah (6)
brazilian_portuguese - 15 fixed by tucalipe (15)
catalan - 3 fixed by arnaullv (3)
dutch - 2 fixed, 21 changed by Yexo (21), Excel20 (2)
finnish - 3 fixed by jpx_ (3)
french - 6 fixed by glx (6)
german - 6 fixed by hellow (6)
hungarian - 4 fixed by alyr (4)
italian - 17 fixed by lorenzodv (17)
korean - 6 fixed, 22 changed by darkttd (28)
norwegian_bokmal - 27 fixed by khh (27)
romanian - 3 fixed, 4 changed by kkmic (7)
serbian - 176 fixed, 93 changed by syndrome (269)
simplified_chinese - 16 fixed, 1 changed by ww9980 (17)
spanish - 6 fixed by Dominus (6)
turkish - 17 fixed, 1 changed by Emin (18)
2009-02-07 18:48:25 +00:00
smatz
575e349828
(svn r15402) -Codechange: verify _current_company didn't change when executing a command
2009-02-07 18:09:30 +00:00
smatz
9c59b711b7
(svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but didn't restore its original value
2009-02-07 17:01:44 +00:00
frosch
4e8707b93f
(svn r15400) -Fix: Typos in comments.
2009-02-07 16:23:42 +00:00
frosch
769573d1e9
(svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == CT_INVALID is possible.
2009-02-07 16:17:03 +00:00
smatz
9702edb554
(svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow)
2009-02-07 16:11:21 +00:00
rubidium
e31e514474
(svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge.
2009-02-07 16:02:29 +00:00
smatz
abb17d64a1
(svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly
2009-02-07 13:53:38 +00:00
rubidium
d7a053578d
(svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server.
2009-02-07 12:02:13 +00:00
glx
39dfd18880
(svn r15394) -Fix (r15389): no new line at end of line warning
2009-02-07 03:31:48 +00:00
belugas
b4f9cf551f
(svn r15393) -Fix: little typo
2009-02-07 03:06:38 +00:00
belugas
0abf14384c
(svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern
2009-02-07 02:38:32 +00:00
rubidium
bab7367a59
(svn r15391) -Fix (r14997): loading font sprites should not trigger a palette conversion.
2009-02-07 02:29:08 +00:00
Yexo
322515e8d5
(svn r15390) -Cleanup: Remove old hack that wasn't used anymore.
2009-02-07 01:17:15 +00:00
peter1138
967491a22d
(svn r15389) -Feature: Add ability to select which base graphics set is used from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues.
2009-02-07 01:01:02 +00:00
rubidium
ae2fda6c02
(svn r15388) -Change: unify the way Ctrl+Click is written.
2009-02-07 00:45:24 +00:00
peter1138
77760a62fd
(svn r15387) -Codechange: Add a drop down list item type for char* strings.
2009-02-07 00:37:35 +00:00
peter1138
db54537369
(svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values.
2009-02-07 00:33:35 +00:00
peter1138
cd84ffb036
(svn r15385) -Fix: Saving of char* to configuration file did not work due to incorrect parameter order and no handling of NULL.
2009-02-07 00:29:35 +00:00
rubidium
eb533138bc
(svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders)
2009-02-07 00:22:21 +00:00
Yexo
4301278514
(svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than necessary.
2009-02-06 23:58:16 +00:00
rubidium
4cc07196ac
(svn r15382) -Fix [FS#2466]: multiple vehicles could be filling the timetable and only the data from one vehicle would be taken. Now only allow one to be filling at a time.
2009-02-06 21:30:18 +00:00
frosch
c52680a131
(svn r15381) -Fix (r11091): When testing for parallel road two tiles away, do not move more than one tile along the road.
2009-02-06 20:51:24 +00:00
frosch
5a369e1b50
(svn r15380) -Fix (r15190)[FS#2603]: Do not use TileY() on negative TileIndexDiffs. But the test was not needed anyway, as those tiles were already tested in previous iterations.
2009-02-06 20:24:44 +00:00
translators
25a5178aaf
(svn r15379) -Update: WebTranslator2 update to 2009-02-06 18:45:59
...
arabic_egypt - 11 fixed by khaloofah (11)
catalan - 11 fixed by arnaullv (11)
dutch - 10 fixed, 2 changed by Yexo (10), Excel20 (2)
finnish - 14 fixed by jpx_ (12), UltimateSephiroth (2)
french - 11 fixed by glx (11)
german - 11 fixed by ralph (5), hellow (6)
hebrew - 5 fixed by 19izhar73 (5)
hungarian - 11 fixed, 3 changed by alyr (3), IPG (4), oklmernok (7)
korean - 11 fixed, 2 changed by darkttd (13)
latvian - 25 fixed by waste (25)
portuguese - 16 fixed by supra90 (10), SnowFlake (6)
romanian - 11 fixed by kkmic (11)
serbian - 5 fixed, 271 changed by syndrome (276)
simplified_chinese - 2 fixed by ww9980 (2)
spanish - 11 fixed by Dominus (11)
traditional_chinese - 3 fixed, 5 changed by ww9980 (8)
ukrainian - 14 fixed by mad (14)
2009-02-06 18:46:21 +00:00
frosch
a5d515bfd6
(svn r15378) -Fix: The subcargo returned by vehicle variable 0x42 should be the most-common-subcargo of the most-common-cargo. If nothing is transported 0x..FFFF00 should be returned.
2009-02-06 18:06:05 +00:00
rubidium
841050ec83
(svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin)
2009-02-06 18:00:05 +00:00
rubidium
cecc3863cd
(svn r15376) -Fix [FS#2608] (r15371): OSX/BSD also seems to define strcasecmp under some circumstances.
2009-02-06 15:53:48 +00:00
rubidium
9bc7e4bdb2
(svn r15375) -Fix [FS#2605]: a tram circling around in a depot did never actually 'enter' the depot.
2009-02-06 15:52:22 +00:00
rubidium
0cfc402823
(svn r15374) -Codechange: remove a magic constant.
2009-02-06 15:39:34 +00:00
rubidium
ef754b8b6d
(svn r15373) -Fix [FS#2606]: Kenobi denied the server's client name to the tab-completed.
2009-02-06 15:11:17 +00:00
rubidium
c346f249cd
(svn r15372) -Feature: filter the 'content' based on the tag/name. Based on a patch by Roujin.
2009-02-06 12:00:14 +00:00
rubidium
35c5da08c5
(svn r15371) -Codechange: add an implementation of strcasestr for when _GNU_SOURCE isn't defined.
2009-02-06 11:58:52 +00:00
rubidium
ba3d7e70f2
(svn r15370) -Codechange: add a callback to tell the parent of an OSK that the string has changed instead of only marking the text box dirty.
2009-02-06 11:57:25 +00:00
rubidium
2ab6fffccc
(svn r15369) -Codechange: generalise the GUIList a bit so peter can write filters for cargo type, speed and mass ;)
2009-02-06 10:38:57 +00:00
rubidium
6252c74584
(svn r15368) -Fix: some typos in comments
2009-02-06 10:31:05 +00:00
rubidium
cfc80a17d8
(svn r15367) -Add: framework for filtering GUILists (Roujin)
2009-02-06 00:51:11 +00:00
Yexo
cb3784d8b1
(svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for the values of the settings in info.nut
2009-02-06 00:25:37 +00:00
rubidium
546cd4f70e
(svn r15363) -Fix [FS#2600]: inconsistency w.r.t. On/Off text for settings.
2009-02-05 22:05:58 +00:00
rubidium
0cf08d32c7
(svn r15362) -Change: make a string name more consistent.
2009-02-05 21:50:56 +00:00
smatz
d2716d66e3
(svn r15361) -Cleanup: minor comment style fixes (planetmaker)
2009-02-05 17:59:59 +00:00
frosch
324e92f879
(svn r15360) -Fix: Flooding vehicles did not trigger an AI event.
2009-02-05 17:48:08 +00:00
frosch
cb049e4e58
(svn r15359) -Add [NoAI]: AIEventVehicleCrashed::CRASH_RV_UFO, AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
2009-02-05 17:38:47 +00:00
frosch
7f198507f7
(svn r15358) -Add [NoAI]: AIEventVehicleCrashed::GetCrashReason()
2009-02-05 17:28:37 +00:00
smatz
6dff31d34b
(svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window
2009-02-05 16:51:23 +00:00
smatz
ef4282f8de
(svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window
2009-02-05 15:59:40 +00:00
rubidium
8fb4962407
(svn r15355) -Codechange: simplify some stuff now ->FirstShared returns non-NULL again.
2009-02-05 15:59:23 +00:00
rubidium
b7c7a1f701
(svn r15354) -Fix (r14803): first shared of a vehicle could be NULL making it impossible to (share-)clone the vehicle.
2009-02-05 15:58:42 +00:00
smatz
324b54132c
(svn r15353) -Feature(tte): make it possible to have cities of various sizes
2009-02-05 15:28:01 +00:00
smatz
aa692a99a9
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
2009-02-05 13:33:37 +00:00
rubidium
9d94c8f369
(svn r15351) -Fix (r15350): gcc compile failure
2009-02-05 08:10:59 +00:00
belugas
bf82545b4a
(svn r15350) -Codechange: Create a spec array to hold the data definitions of unmovables objects.
...
Note that this is the very basic spec, it will be populated a bit more, later.
2009-02-05 03:41:42 +00:00
belugas
63cc1bd21f
(svn r15349) -Codechange: no need to call a function when we know there is not going to be any change to the returned result
2009-02-05 03:17:30 +00:00
michi_cc
f936afa64a
(svn r15348) -Fix (r15347): Preferred pylon position is dependant on the masked wires as well.
2009-02-05 02:07:13 +00:00
michi_cc
31a17a4add
(svn r15347) -Feature [FS#1761]: Don't draw superfluous catenary wires (based on a patch by Eddi).
2009-02-05 01:33:59 +00:00
Yexo
f2907d816f
(svn r15346) -Add [NoAI]: Add AIAirport::GetNearestTown() so AIs can known in which town the noise level will increase.
2009-02-05 01:15:54 +00:00
Yexo
62a11eb5a9
(svn r15345) -Add [NoAI]: Add AIVehicle::HasSharedOrders() and AIVehicleList_SharedOrders.
2009-02-05 01:12:49 +00:00
Yexo
b321130d9a
(svn r15343) -Add [NoAI]: Add AITown::GetRoadLayout so AIs can get the road layout per town.
2009-02-04 23:26:21 +00:00
smatz
df2a387fc3
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
2009-02-04 22:52:34 +00:00
smatz
47516b31a7
(svn r15341) -Update (r15340): remove deleted and modified strings from other language files
2009-02-04 20:24:11 +00:00
smatz
832e392855
(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
...
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
translators
030984a763
(svn r15339) -Update: WebTranslator2 update to 2009-02-04 18:39:16
...
arabic_egypt - 1 fixed by khaloofah (1)
german - 1 changed by planetmaker (1)
hebrew - 668 fixed, 19 changed by 19izhar73 (687)
korean - 10 changed by leejaeuk5 (10)
serbian - 6 fixed, 4 changed by salejemaster (10)
2009-02-04 18:39:33 +00:00
rubidium
ac7757324e
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
2009-02-04 16:59:41 +00:00
rubidium
b6e6be58da
(svn r15337) -Fix: don't allow a spectating server to build stuff.
2009-02-04 16:57:40 +00:00
rubidium
7da743a0dc
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
2009-02-04 16:45:07 +00:00
rubidium
09fca459a7
(svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command.
2009-02-04 16:09:16 +00:00
smatz
496b541cb1
(svn r15334) -Codechange: reset setting to old value when the callback procedure returns false
2009-02-04 15:01:37 +00:00
Yexo
3cf7255c4f
(svn r15333) -Fix: AIs weren't restricted to a maximum length for ship orders.
2009-02-04 13:52:17 +00:00
smatz
d2a725ec94
(svn r15332) -Fix (r15190): terrain generated from heightmaps always was at sea level at both southern borders
2009-02-04 01:07:53 +00:00
rubidium
1c30c8c801
(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC).
2009-02-03 22:42:42 +00:00
Yexo
101f55e65c
(svn r15328) -Fix (r15327): Load(data, version) was called instead of Load(version, data).
2009-02-03 21:05:32 +00:00
Yexo
1892c34ac6
(svn r15327) -Fix (r15027): AIs could access the map and other data in their constructor and Load() function while the savegame was not completely loaded.
2009-02-03 20:49:08 +00:00
frosch
9c4c0ff3a1
(svn r15326) -Fix: Old-ai-ishm when refitting vehicles.
2009-02-03 20:39:06 +00:00
translators
ff2720c56e
(svn r15325) -Update: WebTranslator2 update to 2009-02-03 18:29:45
...
brazilian_portuguese - 1 fixed by tucalipe (1)
german - 4 changed by planetmaker (3), hellow (1)
hebrew - 615 fixed, 54 changed by 19izhar73 (669)
korean - 6 changed by darkttd (6)
2009-02-03 18:29:55 +00:00
smatz
5ad1cd32b2
(svn r15324) -Codechange: unify the class used for comparing of strings for std::map
2009-02-03 18:08:07 +00:00
Yexo
a5807f4a77
(svn r15322) -Fix (r15175): The AI list window didn't display information about the selected AI if it wasn't visible.
2009-02-02 22:57:22 +00:00
peter1138
5e6e4417a5
(svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used.
2009-02-02 21:52:34 +00:00
peter1138
48e6e7d586
(svn r15320) -Codechange: Increase 'realistic' acceleration 'resolution' by one bit by reducing a division and removing a multiplication: 3/4*2 = 0; 3/2 = 1. And a smidgeon less CPU usage, hah.
2009-02-02 21:38:36 +00:00
translators
5105cd2c6b
(svn r15319) -Update: WebTranslator2 update to 2009-02-02 18:44:36
...
arabic_egypt - 3 fixed by khaloofah (3)
dutch - 1 fixed by habell (1)
hebrew - 533 fixed, 426 changed by 19izhar73 (959)
hungarian - 1 fixed by oklmernok (1)
italian - 1 changed by lorenzodv (1)
korean - 6 changed by dlunch (6)
norwegian_nynorsk - 36 fixed by Thor (36)
polish - 1 fixed by xaxa (1)
russian - 1 fixed by Smoky555 (1)
spanish - 1 fixed by Dominus (1)
2009-02-02 18:44:52 +00:00
smatz
9723630cea
(svn r15318) -Fix [FS#2594](r10288): don't warn about non-primary engines getting old
2009-02-02 16:49:11 +00:00
rubidium
7e928974a7
(svn r15317) -Fix: support Windows fonts with non-ASCII characters in their file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name.
2009-02-02 15:01:19 +00:00
glx
6d6e2232ea
(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to squirrel
2009-02-02 13:46:26 +00:00
glx
c6bc3b8692
(svn r15315) -Fix (r15314): make gcc happy (for once)
2009-02-02 13:44:19 +00:00
rubidium
ad210c7647
(svn r15314) -Fix/hackaround [FS#2590]: fonts have a feature where they can have localised names. Windows thinks it's a feature to use the name matching the system's locale, Windows doesn't provide an API to get the font name given another locale and freetype uses the English locale to resolve the name when opening the font... This results in fonts that will can't be found and warnings that the fallback font can't be loaded. Work around this by 'manually' getting the non-localised font name from the font.
2009-02-02 13:30:13 +00:00
michi_cc
44016a4d6e
(svn r15313) -Cleanup: Use helper functions we already have and add some documentation.
2009-02-02 01:28:42 +00:00
peter1138
aad67b5736
(svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-02-01 22:32:07 +00:00
peter1138
7cd579e7ef
(svn r15311) -Fix (r15126): Obiwan error
2009-02-01 22:11:46 +00:00
translators
4a3ebf6966
(svn r15310) -Update: WebTranslator2 update to 2009-02-01 18:46:42
...
catalan - 1 fixed by arnaullv (1)
czech - 1 fixed, 6 changed by Hadez (7)
finnish - 1 fixed by jpx_ (1)
french - 1 fixed by glx (1)
german - 1 fixed, 4 changed by planetmaker (5)
indonesian - 2 fixed by fanioz (2)
italian - 1 fixed by lorenzodv (1)
korean - 1 fixed, 8 changed by leejaeuk5 (8), darkttd (1)
latvian - 128 fixed by waste (128)
portuguese - 1 fixed by SnowFlake (1)
romanian - 1 fixed by kkmic (1)
simplified_chinese - 2 fixed by ww9980 (2)
slovenian - 101 fixed by Necrolyte (101)
turkish - 1 fixed by Emin (1)
ukrainian - 2 fixed by mad (2)
2009-02-01 18:47:05 +00:00
frosch
de9a6fc90b
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
2009-02-01 17:14:39 +00:00
frosch
317220c2e4
(svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h instead of mph. (Documentation by Rubidium)
2009-02-01 16:21:18 +00:00
frosch
c28c4c1986
(svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
2009-02-01 16:10:06 +00:00
rubidium
6d5cd47c74
(svn r15305) -Fix (r15299): missing include
2009-02-01 11:52:41 +00:00
frosch
2afa9312fc
(svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction.
2009-02-01 11:38:18 +00:00
smatz
16b9dcd0ea
(svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail
2009-02-01 00:50:32 +00:00
peter1138
6899955b0c
(svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40.
2009-01-31 21:27:36 +00:00
rubidium
6df312cd54
(svn r15300) -Cleanup: remove an unused icon and remove the references to swedish forgotten in r6358.
2009-01-31 21:01:16 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
smatz
416c7d5dda
(svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there are too many companies
2009-01-31 17:56:06 +00:00
translators
a0df8d1338
(svn r15297) -Update: WebTranslator2 update to 2009-01-30 18:45:08
...
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan - 1 fixed by arnaullv (1)
czech - 1 fixed by Hadez (1)
dutch - 1 fixed by Excel20 (1)
finnish - 1 fixed by jpx_ (1)
french - 1 fixed by belugas (1)
german - 1 fixed, 5 changed by planetmaker (6)
hebrew - 14 fixed, 54 changed by 19izhar73 (54), omri.kipi (14)
hungarian - 1 fixed by IPG (1)
italian - 1 fixed by lorenzodv (1)
korean - 1 fixed, 2 changed by darkttd (2), dlunch (1)
latvian - 76 fixed by KiitsLV (76)
polish - 13 fixed by xaxa (13)
portuguese - 1 fixed by SnowFlake (1)
romanian - 1 fixed by kkmic (1)
russian - 24 fixed by Smoky555 (24)
spanish - 1 fixed by eusebio (1)
traditional_chinese - 123 fixed, 62 changed by josesun (185)
turkish - 1 fixed by Emin (1)
ukrainian - 7 fixed by mad (7)
2009-01-30 18:45:33 +00:00
smatz
df79660531
(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough
2009-01-30 17:54:48 +00:00
Yexo
1c7cb8368c
(svn r15295) -Fix [FS#2591] (r15190): Towns tried to build roads outside the map.
2009-01-29 16:14:46 +00:00
rubidium
627d54a081
(svn r15294) -Fix: accessing of inaccessible base
2009-01-29 08:08:03 +00:00
belugas
d7971e5e37
(svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns refuse construction of noise-controlled airports
2009-01-29 03:12:31 +00:00
belugas
31adec86a0
(svn r15292) -Fix(r15290): Incrementing something that is already set to the correct value is a bit of a no-no
...
Also, protect against such misuse with an assert.
2009-01-29 03:07:34 +00:00
Yexo
0e42a7bac7
(svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
...
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
2009-01-29 02:42:36 +00:00
belugas
3671ed9e4f
(svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data
2009-01-28 19:57:23 +00:00
translators
bfde9f7eef
(svn r15289) -Update: WebTranslator2 update to 2009-01-28 18:48:19
...
german - 3 fixed by planetmaker (3)
indonesian - 22 fixed by fanioz (22)
korean - 3 changed by darkttd (1), dlunch (2)
polish - 6 fixed by xaxa (6)
portuguese - 140 fixed, 4 changed by nars (144)
romanian - 1 changed by kkmic (1)
simplified_chinese - 3 fixed by ww9980 (3)
2009-01-28 18:48:30 +00:00
Yexo
8877a0c9ae
(svn r15288) -Fix (r15212): Don't set the newgame setting for water borders to a random value if it's 'random' when the newgame gui is opened.
2009-01-28 13:36:11 +00:00
rubidium
7d64441008
(svn r15287) -Cleanup: some code style, remove erroneous comment.
...
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
2009-01-27 21:51:06 +00:00
frosch
7dbd0582b6
(svn r15286) -Fix: Refitting did not invalidate vehicle-colour-maps of road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles.
2009-01-27 19:44:36 +00:00
rubidium
e836f18ff1
(svn r15285) -Fix: valgrind complaining about reading uninitialised memory when saving
2009-01-27 14:31:33 +00:00
Yexo
ea01534e6d
(svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the squirrel stack twice.
2009-01-27 13:11:11 +00:00
belugas
9bb57ec840
(svn r15283) -Documentation: Apply some widget naming to the widget arrays.
...
-Codechange : use a pointer of the same repetitive reference of a widget, rather than an index in the array.
2009-01-27 03:50:36 +00:00
glx
7d45e8b376
(svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companies
2009-01-27 02:02:04 +00:00
smatz
9cf1a19762
(svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue)
2009-01-27 01:15:29 +00:00
peter1138
43121fc2cb
(svn r15280) -Cleanup: ancient and vastly out of date comment...
2009-01-26 23:41:45 +00:00
smatz
3ac080425a
(svn r15279) -Fix: deadlock (with wide fonts) or desync when generating manager name
2009-01-26 22:27:11 +00:00
smatz
659989af45
(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of st->town
2009-01-26 21:09:17 +00:00
Yexo
7f9c91901e
(svn r15277) -Fix (r15027): Building bridges in AITestMode always returned false.
2009-01-26 20:18:50 +00:00
translators
d960d0a851
(svn r15276) -Update: WebTranslator2 update to 2009-01-26 18:54:43
...
catalan - 1 changed by arnaullv (1)
croatian - 75 fixed by tifached (75)
czech - 22 fixed, 2 changed by Hadez (24)
french - 10 fixed by glx (10)
german - 4 fixed by Athaba (4)
greek - 10 changed by tek1979 (10)
italian - 7 changed by lorenzodv (7)
korean - 3 changed by darkttd (3)
romanian - 7 changed by kkmic (7)
simplified_chinese - 8 fixed, 33 changed by ww9980 (41)
2009-01-26 18:54:56 +00:00
rubidium
450b9b7900
(svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists...
2009-01-25 22:51:59 +00:00
smatz
562299d809
(svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags
2009-01-25 22:50:00 +00:00
rubidium
18ed717410
(svn r15273) -Fix: OSK of the chat did not update the caret graphics
2009-01-25 22:16:08 +00:00
peter1138
7afd506301
(svn r15272) -Codechange: Check that engine types of vehicles are valid and for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required.
2009-01-25 21:55:18 +00:00
peter1138
c4ccf1a28d
(svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons instead of absolute sprite IDs.
2009-01-25 19:27:13 +00:00
glx
062f32a186
(svn r15270) -Change [API CHANGE]: remove AIEventTest
2009-01-25 19:06:00 +00:00
glx
fc965a75dc
(svn r15269) -Codechange: reduced indentation in CmdBuildRail*
2009-01-25 15:35:21 +00:00
frosch
ca10c5c6e3
(svn r15268) -Fix: AIEventVehicleLost triggered at every pbs signal independent of the vehicle being lost.
2009-01-25 13:20:13 +00:00
smatz
84848f8a28
(svn r15266) -Fix (r15159): compilation without threads was broken
2009-01-25 13:05:58 +00:00
glx
c1cf3934fa
(svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication.
2009-01-25 00:57:03 +00:00
frosch
80ee3d3440
(svn r15262) -Fix: AIEvents were not freed, when they were not queued for any AI.
2009-01-24 21:38:30 +00:00
glx
e8b5f49861
(svn r15261) -Add: added Engine::GetRunningCost() to remove some code duplication. Also stops AIs decrementing vehicle counter of first company
2009-01-24 20:14:15 +00:00
translators
7e7fab1b18
(svn r15260) -Update: WebTranslator2 update to 2009-01-24 18:45:20
...
arabic_egypt - 9 fixed by khaloofah (9)
brazilian_portuguese - 99 fixed by tucalipe (99)
catalan - 22 fixed, 202 changed by arnaullv (224)
dutch - 10 fixed by Excel20 (10)
finnish - 10 fixed by jpx_ (10)
german - 19 fixed by dih (19)
hungarian - 10 fixed, 4 changed by IPG (4), alyr (7), oklmernok (3)
italian - 22 fixed by lorenzodv (22)
korean - 11 fixed, 1 changed by darkttd (12)
latvian - 47 fixed by waste (47)
lithuanian - 14 fixed by Enternald (14)
romanian - 10 fixed, 1 changed by kkmic (11)
simplified_chinese - 13 fixed by ww9980 (13)
spanish - 10 fixed by Dominus (10)
turkish - 12 fixed by Emin (12)
ukrainian - 19 fixed by mad (19)
2009-01-24 18:45:40 +00:00
rubidium
851b243f01
(svn r15259) -Fix: [NewGRF] small memory leak when scanning labels
2009-01-24 17:02:59 +00:00
smatz
dbc4a8b331
(svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore
2009-01-24 15:31:48 +00:00
smatz
4493bd03e3
(svn r15256) -Fix (r15027): use of uninitialised variable while saving/loading game with AIs
2009-01-24 15:01:29 +00:00
frosch
47cdbe4a20
(svn r15255) -Fix (r15027): AIVehicle::GetLength() returned only the length of the first part of articulated road vehicles.
2009-01-24 14:26:48 +00:00
glx
a92f472714
(svn r15254) -Fix (r15242): of course MSVC requires a cast
2009-01-24 14:10:24 +00:00
truebrain
ba397634fd
(svn r15253) -Fix (r15193): dutch people shouldn't write english :p
2009-01-24 14:02:21 +00:00
frosch
7e6049ba02
(svn r15252) -Fix (r15027): AIMarine::AreWaterTilesConnected() reported aqueducts being connected with all surrounding tiles. Also add some type safety.
2009-01-24 13:05:04 +00:00
smatz
12bcc254c8
(svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot)
2009-01-24 12:50:10 +00:00
Yexo
60dc54b234
(svn r15250) -Fix (r15126): The NewGRF Settings window was 1 pixel to low.
2009-01-24 10:28:41 +00:00
smatz
8278fc2149
(svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from 'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123)
2009-01-24 00:42:09 +00:00
smatz
3964b2dd8c
(svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines
2009-01-23 23:57:01 +00:00
rubidium
3d21639d5b
(svn r15247) -Change: show a lock near the password/join button in the company window whenever the company is password protected
2009-01-23 23:56:56 +00:00
rubidium
53ebde7633
(svn r15246) -Fix [FS#2577]: close all windows *before* starting a new game/loading a game instead of doing that as one of the latest steps of loading the game. This caused, in some cases, the NewGRF settings to be reset when the game was already loaded resulting in instant desyncs when joining a network game
2009-01-23 23:40:12 +00:00
rubidium
aff27ca884
(svn r15245) -Fix: don't "save" the NewGRF settings on closing the NewGRF window when the content of the window isn't editable
2009-01-23 23:37:49 +00:00
frosch
d05ab5a531
(svn r15244) -Fix (r15027): The station tile of an oilrig-like industry is not neccessarily the first industry tile.
2009-01-23 22:36:17 +00:00
rubidium
130870e6a9
(svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and kick the client) because trying to join with an invalid player ID
2009-01-23 22:35:48 +00:00
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
2009-01-23 22:18:06 +00:00
frosch
a1d4b792e8
(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries 'features'.
2009-01-23 22:09:31 +00:00
Yexo
7b5bccb329
(svn r15240) -Fix (r15212): Loading heightmaps resulted in an assert.
2009-01-23 21:54:50 +00:00
Yexo
757b11325b
(svn r15239) -Fix [FS#2579]: The start date of random AIs was not stored in the config file or the savegame.
2009-01-23 21:52:29 +00:00
peter1138
c57f5ed668
(svn r15238) -Fix (r15236): Missed a file
2009-01-23 21:05:25 +00:00
peter1138
26d5543eb2
(svn r15237) -Codechange: Remove string removed in r15236 in other languages.
2009-01-23 20:56:30 +00:00
peter1138
3d404c2927
(svn r15236) -Codechange: Rename realistic_acceleration patch option to train_acceleration_model, and change from boolean to value. Don't forget to update your settings.
2009-01-23 20:53:43 +00:00
translators
1879319f66
(svn r15235) -Update: WebTranslator2 update to 2009-01-23 18:47:35
...
arabic_egypt - 46 fixed by khaloofah (46)
dutch - 12 fixed by habell (12)
finnish - 12 fixed by jpx_ (12)
french - 12 fixed by glx (12)
greek - 70 changed by doukas (70)
hungarian - 12 fixed, 1 changed by oklmernok (13)
italian - 1 fixed by lorenzodv (1)
korean - 11 fixed, 3 changed by dlunch (14)
latvian - 44 fixed by waste (44)
norwegian_nynorsk - 34 fixed by wollollo (34)
polish - 30 fixed by xaxa (30)
romanian - 12 fixed by kkmic (12)
simplified_chinese - 9 fixed by ww9980 (9)
spanish - 12 fixed by Dominus (12)
turkish - 12 fixed by Emin (12)
2009-01-23 18:47:58 +00:00
Yexo
c5332eb161
(svn r15234) -Fix (r15176): Crash if you pressed space in the content download window before selecting an item.
2009-01-23 18:40:18 +00:00
glx
a3dc092ebc
(svn r15233) -Fix (r15231): compilation with SDL broken on win32
2009-01-23 17:32:01 +00:00
rubidium
48125a6d5f
(svn r15232) -Codechange: sprinklin' of coding style
2009-01-23 16:05:58 +00:00
rubidium
4ba90f6887
(svn r15231) -Change: (sdl) check the full screen resolutions to determine what 'valid' resolutions we've got
2009-01-23 15:58:34 +00:00
smatz
789fa42f52
(svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame
2009-01-23 15:53:24 +00:00
rubidium
93b1202576
(svn r15229) -Fix (r14712): passwords weren't reset when creating a new company.
2009-01-23 15:53:19 +00:00
glx
4fe58bc303
(svn r15228) -Fix [FS#2571]: possible crash when an AI/Library doesn't have a required function
2009-01-23 15:38:13 +00:00
smatz
e3cc807c7a
(svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames
2009-01-23 15:37:44 +00:00
glx
ceb60b426e
(svn r15226) -Fix (r15214): broken AI content download
2009-01-23 15:10:13 +00:00
rubidium
aaad553233
(svn r15225) -Fix (r15126): searching for 'missing' NewGRFs gave the 'compatability loaded' NewGRF instead of the one that we're actually looking for
2009-01-23 15:06:56 +00:00
smatz
042d7800d0
(svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames
2009-01-23 13:36:12 +00:00
Yexo
decd0c51e4
(svn r15222) -Fix: The squirrel stack was corrupted if an AI called any C++ function during Save().
2009-01-23 10:30:50 +00:00
rubidium
8382b76b0f
(svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows.
2009-01-23 10:20:29 +00:00
rubidium
67a2dd12e8
(svn r15220) -Fix (r15216): signedness warning
2009-01-23 09:47:46 +00:00
Yexo
c8cbdc17d3
(svn r15219) -Fix (r15216): MSVC failed to find the proper casts.
2009-01-23 09:20:57 +00:00
rubidium
8ecdbf216d
(svn r15218) -Fix: base graphics detection did mark too much as duplicate
2009-01-23 09:09:12 +00:00
rubidium
6f5078b555
(svn r15217) -Fix [FS#2573] (r15176): more corner cases when removing things from iterated vectors
2009-01-23 09:00:01 +00:00
smatz
6dffd8ae82
(svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter
2009-01-23 02:35:17 +00:00
rubidium
83e1288c6a
(svn r15215) -Fix: various MSVC x64 compiler warnings
2009-01-23 02:01:05 +00:00
glx
92f5c6b1da
(svn r15214) -Fix [NoAI]: ignore case for ai/library main script path on windows
2009-01-23 01:29:13 +00:00
Yexo
08670da54a
(svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose which edges will be water to 4 pushbuttons (based on patch by planetmaker).
2009-01-23 00:18:27 +00:00
smatz
3852ae1264
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
2009-01-22 22:02:05 +00:00
glx
c5f0fe7c40
(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraft
2009-01-22 21:33:08 +00:00
translators
b2d0e14848
(svn r15209) -Update: WebTranslator2 update to 2009-01-22 18:42:44
...
arabic_egypt - 1 fixed by khaloofah (1)
catalan - 20 fixed by arnaullv (20)
dutch - 1 changed by Excel20 (1)
finnish - 10 fixed by jpx_ (10)
french - 1 changed by glx (1)
galician - 5 fixed by Condex (5)
greek - 2 changed by tek1979 (2)
hungarian - 2 changed by alyr (1), IPG (1)
indonesian - 20 fixed, 22 changed by fanioz (42)
italian - 20 fixed, 1 changed by lorenzodv (21)
korean - 20 fixed by darkttd (20)
norwegian_bokmal - 22 fixed by khh (22)
norwegian_nynorsk - 5 changed by wollollo (5)
romanian - 1 changed by kkmic (1)
russian - 44 fixed by Smoky555 (44)
simplified_chinese - 18 fixed, 7 changed by ww9980 (25)
spanish - 20 fixed by eusebio (19), Dominus (1)
turkish - 31 fixed, 1 changed by Emin (32)
2009-01-22 18:43:05 +00:00
peter1138
c1622b04ab
(svn r15208) -Codechange: Remove some kind (undocumented, so who really knows) of original attempt to limit maximum tractive effort from 'realistic' acceleration.
2009-01-22 14:34:29 +00:00
rubidium
8ef066baee
(svn r15207) -Add: sorting to the content list.
2009-01-22 14:15:52 +00:00
rubidium
4f5a8b15ed
(svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download
2009-01-22 10:09:56 +00:00
peter1138
92b9ff3f96
(svn r15205) -Revert (r7421, partial): Support for MaxTE solves problem in a better way
2009-01-22 09:57:31 +00:00
Yexo
0d52f3b417
(svn r15204) -Fix (r15167): The check was a bit too restrictive, the top of the stack needs to be resetted if another function is called while the AI is running but not suspended.
2009-01-22 02:01:07 +00:00
Yexo
cb7449b83c
(svn r15203) -Fix (r15190): CmdTerraformLand didn't check it's parameters good enough.
2009-01-22 00:23:37 +00:00
rubidium
a89e63f672
(svn r15202) -Fix (r14827): only make quick goto active for your own company
2009-01-22 00:08:15 +00:00
Yexo
01cc5234dc
(svn r15201) -Fix [FS#2565] (r15190): The smallmap tried to get the owner of invalid tiles.
2009-01-21 23:49:59 +00:00
rubidium
f2777cd02d
(svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral)
2009-01-21 23:07:11 +00:00
Yexo
0fa6e050e4
(svn r15199) -Fix (r15190): The south point of the south-most tile wasn't highlighted during terraforming.
2009-01-21 22:35:07 +00:00
frosch
3f38615af1
(svn r15198) -Fix (r15190): Advanced setting was missing the 'on'/'off' part.
2009-01-21 20:50:53 +00:00
translators
0877b58ba6
(svn r15197) -Update: WebTranslator2 update to 2009-01-21 20:22:27
...
catalan - 21 fixed by arnaullv (21)
croatian - 25 fixed by knovak (25)
czech - 41 fixed by Hadez (41)
dutch - 20 fixed, 3 changed by habell (23)
finnish - 31 fixed by UltimateSephiroth (21), jpx_ (10)
french - 20 fixed by glx (20)
german - 146 fixed by chu (146)
greek - 46 fixed, 8 changed by doukas (54)
hungarian - 41 fixed, 2 changed by alyr (43)
indonesian - 22 fixed by fanioz (22)
italian - 21 fixed, 1 changed by lorenzodv (22)
korean - 21 fixed, 1 changed by darkttd (19), dlunch (3)
norwegian_bokmal - 2 changed by wollollo (2)
norwegian_nynorsk - 19 fixed, 1 changed by wollollo (20)
romanian - 20 fixed by kkmic (20)
simplified_chinese - 6 fixed by ww9980 (6)
spanish - 21 fixed by Dominus (21)
traditional_chinese - 2 fixed by ww9980 (2)
ukrainian - 76 fixed by mad (76)
2009-01-21 20:22:56 +00:00
rubidium
86c1d49c08
(svn r15196) -Fix (r15195): != != == :(
2009-01-21 20:18:12 +00:00
rubidium
4bf2326bd1
(svn r15195) -Fix: don't crash when removing from something you're iterating over
2009-01-21 12:23:08 +00:00
peter1138
727ffeedc9
(svn r15194) -Fix: Don't count dedicated server as a spectator
2009-01-21 10:46:21 +00:00
rubidium
c8a7135d6c
(svn r15193) -Feature: content server/bananas access via the console
2009-01-21 09:22:49 +00:00
rubidium
59d61e5d9d
(svn r15192) -Cleanup: remove unused include
2009-01-21 09:20:55 +00:00
glx
b44390bf39
(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)
2009-01-21 03:47:04 +00:00
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
2009-01-21 02:31:55 +00:00
smatz
5e7669b539
(svn r15189) -Cleanup: remove unused includes
2009-01-21 02:07:56 +00:00
Yexo
ddcaf2f4cc
(svn r15188) -Feature: You can now change the number of AIs from the AI config window.
2009-01-21 01:56:42 +00:00
Yexo
2307adf8d2
(svn r15187) -Fix: assert when an AI called AIRoad::GetNeighbourRoadCount on a tile at the north edge (bug found by SmatZ).
2009-01-21 01:37:20 +00:00
Yexo
e395533632
(svn r15186) -Fix: Select the currently selected AI instead of the second on in the list.
...
-Feature: Double clicking on a slot in the AI config window results in opening the list of AIs.
2009-01-21 00:36:22 +00:00
Yexo
c3b7917da1
(svn r15185) -Fix (r15175): It was impossible to select AIs that had a different instance name then their name.
2009-01-21 00:19:21 +00:00
glx
a4d3c76093
(svn r15184) -Cleanup: remove extra spaces
2009-01-21 00:18:30 +00:00
smatz
376edabb65
(svn r15183) -Fix: stand-alone rail tiles with invalid owner were not removed. Also, make the whole check a bit more intelligent.
2009-01-21 00:14:08 +00:00
Yexo
3c757724e9
(svn r15182) -Fix: After updating an AI select the latest version for the next game.
2009-01-21 00:09:36 +00:00
smatz
3511218e37
(svn r15181) -Fix (r15180): of course it is enough to update aircraft once...
2009-01-20 23:48:31 +00:00
smatz
90381d5d63
(svn r15180) -Fix [FS#2560](r8498): old aircraft have to be updated after updating airport_type of oil rigs
2009-01-20 23:43:19 +00:00
smatz
5aa1171988
(svn r15179) -Fix [FS#2560](r12096): removing of leftover level crossings (from very old savegames) failed
2009-01-20 22:33:29 +00:00
rubidium
ff328bf68b
(svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear
2009-01-20 21:05:13 +00:00
translators
052c957a94
(svn r15177) -Update: WebTranslator2 update to 2009-01-20 18:49:46
...
arabic_egypt - 21 fixed by khaloofah (21)
catalan - 52 fixed by arnaullv (52)
dutch - 21 fixed by Excel20 (21)
french - 21 fixed by glx (21)
italian - 1 fixed, 2 changed by lorenzodv (3)
korean - 2 fixed, 12 changed by dlunch (14)
malay - 91 fixed, 1 changed by kev (92)
norwegian_nynorsk - 16 fixed by wollollo (16)
romanian - 21 fixed, 18 changed by kkmic (39)
russian - 123 fixed by Smoky555 (123)
simplified_chinese - 9 fixed by ww9980 (9)
slovak - 30 fixed by James (30)
spanish - 31 fixed by Dominus (30), eusebio (1)
traditional_chinese - 23 fixed by ww9980 (23)
turkish - 9 fixed by Emin (9)
2009-01-20 18:50:08 +00:00
rubidium
eeb38a8e3a
(svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out.
2009-01-20 16:51:55 +00:00
Yexo
3d35b3c2cc
(svn r15175) -Feature: Add the option to select the AIs to start in a new game and configure them via the gui.
2009-01-20 16:49:10 +00:00
smatz
49c5c71348
(svn r15174) -Codechange: split oldloader.cpp
2009-01-20 16:47:42 +00:00
smatz
c8e26be649
(svn r15173) -Codechange: shuffle a few lines of code in oldloader.cpp
2009-01-20 16:40:19 +00:00
belugas
cef4103137
(svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process
2009-01-20 16:06:57 +00:00
Yexo
61ee8ca42a
(svn r15171) -Fix (r15027): Buffer underflow in case there are no settings to save for an AI.
2009-01-20 15:58:40 +00:00
smatz
38afe1fe3f
(svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit
2009-01-20 15:43:17 +00:00
smatz
091d82470b
(svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way
2009-01-20 15:23:58 +00:00
smatz
7a13ade405
(svn r15168) -Codechange: use only really basic map accessors in oldloader.cpp, shuffle the code a bit
2009-01-20 14:47:17 +00:00
Yexo
eab990901b
(svn r15167) -Fix [FS#2558]: The top of the stack was resetted after executing the first Ai tick causing random AI crashes.
2009-01-20 14:11:58 +00:00
smatz
a9a8bb3590
(svn r15166) -Codechange: reduce number of includes in afterload.cpp
2009-01-20 13:56:35 +00:00
rubidium
196085eb0f
(svn r15164) -Fix: don't list patches/settings with list_patches that are not valid anymore
2009-01-20 12:03:06 +00:00
rubidium
28a641066e
(svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers.
2009-01-20 11:28:18 +00:00
rubidium
c9436c8d88
(svn r15162) -Fix: the join status window didn't get properly created
2009-01-20 11:21:06 +00:00
rubidium
99b1f1a8f4
(svn r15161) -Change: bump url to 96 bytes
2009-01-20 09:52:11 +00:00
glx
24351416f6
(svn r15160) -Fix (r15157): port != IP
2009-01-20 04:01:07 +00:00
rubidium
6a3aaef486
(svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows.
2009-01-20 03:44:43 +00:00
rubidium
bb77071749
(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation.
2009-01-20 03:12:46 +00:00
rubidium
5f3772a42c
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
2009-01-20 01:32:06 +00:00
rubidium
6e1af6a051
(svn r15156) -Fix: add scrollwheel support to allegro
2009-01-19 22:27:43 +00:00
rubidium
9b463c26de
(svn r15155) -Codechange: remove unused return value
2009-01-19 22:01:37 +00:00
rubidium
7205a8f9f4
(svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix
2009-01-19 21:13:02 +00:00
rubidium
914073a30a
(svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set
2009-01-19 21:11:51 +00:00
translators
537112fcb1
(svn r15152) -Update: WebTranslator2 update to 2009-01-19 18:47:48
...
arabic_egypt - 30 fixed by khaloofah (30)
czech - 1 fixed by Hadez (1)
dutch - 22 fixed by Excel20 (4), habell (18)
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed by glx (1)
hungarian - 1 fixed, 3 changed by alyr (2), oklmernok (2)
korean - 2 fixed by darkttd (2)
polish - 1 fixed by xaxa (1)
romanian - 1 fixed, 1 changed by kkmic (2)
simplified_chinese - 110 fixed by ww9980 (110)
spanish - 21 fixed by eusebio (21)
traditional_chinese - 8 fixed by ww9980 (8)
turkish - 1 fixed by Emin (1)
2009-01-19 18:48:06 +00:00
Yexo
8b04787d09
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
2009-01-19 15:06:11 +00:00
Yexo
49e69399a6
(svn r15150) -Fix: Don't highlight tiles outside the visible map.
2009-01-19 13:50:56 +00:00
peter1138
481c2164d0
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
2009-01-19 12:07:01 +00:00
Yexo
8fabd3982d
(svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused.
2009-01-19 01:16:50 +00:00
glx
ee1331bb46
(svn r15147) -Fix (r15146): compile before commit
2009-01-19 00:53:31 +00:00
smatz
0e83fb37c0
(svn r15146) -Fix: show savegame name even when opening it failed
2009-01-18 23:33:57 +00:00
smatz
a337c47d4f
(svn r15145) -Fix: crash when one tried to load a TTO savegame
...
-Fix (r15144): it wasn't safe at all, but the code broken code isn't needed anymore
2009-01-18 23:26:38 +00:00
smatz
3bceaf41b4
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
2009-01-18 22:44:53 +00:00
rubidium
a46245f21f
(svn r15142) -Fix (r15126): missing NewGRFs cause a crash when getting the content list.
2009-01-18 19:23:41 +00:00
translators
790499376f
(svn r15141) -Update: WebTranslator2 update to 2009-01-18 18:46:25
...
czech - 51 fixed by Hadez (51)
dutch - 30 fixed by Excel20 (30)
finnish - 51 fixed by jpx_ (51)
french - 51 fixed by glx (51)
hebrew - 50 fixed by tarkil (50)
hungarian - 51 fixed by alyr (51)
indonesian - 51 fixed by adjayanto (45), fanioz (6)
italian - 51 fixed by lorenzodv (51)
korean - 54 fixed, 3 changed by darkttd (57)
polish - 15 fixed by xaxa (15)
romanian - 51 fixed by kkmic (51)
turkish - 51 fixed by Emin (51)
2009-01-18 18:46:41 +00:00
rubidium
67ac7124b1
(svn r15139) -Fix [NoAI]: a wrong tile got returned for hangar tiles when the station sign isn't over st->airport_tile.
2009-01-18 17:03:57 +00:00
rubidium
331d4d2d45
(svn r15138) -Fix [FS#2542]: tile error location not reset when leveling land causing a tile to be highlighted when there was nothing to flatten.
2009-01-18 16:26:59 +00:00
smatz
52e0c6fd35
(svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames
2009-01-18 16:20:04 +00:00
rubidium
d793439f43
(svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches.
2009-01-18 15:53:21 +00:00
rubidium
07e135547e
(svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so.
2009-01-18 13:12:57 +00:00
rubidium
b8219eb7a1
(svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update"
2009-01-18 00:05:49 +00:00
peter1138
dba9d60d3a
(svn r15133) -Fix: Crash if no NoAIs are present.
2009-01-17 22:22:53 +00:00
peter1138
3deb373c60
(svn r15131) -Fix: Indentifluxation combobulated
2009-01-17 21:01:15 +00:00
translators
61156d6d61
(svn r15130) -Update: WebTranslator2 update to 2009-01-17 18:48:58
...
dutch - 3 changed by Excel20 (3)
hebrew - 62 fixed, 103 changed by tarkil (165)
indonesian - 15 changed by fanioz (15)
korean - 21 fixed, 23 changed by darkttd (44)
norwegian_bokmal - 16 fixed, 9 changed by khh (25)
slovenian - 8 fixed by Necrolyte (8)
spanish - 2 changed by Dominus (2)
thai - 19 fixed by vetbook (19)
ukrainian - 36 fixed by mad (36)
2009-01-17 18:49:09 +00:00
rubidium
3a13b75e37
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-17 16:53:32 +00:00
frosch
2850bf9e00
(svn r15125) -Fix [FS#2544]: Do not try to determine the next order destination, if there are no orders.
2009-01-17 16:25:32 +00:00
truebrain
4bc7afae41
(svn r15124) -Fix: last memory leak related to NoAI
2009-01-17 15:38:37 +00:00
truebrain
3abb8abd07
(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
2009-01-17 15:31:30 +00:00
truebrain
7e8d9a3e66
(svn r15122) -Codechange: add a security assert, to make sure something never happens
2009-01-17 15:14:13 +00:00
truebrain
27717e1b6d
(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)
2009-01-17 15:07:35 +00:00
truebrain
fe90077681
(svn r15120) -Fix: more mem-leak fixes
2009-01-17 14:54:24 +00:00
frosch
2cc217cabf
(svn r15119) -Fix: several issues with result 0x4 (standard production change of primary industries) of callbacks 0x29 and 0x35.
2009-01-17 14:49:31 +00:00
truebrain
7eae652302
(svn r15118) -Fix: fix a minor mem-leak
2009-01-17 14:45:44 +00:00
belugas
6b25bc0e0c
(svn r15117) -Codechange: enlarge a few text boxes in the Create Scenario window, allowing them to be more visible.
2009-01-17 03:05:35 +00:00
smatz
e77462a866
(svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames
2009-01-16 21:50:55 +00:00
belugas
c9fab1c314
(svn r15115) -Documentation: Add some widget enums to the widget array definition (Terkhen).
2009-01-16 21:25:59 +00:00
peter1138
f8d65b4865
(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a mask for GRFID checks.
2009-01-16 19:53:52 +00:00
rubidium
102cc11ee9
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
2009-01-16 16:32:48 +00:00
rubidium
c333790dd8
(svn r15112) -Fix (r15108): transform should include algorithm as that's where it's from. Furthermore not including it gives compile errors for some
2009-01-16 16:29:07 +00:00
rubidium
2adcaa576f
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
2009-01-16 16:14:01 +00:00
rubidium
3db8b544ba
(svn r15110) -Fix: reading the shortname of graphicssets always missed the first character.
2009-01-16 16:12:12 +00:00
truebrain
8510afe233
(svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo)
2009-01-16 15:01:54 +00:00
truebrain
a43cd3456b
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
2009-01-16 14:56:33 +00:00
truebrain
7f851eaeb9
(svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is not required
2009-01-16 14:56:13 +00:00
rubidium
95fa33157f
(svn r15106) -Fix [NoAI]: printf-ing of garbage.
2009-01-16 14:37:53 +00:00
smatz
4a53ba1886
(svn r15105) -Fix (r15104): signed/unsigned warning
2009-01-16 14:02:40 +00:00
rubidium
b1a33a494f
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
2009-01-16 12:59:47 +00:00
frosch
cdd3676478
(svn r15103) -Change: Keep industry variables 8E and 8F in sync with 93, when changing production using results 0D, 0E or 0F of callback 29 or 35.
2009-01-16 11:32:35 +00:00
truebrain
b8d2049bc4
(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)
2009-01-16 00:27:22 +00:00
truebrain
94dd36d1ec
(svn r15101) -Change [API CHANGE]: more consistant naming for consts:
...
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
2009-01-16 00:05:26 +00:00
truebrain
5119132dda
(svn r15100) -Add [NoAI]: introduce TILE_INVALID as const
2009-01-15 21:20:12 +00:00
truebrain
e9437c2b2b
(svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly fine
2009-01-15 20:59:22 +00:00
translators
555037b623
(svn r15097) -Update: WebTranslator2 update to 2009-01-15 18:47:56
...
brazilian_portuguese - 8 fixed by tucalipe (8)
danish - 4 fixed, 1 changed by beruic (5)
dutch - 6 fixed by habell (6)
english_US - 76 fixed by WhiteRabbit (76)
french - 7 fixed, 1 changed by glx (8)
greek - 9 fixed, 2 changed by doukas (11)
indonesian - 13 changed by fanioz (13)
norwegian_nynorsk - 24 fixed by runarlu (24)
polish - 5 fixed by xaxa (5)
2009-01-15 18:48:09 +00:00
truebrain
6cfb9a24e0
(svn r15096) -Fix [NoAI]: free memory when no longer needed
...
-Fix [NoAI]: when there are multiple versions of one AI, never randonly pick an older one, but always the latest
2009-01-15 18:24:49 +00:00
truebrain
ef62688522
(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir required, as with AIs
...
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
2009-01-15 18:15:12 +00:00
peter1138
a039ec0d21
(svn r15094) -Feature: Add support for IP range bans using CIDR notation.
2009-01-15 18:11:26 +00:00
truebrain
3e7c2bbacc
(svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType (bug found by Zuu, patch by Yexo)
2009-01-15 17:00:47 +00:00
truebrain
103cd2a5ed
(svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
2009-01-15 15:56:10 +00:00
truebrain
d62a85f2ce
(svn r15090) -Add [NoAI] [API CHANGE]: info.nut/library.nut now requires a function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
2009-01-15 14:37:44 +00:00
peter1138
1ee0c4caf4
(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required.
2009-01-15 12:50:59 +00:00
peter1138
4f4408f37e
(svn r15087) -Codechange: Less hardcoding of y positions in town authority window.
2009-01-15 12:36:24 +00:00
truebrain
ae29148565
(svn r15086) -Fix: start AIs after 6 months on hard, 12 months on medium, and 24 months on easy. The current values were a bit .. too long waiting period ;)
2009-01-14 21:32:06 +00:00
peter1138
7d70f0cd14
(svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank.
2009-01-14 20:23:45 +00:00
truebrain
3cd6bf0ead
(svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
2009-01-14 18:25:48 +00:00
truebrain
a483ddf7ae
(svn r15083) -Add [NoAI]: added a console command to reload an AI (requested by Zuu)
2009-01-14 15:39:05 +00:00
rubidium
ea5457d831
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
2009-01-14 15:20:06 +00:00
smatz
ff4fcdb03c
(svn r15081) -Fix (r15080): of course it's about southern border, not northern...
2009-01-14 13:40:11 +00:00
smatz
66213d8e4b
(svn r15080) -Fix: terraforming at the northern border failed without any visible reason
2009-01-14 13:11:39 +00:00
rubidium
e18c24cdb5
(svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP.
2009-01-14 12:50:13 +00:00
truebrain
6fe54a2d1a
(svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo)
2009-01-13 23:50:12 +00:00
smatz
e00cf92f47
(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
...
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
2009-01-13 22:58:03 +00:00
truebrain
cb221d9996
(svn r15076) -Fix: a start_date of 0 would never start an AI .. so don't allow it (Yexo)
2009-01-13 22:36:44 +00:00
truebrain
89da8820e5
(svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years
2009-01-13 21:32:47 +00:00
truebrain
2d3fc8141d
(svn r15074) -Fix: make Rubidium happy
2009-01-13 21:11:02 +00:00
peter1138
792d1bd883
(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13 20:43:53 +00:00
frosch
dab9de2e61
(svn r15072) -Fix (r14919): Distant-join search-area was determined inconsistently.
2009-01-13 19:55:27 +00:00
frosch
b8963032e7
(svn r15071) -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations.
2009-01-13 19:48:33 +00:00
translators
10f7525277
(svn r15070) -Update: WebTranslator2 update to 2009-01-13 18:42:22
...
brazilian_portuguese - 16 fixed by tucalipe (16)
catalan - 8 fixed by arnaullv (8)
croatian - 24 fixed by tifached (24)
czech - 8 fixed by Hadez (8)
dutch - 2 fixed by Excel20 (2)
finnish - 7 fixed, 1 changed by UltimateSephiroth (8)
hungarian - 7 fixed, 2 changed by IPG (2), alyr (7)
indonesian - 23 fixed, 2 changed by fanioz (25)
italian - 7 fixed, 1 changed by lorenzodv (8)
japanese - 59 fixed by ickoonite (59)
polish - 3 fixed by xaxa (3)
romanian - 23 fixed, 1 changed by kkmic (24)
slovak - 59 fixed by James (59)
spanish - 58 fixed by Dominus (30), eusebio (28)
turkish - 7 fixed, 1 changed by Emin (8)
2009-01-13 18:42:41 +00:00
frosch
9ca1e15f51
(svn r15069) -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus)
2009-01-13 18:41:56 +00:00
truebrain
2e30efb530
(svn r15068) -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo)
2009-01-13 18:26:58 +00:00
peter1138
02bda12599
(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-13 18:18:53 +00:00
truebrain
e1f64922c5
(svn r15066) -Change: start_date is now in days, instead of in months (Yexo)
2009-01-13 18:04:12 +00:00
frosch
4780c73224
(svn r15065) -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus)
2009-01-13 17:28:11 +00:00
truebrain
890074a03e
(svn r15063) -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
...
-Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
2009-01-13 16:53:03 +00:00
smatz
0a357c0ac1
(svn r15062) -Fix: further forgotten svn properties and headers
2009-01-13 16:30:24 +00:00
smatz
7cea618fcc
(svn r15061) -Fix (r15027): three files were missing the Id header
2009-01-13 15:49:32 +00:00
truebrain
c3249d599f
(svn r15059) -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
2009-01-13 14:00:26 +00:00
truebrain
405239758e
(svn r15058) -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
2009-01-13 13:26:20 +00:00
truebrain
07f2afa635
(svn r15057) -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
2009-01-13 13:09:49 +00:00
truebrain
1bd2867715
(svn r15056) -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo)
2009-01-13 12:52:09 +00:00
truebrain
e6543c2776
(svn r15055) -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
2009-01-13 12:51:46 +00:00
rubidium
04ea0b9316
(svn r15053) -Cleanup: remove some unneeded includes
2009-01-13 11:53:33 +00:00
rubidium
fc696a7e29
(svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information
2009-01-13 11:46:29 +00:00
peter1138
f0e6eeb57d
(svn r15051) -Fix: Only allow creation or deletion of an AI when in a game.
2009-01-13 11:06:21 +00:00
peter1138
56b91b582e
(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences.
2009-01-13 08:39:25 +00:00
glx
37500a13f6
(svn r15049) -Fix (r15045): MSVC performance warning
2009-01-13 02:03:03 +00:00
truebrain
0adcb5bc2f
(svn r15048) -Fix (r15047): the one time you don't compile a patch of someone, it contains a warning .. ;)
2009-01-13 01:52:32 +00:00
truebrain
c9d20bfd47
(svn r15047) -Fix [NoAI]: AICONFIG_BOOLEAN (in AddSetting) doesn't require (or even allow) a min/max setting .. it is always 0/1 (Yexo)
2009-01-13 01:51:39 +00:00
truebrain
e06e372529
(svn r15046) -Fix (r15045): in case CanLoadFromRevision does not exist, only allow savedata from the same version as we are now
2009-01-13 01:50:51 +00:00
truebrain
bcbbf2c366
(svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
...
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
2009-01-13 01:46:46 +00:00
truebrain
e6883c5cc7
(svn r15044) -Add [NoAI]: AIConfig::GetVersion(), to get the version of the current AI
2009-01-13 00:10:58 +00:00
truebrain
2462e8dc9d
(svn r15043) -Fix: just try to change the AI, and see if that succeeded, instead of hoping you understand the internals of a change AI routine (to avoid possible mistakes in the future)
2009-01-13 00:08:38 +00:00
truebrain
695765fde7
(svn r15042) -Fix (r15027): don't leak memory in AIInfo (Yexo)
2009-01-12 21:40:00 +00:00
truebrain
1c3b7ba863
(svn r15041) -Fix (r15038): use the ctor auto thing how it is meant to be used (tnx to SmatZ for pointing that out)
2009-01-12 21:39:45 +00:00
smatz
26e5ccb60d
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
2009-01-12 19:49:23 +00:00
truebrain
2c89bfbc81
(svn r15038) -Fix (r15027): loading older savegames failed
2009-01-12 19:31:00 +00:00
smatz
4a5044e61a
(svn r15037) -Cleanup: remove unused file src/table/ai_rail.h
2009-01-12 19:26:21 +00:00
truebrain
c666cf5a49
(svn r15036) -Fix: use the same value for 'random' through-out the code for PlantTree
2009-01-12 18:15:18 +00:00
truebrain
b7b29d96de
(svn r15033) -Fix (r15027): silent a warning when compiling without network
2009-01-12 17:40:13 +00:00
truebrain
e2d2946007
(svn r15032) -Fix (r15030): Rubidium was too script-happy ;)
2009-01-12 17:33:10 +00:00
smatz
16dfe58e4d
(svn r15031) -Fix (r15027): merge reverted r15026, so do it once again
2009-01-12 17:31:43 +00:00
rubidium
eb22e265f2
(svn r15030) -Update (r15029): and from the other languages too (yay for WT2)
2009-01-12 17:25:38 +00:00
rubidium
221df9bb19
(svn r15029) -Cleanup (r15027): remove strings that aren't needed anymore
2009-01-12 17:20:16 +00:00
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
smatz
9294f96168
(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller
2009-01-12 16:53:11 +00:00
frosch
eb6dc2b8ae
(svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus)
2009-01-12 15:44:37 +00:00
frosch
9a80c0b1de
(svn r15015) -Fix (r14919): Distant-join always failed for docks. Based on patch by PhilSophus.
2009-01-12 15:29:40 +00:00
frosch
508fc29221
(svn r15014) -Codechange: Add a helper function to get the needed DC_xxx flags from the result of GetCommandFlags().
2009-01-12 15:27:39 +00:00
truebrain
809bf8fb43
(svn r15011) -Documentation: Nuclear, not Nucleair
2009-01-12 15:21:59 +00:00
frosch
2d4c9cda72
(svn r15009) -Fix [FS#2528]: No need to extent the reserved path when the vehicle is still loading.
2009-01-12 14:56:31 +00:00
glx
e99335c085
(svn r15008) -Revert (r12706): remove fibers
2009-01-12 14:45:20 +00:00
truebrain
53ca48efe2
(svn r15006) -Codechange: throw a real instance of a class, instead of '0' (which can also be a throw from within a thread for what ever reason)
2009-01-12 14:31:49 +00:00
rubidium
7947e78daa
(svn r14999) -Change [FS#2523]: move service at helipad to the servicing options
2009-01-12 00:06:22 +00:00
smatz
1287fddd8f
(svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite
2009-01-11 23:49:51 +00:00
smatz
720eedf7c5
(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent
2009-01-11 22:28:30 +00:00
translators
a9e5f9fbe9
(svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49
...
afrikaans - 22 fixed by burgerd (22)
arabic_egypt - 18 fixed by khaloofah (18)
catalan - 16 fixed by arnaullv (16)
czech - 12 fixed by Hadez (12)
dutch - 13 fixed by Excel20 (13)
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed, 1 changed by glx (2)
greek - 8 fixed by paolitotas (8)
hungarian - 16 fixed by alyr (16)
italian - 16 fixed, 8 changed by lorenzodv (24)
lithuanian - 21 fixed by Enternald (21)
polish - 11 fixed by xaxa (11)
slovenian - 41 fixed by Necrolyte (41)
turkish - 22 fixed by Emin (22)
2009-01-11 18:45:12 +00:00
frosch
5c78d35078
(svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack.
2009-01-11 16:33:03 +00:00
frosch
a6fc079c52
(svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction.
2009-01-11 15:39:49 +00:00
frosch
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
2009-01-11 14:26:11 +00:00
frosch
e8796a148f
(svn r14991) -Fix: Command-flags is an uint32.
2009-01-11 14:11:06 +00:00
rubidium
6c880d1c20
(svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow)
2009-01-11 14:09:09 +00:00
rubidium
1ef953e4a5
(svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow)
2009-01-11 14:01:45 +00:00
rubidium
78d3fc59b9
(svn r14986) -Doc: small error in a comment (PhilSophus)
2009-01-10 23:21:46 +00:00
rubidium
f6f6f15604
(svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered
2009-01-10 19:48:11 +00:00
peter1138
510e0ce083
(svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s
2009-01-10 19:30:40 +00:00
rubidium
238c0a5d1f
(svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window
2009-01-10 19:22:05 +00:00
translators
e1a351cb1a
(svn r14977) -Update: WebTranslator2 update to 2009-01-10 18:44:17
...
arabic_egypt - 4 fixed by khaloofah (4)
brazilian_portuguese - 26 fixed by tucalipe (26)
bulgarian - 3 fixed by Ar4i (3)
catalan - 3 fixed by arnaullv (3)
croatian - 35 fixed by tifached (35)
czech - 52 fixed, 10 changed by Hadez (62)
danish - 4 fixed by ThomasA (4)
dutch - 6 fixed by Excel20 (4), habell (2)
finnish - 15 fixed by UltimateSephiroth (15)
french - 15 fixed by glx (15)
hungarian - 6 fixed by alyr (6)
indonesian - 6 fixed, 64 changed by fanioz (70)
italian - 3 fixed, 1 changed by lorenzodv (4)
portuguese - 6 fixed by rmrebelo (6)
romanian - 6 fixed by kkmic (6)
2009-01-10 18:44:39 +00:00
frosch
bc786f9e59
(svn r14975) -Fix (r14957): Do not immediatelly move the train when leaving the station and the destination is not yet known.
2009-01-10 17:39:43 +00:00
rubidium
496f6aed3c
(svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth)
2009-01-10 17:35:19 +00:00
rubidium
8e42e20ebe
(svn r14973) -Codechange: recursively fold subpages (Alberth)
2009-01-10 17:27:11 +00:00
rubidium
698fbe891c
(svn r14972) -Update: do r14971 also for the non-English strings (Alberth)
2009-01-10 17:24:26 +00:00
rubidium
7a0d957b05
(svn r14971) -Change: the colour of the patch page text so it becomes more visible as it changed background (Alberth)
2009-01-10 17:23:31 +00:00
rubidium
7039c84c6a
(svn r14970) -Change: move all (patch) settings to a single "page" (Alberth)
2009-01-10 17:14:59 +00:00
rubidium
8ad56c4229
(svn r14969) -Codechange: make drawing trees possible (Alberth)
2009-01-10 17:13:41 +00:00
rubidium
52108959c9
(svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth)
2009-01-10 16:51:27 +00:00
rubidium
d6d8411a5f
(svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth)
2009-01-10 16:49:30 +00:00
rubidium
eec72275f1
(svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth)
2009-01-10 16:46:10 +00:00
rubidium
1fbc41f1fd
(svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth)
2009-01-10 16:44:51 +00:00
rubidium
6a359a586b
(svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth)
2009-01-10 16:42:28 +00:00
rubidium
32d5369675
(svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages
2009-01-10 16:39:18 +00:00
rubidium
850e45b1f1
(svn r14961) -Update: remove the string from r14960 from the other languages too.
2009-01-10 16:29:31 +00:00
rubidium
3f1da12faf
(svn r14960) -Codechange: add some this where appropriate (Alberth)
2009-01-10 16:26:17 +00:00
rubidium
99337bf4a1
(svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages.
2009-01-10 16:24:42 +00:00
smatz
0cd41d1dc6
(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names
...
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10 15:54:07 +00:00
frosch
07d1c28025
(svn r14957) -Fix [FS#2516]: Do not abort train movement, when we are just about to reach the end of the platform.
2009-01-10 15:27:57 +00:00
rubidium
db546e607f
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
2009-01-10 14:30:01 +00:00
rubidium
1b546505d2
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
2009-01-10 14:01:17 +00:00
rubidium
7878405a12
(svn r14954) -Fix [FS#1890]: sharing/cloning/inserting of orders that the/a vehicle (in the shared list) can't go to (wrong station type etc)
2009-01-10 13:00:38 +00:00
rubidium
c8f3630e64
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
2009-01-10 10:41:22 +00:00
rubidium
3d6c09b38d
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
2009-01-10 09:51:14 +00:00
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
smatz
c3839648f7
(svn r14948) -Codechange: enumification and more comments in the statusbar code
2009-01-09 23:49:46 +00:00
rubidium
dc1f1664fd
(svn r14947) -Fix [FS#2519]: vehicle following did not update the location from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle
2009-01-09 23:30:02 +00:00
rubidium
61f19b6e3e
(svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following
2009-01-09 23:28:28 +00:00
frosch
3ca73b0c4c
(svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road vehicles.
2009-01-09 23:04:51 +00:00
rubidium
cda853872a
(svn r14944) -Cleanup: add spaces around some operators
2009-01-09 22:56:28 +00:00
rubidium
c08f520acf
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
2009-01-09 22:48:57 +00:00
smatz
5fc7fe9648
(svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen
2009-01-09 20:42:17 +00:00
peter1138
5c666fac14
(svn r14939) -Codechange: Follow standard *ChangeInfo() pattern for global variables during reservation. Whilst not strictly necessary for global variables, following the same pattern makes it easier to follow. This also solves the long standing ChangeInfoResult/bool warning for MSVC.
2009-01-09 20:14:07 +00:00
rubidium
b26cee21f6
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
2009-01-09 19:34:05 +00:00
frosch
4fafb723aa
(svn r14936) -Fix: INDUSTRYBEH_ONLY_NEARTOWN bypassed the clear-test and could e.g. result in incomplete clearing of protected houses.
2009-01-09 15:11:35 +00:00
rubidium
0464e9f864
(svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't.
2009-01-09 15:01:15 +00:00
rubidium
07c5fb2a02
(svn r14934) -Fix: in (extreme) cases CanAllocateItem could return true when there's not enough space.
2009-01-09 15:00:22 +00:00
rubidium
f0b0691bfe
(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.
2009-01-09 14:59:02 +00:00
rubidium
331b8dd7d4
(svn r14931) -Fix [FS#2512]: the "animation state" of the bubbles was stored in a variable that was not stored in the savegame. Using a variable that gets saved in the savegame solves the desync and makes it a bit clearer.
2009-01-09 09:50:33 +00:00
belugas
729cebda47
(svn r14927) -Codechange: constify widget numbers in network chat gui.
2009-01-08 22:33:54 +00:00
peter1138
0052c85002
(svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear.
2009-01-08 21:48:59 +00:00
frosch
b522f73ba8
(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted.
2009-01-08 21:16:19 +00:00
frosch
17a9bab142
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
2009-01-08 21:13:20 +00:00
translators
067b9a15d1
(svn r14922) -Update: WebTranslator2 update to 2009-01-08 18:49:15
...
afrikaans - 20 fixed, 52 changed by wpduplessis (72)
bulgarian - 46 fixed, 1 changed by Ar4i (47)
catalan - 6 fixed by arnaullv (6)
dutch - 3 fixed, 1 changed by habell (4)
finnish - 10 fixed by jpx_ (10)
french - 3 fixed by glx (3)
indonesian - 1 changed by fanioz (1)
italian - 3 fixed by lorenzodv (3)
korean - 23 fixed by leejaeuk5 (23)
norwegian_bokmal - 3 fixed by khh (3)
polish - 3 fixed by xaxa (3)
ukrainian - 21 fixed by znikoz (21)
2009-01-08 18:49:34 +00:00
frosch
26e9c4c489
(svn r14921) -Fix [FS#2507]: Do not try to calculate a center of a train-station, when there is none.
2009-01-08 18:08:14 +00:00
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
2009-01-08 16:35:45 +00:00
rubidium
b34b386588
(svn r14918) -Cleanup: remove unused constant.
2009-01-08 16:33:41 +00:00
rubidium
e39484e9a8
(svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P).
2009-01-08 14:55:28 +00:00
rubidium
427e2d30c5
(svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too.
2009-01-08 14:40:18 +00:00
belugas
38bd396f90
(svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow
2009-01-08 14:38:21 +00:00
peter1138
85c0d42616
(svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only.
2009-01-08 14:30:29 +00:00
peter1138
57cff4bca8
(svn r14911) -Fix (r14909): -D did not work
2009-01-08 14:10:39 +00:00
rubidium
d4b6cc997d
(svn r14910) -Codechange: merge the command queue handling into a single location
2009-01-08 13:57:50 +00:00
peter1138
020dbb180a
(svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section.
2009-01-08 12:05:14 +00:00
peter1138
45f1d83bc7
(svn r14908) -Codechange: Add support for text parameters.
2009-01-08 11:40:42 +00:00
peter1138
6b6fd36050
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
2009-01-08 11:06:07 +00:00
rubidium
c71862174a
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
2009-01-07 18:59:46 +00:00
translators
6bd14cf1a1
(svn r14904) -Update: WebTranslator2 update to 2009-01-07 18:44:43
...
catalan - 19 fixed, 6 changed by arnaullv (25)
danish - 3 fixed by beruic (3)
finnish - 15 fixed by UltimateSephiroth (15)
french - 4 fixed by glx (4)
indonesian - 15 fixed by fanioz (12), rindu (3)
norwegian_bokmal - 37 fixed, 12 changed by khh (49)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish - 14 fixed by xaxa (14)
romanian - 29 fixed by kkmic (29)
thai - 10 fixed by angelix (10)
turkish - 29 fixed by Emin (29)
2009-01-07 18:44:56 +00:00
frosch
aedc0c1302
(svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts.
2009-01-07 17:50:20 +00:00
frosch
cf1e926e37
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
2009-01-07 17:40:17 +00:00
rubidium
84dee1e738
(svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
...
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07 16:11:27 +00:00
rubidium
fa22bcd456
(svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so.
2009-01-07 15:36:37 +00:00
rubidium
8d017f0ea1
(svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
...
-Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-07 15:27:19 +00:00
rubidium
f5b23103d7
(svn r14896) -Codechange: remove an unused constant and the related dead code.
2009-01-07 14:58:43 +00:00
rubidium
5fcf07f388
(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table
2009-01-07 14:45:07 +00:00
rubidium
d66d36126c
(svn r14890) -Codechange: move the notest information into the command table.
2009-01-07 13:31:09 +00:00
rubidium
cb81e637b0
(svn r14889) -Codechange: replace some magic numbers with constants.
2009-01-07 13:26:48 +00:00
rubidium
ebf0fbc969
(svn r14886) -Fix: remove (3) strings with non-UTF8 characters in Afrikaans.
...
-Fix: using non-ASCII characters in Afrikaans and Icelandic when there's an equivalent ASCII character, thus not needing a font to display all characters.
2009-01-07 12:54:26 +00:00
rubidium
9888afd6d0
(svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value.
2009-01-07 08:26:09 +00:00
smatz
1ada1a4ff2
(svn r14884) -Codechange: simplify code responsible for opening vehicle view windows
2009-01-07 02:03:07 +00:00
rubidium
2490f8f471
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
2009-01-06 23:19:59 +00:00
rubidium
19edb3ccc3
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2009-01-06 22:37:42 +00:00
michi_cc
6138f6a2bb
(svn r14876) -Fix [FS#2509] (r14849): Reserved path loop detection was broken for stations.
...
Don't set the test tile to the tile the very first iteration handles. Update the test tile instead in the loop.
2009-01-06 17:11:37 +00:00
peter1138
c0efc759ef
(svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick (code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'.
2009-01-06 14:45:38 +00:00
peter1138
680175fea0
(svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients
2009-01-06 10:22:48 +00:00
belugas
63e47ed480
(svn r14855) -Documentation: Apply some widget naming to the widget arrays. Based on Yorick's work
2009-01-06 00:27:53 +00:00
rubidium
9877b71ee0
(svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
2009-01-05 21:06:38 +00:00
michi_cc
13f06c812d
(svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255.
2009-01-05 20:29:05 +00:00
michi_cc
c9d25e20f0
(svn r14851) -Fix: A train reversing in a non-PBS block can't be stuck.
2009-01-05 20:29:00 +00:00
michi_cc
f9f9bb9c3c
(svn r14850) -Fix [FS#2503]: Reversing a stuck train that is then not stuck anymore did not always reset the waiting timer.
2009-01-05 20:28:56 +00:00
michi_cc
809d9bc498
(svn r14849) -Fix [FS#2478]: A train meeting its end could lead to an endless loop.
2009-01-05 20:28:51 +00:00