translators
341682b6b7
(svn r22277) -Update from WebTranslator v3.0:
...
faroese - 26 changes by BuBu
norwegian_nynorsk - 57 changes by 2rB
2011-03-28 18:45:08 +00:00
translators
dfebe173fc
(svn r22276) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
frisian - 61 changes by gjannema
german - 1 changes by MG
russian - 2 changes by Lone_Wolf
2011-03-26 18:45:14 +00:00
translators
e6bf6ef0e9
(svn r22275) -Update from WebTranslator v3.0:
...
russian - 3 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2011-03-25 18:45:11 +00:00
translators
7514eb7453
(svn r22274) -Update from WebTranslator v3.0:
...
frisian - 9 changes by Fopper
2011-03-24 18:45:08 +00:00
yexo
b1901586a0
(svn r22273) -Fix (r22271) [FS#4562]: fix was incorrect
2011-03-24 00:43:44 +00:00
translators
f876cc1bd3
(svn r22272) -Update from WebTranslator v3.0:
...
frisian - 3 changes by gjannema
2011-03-23 18:45:05 +00:00
yexo
dfd2899a88
(svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was broken
2011-03-22 23:59:55 +00:00
yexo
fd74c0f9dc
(svn r22270) -Codechange: initialize some temporary arrays on the same line as they're declared
...
so the size doesn't have to be declared manually. Also detect the size of those
arrays automatically by using a template
2011-03-22 22:13:20 +00:00
translators
eb4ddb256e
(svn r22269) -Update from WebTranslator v3.0:
...
dutch - 1 changes by Yexo
faroese - 9 changes by FastNinja
polish - 2 changes by silver_777
2011-03-22 18:45:11 +00:00
translators
bb97a656da
(svn r22268) -Update from WebTranslator v3.0:
...
faroese - 187 changes by FastNinja
frisian - 40 changes by gjannema
2011-03-21 18:45:07 +00:00
rubidium
c94c73d2fb
(svn r22267) -Fix: broken language file...
2011-03-20 20:52:30 +00:00
rubidium
e645a2e066
(svn r22266) -Fix [FS#4558]: In the scenario editor you could build a ship depot using the hotkeys. Removing that depot causes an assertions to trigger.
2011-03-20 20:51:31 +00:00
translators
99c0e14fa0
(svn r22265) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
frisian - 71 changes by gjannema
2011-03-20 18:45:08 +00:00
translators
1377ff6588
(svn r22263) -Update from WebTranslator v3.0:
...
lithuanian - 35 changes by BlinK_
portuguese - 18 changes by JayCity
romanian - 15 changes by tonny
2011-03-19 18:45:13 +00:00
frosch
93272478b7
(svn r22259) -Fix (r9779)[FS#4557]: Remove duplicate and wrong (too early) activation of new game settings. (chillcore)
2011-03-18 19:36:20 +00:00
yexo
0e17cbc9f8
(svn r22258) -Codechange: introduce a wrapper class to clean up the arguments to FormatString
2011-03-18 13:34:52 +00:00
translators
00b2626c3a
(svn r22255) -Update from WebTranslator v3.0:
...
ukrainian - 16 changes by Madvin
2011-03-16 18:45:08 +00:00
michi_cc
e7bb220fdd
(svn r22254) -Codechange: Make settingsgen only update the output file if it actually changed.
2011-03-14 22:24:08 +00:00
frosch
f81dd357e8
(svn r22253) -Change: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years. (Eddi)
2011-03-14 21:14:44 +00:00
frosch
d12c2dfa24
(svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own.
2011-03-13 22:05:29 +00:00
frosch
cba6eb87c2
(svn r22249) -Codechange: Process some more invalidation of IDs during command scope.
2011-03-13 21:35:50 +00:00
frosch
141f2eba50
(svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope.
2011-03-13 21:34:49 +00:00
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
2011-03-13 21:34:21 +00:00
frosch
5689b3dbda
(svn r22246) -Fix: Process order window invalidations for specific orders in command-scope.
2011-03-13 21:33:57 +00:00
frosch
dd20823277
(svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself.
2011-03-13 21:33:30 +00:00
frosch
f051a81b4e
(svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting).
2011-03-13 21:33:02 +00:00
frosch
0ff4f31723
(svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself.
2011-03-13 21:32:40 +00:00
frosch
51ddbbb13d
(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope.
2011-03-13 21:32:13 +00:00
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
translators
0ff6c8f425
(svn r22240) -Update from WebTranslator v3.0:
...
esperanto - 9 changes by Christopher
faroese - 71 changes by FastNinja
greek - 20 changes by fumantsu
2011-03-13 18:45:11 +00:00
alberth
bb4d832146
(svn r22239) -Doc: Further engine doxyment additions.
2011-03-13 16:43:00 +00:00
alberth
911dfa52bb
(svn r22238) -Codechange (r8888): Also remove the now unused NUM_VEHICLE_TYPES constant.
2011-03-13 14:00:11 +00:00
alberth
72b8e56920
(svn r22237) -Doc: Add some doxyments to structs and enums in engine_type.h
2011-03-13 13:49:31 +00:00
frosch
2ae863463c
(svn r22236) -Fix (r21457): Disarm a bear-pit, which r22226 almost fell into.
2011-03-13 10:43:41 +00:00
rubidium
dee05fe63d
(svn r22235) -Add: stub for a Faroese translation
2011-03-13 08:32:16 +00:00
translators
49109d3663
(svn r22234) -Update from WebTranslator v3.0:
...
swedish - 2 changes by Zuu
2011-03-12 18:45:06 +00:00
yexo
6305d104c1
(svn r22233) -Fix (r22210): value strings for command-pause-level were not shown correctly
2011-03-11 19:48:26 +00:00
translators
fe611024c1
(svn r22232) -Update from WebTranslator v3.0:
...
german - 20 changes by lugo
portuguese - 1 changes by JayCity
slovak - 1 changes by micropro_cz
2011-03-11 18:45:12 +00:00
frosch
4269170c9b
(svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C.
2011-03-10 19:32:24 +00:00
rubidium
7e74b52d6e
(svn r22230) -Fix: WT3 validation
2011-03-10 18:56:14 +00:00
translators
2323e91ed2
(svn r22229) -Update from WebTranslator v3.0:
...
brazilian_portuguese - 3 changes by Tucalipe
slovak - 44 changes by micropro_cz
2011-03-10 18:45:10 +00:00
frosch
77d1dcb926
(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-03-08 20:52:59 +00:00
frosch
b997ebb942
(svn r22227) -Fix [FS#4546-ish]: Call sheduled OnInvalidate()-calls before doing OnHundrethTick()-calls.
2011-03-08 19:43:38 +00:00
frosch
9cf92e2bd2
(svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them.
2011-03-08 19:41:58 +00:00
translators
31f46c0786
(svn r22225) -Update from WebTranslator v3.0:
...
italian - 6 changes by lorenzodv
2011-03-08 18:45:07 +00:00
translators
0c6c755bf6
(svn r22223) -Update from WebTranslator v3.0:
...
traditional_chinese - 7 changes by elleryq
frisian - 16 changes by Taeke
greek - 28 changes by fumantsu
italian - 30 changes by Snail_, lorenzodv
2011-03-07 18:45:16 +00:00
yexo
cde5b7dffc
(svn r22222) -Fix: compilation when compiling with --disable-ai
2011-03-07 18:44:36 +00:00
translators
11755768d2
(svn r22221) -Update from WebTranslator v3.0:
...
danish - 14 changes by beruic
vietnamese - 4 changes by nglekhoi
2011-03-06 18:47:36 +00:00
alberth
26a9b31817
(svn r22220) -Codechange: Unduplicate npf/yapf strings for the other languages.
2011-03-06 16:00:53 +00:00
alberth
d3569f917d
(svn r22219) -Codechange: Unduplicate npf/yapf strings.
2011-03-06 16:00:24 +00:00
alberth
51d39bc462
(svn r22218) -Codechange: Unduplicate horizontal positioning strings for the other languages.
2011-03-06 15:59:43 +00:00
alberth
c46de7fc7b
(svn r22217) -Codechange: Unduplicate horizontal positioning strings.
2011-03-06 15:59:23 +00:00
alberth
f74e9c5d49
(svn r22216) -Codechange: Unduplicate original/realistic strings for the other languages.
2011-03-06 15:58:37 +00:00
alberth
7ee064b75d
(svn r22215) -Codechange: Unduplicate original/realistic strings.
2011-03-06 15:58:03 +00:00
alberth
b7814a00cd
(svn r22214) -Codechange: Unduplicate company on/off strings for the other languages.
2011-03-06 15:57:17 +00:00
alberth
3d6246ba9e
(svn r22213) -Codechange: Unduplicate company on/off strings.
2011-03-06 15:56:12 +00:00
alberth
6372eb4d86
(svn r22212) -Codechange: Unduplicate Off/On strings for the other languages.
2011-03-06 15:54:20 +00:00
alberth
5f505a69f3
(svn r22211) -Codechange: Unduplicate Off/On strings.
2011-03-06 15:52:23 +00:00
alberth
9fe65f93fe
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
2011-03-06 15:51:44 +00:00
alberth
02bf850d95
(svn r22209) -Codechange: Move function declarations from settings.h.preamble to the ini file that uses it.
2011-03-06 10:35:40 +00:00
rubidium
db6121f361
(svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way and OpenTTD fell back to the old system the partial downloaded amount would be counted twice
2011-03-06 10:11:59 +00:00
alberth
bbde7766d2
(svn r22207) -Add: Add the copyright message to the new ini files.
2011-03-06 09:54:20 +00:00
rubidium
18a9188081
(svn r22206) -Revert-ish (r14526) / Unfix-ish [FS#3569] / Fix [FS#4545]: the "center" (for movement) of vehicles is (currently still) always at 4/8th original vehicle length from the front, so trains should stop at the same location regardless of the length of the front engine
2011-03-06 09:22:11 +00:00
rubidium
e34c42de32
(svn r22205) -Codechange: replace magic number with constant
2011-03-05 21:52:45 +00:00
planetmaker
2aa14cc54b
(svn r22204) -Change: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs
2011-03-05 18:28:10 +00:00
frosch
f5a7ad70dc
(svn r22203) -Doc: Document 'override_features'.
2011-03-05 18:27:43 +00:00
rubidium
f90044d343
(svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings
2011-03-05 18:00:48 +00:00
smatz
469c448eb0
(svn r22200) -Fix (r21642): removing a station order could stop when removing first automatic order
2011-03-05 13:59:23 +00:00
rubidium
b8d3c42de2
(svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names
2011-03-05 11:34:31 +00:00
rubidium
e48967541a
(svn r22198) -Codechange: make some constants name more explicit
2011-03-05 11:16:44 +00:00
rubidium
2636a4809b
(svn r22197) -Cleanup: remove the distinction between conditional and non-conditional settings; with default from and to savegame versions all can be conditional. They previously were as well; the non-conditional ones were macros of the conditionals with to/from saveload versions hardcoded
2011-03-05 10:47:49 +00:00
rubidium
cb3fa759f3
(svn r22196) -Codechange: use default values for the from and to of savegame versions as well
2011-03-05 10:20:49 +00:00
rubidium
8b9f99ec44
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
2011-03-05 10:12:03 +00:00
planetmaker
ca61ae0b0a
(svn r22193) -Fix: Invalidate the object build window when using the date cheat
2011-03-05 09:55:09 +00:00
glx
7f54c59a66
(svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too
2011-03-04 22:34:10 +00:00
rubidium
55c973966e
(svn r22186) -Fix: spelling mistake
2011-03-04 21:14:00 +00:00
translators
88362f8c31
(svn r22182) -Update from WebTranslator v3.0:
...
traditional_chinese - 18 changes by elleryq
vietnamese - 7 changes by nglekhoi
2011-03-04 18:45:09 +00:00
yexo
1714e5d509
(svn r22181) -Fix (r20574): following a vehicle with a very high VehicleID was impossible
2011-03-04 12:12:48 +00:00
glx
ec56036dc7
(svn r22179) -Fix (r22167): compilation on win32
2011-03-03 23:34:14 +00:00
rubidium
59e42ea178
(svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms
2011-03-03 21:43:24 +00:00
yexo
261b34b705
(svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 twice for the same station id
2011-03-03 21:24:03 +00:00
alberth
7477f92029
(svn r22173) -Add: Add preamble and postamble files before and after the generated settings data.
2011-03-03 21:06:24 +00:00
alberth
74d756799c
(svn r22172) -Add: Add ini files containing the table/settings data.
2011-03-03 21:04:17 +00:00
alberth
98d5302c63
(svn r22171) -Add: Add settings generator program.
2011-03-03 20:59:59 +00:00
alberth
fa9c193539
(svn r22170) -Add: Add IGT_SEQUENCE type for loading ini group lines without further interpretation.
2011-03-03 20:56:33 +00:00
alberth
6a88af662b
(svn r22169) -Add: Add parameter to disable automatic group creation in IniLoadFile::GetGroup().
2011-03-03 20:55:06 +00:00
alberth
722296e797
(svn r22168) -Codechange: Move ini file IO and file error reporting to virtual functions.
2011-03-03 20:53:09 +00:00
alberth
d19a9f5df5
(svn r22167) -Codechange: Extract IniLoadFile base class for loading ini files out of IniFile.
2011-03-03 20:50:24 +00:00
yexo
b74de9ff72
(svn r22165) -Fix: [NewGRF] memory leak if an industry newgrf had more than one prop A or 15
2011-03-03 20:26:19 +00:00
yexo
18a2fadf35
(svn r22164) -Fix: [NewGRF] disable a station newgrf when it contains an unterminated spritelayout in action0 prop 08 instead of crashing openttd
2011-03-03 19:52:42 +00:00
yexo
3769b4f218
(svn r22163) -Fix [FS#4541]: building a station part adjacent to both an existing station and a rail waypoint failed
2011-03-03 19:26:18 +00:00
yexo
93533b603a
(svn r22162) -Fix [FS#4533]: No update of NewGRF window when unknown GRF name becomes available
2011-03-03 18:47:46 +00:00
translators
21cc2da71a
(svn r22161) -Update from WebTranslator v3.0:
...
traditional_chinese - 31 changes by elleryq
japanese - 16 changes by kokubunzi
vietnamese - 6 changes by nglekhoi
2011-03-03 18:45:13 +00:00
translators
d75012d7ff
(svn r22160) -Update from WebTranslator v3.0:
...
traditional_chinese - 15 changes by elleryq
romanian - 2 changes by kkmic
2011-03-02 18:45:12 +00:00
translators
5583f14914
(svn r22159) -Update from WebTranslator v3.0:
...
german - 21 changes by NG
hungarian - 1 changes by norbert79
thai - 1 changes by kidokun
2011-03-01 18:45:12 +00:00
translators
4e85245d41
(svn r22158) -Update from WebTranslator v3.0:
...
japanese - 39 changes by kokubunzi
korean - 119 changes by junho2813, telk5093
slovenian - 30 changes by
2011-02-28 18:45:13 +00:00
yexo
12125f6033
(svn r22157) -Fix: [NewGRF] industry prop 0x11 is 4-bytes long, not 3 bytes
2011-02-28 15:24:35 +00:00
translators
34ea215d78
(svn r22156) -Update from WebTranslator v3.0:
...
italian - 54 changes by lorenzodv
japanese - 2 changes by kokubunzi
slovenian - 30 changes by
vietnamese - 3 changes by nglekhoi
2011-02-27 18:45:16 +00:00
smatz
8074f123d5
(svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong
2011-02-27 13:59:20 +00:00
terkhen
6e641777b1
(svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium)
2011-02-27 11:38:28 +00:00
rubidium
9ce2823959
(svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it breached the 200.000 bytes "limit" for loading language files
2011-02-27 06:36:14 +00:00
rubidium
3e5924b10f
(svn r22149) -Fix [FS#4521]: Windows video driver crashed when it couldn't go to full screen at the resolution of the configuration file when starting OpenTTD
2011-02-26 19:13:58 +00:00
translators
ab837c0af0
(svn r22148) -Update from WebTranslator v3.0:
...
basque - 2 changes by Thadah
finnish - 1 changes by jpx_
french - 1 changes by Snail_
italian - 35 changes by Snail_
slovenian - 30 changes by
2011-02-26 18:45:17 +00:00
rubidium
ae6dca77e5
(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point
2011-02-26 17:56:51 +00:00
alberth
31386c42a7
(svn r22145) -Codechange: Do explicit test for non-bool values.
2011-02-25 22:04:38 +00:00
alberth
1dbc0a20be
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
2011-02-25 21:53:43 +00:00
translators
87c8d97aca
(svn r22143) -Update from WebTranslator v3.0:
...
frisian - 59 changes by Taeke
irish - 58 changes by tem
slovenian - 30 changes by
2011-02-25 18:45:13 +00:00
yexo
f7f3db7174
(svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones
2011-02-25 13:59:02 +00:00
frosch
b0b7e1172c
(svn r22141) -Fix (r22135): AI breakpoints were broken at this point. (thanks Zuu)
2011-02-24 22:14:41 +00:00
frosch
f34e9ff074
(svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth)
2011-02-24 21:48:06 +00:00
translators
6621a8fb21
(svn r22139) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
frisian - 42 changes by Taeke
slovenian - 30 changes by
2011-02-24 18:45:13 +00:00
yexo
89ff97f70a
(svn r22138) -Fix: skipping only the invalid part of an action14 failed, the rest of the action was skipped instead
2011-02-24 18:13:59 +00:00
planetmaker
ac0700c564
(svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor
2011-02-24 06:57:55 +00:00
frosch
19b7249ade
(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
2011-02-23 20:54:55 +00:00
frosch
40cc3324fa
(svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call.
2011-02-23 20:45:52 +00:00
frosch
1a3a1e3b0c
(svn r22133) -Fix: some coding style.
2011-02-23 20:29:48 +00:00
translators
50daa3f83d
(svn r22132) -Update from WebTranslator v3.0:
...
frisian - 172 changes by Taeke
polish - 1 changes by xaxa
slovenian - 40 changes by Necrolyte
2011-02-23 18:45:12 +00:00
frosch
facf400d27
(svn r22131) -Fix: Spectators had trouble closing buoy windows. (Terkhen)
2011-02-23 18:39:56 +00:00
smatz
678cf3553f
(svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist
2011-02-23 00:00:50 +00:00
smatz
58c7f5c497
(svn r22129) -Codechange: use simpler check to test if there any towns in the game
2011-02-22 22:21:20 +00:00
frosch
ee111ce1a4
(svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel)
2011-02-22 20:28:24 +00:00
terkhen
4860eff98c
(svn r22127) -Fix: Canals would get drawn as land in the smallmap when using the owner window.
2011-02-22 14:23:38 +00:00
translators
f719bc7b3c
(svn r22126) -Update from WebTranslator v3.0:
...
arabic_egypt - 40 changes by Company_director
belarusian - 1 changes by KorneySan
danish - 19 changes by beruic
frisian - 142 changes by Taeke
malay - 3 changes by toadhall
brazilian_portuguese - 93 changes by Luis_Mizuchiro
tamil - 139 changes by sylvesterpious
2011-02-21 18:45:22 +00:00
frosch
54db5d60fb
(svn r22125) -Fix (r9162)[FS#4528]: The animation-ness of two goldmine tiles were swapped, causing the wheeltower to not work properly, and the bottom corner to show the wrong sprite.
2011-02-21 17:38:33 +00:00
rubidium
b6be3f2acc
(svn r22124) -Codechange: move comment to its logical place
2011-02-20 21:10:58 +00:00
frosch
77fa68c1da
(svn r22123) -Fix [FS#4522]: CommandQueue::Pop() did not update 'last'; popping the last item caused the queue to disconnect unless there was only one item.
2011-02-20 21:00:24 +00:00
rubidium
0eaa2ffa63
(svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead
2011-02-20 20:58:32 +00:00
rubidium
d594a219c6
(svn r22121) -Fix: In case of high frame_freq one could get commands executed after a new network game was started
2011-02-20 20:55:21 +00:00
rubidium
e9fe58d7bf
(svn r22120) -Change: [NoAI] Prevent AIs from getting consistently over their allowed amount of operations by subtracting the amount they went over "budget" from the budget for the next "tick".
2011-02-20 20:28:49 +00:00
translators
7d24d642d9
(svn r22119) -Update from WebTranslator v3.0:
...
frisian - 48 changes by Taeke
tamil - 96 changes by sylvesterpious
urdu - 36 changes by yasirniazkhan
2011-02-20 18:45:08 +00:00
terkhen
dcd158b03e
(svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel).
2011-02-20 18:32:42 +00:00
frosch
bd9610ec3c
(svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road.
2011-02-20 15:19:16 +00:00
smatz
756cc6cf65
(svn r22116) -Codechange: use PoolBase::Clean() at more places
2011-02-19 23:05:47 +00:00
smatz
642fb19d4f
(svn r22115) -Fix (r22114): some comments and code ordering were wrong
2011-02-19 18:55:10 +00:00
translators
ef80fe703d
(svn r22114) -Update from WebTranslator v3.0:
...
danish - 3 changes by beruic
frisian - 13 changes by Taeke
2011-02-19 18:45:09 +00:00
smatz
1d9cae9afa
(svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit
2011-02-19 18:25:24 +00:00
smatz
5fd13843f7
(svn r22112) -Codechange: register all pools in a pool vector
2011-02-19 18:23:45 +00:00
rubidium
68bc93f950
(svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools
2011-02-19 18:02:17 +00:00
frosch
f575b45bae
(svn r22110) -Codechange: Remove WaterDrawTileStruct and use DrawTileSprites/DrawTileSeqStruct instead.
2011-02-19 14:57:15 +00:00
frosch
26ad79be5a
(svn r22109) -Fix (r21269, 21272): Missing undeffing of macros.
2011-02-19 14:55:31 +00:00
frosch
9e59436c61
(svn r22108) -Codechange: Replace some magic with some other magic though less easy to break.
2011-02-19 14:51:46 +00:00
frosch
1dd6d037ba
(svn r22107) -Cleanup (r1903): Remove unused struct.
2011-02-19 14:30:21 +00:00
frosch
57dc3ed716
(svn r22106) -Codechange: Add DrawTileSeqStruct::MakeTerminator(), DrawTileSeqStruct::IsTerminator(), DrawTileSeqStruct::IsParentSprite() to simplify stuff.
2011-02-19 13:16:34 +00:00
yexo
72e027e4d6
(svn r22105) -Fix: crash when copying an orderlist to a vehicle that already had orders
2011-02-18 21:46:45 +00:00
alberth
ff1e0a3ed3
(svn r22102) -Codechange: Also use the getopt function in strgen.
2011-02-18 20:52:42 +00:00
alberth
41a67a9b94
(svn r22101) -Codechange (r22098): Unify a bit of code.
2011-02-18 20:51:05 +00:00
alberth
8c2fc45153
(svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too.
2011-02-18 20:28:25 +00:00
alberth
b0b1c0dea9
(svn r22097) -Fix (r22096): Add files before commit.
2011-02-18 20:23:11 +00:00
alberth
9d0ff9d692
(svn r22096) -Codechange: Move openttd getopt implementation to its own file.
2011-02-18 20:14:30 +00:00
translators
bca5159951
(svn r22095) -Update from WebTranslator v3.0:
...
traditional_chinese - 11 changes by elleryq
danish - 40 changes by beruic
brazilian_portuguese - 41 changes by Luis_Mizuchiro
spanish - 1 changes by Terkhen
swedish - 22 changes by LordDaimos
tamil - 37 changes by ksvml
thai - 149 changes by m_vanillaconix
2011-02-18 18:45:23 +00:00
yexo
24753fbd35
(svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg
2011-02-17 23:14:43 +00:00
rubidium
1a5087be69
(svn r22093) -Fix [FS#4514]: The server list did not get sorted with one item in it, so the "position in the list" variable was never updated causing problems when using the keyboard shortcuts for scrolling
2011-02-17 21:05:44 +00:00
rubidium
848761e3a9
(svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value
2011-02-17 18:45:44 +00:00
translators
5fd9f87d34
(svn r22091) -Update from WebTranslator v3.0:
...
simplified_chinese - 41 changes by ww9980
danish - 23 changes by beruic, krak
brazilian_portuguese - 125 changes by Luis_Mizuchiro
thai - 19 changes by kenny
urdu - 15 changes by yasirniazkhan
2011-02-17 18:45:28 +00:00
translators
efd9aae5a1
(svn r22089) -Update from WebTranslator v3.0:
...
afrikaans - 96 changes by Maccie123
arabic_egypt - 29 changes by kasakg
danish - 69 changes by krak
indonesian - 17 changes by adjayanto
brazilian_portuguese - 25 changes by Luis_Mizuchiro
urdu - 80 changes by yasirniazkhan
2011-02-16 18:45:21 +00:00
terkhen
c36a22ba72
(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
2011-02-15 13:27:41 +00:00
smatz
a5b9858a36
(svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway
2011-02-15 13:15:12 +00:00
smatz
d2d6b263b3
(svn r22085) -Fix: assert when connecting to the admin port
2011-02-15 12:11:28 +00:00
frosch
949bfabe5e
(svn r22084) -Change: [NewGRF] Check grf version strictly and consider grfs with version < 2 as incompatible. If you have trouble with certain grfs from BaNaNaS, then bother the author about fixing the grf.
2011-02-14 21:41:52 +00:00
rubidium
22afd83964
(svn r22083) -Change: trunk is heading towards 1.2 now
2011-02-14 20:20:57 +00:00
glx
1b2ef66416
(svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, use desktop resolution
2011-02-14 20:16:36 +00:00
planetmaker
914f8e9f1d
(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments
2011-02-14 19:52:26 +00:00
terkhen
8e4b2c951d
(svn r22079) -Fix: The owner view of the smallmap was not updated after a company colour change.
2011-02-14 19:39:01 +00:00
rubidium
95b6aeaabd
(svn r22078) -Fix [FS#4499]: maximum train length interfered with wagon replacement when wagon removal was turned on
2011-02-14 19:18:12 +00:00
translators
95ec99132e
(svn r22077) -Update from WebTranslator v3.0:
...
latvian - 2 changes by skazhy
2011-02-14 18:45:08 +00:00
smatz
e8002f5b92
(svn r22076) -Fix (r22075): build failed with GCC
2011-02-14 12:39:45 +00:00
yexo
66543bde1d
(svn r22075) -Fix [FS#4501]: newgrfs with invalid multi-tile houses could cause a valid 1x1 house following it to be seen as multi-tile, causing crashes
2011-02-13 21:44:00 +00:00
yexo
b51c62f5af
(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed
2011-02-13 20:52:33 +00:00
yexo
f1377a228f
(svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight
2011-02-13 20:45:17 +00:00
rubidium
6a58f34878
(svn r22072) -Fix (r21966): flipping wasn't (correctly) disabled in some cases
2011-02-13 19:49:53 +00:00
yexo
c7038d8b4d
(svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus
2011-02-13 19:31:04 +00:00
rubidium
befa79ba4a
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
2011-02-12 21:30:57 +00:00
rubidium
a19bc28aba
(svn r22069) -Fix: delete all savegame packets, not just the first one
2011-02-12 21:29:35 +00:00
rubidium
adfd648031
(svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection
2011-02-12 21:09:34 +00:00
rubidium
92d0d6d10b
(svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again
2011-02-12 21:07:30 +00:00
rubidium
ece59dc0d1
(svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full
2011-02-12 18:45:05 +00:00
rubidium
2d4d43d00c
(svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built
2011-02-12 18:41:24 +00:00
rubidium
d8cada7563
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
2011-02-11 23:20:35 +00:00
rubidium
1dc5ba2210
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
2011-02-11 22:10:10 +00:00
rubidium
7de823b1bd
(svn r22062) -Fix: memory leak when saving fails mid-way
2011-02-11 21:30:26 +00:00
yexo
296af35741
(svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train
2011-02-11 20:54:49 +00:00
translators
37483180e8
(svn r22060) -Update from WebTranslator v3.0:
...
arabic_egypt - 46 changes by Company_director
hungarian - 20 changes by IPG
spanish - 1 changes by Terkhen
2011-02-11 18:45:13 +00:00
terkhen
8196b03074
(svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar.
2011-02-11 18:24:12 +00:00
rubidium
b187352663
(svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore
2011-02-11 13:38:34 +00:00
rubidium
13fd2cd335
(svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash
2011-02-11 09:33:38 +00:00
rubidium
246f6fe478
(svn r22056) -Fix [FS#4408]: metric and imperial HP are not the same. As imperial HP are used internally, set a conversion rate for metric HP
...
-Change: make the imperial HP to kW conversions a bit more precise
2011-02-11 08:17:12 +00:00
yexo
5f18d6d828
(svn r22055) -Fix [FS#4490]: [Squirrel] some invalid squirrel code caused the squirrel compiler to crash
2011-02-11 06:18:39 +00:00
rubidium
66a8c324db
(svn r22054) -Codechange: support for rounding the converted units to their closest integral value instead of flooring
2011-02-10 20:54:46 +00:00
terkhen
24983ec629
(svn r22053) -Fix: The land area information window was not updated after a language change.
2011-02-10 20:49:36 +00:00
translators
a1b79246e8
(svn r22052) -Update from WebTranslator v3.0:
...
catalan - 11 changes by arnau
2011-02-10 18:45:06 +00:00
terkhen
57a969017b
(svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding.
2011-02-10 18:32:08 +00:00
rubidium
50996e799b
(svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has.
2011-02-10 18:28:25 +00:00
terkhen
096c2857ee
(svn r22049) -Codechange: Add assert condition to GetRoadOwner.
2011-02-10 18:27:50 +00:00
glx
16dd93d3fb
(svn r22048) -Fix (r4495): company 0 does not always exist, so put temporary vehicles in a valid company
2011-02-10 15:58:22 +00:00
yexo
421ba1c342
(svn r22047) -Fix: selling a vehicle triggered the assert added in r22041
2011-02-10 13:17:24 +00:00
frosch
b7713a7e85
(svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders.
2011-02-09 21:40:32 +00:00
frosch
3a787f5a0b
(svn r22045) -Codechange: Move cancelling the current loading order on deleting the current order to a separate function.
2011-02-09 21:39:22 +00:00
rubidium
dda7b60a57
(svn r22044) -Fix [FS#4493]: update the consist cache when a part of a train is flipped in the depot
2011-02-09 20:45:40 +00:00
rubidium
15514a3011
(svn r22043) -Fix: invalidate the right windows when a part of a train is flipped in the depot
2011-02-09 20:45:07 +00:00
smatz
69789f3008
(svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so
2011-02-09 18:56:40 +00:00
smatz
fbfb0ffbf2
(svn r22041) -Codechange: add a check that we called PoolItem::CanAllocateItem() before actually allocating it
2011-02-09 18:55:51 +00:00
rubidium
67cbee4f64
(svn r22040) -Codechange: handle case where too many Engines would be loaded, and ensure we don't overfill the SpriteGroup pool
2011-02-09 18:46:55 +00:00
translators
f50f57b4d8
(svn r22039) -Update from WebTranslator v3.0:
...
dutch - 3 changes by habell
korean - 3 changes by junho2813
brazilian_portuguese - 99 changes by Luis_Mizuchiro
serbian - 1 changes by etran
2011-02-09 18:45:16 +00:00
terkhen
0828653cf9
(svn r22038) -Fix (r21406): Tab completion in chat did not cycle through all possible options.
2011-02-09 15:57:03 +00:00
rubidium
e76465bab9
(svn r22037) -Codechange: remove some unneeded (hidden) casting
2011-02-09 13:21:50 +00:00
rubidium
f4f5de5be1
(svn r22036) -Codechange: rename units to match coding style, and give conversion variables a more descriptive name
2011-02-09 13:05:04 +00:00
rubidium
fbb5f87801
(svn r22035) -Codechange: refactor (display) unit conversion to happen at a single place
2011-02-09 12:59:39 +00:00
rubidium
7c254110c0
(svn r22034) -Fix [FS#4488]: crash when watching the vehicle view of a vehicle that has multiple sequential nearest depot orders (or consists of a single nearest depot order) when there is no depot with index 0
2011-02-08 22:36:16 +00:00
smatz
5ccf5cc551
(svn r22033) -Fix: don't crash when there are too many objects generated already when placing transmitters
2011-02-08 21:49:39 +00:00
rubidium
05a846a574
(svn r22032) -Codechange: add some asserts to verify we don't allocate too many NetworkClientSockets/Infos
2011-02-08 21:47:10 +00:00
rubidium
537bd8a429
(svn r22031) -Fix: bad servers could crash a client
2011-02-08 21:45:38 +00:00
rubidium
5f7439a00f
(svn r22030) -Cleanup: dead code in NetworkGameWindow::OnInvalidateData (adf88)
2011-02-08 20:52:38 +00:00
rubidium
e1eeca6440
(svn r22029) -Fix [FS#4482]: the server list got not resorted/redrawn after NewGRFs were downloaded
2011-02-08 20:51:30 +00:00
rubidium
5286de116b
(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
2011-02-08 20:47:48 +00:00
translators
0c873d2bc6
(svn r22027) -Update from WebTranslator v3.0:
...
traditional_chinese - 38 changes by josesun
luxembourgish - 12 changes by Phreeze
2011-02-08 18:45:09 +00:00
smatz
9cd5243d04
(svn r22026) -Fix: don't crash when we generate too many objects while generating map
2011-02-08 18:39:29 +00:00
smatz
887a7724dc
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
2011-02-08 18:34:13 +00:00
smatz
364ef8e6e6
(svn r22024) -Fix [FS#4468]: verify we can allocate an OrderList before we actually try to do so (Rubidium)
2011-02-08 18:29:30 +00:00
smatz
b4273bcd35
(svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment before we actually try to do so
...
-Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
2011-02-08 18:27:21 +00:00
smatz
7af2470a78
(svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so
2011-02-08 18:21:55 +00:00
rubidium
1d0d7635e0
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
2011-02-07 22:49:38 +00:00
rubidium
a06b34bd4f
(svn r22020) -Fix: load of failures of WT3 to properly validate some strings...
2011-02-07 22:40:01 +00:00
rubidium
0395aab420
(svn r22019) -Codechange: s/functions.h/clear_func.h/
2011-02-07 22:38:02 +00:00
rubidium
bc3ce1e53b
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
2011-02-07 22:37:22 +00:00
rubidium
faf5d899f7
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
2011-02-07 22:29:47 +00:00
rubidium
68ace1b79b
(svn r22016) -Fix [FS#4479]: when paused and having the allowed actions while paused setting on "no actions" cheating money would fail
2011-02-07 22:23:37 +00:00
rubidium
3745ff7338
(svn r22015) -Codechange: move yet another pair of methods from functions.h
2011-02-07 22:22:20 +00:00
rubidium
ec9e0690eb
(svn r22014) -Codechange: move some more functions out of functions.h
2011-02-07 22:15:46 +00:00
rubidium
750d369a2a
(svn r22013) -Codechange: move some functions out of functions.h
2011-02-07 22:08:11 +00:00
planetmaker
68d03b66e3
(svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting
2011-02-07 20:47:58 +00:00
planetmaker
44495f8dba
(svn r22011) -Codechange: Rename a few variables and enhance code clearity
2011-02-07 20:47:06 +00:00
planetmaker
64280e63fb
(svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables
2011-02-07 20:45:31 +00:00
translators
28a72bbf47
(svn r22009) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 11 changes by VoyagerOne
estonian - 3 changes by notAbot
romanian - 10 changes by kkmic
russian - 5 changes by KorneySan, Lone_Wolf, perk11
spanish - 3 changes by Terkhen
swedish - 9 changes by Ledel
2011-02-07 18:45:26 +00:00
rubidium
79fd8a362b
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
2011-02-07 09:51:16 +00:00
rubidium
64cba95fbe
(svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges
2011-02-07 09:50:20 +00:00
rubidium
cebe8ab630
(svn r22004) -Change [FS#4471]: always report mammoth trains are disabled to NewGRFs, and allow the maximum train length to be modified in multiplayer as well
2011-02-06 21:31:33 +00:00
translators
7ffef9c1e6
(svn r22002) -Update from WebTranslator v3.0:
...
belarusian - 4 changes by KorneySan, Wowanxm
finnish - 38 changes by jpx_
italian - 3 changes by lorenzodv
japanese - 42 changes by kokubunzi
polish - 7 changes by Simek
portuguese - 122 changes by jomasaco
russian - 4 changes by Lone_Wolf
serbian - 4 changes by etran
slovenian - 10 changes by ntadej
2011-02-06 18:45:32 +00:00
alberth
4364cec392
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
2011-02-06 18:26:50 +00:00
alberth
d84502c432
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
2011-02-06 18:11:39 +00:00
alberth
a5921c0514
(svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE.
2011-02-06 17:21:49 +00:00
alberth
870d2eafbf
(svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE.
2011-02-06 17:19:56 +00:00
rubidium
fd86b0608d
(svn r21997) -Fix [FS#4473]: when the difference between force and resistance is smaller than the mass(*4) there would be no acceleration anymore, even when at higher (or lower) speed the force and resistance balance out better
2011-02-06 16:45:27 +00:00
rubidium
fd94ed3009
(svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost
2011-02-06 15:01:52 +00:00
frosch
8b2f2c09e5
(svn r21995) -Cleanup (r21994): Remove obsolete comment.
2011-02-06 14:33:04 +00:00
frosch
a8859bbff9
(svn r21994) -Fix: Make computations of closest-land/water-distances handle waterish tiles more correctly.
2011-02-06 13:57:17 +00:00
planetmaker
afad7920ef
(svn r21993) -Fix (r19720): When building a lock on dry land costs for clearing water were deducted rather than for building canals
2011-02-06 12:16:06 +00:00
yexo
6f730b1124
(svn r21992) -Fix [FS#4467]: AIs trying to change the AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags
2011-02-06 12:15:17 +00:00
frosch
3bb7f7ebe4
(svn r21991) -Fix [FS#4466]: The share/copy-orders-cursor was not updated to refer to the new vehicle when it got autoreplaced/-renewed.
2011-02-05 23:10:31 +00:00
frosch
2fbecaf4bf
(svn r21990) -Cleanup (r14085): Remove unneeded test.
2011-02-05 23:02:52 +00:00
frosch
9aa185572b
(svn r21989) -Fix (r21954): Vehicle status bar glitches on speed changes.
2011-02-05 21:13:54 +00:00
frosch
d82475cf88
(svn r21988) -Change: Disable smooth scrolling for GHK_CENTER_ZOOM when zooming is also involved.
2011-02-05 21:07:25 +00:00
frosch
ef3ec0f8c8
(svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool.
2011-02-05 20:41:13 +00:00
frosch
faa2a26ae1
(svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF.
2011-02-05 20:37:00 +00:00
frosch
2679051c68
(svn r21985) -Codechange: Use VehicleOrderID where appropiate.
2011-02-05 20:26:55 +00:00
planetmaker
e145d632cd
(svn r21984) -Fix: Compilation without AI was broken
2011-02-05 19:36:02 +00:00
translators
b0e4ff1dff
(svn r21983) -Update from WebTranslator v3.0:
...
belarusian - 6 changes by Wowanxm
czech - 4 changes by CrazyBenny
english_US - 3 changes by Rubidium
estonian - 7 changes by notAbot
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 9 changes by planetmaker
italian - 10 changes by lorenzodv, planetmaker
japanese - 11 changes by kokubunzi
polish - 21 changes by Simek
russian - 1 changes by Lone_Wolf
serbian - 9 changes by etran
spanish - 5 changes by Terkhen
ukrainian - 9 changes by Fixer
2011-02-05 18:45:47 +00:00
frosch
e9e6444138
(svn r21982) -Add: Wheel scrolling to console.
2011-02-05 17:54:36 +00:00
frosch
82f260e15f
(svn r21981) -Codechange: Deduplicate the code and unify the bounds of console scrolling.
2011-02-05 17:53:29 +00:00
frosch
582d30c979
(svn r21980) -Codechange: Draw one line more at the top of the console, i.e. clip the top-most line if there is not enough room instead of not drawing it at all.
2011-02-05 17:44:44 +00:00
frosch
c000f6b939
(svn r21979) -Fix: Scrolling of the console in pages used wrong line height and scrolled too much.
2011-02-05 17:41:05 +00:00
frosch
e06c412a05
(svn r21978) -Codechange/Fix: Remove usage of Window::top and left from IConsoleWindow::OnPaint(). Drawing is done relative to the window position. But as the position is (0,0) anyway, it was not noticeable.
2011-02-05 17:34:13 +00:00
frosch
9e1695aa1e
(svn r21977) -Codechange: Always cal Window::OnMouseWheel(), independent of viewport scroll/zoom settings.
2011-02-05 16:36:37 +00:00
alberth
b992a93996
(svn r21976) -Doc: Document several crash handling functions.
2011-02-05 16:20:55 +00:00
frosch
915e339d0f
(svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though.
2011-02-05 16:07:23 +00:00
terkhen
a4b08dddd1
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
2011-02-05 13:46:09 +00:00
terkhen
91dcc9e016
(svn r21973) -Fix: Redraw the town authority window after modifying town authority settings.
2011-02-05 13:42:57 +00:00
alberth
7935eab3dc
(svn r21972) -Fix: Replace 'None' industries in the generation window with more descriptive label.
2011-02-05 11:42:27 +00:00
alberth
7da952115b
(svn r21971) -Fix (r21969): Subversion auto-increments revision on commit.
2011-02-05 10:38:40 +00:00
rubidium
50d646ca7b
(svn r21970) -Fix [FS#4464]: Crash when a multiplayer company goes bankrupt with 'you' in it
2011-02-05 10:38:31 +00:00
alberth
bdf5a1c2f7
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
2011-02-05 10:28:31 +00:00
rubidium
00a766ed27
(svn r21966) -Change [FS#4462]: [NewGRF] Disable the flipping of train engines/wagons in the depot by default for NewGRFs
2011-02-04 19:20:47 +00:00
translators
1cd4b3bb86
(svn r21965) -Update from WebTranslator v3.0:
...
czech - 6 changes by SmatZ
dutch - 15 changes by Yexo
english_US - 10 changes by Rubidium
finnish - 9 changes by jpx_
french - 9 changes by glx
russian - 6 changes by Lone_Wolf
spanish - 6 changes by Terkhen
2011-02-04 18:47:33 +00:00
rubidium
bbd308adef
(svn r21963) -Fix: saying something twice in an error message is not needed
2011-02-04 18:32:56 +00:00
rubidium
0fe0225751
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
2011-02-04 16:40:38 +00:00
rubidium
773c6765e6
(svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive
2011-02-04 16:07:42 +00:00
rubidium
c85d350310
(svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
...
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
2011-02-04 15:40:35 +00:00
rubidium
46b3d114a8
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
2011-02-04 15:37:23 +00:00
rubidium
4355231f67
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
2011-02-04 15:29:50 +00:00
rubidium
4c5ca17486
(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it
2011-02-04 15:13:20 +00:00
rubidium
71f4067d19
(svn r21956) -Cleanup: always draw the bridge pillars
2011-02-04 14:38:33 +00:00
rubidium
313c1bc171
(svn r21955) -Cleanup: always show the long date in the status bar
2011-02-04 14:38:15 +00:00
rubidium
2ad1279725
(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view
2011-02-04 14:37:24 +00:00
smatz
3057a26fd5
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
2011-02-04 14:11:14 +00:00
rubidium
732a0d069a
(svn r21952) -Codechange: unify the company clearing code for bankruptcy with the command to remove companies
2011-02-04 10:31:40 +00:00
yexo
c70ee16ecf
(svn r21951) -Fix: [NewGRF] reset the carry flag every 4 bytes in action6 when adding more than one variable
2011-02-04 08:29:14 +00:00
translators
053420399a
(svn r21950) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
2011-02-03 18:45:07 +00:00
smatz
f3e550e9bd
(svn r21949) -Change: randomize the vehicle a small UFO targets, do not use the one with lowest index
2011-02-02 23:06:38 +00:00
smatz
a4bf3be864
(svn r21948) -Fix: road vehicle was moved under the bridge when it was destroyed by an UFO while on a bridge
2011-02-02 22:40:04 +00:00
smatz
3bfad0243b
(svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there
2011-02-02 22:20:48 +00:00
rubidium
547421496e
(svn r21946) -Fix [FS#4447]: assertion/funny behaviour when a road vehicle reverses while overtaking, so abort the overtake attempt when reversing the road vehicle
2011-02-02 22:13:13 +00:00
rubidium
bbe94dc497
(svn r21945) -Codechange: simplify setting the overtaking counter and remove the magic from its numbers
2011-02-02 22:06:14 +00:00
smatz
a42c0ea88b
(svn r21944) -Codechange: give name to one magic constant
2011-02-02 22:01:01 +00:00
rubidium
8118f74575
(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking
2011-02-02 21:56:56 +00:00
smatz
54161949d1
(svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion
2011-02-02 19:22:35 +00:00
translators
e846701b3c
(svn r21941) -Update from WebTranslator v3.0:
...
maltese - 22 changes by peter88823
2011-02-02 18:45:05 +00:00
planetmaker
0364726bbb
(svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ)
2011-02-02 16:46:42 +00:00
smatz
b15719bbd2
(svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough
2011-02-02 14:50:57 +00:00
alberth
0ebc548a89
(svn r21938) -Codechange: AfterLoadGame() is no longer friend of Vehicle.
2011-02-01 21:18:27 +00:00
translators
1a971fb6d6
(svn r21937) -Update from WebTranslator v3.0:
...
turkish - 32 changes by leventpasha
2011-02-01 18:45:06 +00:00
terkhen
9765a297e7
(svn r21936) -Fix [FS#4457](r19231): Do not remove existing road/tram bits when overbuilding stops of the opposite road type.
...
-Change: Build only the required road/tram bits when building stops with drag and drop.
2011-02-01 10:48:10 +00:00
terkhen
2e1eafbdc3
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
2011-02-01 10:43:25 +00:00
frosch
49ea0e9092
(svn r21934) -Fix (r21933): The original plan was to run the regression before committing.
2011-01-31 20:56:02 +00:00
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31 20:44:15 +00:00
rubidium
67a5cd0b18
(svn r21932) -Document: some tidbits related to vehicles
2011-01-31 20:27:33 +00:00
translators
8f67baae2e
(svn r21931) -Update from WebTranslator v3.0:
...
vietnamese - 81 changes by myquartz
2011-01-31 18:45:07 +00:00
alberth
da0b09557c
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
2011-01-30 21:32:21 +00:00
planetmaker
df8c4bdbfa
(svn r21929) -Fix [FS#4554]: The town window would not be invalidated in the scenario editor if the ground changed and thus the required cargos for town growth
2011-01-30 19:14:48 +00:00
translators
3d34b9e4a2
(svn r21928) -Update from WebTranslator v3.0:
...
portuguese - 5 changes by JayCity
2011-01-30 18:45:06 +00:00
alberth
1e65afc62a
(svn r21927) -Change: Comment-style fixes.
2011-01-30 12:58:54 +00:00
frosch
f48838ef3f
(svn r21926) -Fix [FS#4450](r21924): v != w.
2011-01-29 23:42:40 +00:00
alberth
eea2f90da7
(svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions.
2011-01-29 21:37:11 +00:00
terkhen
734994c9ba
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
...
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
terkhen
50b0e10026
(svn r21923) -Codechange: Unify articulated vehicle iteration functions.
2011-01-29 17:27:32 +00:00
terkhen
9626e0bf2b
(svn r21922) -Codechange: Unify articulated vehicle checking functions.
2011-01-29 17:26:23 +00:00
terkhen
23ffef05ce
(svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be needed by some Vehicle functions.
2011-01-29 17:21:39 +00:00
translators
3cd1f15523
(svn r21920) -Update from WebTranslator v3.0:
...
basque - 25 changes by Thadah
greek - 6 changes by fumantsu
spanish - 1 changes by Terkhen
2011-01-27 18:45:10 +00:00
planetmaker
5e82fee690
(svn r21919) -Fix: Converting an expensive rail type to a cheap one could give more money than removing and rebuilding cost
2011-01-27 00:38:12 +00:00
rubidium
62e5afcdf8
(svn r21918) -Fix [FS#4443]: Languages improperly sorted in the "start server" window (adf88)
2011-01-26 22:42:50 +00:00
translators
a7634b399d
(svn r21917) -Update from WebTranslator v3.0:
...
basque - 28 changes by Thadah
indonesian - 15 changes by adjayanto
japanese - 11 changes by kokubunzi
luxembourgish - 250 changes by Phreeze
brazilian_portuguese - 130 changes by Luis_Mizuchiro
2011-01-26 18:45:17 +00:00
rubidium
ab4c419fcf
(svn r21916) -Fix [FS#4442]: the minimum speed needed for (realistic) acceleration to work properly can sometimes be more than the (temporary) maximum speed causing Clamp to "fail". Make sure that the minimum speed always overrules the maximum speed
2011-01-26 17:37:12 +00:00
rubidium
430fda01dc
(svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
2011-01-26 17:35:03 +00:00
rubidium
b4a175ba41
(svn r21914) -Codechange: move the algorithmic part of Train::UpdateSpeed to a function in GroundVehicle
2011-01-26 17:34:07 +00:00
rubidium
982de9cf86
(svn r21913) -Codechange: move bridge speed limiting for road vehicles to the same (logically speaking) place as for trains
2011-01-26 17:33:14 +00:00
rubidium
4fff63d790
(svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well
2011-01-26 17:31:44 +00:00
rubidium
b11f1bd4ed
(svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle
2011-01-26 17:31:07 +00:00
rubidium
12b64a12b0
(svn r21910) -Codechange: rename some autoreplace internal functions so they don't collide with globabl functions
2011-01-26 17:30:17 +00:00
rubidium
8017c2a3d7
(svn r21909) -Fix: some missing spaces
2011-01-26 08:14:36 +00:00
translators
2bec6123f7
(svn r21908) -Update from WebTranslator v3.0:
...
german - 2 changes by dihedral
brazilian_portuguese - 36 changes by Luis_Mizuchiro
ukrainian - 3 changes by Fixer
2011-01-25 18:45:13 +00:00
translators
83ad2c4dfa
(svn r21906) -Update from WebTranslator v3.0:
...
polish - 2 changes by Simek
spanish - 1 changes by Terkhen
turkish - 4 changes by niw3
ukrainian - 2 changes by Fixer
2011-01-24 18:45:17 +00:00
translators
4c37e0ec2c
(svn r21905) -Update from WebTranslator v3.0:
...
japanese - 6 changes by kokubunzi
polish - 13 changes by Simek
slovenian - 2 changes by ntadej
spanish - 4 changes by Terkhen
ukrainian - 2 changes by Fixer
2011-01-23 18:45:20 +00:00
frosch
072f6d67ef
(svn r21904) -Fix: Include the capacity of non-refittable vehicles in the refitted-capacity, if their cargo matches.
2011-01-23 18:31:04 +00:00
smatz
25a22ec255
(svn r21903) -Codechange: warn only once for a train that has invalid length, not for each its wagon with invalid length
2011-01-23 17:50:24 +00:00
frosch
9a1c0f139a
(svn r21902) -Fix: Do not count articulated parts when passing the number of vehicles to refit to the command. That may exceed 8 bits.
2011-01-23 14:58:54 +00:00
frosch
3f103c35a6
(svn r21901) -Codechange: Save some bits in p2 of CmdRefitVehicle.
2011-01-23 13:25:26 +00:00
yexo
967bb84af3
(svn r21900) -Fix: [NoAI] hide automatic orders from AIs as they have no way of dealing with them
2011-01-23 13:08:50 +00:00
frosch
890a18c738
(svn r21899) -Fix: Do not show a vehicle selection in the RefitWindow for refit orders. You cannot select anything anyway.
2011-01-23 13:00:50 +00:00
rubidium
81ef0dbcfc
(svn r21898) -Fix [FS#4438]: using a pointer-iterator and adding things (thus reallocating) to the iterated array caused OpenTTD to crash on invalid pointers
2011-01-23 11:20:55 +00:00
rubidium
0de8332366
(svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortly
2011-01-23 00:11:15 +00:00
rubidium
1339d75f75
(svn r21896) -Cleanup: remove the unused StartScenario
2011-01-22 23:13:39 +00:00
rubidium
d74fc0bee3
(svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME
2011-01-22 23:08:32 +00:00
rubidium
7eadf07e44
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
2011-01-22 23:08:18 +00:00
rubidium
0537672324
(svn r21893) -Update (r21892): remove the strings from the other language files as well
2011-01-22 23:07:51 +00:00
rubidium
cc8da3e5ab
(svn r21892) -Fix [FS#4421]: only some scenarios from the main scenario folder and no heightmaps could be started in the "start server" window
2011-01-22 23:07:23 +00:00
translators
03fb95f92f
(svn r21891) -Update from WebTranslator v3.0:
...
danish - 1 changes by nurriz
japanese - 12 changes by kokubunzi
slovenian - 1 changes by ntadej
turkish - 107 changes by niw3
ukrainian - 60 changes by Fixer
2011-01-22 18:45:21 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
rubidium
849772f0fd
(svn r21889) -Fix [FS#4434]: crash when scrolling outside of the main window (with some video backends)
2011-01-22 14:51:36 +00:00
rubidium
9e8db65223
(svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree
2011-01-22 10:33:16 +00:00
rubidium
6ff844e7c4
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
2011-01-22 10:10:03 +00:00
rubidium
eb299736c1
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
2011-01-22 09:53:15 +00:00
yexo
0cdb1c78cd
(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters
2011-01-21 23:10:02 +00:00
translators
c9bd9b0c23
(svn r21884) -Update from WebTranslator v3.0:
...
bulgarian - 19 changes by yxomo
greek - 15 changes by Gonik, fumantsu
japanese - 201 changes by kokubunzi, nex259
ukrainian - 100 changes by Fixer
2011-01-21 18:45:18 +00:00
smatz
8b9f0d5ade
(svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed
2011-01-21 17:35:17 +00:00
smatz
e860075a16
(svn r21882) -Codechange: make use of the fact that vehicle's Z position can change only if it has GVF_GOINGUP_BIT or GVF_GOINGDOWN_BIT set
2011-01-21 16:51:56 +00:00
smatz
2a2363e819
(svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames
2011-01-21 16:48:41 +00:00
smatz
a6fcd78538
(svn r21880) -Fix: when a train after reversing ended at the last bit of a bridge ramp and directed outside the bridge, it could still have track set to TRACK_BIT_WORMHOLE
2011-01-21 16:35:12 +00:00
smatz
e308c348f0
(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes
2011-01-21 16:20:55 +00:00
smatz
46dfdfd72b
(svn r21878) -Codechange: move parts of UpdateInclination() to separate functions
2011-01-21 16:13:54 +00:00
smatz
4432f7799d
(svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.h
2011-01-21 15:48:52 +00:00
smatz
6dc24cf643
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
2011-01-21 14:43:38 +00:00
smatz
656caf16db
(svn r21875) -Codechange: indentation of some comments was wrong
2011-01-21 01:38:30 +00:00
smatz
1ac51128f5
(svn r21874) -Fix: when a single-vehicle train was reversed while on a slope, its GOINGUP/DOWN weren't swapped
2011-01-21 00:11:13 +00:00
translators
fa64ae9b3a
(svn r21869) -Update from WebTranslator v3.0:
...
japanese - 131 changes by kokubunzi
slovenian - 4 changes by ntadej
2011-01-20 18:45:10 +00:00
rubidium
289206b033
(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar rail types dropdown should happen for the autoreplace dropdown as well
2011-01-20 12:40:40 +00:00
rubidium
4682434bc9
(svn r21867) -Codechange: move creating the rail type dropdown to a more general location
2011-01-20 12:40:04 +00:00
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
2011-01-20 12:22:38 +00:00
rubidium
6a2ae92811
(svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes
2011-01-20 09:35:16 +00:00
rubidium
89a135293a
(svn r21864) -Fix [FS#4430]: distant-join station would build at the wrong location when having persistent building turned on and selecting a "second" location for the station tile
2011-01-19 23:59:29 +00:00
rubidium
6435a89c28
(svn r21863) -Fix (r21849): load the amount that should be loaded instead of the amount that should not be loaded
2011-01-19 20:40:27 +00:00
terkhen
d426906a01
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
2011-01-19 20:04:09 +00:00
translators
be44f1306f
(svn r21861) -Update from WebTranslator v3.0:
...
japanese - 92 changes by kokubunzi
spanish - 52 changes by Terkhen
ukrainian - 2 changes by Fixer
2011-01-19 18:45:12 +00:00
terkhen
b5468e7a80
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
2011-01-19 18:44:13 +00:00
terkhen
613743538d
(svn r21859) -Codechange: Move train subtype flags to GroundVehicle.
2011-01-19 18:42:54 +00:00
terkhen
cfbbcf1597
(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.
2011-01-19 18:41:53 +00:00
rubidium
3f9fa65a42
(svn r21855) -Feature [FS#4368]: [Network] Console command to change the password of other companies for servers (dihedral)
2011-01-19 16:52:57 +00:00
rubidium
795a528328
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
2011-01-19 16:47:40 +00:00
rubidium
e54a1f6721
(svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral)
2011-01-19 16:37:06 +00:00
rubidium
e95718bf43
(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)
2011-01-19 16:35:11 +00:00
rubidium
c9609bbbc2
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
2011-01-19 16:32:23 +00:00
rubidium
a82118f360
(svn r21850) -Codechange: move password hashing to a more general location (dihedral)
2011-01-19 16:30:09 +00:00
rubidium
2707186f6a
(svn r21849) -Codechange: move merging/splitting of cargopackets into a helper function (fonsinchen)
2011-01-19 16:25:00 +00:00
rubidium
07e14525b8
(svn r21848) -Codechange: unification of comment style for cargopacket.*
2011-01-19 16:20:26 +00:00
rubidium
922d60f516
(svn r21847) -Fix [FS#4423]: slowing down of trains was done by reducing the speed by 10%, but also when you're just 1% too fast, so limit the slowdown till the new maximum speed
2011-01-19 08:24:38 +00:00
rubidium
9ca4b629cd
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
2011-01-18 23:09:43 +00:00
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
2011-01-18 22:31:06 +00:00
rubidium
6c9078fd30
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
2011-01-18 22:17:15 +00:00
rubidium
d89095b3ec
(svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z].
2011-01-18 21:58:22 +00:00
rubidium
b8c9988d9f
(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
2011-01-18 21:30:59 +00:00
rubidium
6371b75bcc
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
2011-01-18 21:28:07 +00:00
rubidium
561449992a
(svn r21838) -Change: allow LMB scrolling with the mouse outside of the extra viewport instead of canceling scrolling when going slightly over the edge
2011-01-18 21:09:13 +00:00
rubidium
22d17aa745
(svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on
2011-01-18 21:08:19 +00:00
smatz
c0b051eb33
(svn r21836) -Fix: when a train was reversed while inside a tunnel/bridge, it wouldn't have (re)set the GOINGUP/DOWN bits after leaving the tunnel/bridge
2011-01-18 20:40:36 +00:00
smatz
772de6b52d
(svn r21835) -Codechange: use UpdateStatusAfterSwap() instead of copying the same code three times
2011-01-18 20:06:56 +00:00
translators
488b525161
(svn r21834) -Update from WebTranslator v3.0:
...
hungarian - 4 changes by IPG
japanese - 151 changes by kokubunzi
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
ukrainian - 4 changes by Fixer
2011-01-18 18:45:18 +00:00
rubidium
6a17bf91e3
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
2011-01-18 18:14:14 +00:00
rubidium
3f900d3580
(svn r21832) -Feature: limit vehicle lateness to the length of a full timetable cycle, e.g. when a cycle takes 50 days and the vehicle is 65 days later reduce the lateness to 15 days
2011-01-18 14:27:43 +00:00
rubidium
39d7f3b2bd
(svn r21831) -Fix [FS#4414]: service orders for trains/aircraft would (sometimes) not get a time when autofilling
2011-01-18 14:25:45 +00:00
terkhen
ff6aeb8791
(svn r21830) -Fix: Deunionize a union which was not initialized correctly.
2011-01-17 19:40:06 +00:00
translators
39c5cfc5d1
(svn r21829) -Update from WebTranslator v3.0:
...
belarusian - 4 changes by KorneySan
croatian - 2 changes by VoyagerOne
czech - 1 changes by CrazyBenny
dutch - 4 changes by habell
english_US - 1 changes by Rubidium
estonian - 3 changes by notAbot
finnish - 1 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
polish - 1 changes by amateja
romanian - 24 changes by kkmic
russian - 4 changes by KorneySan, Lone_Wolf
spanish - 2 changes by Terkhen
swedish - 3 changes by Ledel, urdh
ukrainian - 34 changes by Fixer
2011-01-17 18:45:51 +00:00
rubidium
b3fdf69ab5
(svn r21827) -Cleanup: remove string removed in r21826 from other languages too
2011-01-16 21:11:31 +00:00
rubidium
62128e8263
(svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour
2011-01-16 21:10:41 +00:00
translators
805afdb002
(svn r21825) -Update from WebTranslator v3.0:
...
catalan - 4 changes by arnau
czech - 2 changes by SmatZ
english_US - 1 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
polish - 3 changes by nouwak
serbian - 1 changes by etran
spanish - 163 changes by Terkhen
swedish - 1 changes by Ledel
ukrainian - 1 changes by Fixer
2011-01-16 18:45:37 +00:00
smatz
92b90d877e
(svn r21824) -Codechange: don't call GetSlopeZ() when the ground vehicle is on a flat tile
2011-01-16 18:18:45 +00:00
alberth
32cd182ecc
(svn r21822) -Codechange: Merge event handling code.
2011-01-16 11:40:36 +00:00
alberth
4a203e8a49
(svn r21821) -Codechange: Clean up the jump conditions.
2011-01-16 11:39:57 +00:00
alberth
1e7c3fd2ff
(svn r21820) -Codechange: Concatenate both functions.
2011-01-16 11:39:09 +00:00
alberth
a2297dc594
(svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former.
2011-01-16 11:37:54 +00:00
terkhen
b8559492b5
(svn r21818) -Change: Rename the genders of the spanish translation.
2011-01-16 11:00:42 +00:00
rubidium
7ab524b048
(svn r21817) -Change: only show rail/road types that will eventually be available in-game. For example don't show trams when there is no tram NewGRF loaded
2011-01-16 10:25:47 +00:00
planetmaker
9b4beb0a5c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
2011-01-15 22:50:49 +00:00
rubidium
7645c5ac43
(svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities
2011-01-15 22:40:54 +00:00
frosch
6e4dd56158
(svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7.
2011-01-15 21:13:47 +00:00
terkhen
4d8a93c870
(svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view.
2011-01-15 20:23:15 +00:00
alberth
a1df4bea68
(svn r21812) -Fix (r21754): Don't try to scroll the matrix widget to position -1.
2011-01-15 19:54:53 +00:00
rubidium
89f245ab2f
(svn r21811) -Fix: guess what...
2011-01-15 18:46:42 +00:00
translators
1d3ce9ef1b
(svn r21810) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
estonian - 2 changes by notAbot
italian - 2 changes by lorenzodv
serbian - 4 changes by etran
spanish - 3 changes by Terkhen
2011-01-15 18:45:19 +00:00
rubidium
bd9f07e5a0
(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen)
2011-01-15 18:19:04 +00:00
rubidium
4784c3ac3c
(svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen)
2011-01-15 18:16:46 +00:00
rubidium
bc9afec3b0
(svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen)
2011-01-15 18:14:29 +00:00
terkhen
53c9846f14
(svn r21806) -Codechange: Correct additional appearances of the same typo.
2011-01-15 16:27:04 +00:00
terkhen
93b26e8e3d
(svn r21805) -Codechange: Correct a typo.
2011-01-15 15:58:03 +00:00
smatz
0ab078158e
(svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead
2011-01-15 15:51:16 +00:00
terkhen
679cd3c21b
(svn r21803) -Cleanup: Remove unnecessary semicolons.
2011-01-15 15:36:58 +00:00
smatz
2709454040
(svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day
2011-01-15 14:20:34 +00:00
alberth
7be31ee03e
(svn r21801) -Fix (r21772): Attach scrollbar to select matrix in object gui.
2011-01-15 14:17:53 +00:00
rubidium
0c497dd113
(svn r21800) -Fix [FS#3569]: under certain circumstances one could crash a competitor's train; take the lazy non-future proof version of the fix from the 1.0 branch as fixing the real bug is significantly more complex and might even break some backwards compatability if not done perfectly
2011-01-15 09:53:21 +00:00
smatz
1b3e2309df
(svn r21799) -Fix: further variables need to be reset when we loaded a TTDPatch savegame in the past
2011-01-15 00:10:16 +00:00
smatz
804542b3f3
(svn r21798) -Fix: loading a TTO savegame failed after loading a TTDP savegame with vehicle multiplier bigger than 1
2011-01-14 22:23:09 +00:00
rubidium
6b86ee9888
(svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long
2011-01-14 22:08:40 +00:00
rubidium
080a941eda
(svn r21796) -Fix [FS#4398]: drive through road stop state wasn't properly converted from TTDPatch savegames
2011-01-14 21:54:37 +00:00
rubidium
85255ea001
(svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well
2011-01-14 20:52:22 +00:00
smatz
75351f4043
(svn r21794) -Fix (r21790): convert train orders too (Rubidium)
2011-01-14 19:51:50 +00:00
smatz
110e25e859
(svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames
2011-01-14 18:58:03 +00:00
translators
26eb9eb7e2
(svn r21792) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 8 changes by CrazyBenny, marek995
dutch - 1 changes by habell
english_US - 3 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 5 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
latvian - 1 changes by frosch
polish - 1 changes by wojteks86
russian - 1 changes by KorneySan
spanish - 4 changes by Terkhen
swedish - 1 changes by spacejens
turkish - 9 changes by niw3
ukrainian - 1 changes by Fixer
vietnamese - 1 changes by nglekhoi
2011-01-14 18:46:03 +00:00
rubidium
c6b46725db
(svn r21791) -Fix [FS#4407]: off-by-one-ish for the terraforming limit
2011-01-14 18:45:14 +00:00
smatz
c58a910c8e
(svn r21790) -Fix [FS#4398]: TTDPatch savegames can have train waypoints encoded as buoys
2011-01-14 16:49:29 +00:00
frosch
fad00367ae
(svn r21789) -Fix [FS#4405]: When the font misses the fallback character '?', use the sprite font's '?' instead.
2011-01-14 16:39:41 +00:00
frosch
93ae848b0a
(svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function.
2011-01-14 16:36:34 +00:00
frosch
6cb017456a
(svn r21787) -Codechange: Pass the allocator function to use to ReadSprite().
2011-01-14 16:28:23 +00:00
smatz
c53c869556
(svn r21786) -Fix [FS#4398]: don't trust rail station width and height data stored by TTDPatch, it is invalid for stations wider or higher than 7
2011-01-14 16:20:25 +00:00
frosch
d811238dd0
(svn r21785) -Codechange: Make ReadSprite() not operate on the sprite chache directly.
2011-01-14 16:16:33 +00:00
smatz
ff469ab352
(svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name
2011-01-14 16:15:05 +00:00
frosch
ee67d10c80
(svn r21783) -Cleanup (r14997): Remove redundant assignment.
2011-01-14 16:09:51 +00:00
frosch
3d1008318b
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
2011-01-14 15:34:33 +00:00
planetmaker
09d7f172a6
(svn r21781) -Change: Make the description of the setting on how to obtain the tooltip a bit clearer
2011-01-14 14:54:29 +00:00
terkhen
28676531b0
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
2011-01-14 13:19:23 +00:00
terkhen
1b237216a8
(svn r21779) -Cleanup(r21778): Remove unneeded space at the start of a line.
2011-01-14 12:46:05 +00:00
terkhen
eb2b510e01
(svn r21778) -Add: After building a road or tram tunnel, connect it to any existing road or tram.
2011-01-14 12:01:07 +00:00
terkhen
87dade4698
(svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram.
2011-01-14 12:00:07 +00:00
terkhen
998246430a
(svn r21776) -Codechange: Give a more appropriate name to the road connection function.
...
-Document: Add doxygen comments to the function.
2011-01-14 11:55:40 +00:00
alberth
e8e535f58c
(svn r21775) -Add: Allow vertical resizing of the newobject gui.
2011-01-13 22:02:13 +00:00
alberth
ab91d8eb4f
(svn r21774) -Change: Update the other languages too.
2011-01-13 22:01:42 +00:00
alberth
313654f18d
(svn r21773) -Change: Remove the dropdown, and make BOW_OBJECT_LIST a list of newobject classes.
2011-01-13 21:59:39 +00:00
alberth
b1546da65e
(svn r21772) -Feature: Add a clickable display of the available objects in the newobject gui.
2011-01-13 21:55:41 +00:00
translators
00f9a36645
(svn r21771) -Update from WebTranslator v3.0:
...
czech - 3 changes by CrazyBenny
marathi - 28 changes by jcravi
2011-01-13 18:45:10 +00:00
translators
0e802c462d
(svn r21770) -Update from WebTranslator v3.0:
...
latvian - 135 changes by dzhins
portuguese - 4 changes by JayCity
serbian - 1 changes by etran
2011-01-12 18:45:13 +00:00
translators
49e191cc8e
(svn r21769) -Update from WebTranslator v3.0:
...
latvian - 21 changes by dzhins
serbian - 8 changes by etran
swedish - 2 changes by Ledel
2011-01-11 18:45:13 +00:00
frosch
12b4fa7dba
(svn r21768) -Fix [FS#4396]: Diagonal tile iterator needed a special case for A * 0 selections.
2011-01-11 16:45:45 +00:00
rubidium
7e6ccf3a0a
(svn r21767) -Fix [FS#4397]: don't limit tile clearing during bankruptcy
2011-01-10 21:58:05 +00:00
translators
60874f88d0
(svn r21766) -Update from WebTranslator v3.0:
...
belarusian - 6 changes by KorneySan, Wowanxm
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
french - 1 changes by glx
italian - 1 changes by lorenzodv
norwegian_bokmal - 6 changes by leaderroy
polish - 2 changes by amateja
russian - 1 changes by KorneySan
slovenian - 9 changes by ntadej
spanish - 1 changes by Terkhen
swedish - 3 changes by Ledel
ukrainian - 1 changes by Fixer
2011-01-10 18:45:51 +00:00
rubidium
4eb4aad54f
(svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings with NewGRF railtypes (andythenorth)
2011-01-09 20:54:56 +00:00
frosch
57c6133c3b
(svn r21764) -Change: Make the scrollbar associated to a NWidgetMatrix scroll in steps of the matrix when using the wheel or the scrollbar-buttons.
2011-01-09 20:40:35 +00:00
frosch
da09ebc59a
(svn r21763) -Codechange: Pass the distance to Scrollbar::UpdatePosition() in units of small or big steps.
2011-01-09 20:39:06 +00:00
translators
beb7f63746
(svn r21762) -Update from WebTranslator v3.0:
...
english_US - 1 changes by Rubidium
hungarian - 1 changes by IPG
korean - 1 changes by junho2813
norwegian_bokmal - 21 changes by leaderroy
swedish - 1 changes by Ledel
2011-01-09 18:45:20 +00:00
frosch
91e95dfd53
(svn r21761) -Add: Wheel-scrolling in the new build station GUI.
2011-01-09 18:43:47 +00:00
alberth
352fd000ea
(svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars.
2011-01-09 15:36:02 +00:00
alberth
f5364269b5
(svn r21759) -Codechange: Increase the initial horizontal size of the stationpicker slightly.
2011-01-09 15:34:58 +00:00
alberth
9d8496e65e
(svn r21758) -Add: Allow vertical resizing of the stationpicker window.
2011-01-09 15:34:00 +00:00
alberth
3281b91c48
(svn r21757) -Codechange: Use a list instead of a dropdown for selecting the station classes.
2011-01-09 15:33:00 +00:00
alberth
0a16e4ee91
(svn r21756) -Add: Display name of the selected station type in the station picker window.
2011-01-09 15:31:14 +00:00
alberth
dbef775e76
(svn r21755) -Feature: Display newgrf station sprites during station picking.
2011-01-09 15:27:48 +00:00
alberth
d8567d2699
(svn r21754) -Codechange: Scroll the matrix widget to make a clicked entry fully visible.
2011-01-09 15:25:33 +00:00
alberth
ec54970058
(svn r21753) -Codechange: Use a widget for the coverage text, and re-init instead of resize to adapt for height changes.
2011-01-09 15:24:36 +00:00
alberth
bd72b9d2a4
(svn r21752) -Doc: document the stationpicker widgets and variables.
2011-01-09 15:22:39 +00:00
alberth
9845f10668
(svn r21751) -Fix: Re-initialize the stationpicker data when newgrf classes have disappeared.
2011-01-09 15:21:55 +00:00
translators
63319e4658
(svn r21748) -Update from WebTranslator v3.0:
...
czech - 1 changes by SmatZ
norwegian_bokmal - 20 changes by leaderroy
2011-01-09 15:08:53 +00:00
rubidium
ade2f29f5d
(svn r21747) -Fix [FS#4395]: the diagonal iterator would iterate twice over some tiles (fonsinchen)
2011-01-09 14:55:22 +00:00
frosch
35be634974
(svn r21746) -Fix: [NewGRF] Canal variable 83 accessed water random bits also for non-water tiles (e.g. watery industries or objects).
2011-01-09 13:53:57 +00:00
frosch
8ffc288901
(svn r21745) -Fix: [NewGRF] Canal variable 80 shall return consistent heights within a lock.
2011-01-09 13:53:05 +00:00
frosch
716f4e924e
(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
2011-01-09 13:11:50 +00:00
rubidium
c8a4d122c5
(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges
2011-01-09 12:17:52 +00:00
translators
2da2b57631
(svn r21742) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
swedish - 3 changes by Ledel
2011-01-08 18:45:10 +00:00
planetmaker
51b97aa3c1
(svn r21741) -Fix (r21668): Some white space slipped past the commit hook
2011-01-08 16:10:07 +00:00
translators
f420b5a66a
(svn r21740) -Update from WebTranslator v3.0:
...
belarusian - 57 changes by Wowanxm
catalan - 9 changes by arnau
croatian - 1 changes by VoyagerOne
german - 8 changes by kaefer1993
swedish - 6 changes by spacejens
ukrainian - 11 changes by Fixer
vietnamese - 3 changes by nglekhoi
2011-01-07 18:45:24 +00:00
rubidium
e2ef4aff46
(svn r21739) -Fix [FS#4388] (r19657): make clearing refit orders work again
2011-01-07 12:45:12 +00:00
frosch
be106c77a9
(svn r21738) -Fix (r21642)[FS#4384]: Start loading when cur_order_index points to the destination station, i.e. after deleting not-reached automatic orders.
2011-01-06 22:27:56 +00:00
frosch
29a0dd65a9
(svn r21737) -Fix (r1)[FS#4384-ish]: A loading order was also marked as 'not part of orders' when the order before the current order was deleted.
2011-01-06 22:24:02 +00:00
translators
4863d934af
(svn r21736) -Update from WebTranslator v3.0:
...
hungarian - 2 changes by IPG
polish - 2 changes by silver_777
russian - 9 changes by Lone_Wolf
swedish - 1 changes by Ledel
2011-01-06 18:45:17 +00:00
translators
c597237032
(svn r21735) -Update from WebTranslator v3.0:
...
croatian - 7 changes by VoyagerOne
dutch - 7 changes by Hyronymus, habell
english_US - 7 changes by Rubidium
estonian - 42 changes by notAbot
finnish - 7 changes by jpx_
french - 7 changes by glx
german - 1 changes by planetmaker
hungarian - 8 changes by IPG
irish - 4 changes by tem
italian - 8 changes by lorenzodv
korean - 1 changes by junho2813
polish - 7 changes by amateja
spanish - 81 changes by Terkhen
2011-01-05 18:45:43 +00:00
smatz
ce9a7acc8f
(svn r21734) -Change: use 'landscaping' instead of 'terraforming' in the English lang file (peter1138)
2011-01-05 12:39:50 +00:00
terkhen
03088dadda
(svn r21733) -Codechange: Clarify the update owner legend code.
...
-Fix: Prevent crashes caused by deleted companies.
2011-01-05 11:04:29 +00:00
rubidium
68412eebec
(svn r21732) -Fix (r21728): show the "proper" error that the landscaping limit is reached instead of "already flat"
2011-01-05 08:33:21 +00:00
rubidium
4cc2d71d6d
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
2011-01-05 07:57:10 +00:00
terkhen
b890bcb840
(svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies.
2011-01-04 22:59:42 +00:00
terkhen
0b27228d9a
(svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work.
2011-01-04 22:56:56 +00:00
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
2011-01-04 22:50:09 +00:00
rubidium
7dafd04f4b
(svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral)
2011-01-04 22:28:02 +00:00
terkhen
ace917f872
(svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap.
2011-01-04 21:03:57 +00:00
terkhen
995e80ba57
(svn r21725) -Cleanup: Remove unused owner code.
2011-01-04 21:03:01 +00:00
terkhen
aac2289bf8
(svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window.
2011-01-04 21:02:10 +00:00
terkhen
38ed740e80
(svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap.
2011-01-04 21:01:29 +00:00
terkhen
bf45eacd97
(svn r21722) -Update: String names on other translations.
2011-01-04 21:00:45 +00:00
terkhen
7e6e7a6737
(svn r21721) -Codechange: Rename the smallmap button panel and its strings.
2011-01-04 20:59:41 +00:00
terkhen
b621e4545c
(svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap.
2011-01-04 20:58:42 +00:00
terkhen
4f1e96acf1
(svn r21719) -Doc: Correct a doxygen comment.
2011-01-04 20:58:07 +00:00
terkhen
2103f7e91a
(svn r21718) -Feature: Show a list of companies in the owner legend.
2011-01-04 20:57:11 +00:00
terkhen
e4b8a4e3bf
(svn r21717) -Codechange: Unify smallmap functions for getting the legend height.
2011-01-04 20:56:00 +00:00
terkhen
ebb360f48c
(svn r21716) -Add: Tooltip for the industry legend at the smallmap.
2011-01-04 20:54:36 +00:00
terkhen
5268d03abd
(svn r21715) -Fix: Use the correct land colour in the owner legend.
2011-01-04 20:53:57 +00:00
rubidium
73d26d3831
(svn r21714) -Codechange: unduplicate a bit of code path
2011-01-04 20:33:22 +00:00
translators
017a7f902b
(svn r21713) -Update from WebTranslator v3.0:
...
estonian - 7 changes by notAbot
marathi - 2 changes by jaguarnac
romanian - 4 changes by kkmic
swedish - 1 changes by spacejens
2011-01-04 18:45:13 +00:00
michi_cc
868d035b45
(svn r21712) -Change: Tune 'realistic' acceleration even more to make more trains reach their top speed.
2011-01-04 18:12:28 +00:00
frosch
6a38f88bd1
(svn r21711) -Change: Display the minimal height of the tile in the LandInfo window instead of the height of the northern corner. So it is more useful for NewGRF and AI developers, and maybe more transparent for players.
2011-01-04 13:58:14 +00:00
peter1138
1b61d234a1
(svn r21710) -Fix (r8128): Update oldloader for change in vehicle cur_image size.
2011-01-04 12:22:27 +00:00
peter1138
3408814169
(svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed.
2011-01-04 12:04:09 +00:00
frosch
d9305ef99d
(svn r21708) -Add: [NewGRF] Report TTDPatch flag 4A (newobjects) as set.
2011-01-04 11:06:39 +00:00
rubidium
80591d73c1
(svn r21707) -Fix [FS#4371]: bit too strict assertion on validness of console colours
2011-01-03 20:54:20 +00:00
rubidium
b68d37f2aa
(svn r21706) -Fix-ish [FS#4370]: the old ship pathfinder is too stupid to provide "lost" notices; it would even get lost while following it's own path
2011-01-03 20:25:11 +00:00
translators
7daf2a4ec0
(svn r21705) -Update from WebTranslator v3.0:
...
catalan - 5 changes by arnau
croatian - 2 changes by VoyagerOne
dutch - 2 changes by Yexo
german - 1 changes by planetmaker
korean - 1 changes by junho2813
polish - 2 changes by amateja
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 3 changes by Terkhen
swedish - 1 changes by Ledel
2011-01-03 18:45:34 +00:00
smatz
810873ff33
(svn r21704) -Fix [FS#4374]: no need to perform any more checks after the connection is closed (Rubidium)
2011-01-03 18:36:51 +00:00
yexo
8e3e93b96f
(svn r21703) -Feature [FS#4372]: list_ai_libs console command to get a list of recognized AI libraries (dihedral)
2011-01-03 14:52:30 +00:00
rubidium
37b9c31118
(svn r21702) -Fix: make sure the colour argument of echoc is properly validated to be a text colour
2011-01-03 12:04:53 +00:00
rubidium
b25cf57542
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
2011-01-03 12:01:41 +00:00
rubidium
1c2d56d314
(svn r21700) -Codechange: GetDrawStringCompanyColour returns a TextColour
2011-01-03 11:55:08 +00:00
translators
6b5992788c
(svn r21699) -Update from WebTranslator v3.0:
...
english_US - 2 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
indonesian - 62 changes by fanioz
italian - 1 changes by lorenzodv
norwegian_nynorsk - 3 changes by 2rB
turkish - 2 changes by niw3
2011-01-02 18:45:24 +00:00
rubidium
ad15cd37a6
(svn r21698) -Fix: incorrectly named global variable
2011-01-02 18:12:39 +00:00
yexo
4ec6c19d44
(svn r21697) -Codechange: use GetGameSettings() in a few more places to enhance readability
2011-01-02 12:52:37 +00:00
yexo
b22945350f
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
2011-01-02 12:41:24 +00:00
yexo
3ca65ab7b3
(svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object
2011-01-02 00:34:21 +00:00
yexo
a25d6c64dd
(svn r21694) -Fix: changing AI settings ingame was impossible when the difficulty level was other than custom
2011-01-01 23:26:26 +00:00
smatz
c6a90361fc
(svn r21693) -Codechange: no need to cast char[] to const uint8*
2011-01-01 21:41:01 +00:00
smatz
8b6a8a8935
(svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static
2011-01-01 21:39:52 +00:00
smatz
13456934b1
(svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed
2011-01-01 21:38:13 +00:00
yexo
7814e6e792
(svn r21690) -Fix: the top of a tall building standing on a hill at the top of the map could be cut off in a giant screenshot
2011-01-01 21:15:50 +00:00
translators
2d17f09902
(svn r21689) -Update from WebTranslator v3.0:
...
traditional_chinese - 73 changes by josesun
italian - 1 changes by lorenzodv
serbian - 1 changes by etran
2011-01-01 18:45:13 +00:00
smatz
cae28bf8eb
(svn r21688) -Codechange: verify the colour code passed to IConsolePrint()/IConsolePrintF() is valid
2011-01-01 17:06:59 +00:00
smatz
666fbb28c2
(svn r21687) -Fix: verify the colour code we received from the server is valid
2011-01-01 17:02:29 +00:00
smatz
62bc55cf7b
(svn r21686) -Cleanup: remove unused constants and comment used ones
2011-01-01 16:35:32 +00:00
rubidium
36f55a8823
(svn r21685) -Codechange: prevent bug tracker entries like FS#2487 and FS#1613 for this year
2011-01-01 08:31:23 +00:00
planetmaker
9ddcbaf9b7
(svn r21684) -Fix [FS#4360] (r21573): Silence some compile warnings
2011-01-01 08:23:46 +00:00
translators
675f1376e0
(svn r21683) -Update from WebTranslator v3.0:
...
hungarian - 1 changes by IPG
russian - 3 changes by Lone_Wolf
2010-12-31 18:45:11 +00:00
glx
aa7a587ca3
(svn r21680) -Fix (r21656): of course MSVC complains
2010-12-31 16:13:34 +00:00
rubidium
64c7cc51b5
(svn r21679) -Fix (r21642): reading a just freed variable
2010-12-31 15:53:46 +00:00
yexo
582472d626
(svn r21678) -Update: use 'Ctrl+klik' instead of 'Ctrl+Klik' in the Dutch translation
2010-12-31 14:16:25 +00:00
rubidium
41015b877d
(svn r21677) -Fix: WT3 not validating some strings...
2010-12-31 14:12:35 +00:00
translators
b46aee796b
(svn r21675) -Update from WebTranslator v3.0:
...
czech - 3 changes by SmatZ
dutch - 12 changes by Yexo
english_US - 1 changes by Rubidium
estonian - 138 changes by notAbot
finnish - 5 changes by jpx_
french - 1 changes by glx
german - 3 changes by planetmaker
polish - 135 changes by amateja
spanish - 1 changes by Terkhen
vietnamese - 3 changes by sephiroth2m
2010-12-31 14:05:25 +00:00
smatz
4a0ce4bb14
(svn r21673) -Change [FS#4358]: do not show price to build a bridge in the scenario editor, it is free there
2010-12-31 10:15:35 +00:00
rubidium
e166a0eaed
(svn r21672) -Fix: mention AIEventTownFounded in the AI changelog as well
2010-12-31 09:43:42 +00:00
rubidium
6cf67eff15
(svn r21670) -Fix (prospective): EEK->EUR@2011
2010-12-31 09:09:40 +00:00
translators
4f4f9a1e4e
(svn r21669) -Update from WebTranslator v3.0:
...
simplified_chinese - 6 changes by ww9980
greek - 10 changes by fumantsu
2010-12-30 18:47:31 +00:00
rubidium
6546561360
(svn r21668) -Feature: command logging using the admin interface (dihedral)
2010-12-30 18:14:37 +00:00
alberth
661e13a86a
(svn r21667) -Codechange: Introduce _thd.Reset().
2010-12-30 15:32:31 +00:00
alberth
cedb07bba3
(svn r21666) -Codechange: Use GetCallbackWnd at more places.
2010-12-30 13:18:04 +00:00
alberth
22a13850cb
(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.
2010-12-30 13:16:31 +00:00
yexo
703ff560c1
(svn r21664) -Add: [NoAI] AIEventTownFounded
2010-12-29 23:44:39 +00:00
yexo
5b25e620dd
(svn r21663) -Add: [NoAI]: AIRail::GetName() to get the name of a railtype
2010-12-29 23:20:12 +00:00
rubidium
83d7634122
(svn r21660) -Fix [FS#4354]: autofill timetable had side effects in test mode, possibly causing desyncs in MP
2010-12-29 20:20:38 +00:00
translators
affd8b9d7b
(svn r21659) -Update from WebTranslator v3.0:
...
hungarian - 6 changes by IPG
indonesian - 9 changes by fanioz
italian - 3 changes by lorenzodv
malay - 24 changes by rionix88
norwegian_bokmal - 5 changes by Utvik
romanian - 130 changes by tonny
2010-12-29 18:45:21 +00:00
rubidium
cea92937eb
(svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed
2010-12-29 18:20:19 +00:00
smatz
e7971c2971
(svn r21657) -Cleanup (r17107): remove superfluous semicolon
2010-12-29 13:47:53 +00:00
planetmaker
6331923653
(svn r21656) -Fix [FS#4345] (r3722, r15301): Use a bool instead of uint8 to store a bool and use the dedicated accessor function when reading boolean settings (glx, rubidium)
2010-12-29 13:32:35 +00:00
yexo
bfc386fe10
(svn r21655) -Add: mention AITown::IsCity in the NoAI changelog
2010-12-29 12:41:01 +00:00
yexo
399a9641fe
(svn r21654) -Add: [NoAI] AITown::IsCity() so AIs can find out which towns grow faster than others (Lord Aro)
2010-12-29 12:19:33 +00:00
translators
0d613156e7
(svn r21653) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
english_US - 6 changes by Rubidium
esperanto - 13 changes by Christopher
estonian - 35 changes by notAbot
french - 8 changes by glx
japanese - 63 changes by dchou
serbian - 76 changes by etran
spanish - 6 changes by Terkhen
swedish - 48 changes by Zuu
turkish - 11 changes by niw3
2010-12-28 18:45:33 +00:00
smatz
aa4f269f3e
(svn r21652) -Cleanup: one semicolon is enough
2010-12-28 14:22:51 +00:00
rubidium
ade19e5242
(svn r21651) -Fix [FS#4338] (r21229): infinite loop in the road pathfinder due to bouncing around in an "one way" trap; two one ways pointing towards eachother making it impossible to leave
2010-12-27 22:32:47 +00:00
rubidium
639e22b83b
(svn r21650) -Fix [FS#4339]: make "centre [main] view" consistent, and make "[main|global] view" consistent
2010-12-27 21:10:52 +00:00
translators
f3292c304a
(svn r21649) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
dutch - 34 changes by Hirundo, Hyronymus
esperanto - 2 changes by Christopher
malay - 12 changes by rionix88
marathi - 100 changes by jaguarnac
russian - 2 changes by KorneySan
serbian - 2 changes by etran
2010-12-27 18:45:24 +00:00
rubidium
b98c758e0b
(svn r21648) -Codechange: unduplicate a bit of code
2010-12-27 18:21:19 +00:00
rubidium
744616bb36
(svn r21647) -Fix: failure of WT3 to properly validate some string...
2010-12-26 19:26:48 +00:00
translators
9858065ff9
(svn r21646) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
greek - 91 changes by fumantsu
hungarian - 2 changes by IPG
italian - 3 changes by lorenzodv
brazilian_portuguese - 58 changes by Ic3cold
slovenian - 2 changes by ntadej
spanish - 2 changes by Terkhen
swedish - 18 changes by Ledel
2010-12-26 18:45:33 +00:00
alberth
8282b66b70
(svn r21645) -Doc: Document SmallPair and SmallMap template parameters.
2010-12-26 17:47:00 +00:00
rubidium
28f16a732f
(svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders
2010-12-26 13:25:34 +00:00
rubidium
b06b05c360
(svn r21643) -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station
2010-12-26 12:55:12 +00:00
rubidium
64f04c3a74
(svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
2010-12-26 09:03:19 +00:00
rubidium
8a278f7711
(svn r21641) -Fix (r21639): ofcourse MSVC wants to have something to warn about
2010-12-26 06:52:38 +00:00
rubidium
9b2a54bfbf
(svn r21640) -Change/Feature-ish: allow disabling the shading when drawing text
2010-12-25 20:02:04 +00:00
rubidium
1d21903eb4
(svn r21639) -Codechange: simplify setting the colour remap
2010-12-25 19:59:56 +00:00
alberth
d2564a3e56
(svn r21638) -Codechange (r1): Simplify testing that outersize.x is bigger than 0.
2010-12-25 19:58:50 +00:00
rubidium
2c41b8ee97
(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour
2010-12-25 19:47:15 +00:00
translators
13c5cd820b
(svn r21636) -Update from WebTranslator v3.0:
...
esperanto - 10 changes by Christopher
polish - 6 changes by wojteks86
slovenian - 1 changes by ntadej
turkish - 3 changes by niw3
2010-12-25 18:45:16 +00:00
rubidium
091cc85a18
(svn r21635) -Change: simplify/reduce release preparations/changes
2010-12-25 15:41:12 +00:00
rubidium
2c4c6b4fe1
(svn r21634) -Codechange: apparantly the "broken" iconv interface is the new official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface
2010-12-25 12:49:36 +00:00
smatz
d8b823142e
(svn r21633) -Fix (r21616): newly created skip-to order was created at wrong place
2010-12-25 12:48:23 +00:00
smatz
b5268dccbd
(svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE
2010-12-25 12:47:05 +00:00
rubidium
b323000253
(svn r21631) -Fix [FS#4325]: ships with the old pathfinder would easily show up as lost, even when it would eventually find a path. Now also the distance from the "end" of the pathfinding run to the destination is compared to the current distance to the destination; if the distance to the destination at the end of the pathfinder run is less than the current distance from the destination the ship won't be marked as lost. This means that the ships with the old pathfinder will less likely get marked as lost, but due to the design of the old ship pathfinder there "lostness" is merely a best guess. When you still get a lost message
2010-12-25 12:20:18 +00:00
translators
2ebd4c62bc
(svn r21629) -Update from WebTranslator v3.0:
...
belarusian - 71 changes by KorneySan
czech - 56 changes by SmatZ
danish - 9 changes by Gummipalle
dutch - 61 changes by Hirundo
esperanto - 36 changes by Christopher
marathi - 188 changes by jaguarnac
portuguese - 15 changes by SupSuper
russian - 3 changes by KorneySan
ukrainian - 1 changes by Fixer
2010-12-24 18:45:31 +00:00
alberth
96906c1a45
(svn r21628) -Codechange: Remove local variables that just point to global _thd.
2010-12-24 17:51:46 +00:00
alberth
852e647bcc
(svn r21627) -Codechange: Remove _place_proc global variable.
2010-12-24 15:08:19 +00:00
alberth
9a5cce382f
(svn r21626) -Codechange: Remove more small static functions.
2010-12-24 15:06:58 +00:00
alberth
62f2771edd
(svn r21625) -Codechange: Record last started highlight action, and use it in the callback methods.
2010-12-24 15:06:18 +00:00
alberth
d28d469b7a
(svn r21624) -Codechange: Remove many small static functions.
2010-12-24 15:04:33 +00:00
alberth
d9405a0bcc
(svn r21623) -Codechange: Remove _terraform_button_proc and _editor_terraform_button_proc arrays.
2010-12-24 15:03:19 +00:00
alberth
479d117c68
(svn r21622) -Doc: Clarify the documentation of highlighting constants somewhat.
2010-12-24 14:56:21 +00:00
alberth
9cdd8c6d48
(svn r21621) -Codechange: Only consider tile highlighting mode bits in tile selection functions.
2010-12-24 14:55:31 +00:00
alberth
e930b9985d
(svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode.
2010-12-24 14:52:42 +00:00
alberth
cdae336feb
(svn r21619) -Fix [FS#4327]: Don't copy direction bits when restarting a rail selection.
2010-12-24 14:48:38 +00:00
alberth
c5ce84267a
(svn r21618) -Fix: Use correct 3 bit mask for directions.
2010-12-24 14:38:00 +00:00
smatz
fffb8f89a4
(svn r21617) -Doc: refer to table/autorail.h, not autorail.h
2010-12-24 13:14:11 +00:00
smatz
889c8d3022
(svn r21616) -Change: do not highlight tile when selecting a vehicle to clone or an order to skip to
2010-12-24 13:13:28 +00:00
rubidium
fae5d4370d
(svn r21613) -Update: sync comments in the translation files with English for some recently untouched translations
2010-12-23 21:50:31 +00:00
smatz
e4e6735cea
(svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off
2010-12-23 20:25:55 +00:00
translators
7e65c65af9
(svn r21611) -Update from WebTranslator v3.0:
...
catalan - 147 changes by arnau
danish - 45 changes by Gummipalle
german - 1 changes by planetmaker
hungarian - 3 changes by IPG
indonesian - 4 changes by fanioz
korean - 1 changes by junho2813
brazilian_portuguese - 80 changes by Ic3cold
romanian - 7 changes by kkmic
russian - 1 changes by Lone_Wolf
slovenian - 56 changes by ntadej
2010-12-23 18:45:35 +00:00
alberth
802ec80c5d
(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas.
2010-12-23 14:38:01 +00:00
alberth
90780fd25b
(svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting.
2010-12-23 14:24:34 +00:00
alberth
1ba348914d
(svn r21607) -Codechange: Be more robust against having extra bits in HighLightStyle vars.
2010-12-23 14:15:05 +00:00
rubidium
e2a7ecbcae
(svn r21605) -Fix [FS#4324]: crash due to cargo payments belonging to an non-existing company
2010-12-23 07:17:00 +00:00
frosch
256fe89b38
(svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator.
2010-12-22 22:03:57 +00:00
rubidium
e9a595bda0
(svn r21603) -Codechange: no need to assign something to a variable and then test it for NULL when you're never using it again
2010-12-22 21:19:39 +00:00
rubidium
a38a1e7b0d
(svn r21602) -Codechange: split actual adding/removing of orders to/from a vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen
2010-12-22 21:16:34 +00:00
rubidium
fba9670a62
(svn r21601) -Fix [FS#4323]: company league table used stats from two quarters ago instead of last quarter
2010-12-22 19:52:23 +00:00
alberth
08c6b99294
(svn r21600) -Codechange: Remove new_drawstyle and new_diagonal variables from the _thd structure.
2010-12-22 19:24:36 +00:00
translators
1378bdad85
(svn r21599) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
dutch - 21 changes by habell
italian - 57 changes by lorenzodv
polish - 3 changes by voythas
2010-12-22 18:45:18 +00:00
frosch
c4ad5d6fea
(svn r21598) -Fix (r3139, r21236, r21249)[FS#4275]: The default visual effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist.
2010-12-22 15:40:22 +00:00
frosch
4b2624de1d
(svn r21597) -Fix (r21239): Also catch the case when callback 10 returns VE_DEFAULT.
2010-12-22 14:51:12 +00:00
frosch
fbe653d4ef
(svn r21596) -Codechange: Rename a misleading-named variable.
2010-12-22 14:38:24 +00:00
alberth
7303f7d199
(svn r21595) -Codechange: Some header files had their name changed, update the ifndef/define/endif lines.
2010-12-22 11:46:41 +00:00
alberth
67cd2cd6be
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
2010-12-22 11:24:38 +00:00
alberth
f65a9a5515
(svn r21593) -Codechange: endif comment correcttions.
2010-12-22 10:50:32 +00:00
alberth
366eaebc3e
(svn r21592) -Codechange: Return unique values for placing a sign and land-info querying, store the callback information locally, and use it instead of the global _place_proc.
2010-12-21 22:00:08 +00:00
alberth
a61cdd719d
(svn r21591) -Codechange: Align case functions.
2010-12-21 21:54:16 +00:00
alberth
24aedc08da
(svn r21590) -Codechange: All click handling functions of the main toolbar return CBF_NONE.
2010-12-21 21:48:31 +00:00
alberth
35a8e91d01
(svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function.
2010-12-21 21:46:19 +00:00
translators
05e7e08430
(svn r21588) -Update from WebTranslator v3.0:
...
croatian - 56 changes by VoyagerOne
czech - 62 changes by SmatZ
english_US - 57 changes by Rubidium
finnish - 57 changes by USephiroth, jpx_
french - 57 changes by glx
german - 57 changes by planetmaker
hungarian - 54 changes by IPG
indonesian - 7 changes by fanioz
russian - 56 changes by Lone_Wolf
spanish - 57 changes by Terkhen
swedish - 142 changes by Zuu
2010-12-21 18:45:39 +00:00
alberth
c0a57999a1
(svn r21587) -Codechange: Move simple callback functions into the switch.
2010-12-21 18:07:07 +00:00
alberth
718585f05e
(svn r21586) -Codechange: Record the last started user action, and use that in the callback.
2010-12-21 18:06:23 +00:00
alberth
9784f12903
(svn r21585) -Codechange: Move the simple click functions into the switch.
2010-12-21 18:05:24 +00:00
alberth
fbd725ed9a
(svn r21584) -Codechange: Replace the _rail_build_button array by a switch.
2010-12-21 18:04:10 +00:00
terkhen
b9f93a48e9
(svn r21583) -Fix (r21566): The new scrollbar was not ignored correctly for ships and aircrafts.
2010-12-21 17:29:00 +00:00
alberth
a448dc24d9
(svn r21582) -Codechange: Simplify BuildRailClick_AutoSignals().
2010-12-21 16:36:00 +00:00
alberth
35491b71fb
(svn r21581) -Codechange: Fix indenting code style of a few multi-line statements.
2010-12-21 16:30:54 +00:00
alberth
264acca2fa
(svn r21580) -Codechange: Replace callback via pointer by a switch statement.
2010-12-21 16:27:50 +00:00
alberth
5a2bf89caf
(svn r21579) -Codechange: Remove _build_air_button_proc and its functions to a switch statement, record the last started action.
2010-12-21 16:26:34 +00:00
planetmaker
adc1760b0d
(svn r21578) -Fix [FS#2585]: [OSX] A double mouse cursor was shown under certain circumstances (based on patch by matheweis)
2010-12-21 16:05:25 +00:00
planetmaker
30eef98ec0
(svn r21577) -Codechange: [OSX] Deduplicate code by moving the handling of the window class for screen drivers to a common class
2010-12-21 16:02:55 +00:00
planetmaker
e38f96d609
(svn r21576) -Codechange: [OSX] Deduplicate code by moving the handling of the view for windowed screen drivers to a common class
2010-12-21 16:00:42 +00:00
planetmaker
26575ab8f8
(svn r21575) -Codechange: [OSX] Use the same class for the window delegate routines in windowed screen drivers
2010-12-21 15:57:55 +00:00
planetmaker
7ab04792c5
(svn r21574) -Codechange: [OSX] Move the variable declaration of the screen drivers to the generic class, deduplicating code
2010-12-21 15:56:02 +00:00
planetmaker
574e0830f1
(svn r21573) -Codechange: [OSX] Unify the naming of variables among different screen drivers a bit
2010-12-21 15:53:20 +00:00
planetmaker
0d3a0bb1c7
(svn r21572) -Codechange: [OSX] One palette is enough, we cannot use two colour depths at once
2010-12-21 15:48:43 +00:00
alberth
b633ffaa1d
(svn r21571) -Codechange: Having a break after a return is no good.
2010-12-21 15:23:54 +00:00
terkhen
884b44990a
(svn r21570) -Add: Allow to select a vehicle and the following chain with a keyboard shortcut.
2010-12-21 14:01:44 +00:00
terkhen
ea7c33ca6d
(svn r21569) -Add: Don't close the refit window after refitting only a consist part.
2010-12-21 14:00:58 +00:00
terkhen
3e6ebc7158
(svn r21568) -Add: Show the selected consist part at the refit window.
2010-12-21 14:00:14 +00:00
terkhen
f8c31319e9
(svn r21567) -Feature: Allow to refit only the selected part of a train consist.
2010-12-21 13:59:16 +00:00
terkhen
96f706fa83
(svn r21566) -Add: Draw current vehicle at the refit window.
2010-12-21 13:58:09 +00:00
terkhen
a136200c39
(svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage().
2010-12-21 13:56:52 +00:00
terkhen
5a124feb6d
(svn r21564) -Fix: Avoid drawing road vehicles outside of their given space.
2010-12-21 13:56:07 +00:00
terkhen
759a596e0b
(svn r21563) -Codechange: Add function to get the width of a vehicle.
2010-12-21 13:54:57 +00:00
terkhen
8fc48a79da
(svn r21562) -Change: Add articulated parts of vehicles in a refit selection to that selection.
2010-12-21 13:53:19 +00:00
terkhen
a1ff6859c5
(svn r21561) -Change: Allow to specify the number of vehicles to refit in the refit vehicle command.
2010-12-21 13:52:10 +00:00
terkhen
d92f29b822
(svn r21560) -Codechange: Declare DrawVehicleImage in its header.
2010-12-21 13:50:31 +00:00
terkhen
53120a566c
(svn r21559) -Add: Disable the refit button until a refit option is selected.
2010-12-21 13:49:42 +00:00
rubidium
0209b1253a
(svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well
2010-12-21 10:11:11 +00:00
rubidium
c874040636
(svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases
2010-12-21 10:06:21 +00:00
rubidium
ee87c91e05
(svn r21556) -Fix [FS#4320]: argt wasn't updated when argv was updated due to ARG_INDEX, so there was a mismatch between argt's offset and argv's offset causing trouble when getting the gender of a string
2010-12-21 10:04:40 +00:00
rubidium
e1d62dc81b
(svn r21555) -Fix [FS#4321]: strings for the query window weren't properly terminated to N characters anymore
2010-12-21 09:29:01 +00:00
rubidium
d446fd6766
(svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file
2010-12-20 22:54:15 +00:00
alberth
23e3766bfb
(svn r21552) -Codechange: Move short callback functions into the switch.
2010-12-20 19:24:27 +00:00
alberth
896c4acda1
(svn r21551) -Codechange: Record the last started user action, and use that in the callback.
2010-12-20 19:23:07 +00:00
alberth
22273fb8e8
(svn r21550) -Codechange: Move the small static functions into the switch.
2010-12-20 19:21:50 +00:00
alberth
27d4a64020
(svn r21549) -Codechange: Unfold the _build_road_button_proc array into a switch.
2010-12-20 19:20:38 +00:00
alberth
1e07f74b1e
(svn r21548) -Codechange: Code style, multi line statements should indent two tabs.
2010-12-20 19:19:23 +00:00
planetmaker
76658083f8
(svn r21547) -Add [FS#4318]: Tooltip describing the the behaviour of the shift key for several actions
2010-12-20 19:17:24 +00:00
translators
a623ead9c9
(svn r21546) -Update from WebTranslator v3.0:
...
czech - 65 changes by SmatZ
indonesian - 22 changes by fanioz
lithuanian - 6 changes by BlinK_
2010-12-20 18:45:13 +00:00
alberth
a1cfb14d92
(svn r21545) -Codechange: Replace the callback by another switch.
2010-12-20 13:19:59 +00:00
alberth
eb99392966
(svn r21544) -Codechange: Fold the small static click functions into the switch.
2010-12-20 13:17:54 +00:00
alberth
1f9fe3999d
(svn r21543) -Codechange: Remove _build_docks_button_proc array.
2010-12-20 13:16:22 +00:00
alberth
50faf52cfc
(svn r21542) -Codechange (r14789): Handling a click at a tile once is enough.
2010-12-20 09:34:30 +00:00
smatz
79681051c8
(svn r21541) -Add: {DATE_SHORT} and {DATE_LONG} can now have cases
2010-12-19 20:15:32 +00:00
translators
3b46cf50b9
(svn r21540) -Update from WebTranslator v3.0:
...
bulgarian - 20 changes by Tvel
czech - 91 changes by SmatZ
finnish - 1 changes by USephiroth
hungarian - 90 changes by IPG
indonesian - 33 changes by fanioz
2010-12-19 18:45:20 +00:00
alberth
8626954fc3
(svn r21539) -Fix [FS#4315]: Show 'plant trees' button lowering of terraform toolbar.
2010-12-19 13:44:09 +00:00
smatz
5a6c9877cb
(svn r21538) -Add: {INDUSTRY} can now have cases
2010-12-18 22:50:46 +00:00
planetmaker
3448853b55
(svn r21537) -Cleanup: Add a few sprinkles of coding style
2010-12-18 21:54:09 +00:00
translators
7ff64ba3fa
(svn r21536) -Update from WebTranslator v3.0:
...
czech - 2 changes by SmatZ
indonesian - 15 changes by fanioz, prof
2010-12-18 18:45:10 +00:00
translators
37f6847b56
(svn r21534) -Update from WebTranslator v3.0:
...
czech - 29 changes by SmatZ
danish - 2 changes by silentStatic
dutch - 75 changes by habell
english_US - 8 changes by Rubidium
finnish - 80 changes by USephiroth, jpx_
french - 14 changes by glx
german - 34 changes by planetmaker
indonesian - 22 changes by fanioz
italian - 64 changes by lorenzodv
russian - 22 changes by Lone_Wolf, MajestiC
serbian - 90 changes by etran
slovenian - 87 changes by ntadej
spanish - 7 changes by Terkhen
2010-12-17 18:45:43 +00:00
rubidium
29fc9b1d48
(svn r21533) -Codechange: replace some magic numbers with less magic constants
2010-12-16 23:24:30 +00:00
translators
01f924daad
(svn r21532) -Update from WebTranslator v3.0:
...
croatian - 65 changes by VoyagerOne
czech - 128 changes by SmatZ, marek995
english_US - 84 changes by Rubidium
french - 71 changes by glx
frisian - 13 changes by gjannema
german - 63 changes by planetmaker
slovenian - 5 changes by ntadej
spanish - 81 changes by Terkhen
swedish - 3 changes by Zuu
ukrainian - 8 changes by Fixer
2010-12-16 18:45:33 +00:00
smatz
728220ec88
(svn r21531) -Fix: gcc 3.4 warning
2010-12-16 14:03:21 +00:00
smatz
92d54c1e96
(svn r21530) -Fix: remove trailing period from most of English strings
2010-12-15 23:43:39 +00:00
rubidium
95041ad220
(svn r21529) -Doc: update comment after function name change (Krille)
2010-12-15 23:23:30 +00:00
smatz
fb039534e2
(svn r21528) -Add: plural 'genders' for Czech translation
2010-12-15 23:05:00 +00:00
rubidium
efa010c23f
(svn r21527) -Fix (r21526, r21525): should ofcourse make sure I fix all wrong strings...
2010-12-15 22:50:44 +00:00
rubidium
f929c8e2cd
(svn r21526) -Fix: failure of WT3 to properly validate some strings...
2010-12-15 22:32:38 +00:00
translators
3e9c0c2b33
(svn r21525) -Update from WebTranslator v3.0:
...
croatian - 7 changes by VoyagerOne
czech - 3 changes by SmatZ
frisian - 19 changes by gjannema
greek - 6 changes by Gonik
hungarian - 5 changes by IPG
italian - 1 changes by lorenzodv
polish - 30 changes by nouwak
romanian - 12 changes by kkmic
spanish - 1 changes by Terkhen
2010-12-15 18:45:30 +00:00
michi_cc
e744b97ec8
(svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal.
2010-12-15 14:33:24 +00:00
terkhen
fc42e98226
(svn r21523) -Fix: Some windows were not updated correctly after a train acceleration model change.
2010-12-15 09:01:04 +00:00
planetmaker
832625bb0e
(svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw
2010-12-15 01:30:13 +00:00
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
2010-12-14 21:33:53 +00:00
terkhen
a93944e765
(svn r21520) -Document: Complete the comments of GroundVehicleCache.
2010-12-14 21:31:45 +00:00
terkhen
a4a9274177
(svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle.
2010-12-14 21:31:00 +00:00
terkhen
12c86a1391
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
2010-12-14 21:28:45 +00:00
terkhen
d6959dcc6b
(svn r21517) -Codechange: Add IsGroundVehicle function to the Engine class.
2010-12-14 21:27:30 +00:00
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
2010-12-14 21:26:03 +00:00
terkhen
96b98b392a
(svn r21515) -Codechange: Use cached_total_length where appropiate.
2010-12-14 21:24:51 +00:00
translators
91df711d61
(svn r21514) -Update from WebTranslator v3.0:
...
belarusian - 5 changes by KorneySan
croatian - 4 changes by VoyagerOne
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
italian - 4 changes by lorenzodv
russian - 5 changes by KorneySan
serbian - 5 changes by etran
2010-12-14 18:45:34 +00:00
rubidium
b149fcd127
(svn r21513) -Feature [FS#532]: make the chat message timeout user configurable
2010-12-14 15:00:43 +00:00
rubidium
e68efb9e71
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
2010-12-14 14:57:51 +00:00
rubidium
4045429df6
(svn r21511) -Feature: vehicle lost message for ships
2010-12-13 21:56:40 +00:00
rubidium
6bc002ad74
(svn r21510) -Feature [FS#1956]: vehicle lost message for road vehicles
2010-12-13 21:56:25 +00:00
rubidium
b05d2675fc
(svn r21509) -Codechange: rename the rail pathfinders "path_not_found" parameter to "path_found" and remove the ! where the variables are set / read
2010-12-13 21:55:59 +00:00
rubidium
6d831906a3
(svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function
2010-12-13 21:55:06 +00:00
rubidium
55a0e31c44
(svn r21507) -Update: the other translations
2010-12-13 21:54:27 +00:00
rubidium
3cb75db0d4
(svn r21506) -Codechange: rename the train/vehicle lost warning strings to be more generic
2010-12-13 21:53:54 +00:00
rubidium
e3b391249d
(svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning
2010-12-13 21:53:23 +00:00
rubidium
49a77e89c4
(svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags
2010-12-13 21:52:39 +00:00
translators
a2b50b05c1
(svn r21503) -Update from WebTranslator v3.0:
...
belarusian - 8 changes by KorneySan
bulgarian - 155 changes by Wold
croatian - 2 changes by VoyagerOne
dutch - 7 changes by habell
english_US - 4 changes by Rubidium
finnish - 8 changes by USephiroth, jpx_
french - 5 changes by glx
italian - 4 changes by lorenzodv
malay - 4 changes by rionix88
polish - 7 changes by voythas
russian - 2 changes by KorneySan
spanish - 10 changes by Terkhen
2010-12-13 18:45:40 +00:00
rubidium
d2c7f91cbb
(svn r21502) -Change/Fix [FS#3991] (r150, r18402): before r18402 a train crash caused 2 "driver" deaths and a flooding 4 (added in r150). In r18402 the counting was merged and the flooding code was taken for counting drivers. Given those numbers were inconsistent (unlike for other vehicles) we better use the real original amount of driver deaths instead of the erroneous amount.
2010-12-13 18:26:09 +00:00
rubidium
20364bcefa
(svn r21501) -Fix (rnotlongago): guess what was complaining this time?
2010-12-13 15:34:30 +00:00
rubidium
6892cc8a60
(svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. Based on patch by fonsinchen
2010-12-13 15:15:02 +00:00
rubidium
b20e77be92
(svn r21499) -Add: diagonal tile iterator. Based on patch by fonsinchen
2010-12-13 15:13:05 +00:00
rubidium
652e262601
(svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly
2010-12-13 15:11:03 +00:00
rubidium
959308a243
(svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally
2010-12-13 15:09:59 +00:00
rubidium
2e9108afe9
(svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about
2010-12-13 12:52:43 +00:00
rubidium
7ecb00547b
(svn r21495) -Codechange: don't hide a local variable
2010-12-13 11:30:22 +00:00
rubidium
a336aacb4f
(svn r21494) -Codechange: split the tile iterator in two classes
2010-12-13 11:25:26 +00:00
rubidium
b448b7c98d
(svn r21493) -Codechange: don't use the full 32 bits of the level land command to tell whether to raise, lower or keep the level of the first selected tile
2010-12-13 11:21:53 +00:00
rubidium
542254e8ae
(svn r21491) -Document: the tile highlight data struct
2010-12-12 23:17:44 +00:00
rubidium
cdd35c6a51
(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit
2010-12-12 20:58:33 +00:00
rubidium
e0351ab414
(svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP
2010-12-12 20:11:46 +00:00
rubidium
773b6136a9
(svn r21488) -Codechange: make use of TILE_AREA_LOOP in the tile list AI API
2010-12-12 18:47:08 +00:00
translators
a1a0526aaf
(svn r21487) -Update from WebTranslator v3.0:
...
english_US - 5 changes by Rubidium
finnish - 1 changes by jpx_
french - 5 changes by glx
german - 4 changes by planetmaker
hungarian - 10 changes by IPG
italian - 1 changes by lorenzodv
russian - 6 changes by Lone_Wolf
serbian - 7 changes by etran
slovenian - 9 changes by ntadej
turkish - 13 changes by niw3
2010-12-12 18:45:35 +00:00
rubidium
b5b8a7b5ed
(svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well
2010-12-12 18:23:38 +00:00
rubidium
1123d4790f
(svn r21485) -Codechange: use CircularTileSearch to find whether there's a transmitter nearby
2010-12-12 18:18:50 +00:00
rubidium
02451d8af6
(svn r21484) -Codechange: use TILE_AREA_LOOP in CommonRaiseLowerBigLand
2010-12-12 18:05:34 +00:00
rubidium
15b4941401
(svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither
2010-12-12 17:36:34 +00:00
rubidium
67e6ad2a4b
(svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP as well
2010-12-12 17:22:17 +00:00
rubidium
a1d923700f
(svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well
2010-12-12 17:21:49 +00:00
rubidium
90e247c84d
(svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused
2010-12-12 15:20:54 +00:00
frosch
cd7b23b0f4
(svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper.
2010-12-12 14:51:26 +00:00
rubidium
15e07279dd
(svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille
2010-12-12 14:46:42 +00:00
rubidium
a029b2b83a
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
2010-12-12 14:14:26 +00:00
frosch
5910bde583
(svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost for clearing water for stuff which results in water after clearing.
2010-12-12 11:41:15 +00:00
rubidium
0575c8fec9
(svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL
2010-12-12 11:34:01 +00:00
rubidium
d332c59a4c
(svn r21474) -Fix: some MSVC code analysis warnings in strgen
2010-12-12 01:21:02 +00:00
rubidium
42dc2e63f2
(svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites
2010-12-11 23:14:35 +00:00
rubidium
9bc1e35625
(svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback.
2010-12-11 20:38:37 +00:00
rubidium
293ede7bdf
(svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
2010-12-11 19:49:44 +00:00
rubidium
7cf40e5d25
(svn r21470) -Codechange: add method to get the distance from the edge in a given direction
2010-12-11 19:48:31 +00:00
translators
ae30f4d010
(svn r21469) -Update from WebTranslator v3.0:
...
basque - 32 changes by HerrBasque
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 6 changes by planetmaker
italian - 5 changes by lorenzodv
spanish - 5 changes by Terkhen
2010-12-11 18:45:23 +00:00
rubidium
fe841c3d0b
(svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
2010-12-11 18:28:34 +00:00
alberth
997551c599
(svn r21467) -Doc: Add a few doxygen comments to config file settings code.
2010-12-11 15:14:28 +00:00
rubidium
23369337c1
(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.
2010-12-11 13:48:30 +00:00
rubidium
fc70825905
(svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen)
2010-12-11 13:42:01 +00:00
planetmaker
2a62be547a
(svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu
2010-12-11 13:38:35 +00:00
rubidium
71e3562f76
(svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect.
2010-12-11 13:34:23 +00:00
rubidium
0d32cd3cc8
(svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations in while loading/unloading vehicles. It is only needed when at least one vehicle is loading; all other times it is a waste of effort. Roughly halves the time it takes to perform loading/unloading of vehicles (fonsinchen)
2010-12-11 11:00:42 +00:00
rubidium
834f4f157a
(svn r21461) -Feature(tte) [FS#3711]: make it more clear that you're stopping a shared order, and make it possible retain the order list upon unsharing (sbr)
2010-12-11 10:52:45 +00:00
rubidium
b8c9931f75
(svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order
2010-12-11 10:10:25 +00:00
planetmaker
9336dccee6
(svn r21459) -Feature(tte) [FS#3217]: Hotkey Ctrl+W for returning to the main menu
2010-12-10 23:38:26 +00:00
rubidium
676a53fb40
(svn r21458) -Fix [FS#4180]: possible crash when news item gets removed at just the wrong moment
2010-12-10 22:39:01 +00:00
rubidium
8faa97c060
(svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror)
2010-12-10 22:32:53 +00:00
yexo
fff4bdecd8
(svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the id of an original house
2010-12-10 22:18:16 +00:00
rubidium
77aa035e4a
(svn r21455) -Feature [NewGRF]: selecting of different views of an object
2010-12-10 21:34:36 +00:00
rubidium
5d0da9492e
(svn r21454) -Codechange: add support for object variable 48
2010-12-10 21:32:52 +00:00
rubidium
cd6180a46d
(svn r21453) -Codechange: add the view of an object to the savegame
2010-12-10 21:32:04 +00:00
rubidium
fdeab92dc7
(svn r21452) -Codechange: read object property 17 (number of views)
2010-12-10 21:30:26 +00:00
rubidium
c1efcb76ca
(svn r21451) -Fix (r21449): make sure the matrix's child widget's size is updated with the right widget index
2010-12-10 20:05:20 +00:00
translators
84b4057342
(svn r21450) -Update from WebTranslator v3.0:
...
romanian - 14 changes by kkmic
ukrainian - 6 changes by Fixer
2010-12-10 18:47:31 +00:00
rubidium
8350642b26
(svn r21449) -Change: make the waypoint window make use the generic "matrix" widget
2010-12-10 17:47:40 +00:00
rubidium
b91ae2483e
(svn r21448) -Add: generic widget for creating a scrollable (one direction) and resizable (both directions) area with same sized widgets
2010-12-10 17:47:11 +00:00
rubidium
0848d92af1
(svn r21447) -Add: accessor function to get the direction of a scrollbar
2010-12-10 17:33:50 +00:00
yexo
91b043afbc
(svn r21446) -Doc: doxygen comments for some functions in strings.cpp
2010-12-09 21:41:31 +00:00
yexo
74d608a67e
(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
...
Change: strgen no longer writes the type of a string for a gender choice list
2010-12-09 21:01:50 +00:00
yexo
475ac872c9
(svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen
2010-12-09 20:57:52 +00:00
translators
8a194a2b42
(svn r21443) -Update from WebTranslator v3.0:
...
croatian - 6 changes by VoyagerOne
english_US - 8 changes by Rubidium
german - 9 changes by planetmaker
hungarian - 1 changes by IPG
serbian - 6 changes by etran
2010-12-09 18:45:19 +00:00
rubidium
ee4c152f71
(svn r21442) -Fix [FS#4293] (r21412): don't use the current company for awarding subsidies; it's not quite valid there
2010-12-09 15:19:43 +00:00
yexo
23d8ebba3b
(svn r21441) -Codechange: check all accesses to the argv array so a bad NewGRF can 'only' trigger an assert but no longer cause an invalid memory read
2010-12-09 00:16:50 +00:00
yexo
12e0f28229
(svn r21440) -Codechange: pass a pointer to just past the end of the argv array around in FormatString and friends
2010-12-09 00:15:38 +00:00
translators
194d1faa8e
(svn r21439) -Update from WebTranslator v3.0:
...
belarusian - 6 changes by KorneySan
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 7 changes by IPG
italian - 6 changes by lorenzodv
polish - 6 changes by voythas
russian - 6 changes by Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2010-12-08 18:45:39 +00:00
rubidium
f570285653
(svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking
2010-12-08 18:21:29 +00:00
rubidium
566174ecc0
(svn r21437) -Fix: Object newgrf debug data table was outdated
2010-12-08 17:51:57 +00:00
yexo
ac0e83a7e2
(svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed
2010-12-08 13:44:01 +00:00
yexo
5c181fe556
(svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end of a string could cause invalid memory reads
2010-12-07 22:34:30 +00:00
rubidium
ec63b0cf28
(svn r21432) -Cleanup: remove the now obsolete strings as well
2010-12-07 21:14:00 +00:00
rubidium
00d3428edf
(svn r21431) -Cleanup: remove the build-while-paused cheat
2010-12-07 21:13:34 +00:00
rubidium
5dbd80ff3c
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
2010-12-07 21:13:00 +00:00
rubidium
0c23b0b3a4
(svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands
2010-12-07 21:12:23 +00:00
rubidium
49162ab39b
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
2010-12-07 21:09:30 +00:00
rubidium
e170b1d83e
(svn r21427) -Add: helper function to determine whether a command may be executed
2010-12-07 21:08:35 +00:00
rubidium
df410fd7ed
(svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused
2010-12-07 21:08:08 +00:00
rubidium
b3eb3b96b9
(svn r21425) -Codechange: add "command types" to all commands
2010-12-07 21:05:27 +00:00
rubidium
0f2402306c
(svn r21424) -Fix: CMD_CLEAR_ORDER_BACKUP might not get executed when the user pressed the shift key
2010-12-07 20:45:11 +00:00
rubidium
249d21d3de
(svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers
2010-12-07 20:40:50 +00:00
translators
933a4d4825
(svn r21422) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
estonian - 6 changes by Jaanus
italian - 1 changes by lorenzodv
brazilian_portuguese - 41 changes by Tucalipe
russian - 3 changes by KorneySan, Lone_Wolf
thai - 18 changes by kenny
2010-12-07 18:45:22 +00:00
translators
4b90c8b9e8
(svn r21421) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
catalan - 3 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 21 changes by habell
french - 1 changes by glx
irish - 2 changes by tem
korean - 1 changes by junho2813
polish - 2 changes by voythas
romanian - 7 changes by kneekoo
russian - 2 changes by KorneySan
serbian - 25 changes by etran
slovenian - 3 changes by ntadej
ukrainian - 2 changes by Fixer
vietnamese - 2 changes by myquartz, nglekhoi
2010-12-06 18:45:47 +00:00
rubidium
1dfd5c6405
(svn r21420) -Fix: admins were always given the stats of company 0
2010-12-06 14:55:47 +00:00
rubidium
54f3e04590
(svn r21418) -Fix: core.h needs config.h
2010-12-06 11:53:05 +00:00
rubidium
378e233023
(svn r21417) -Fix: ofcourse MSVC x64 has something to complain about
2010-12-05 22:43:56 +00:00
rubidium
ea68039718
(svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes
2010-12-05 22:25:49 +00:00
rubidium
44d1c55347
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
2010-12-05 22:25:36 +00:00
rubidium
5c9c3f1acf
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
2010-12-05 22:25:21 +00:00
rubidium
6e69b943d6
(svn r21413) -Codechange: limit sign name by amount of characters, not bytes
2010-12-05 22:25:08 +00:00
rubidium
cf61c2f11f
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
2010-12-05 22:24:50 +00:00
rubidium
768da4b48f
(svn r21411) -Codechange: limit group name by amount of characters, not bytes
2010-12-05 22:24:34 +00:00
rubidium
ab9cc74ba5
(svn r21410) -Codechange: limit engine name by amount of characters, not bytes
2010-12-05 22:24:20 +00:00
rubidium
091263317e
(svn r21409) -Codechange: limit depot name by amount of characters, not bytes
2010-12-05 22:24:04 +00:00
rubidium
9a18050646
(svn r21408) -Codechange: limit president name by amount of characters, not bytes
2010-12-05 22:23:50 +00:00
rubidium
66c7f00b60
(svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes
2010-12-05 22:22:54 +00:00
rubidium
bbaa262b0d
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
2010-12-05 22:21:37 +00:00
rubidium
9139a6c858
(svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed
2010-12-05 22:21:13 +00:00
rubidium
440a529701
(svn r21404) -Add: method for getting the length of an Utf8 string in characters
2010-12-05 22:17:25 +00:00
rubidium
7e9b132d04
(svn r21403) -Change: the maximum size of the string argument of a command
2010-12-05 22:17:25 +00:00
translators
1d96ac6ca3
(svn r21402) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
czech - 2 changes by SmatZ
finnish - 2 changes by jpx_
french - 2 changes by glx
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
romanian - 12 changes by kneekoo
spanish - 2 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-12-05 18:45:31 +00:00
rubidium
5f25cdbbd5
(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...
2010-12-05 15:08:41 +00:00
rubidium
ff8a01fbd2
(svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit
2010-12-05 14:49:46 +00:00
rubidium
216e48cd07
(svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds.
2010-12-05 14:48:39 +00:00
rubidium
02b3bc57d5
(svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately
2010-12-05 14:45:52 +00:00
rubidium
948cffc930
(svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file
2010-12-05 14:44:31 +00:00
rubidium
69766049ce
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
2010-12-05 14:43:10 +00:00
rubidium
085c693289
(svn r21395) -Codechange: move the save and load filter's interface to a header
2010-12-05 14:41:34 +00:00
rubidium
5ff58155d1
(svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well
2010-12-05 14:37:54 +00:00
rubidium
da76d2f46f
(svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format"
2010-12-05 14:35:55 +00:00
rubidium
97434f0e06
(svn r21392) -Change: prepare the network protocol for getting the file size later in the download process
2010-12-05 14:34:19 +00:00
rubidium
c8e8b0e0a0
(svn r21391) -Update (r21390): the string names in the translations
2010-12-05 14:33:20 +00:00
rubidium
98df56d032
(svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client
2010-12-05 14:32:13 +00:00
terkhen
77cb1b7e06
(svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window.
2010-12-04 22:54:11 +00:00
alberth
fd2f1399d4
(svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text box when cheating the year.
2010-12-04 21:51:02 +00:00
alberth
4a35dafcd2
(svn r21387) -Codechange: Add an enum for cheat numbers.
2010-12-04 21:38:42 +00:00
alberth
2baa9f2c5d
(svn r21386) -Codechange: Use updated value to decide year to cheat to, instead of increment/decrement.
2010-12-04 21:36:36 +00:00
alberth
fd1c95342e
(svn r21385) -Codechange: Added a missing 'this' prefix, and some documentation to cheat gui code.
2010-12-04 21:25:24 +00:00
rubidium
6a54bf78c6
(svn r21384) -Fix: failure of WT3 to properly validate some string...
2010-12-04 18:48:11 +00:00
translators
eae1457fbe
(svn r21383) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
czech - 1 changes by marek995
german - 1 changes by norbert79
russian - 6 changes by KorneySan
slovak - 1 changes by marek995
spanish - 2 changes by Terkhen
2010-12-04 18:45:22 +00:00
rubidium
e5b456f289
(svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion
2010-12-04 13:04:19 +00:00
rubidium
a0fb4c8a13
(svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun...
2010-12-04 10:08:32 +00:00
rubidium
b7d2d79581
(svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place
2010-12-04 09:56:13 +00:00
rubidium
bf7da9b3a8
(svn r21379) -Codechange: move the actual save code into a separate function
2010-12-04 09:54:38 +00:00
rubidium
a7b9297d20
(svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class
2010-12-04 09:53:43 +00:00
rubidium
1d8d046823
(svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters
2010-12-04 09:52:52 +00:00
rubidium
d1db18757d
(svn r21376) -Codechange: generalise ClearMemoryDumper
2010-12-04 09:43:13 +00:00
rubidium
8d81e17acc
(svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters
2010-12-04 09:09:29 +00:00
planetmaker
f6aa80c617
(svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines'
2010-12-04 08:38:02 +00:00
rubidium
b250888aa3
(svn r21373) -Codechange: rewrite the game state to memory dumper
2010-12-02 23:08:22 +00:00
yexo
22d0ce0366
(svn r21372) -Cleanup: remove some broken npf debug code
2010-12-02 23:05:48 +00:00
rubidium
d81cee085b
(svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable
2010-12-02 22:43:10 +00:00
yexo
3df30280d4
(svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error
2010-12-02 19:21:13 +00:00
rubidium
6f549e54b5
(svn r21369) -Fix: don't add object specs that weren't associate with graphics
2010-12-02 18:51:44 +00:00
translators
654f475983
(svn r21368) -Update from WebTranslator v3.0:
...
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
2010-12-02 18:45:10 +00:00
frosch
6d962a3e35
(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.
2010-12-01 21:35:18 +00:00
translators
2dcda5fa8f
(svn r21366) -Update from WebTranslator v3.0:
...
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
2010-12-01 18:45:09 +00:00
rubidium
fe9db12935
(svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit
2010-11-30 20:06:40 +00:00
rubidium
fd752ca2b0
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
2010-11-30 20:01:26 +00:00
translators
a0f0f5e2e1
(svn r21362) -Update from WebTranslator v3.0:
...
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-30 18:45:12 +00:00
rubidium
31c8ab0ed8
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
2010-11-30 14:18:20 +00:00
rubidium
21cf75951c
(svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu
2010-11-30 14:11:29 +00:00
rubidium
b6c2216749
(svn r21358) -Codechange: make some network function names conform to coding style
2010-11-30 13:38:46 +00:00
rubidium
9c83a8975f
(svn r21357) -Codechange: make it possible to resize the packet's buffer
2010-11-30 13:22:29 +00:00
planetmaker
c45d88ea6c
(svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu)
2010-11-30 00:15:38 +00:00
translators
283cf61e8c
(svn r21354) -Update from WebTranslator v3.0:
...
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
2010-11-29 18:45:14 +00:00
frosch
f2c84e0120
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
2010-11-29 17:26:47 +00:00
rubidium
c60a850fed
(svn r21350) -Fix: some indentation
2010-11-28 22:45:47 +00:00
yexo
dfe8b546ec
(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons
2010-11-28 19:48:13 +00:00
yexo
d81d42bfc3
(svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result
2010-11-28 19:40:35 +00:00
yexo
35af463046
(svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments
2010-11-28 19:39:04 +00:00
translators
9b54d4266b
(svn r21345) -Update from WebTranslator v3.0:
...
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
2010-11-28 18:45:10 +00:00
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
2010-11-27 22:52:12 +00:00
terkhen
4b944cb13e
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
2010-11-27 22:47:29 +00:00
terkhen
ae78847f0f
(svn r21342) -Add: Sort some lists again after a language change.
2010-11-27 22:43:58 +00:00
terkhen
f2cc73bb51
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
2010-11-27 22:42:24 +00:00
terkhen
92d14f692b
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
2010-11-27 21:11:37 +00:00
rubidium
b46e57d364
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
2010-11-27 21:09:41 +00:00
translators
def0d71767
(svn r21337) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
2010-11-27 18:45:14 +00:00
rubidium
ff015ac62c
(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen)
2010-11-27 12:55:43 +00:00
rubidium
529da62f15
(svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs
2010-11-26 23:25:34 +00:00
rubidium
67f74559fc
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
2010-11-26 22:25:02 +00:00
smatz
c9a186c9ff
(svn r21333) -Fix: failure of WT3 to properly validate some string...
2010-11-26 18:53:09 +00:00
translators
00fb5ed92d
(svn r21332) -Update from WebTranslator v3.0:
...
catalan - 39 changes by arnau
czech - 15 changes by marek995
french - 5 changes by glx
italian - 17 changes by lorenzodv
polish - 2 changes by xaxa
portuguese - 84 changes by Samu
2010-11-26 18:45:22 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
61637f493a
(svn r21330) -Fix: two wrong ISO country codes
2010-11-26 11:03:40 +00:00
rubidium
c95b7a3965
(svn r21328) -Fix: pass the case id when resolving NewGRF strings as well
2010-11-25 23:14:48 +00:00
rubidium
fad75f5d5a
(svn r21327) -Fix: cases are always "off-by-one" w.r.t. to the case table as there is an implicit default case with index 0
2010-11-25 23:14:25 +00:00
rubidium
4e6d29351e
(svn r21326) -Fix: off-by-one in case choice list construction causing case lists to fail completely
2010-11-25 23:10:35 +00:00
rubidium
09e88969cf
(svn r21325) -Change: the order of Portuguese genders
2010-11-25 19:13:21 +00:00
rubidium
30cd1a5934
(svn r21324) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-25 18:48:46 +00:00
translators
4ae1697118
(svn r21323) -Update from WebTranslator v3.0:
...
croatian - 19 changes by VoyagerOne
english_US - 212 changes by Rubidium
finnish - 19 changes by jpx_
french - 16 changes by glx
german - 15 changes by planetmaker
portuguese - 89 changes by JayCity, Samu
spanish - 19 changes by Terkhen
swedish - 1 changes by Zuu
vietnamese - 4 changes by nglekhoi
2010-11-25 18:45:31 +00:00
rubidium
374fc308de
(svn r21322) -Fix [FS#4268] (r20924): packets were leaked
2010-11-25 16:00:04 +00:00
glx
02d63f45e2
(svn r21321) -Fix (r21298): use the correct font sizes when checking for missing glyphs
2010-11-25 15:20:10 +00:00
rubidium
4e78e7b6c2
(svn r21320) -Fix (r21298): somehow a semicolon got lost
2010-11-25 14:55:01 +00:00
smatz
9594a3f7c5
(svn r21319) -Fix: crash when creating file download by the content download system failed
2010-11-25 13:43:09 +00:00
smatz
eb4516e50c
(svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed
2010-11-25 13:41:30 +00:00
rubidium
be1df5f720
(svn r21317) -Change: improve the wording of some of the settings strings
2010-11-24 23:30:42 +00:00
planetmaker
974cff7299
(svn r21316) -Fix: Some more strings where 'player' actually meant 'company'
2010-11-24 23:29:59 +00:00
rubidium
bfbb2bdc3f
(svn r21315) -Cleanup: remove a pair of unused strings
2010-11-24 23:17:52 +00:00
rubidium
31a5f8f043
(svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object
2010-11-24 23:08:12 +00:00
planetmaker
753b1ca0a7
(svn r21313) -Fix: Max vehicle settings are per company, not per player
2010-11-24 22:54:16 +00:00
translators
c282e1a948
(svn r21312) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
dutch - 4 changes by Yexo
portuguese - 43 changes by Samu
2010-11-24 18:45:13 +00:00
rubidium
090d6fb8b7
(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-11-24 17:00:37 +00:00
rubidium
3330dee7e0
(svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup
2010-11-24 08:08:23 +00:00
glx
4231154bb4
(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function
2010-11-24 01:08:49 +00:00
rubidium
bb02e30a37
(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync
2010-11-23 23:59:24 +00:00
glx
e0432a4585
(svn r21307) -Fix (r21306): forgot a #
2010-11-23 23:29:14 +00:00
glx
707d76df30
(svn r21306) -Add: genders for portuguese language
2010-11-23 23:27:55 +00:00
smatz
3302a520f4
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
2010-11-23 22:16:11 +00:00
rubidium
c5cbb61c11
(svn r21301) -Fix: failure of WT3 to properly validate some string...
2010-11-23 18:47:57 +00:00
translators
b0d8cbe865
(svn r21300) -Update from WebTranslator v3.0:
...
chuvash - 21 changes by mefisteron
polish - 3 changes by voythas
vietnamese - 1 changes by nglekhoi
2010-11-23 18:45:11 +00:00
rubidium
33e3d7f6a2
(svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game
2010-11-23 18:26:02 +00:00
glx
d9173858a2
(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change
2010-11-23 17:59:50 +00:00
translators
2e338ba520
(svn r21296) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 1 changes by VoyagerOne
dutch - 11 changes by habell
french - 7 changes by glx
irish - 7 changes by tem
korean - 4 changes by junho2813
romanian - 5 changes by tonny
slovak - 4 changes by marek995
2010-11-22 18:45:27 +00:00
rubidium
3cf9f175d8
(svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO)
2010-11-22 17:59:11 +00:00
rubidium
ac2f9b0d76
(svn r21293) -Fix: failure of WT3 to properly validate some string...
2010-11-21 18:47:09 +00:00
translators
e5002c3bcf
(svn r21292) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
esperanto - 7 changes by Christopher
hungarian - 3 changes by IPG
portuguese - 4 changes by JayCity
ukrainian - 10 changes by Fixer
vietnamese - 2 changes by nglekhoi
2010-11-21 18:45:22 +00:00
frosch
55d604e60d
(svn r21291) -Fix: Treat objects on water like water in more cases.
2010-11-21 18:39:12 +00:00
frosch
612516ff76
(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.
2010-11-21 18:38:45 +00:00
frosch
0fff26db97
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
2010-11-21 17:42:18 +00:00
frosch
d5360390d0
(svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas.
2010-11-21 17:05:23 +00:00
smatz
752aab7e11
(svn r21285) -Codechange: prevent ICC warning
2010-11-21 16:32:53 +00:00
alberth
3e27739287
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
2010-11-21 12:47:04 +00:00
alberth
5f8afaadb7
(svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional.
2010-11-21 12:38:16 +00:00
alberth
edef25d30c
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
2010-11-21 12:31:16 +00:00
alberth
2974141641
(svn r21281) -Doc: Add doxygen comments to saveload code.
2010-11-21 12:12:23 +00:00
rubidium
f70202bfa8
(svn r21280) -Merge: documentation updates from 1.0
2010-11-20 21:27:21 +00:00
rubidium
54c5bb7149
(svn r21277) -Fix: failure of WT3 to properly validate some string...
2010-11-20 18:47:36 +00:00
translators
228b7db671
(svn r21276) -Update from WebTranslator v3.0:
...
czech - 8 changes by marek995
finnish - 1 changes by jpx_
german - 2 changes by planetmaker
italian - 3 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 1 changes by marek995
slovenian - 2 changes by ntadej
2010-11-20 18:45:28 +00:00
frosch
88063f6fa3
(svn r21275) -Fix (r21272): Draw NW+SW fences in the correct order.
2010-11-20 15:57:25 +00:00
frosch
636ffdc53b
(svn r21274) -Change: Increase the bounding box size of hangars in the hope it fixes more glitches than it causes.
2010-11-20 15:54:54 +00:00
alberth
ab50f74d7f
(svn r21273) -Codechange: Return values should start at the same line.
2010-11-20 15:44:24 +00:00
frosch
38dc34828e
(svn r21272) -Change [FS#119-ish]: Draw airport fences as groundsprites on runway/taxiway tiles. This makes the usual foundation-glitch a lot less likely to happen.
2010-11-20 14:45:52 +00:00
rubidium
3ca5951478
(svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations)
2010-11-20 14:34:57 +00:00
alberth
3b0ee65571
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
2010-11-20 14:15:02 +00:00
frosch
5d72befbcd
(svn r21269) -Codechange: Add TILE_SEQ_CHILD macro to construct child sprites in default stations sprite layouts.
2010-11-20 14:05:16 +00:00
rubidium
3f1de4926e
(svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases
2010-11-20 13:57:49 +00:00
alberth
9d899b3758
(svn r21267) -Doc: Typo fixes.
2010-11-20 13:33:24 +00:00
rubidium
ffa437a6c1
(svn r21266) -Change: don't receive money for removing the rail of non-rail railstation tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed
2010-11-20 12:52:06 +00:00
alberth
d6afbd025c
(svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available.
2010-11-20 12:20:59 +00:00
rubidium
097880c5e2
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
2010-11-20 09:09:57 +00:00
frosch
f80af8f8c8
(svn r21262) -Fix (r18708)[FS#4246]: Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case.
2010-11-20 00:24:50 +00:00
rubidium
6fa54473be
(svn r21261) -Codechange: beat some sense into some variable names
2010-11-19 23:08:45 +00:00
rubidium
ede2fb8176
(svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings
2010-11-19 19:38:02 +00:00
rubidium
8ba6d25db6
(svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and var47 (object colour)
2010-11-19 19:25:35 +00:00
rubidium
0c6810eebe
(svn r21258) -Fix: remove strings with the U+FFFD "replacement character"
2010-11-19 18:47:09 +00:00
translators
8133032874
(svn r21257) -Update from WebTranslator v3.0:
...
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
2010-11-19 18:45:27 +00:00
rubidium
874abb2965
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
2010-11-19 15:55:53 +00:00
rubidium
999246f63e
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
2010-11-19 13:24:32 +00:00
rubidium
6d09f4a3cb
(svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow
2010-11-19 12:33:19 +00:00
rubidium
611a9f2007
(svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version
2010-11-19 10:58:38 +00:00
rubidium
ab44c91778
(svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it
2010-11-19 10:35:59 +00:00
rubidium
924a924907
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
2010-11-18 23:31:06 +00:00
rubidium
40258d927f
(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo)
2010-11-18 23:09:24 +00:00
rubidium
ed04bef953
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
2010-11-18 22:27:15 +00:00
rubidium
f7b2a87292
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
2010-11-18 22:26:29 +00:00
rubidium
c7f0518f16
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
2010-11-18 22:24:10 +00:00
planetmaker
94c45d9cc3
(svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy
2010-11-18 20:45:27 +00:00
rubidium
16c90ed48b
(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead
2010-11-18 19:24:40 +00:00
rubidium
60e153002c
(svn r21243) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-18 18:50:17 +00:00
translators
72a6fc8aaf
(svn r21242) -Update from WebTranslator v3.0:
...
belarusian - 12 changes by KorneySan
croatian - 6 changes by VoyagerOne
czech - 1 changes by SmatZ
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
hungarian - 12 changes by IPG
italian - 6 changes by lorenzodv
russian - 7 changes by KorneySan, Lone_Wolf
serbian - 14 changes by etran
slovenian - 83 changes by ntadej
spanish - 8 changes by Terkhen
swedish - 12 changes by Zuu
vietnamese - 5 changes by nglekhoi
2010-11-18 18:45:42 +00:00
terkhen
f31485a2f9
(svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages.
2010-11-18 17:49:42 +00:00
rubidium
2223ff92c7
(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo)
2010-11-18 14:32:09 +00:00
rubidium
46186134c8
(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
2010-11-18 14:20:03 +00:00
rubidium
61ff042460
(svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo)
2010-11-18 14:17:55 +00:00
rubidium
9af570eab4
(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)
2010-11-18 14:15:27 +00:00
rubidium
34c658b203
(svn r21236) -Codechange: Make the visual effects drawing routine work for all vehicle types (Hirundo)
2010-11-18 14:11:50 +00:00
rubidium
b9407f7ca0
(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo)
2010-11-18 14:09:39 +00:00
rubidium
797435f05d
(svn r21234) -Codechange: Make Train::UpdateVisualEffect work for all vehicle types (Hirundo)
2010-11-18 14:07:48 +00:00
rubidium
f4689f4301
(svn r21233) -Codechange: Introduce an enum to remove some magic numbers from the visual effect code (Hirundo)
2010-11-18 14:04:36 +00:00
rubidium
79c47ef8b0
(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo)
2010-11-18 14:03:12 +00:00
rubidium
5a503d505b
(svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo)
2010-11-18 14:01:20 +00:00
rubidium
31c0ba9d29
(svn r21230) -Fix/Change/Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (Hirundo).
2010-11-18 13:51:54 +00:00
rubidium
6878a0ffd7
(svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases
2010-11-17 23:07:53 +00:00
rubidium
19cbf9b479
(svn r21228) -Fix: some MSVC 64 bits warnings
2010-11-17 19:43:15 +00:00
rubidium
4e16467f5b
(svn r21227) -Fix (r21222): conversion didn't go right when cases were involved
2010-11-17 19:41:58 +00:00
rubidium
864ab05cd0
(svn r21226) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-17 18:50:08 +00:00
translators
7d8a886d92
(svn r21225) -Update from WebTranslator v3.0:
...
croatian - 7 changes by VoyagerOne
czech - 14 changes by SmatZ
dutch - 2 changes by habell
finnish - 8 changes by USephiroth
french - 6 changes by glx
german - 12 changes by planetmaker
italian - 11 changes by lorenzodv
macedonian - 116 changes by RCTMASTA
portuguese - 4 changes by JayCity
romanian - 9 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
vietnamese - 5 changes by nglekhoi
2010-11-17 18:45:46 +00:00
rubidium
7826b78415
(svn r21224) -Fix [FS#4172]: [NewGRF] The specs' cargo strings and OpenTTD's use of the clashed. Provide properties so NewGRFs can provide cargo strings tailored for OpenTTD while retaining (some) backward compatability
2010-11-17 18:35:59 +00:00
rubidium
602a0f10fa
(svn r21223) -Fix: use proper plural for the short cargo unit names
2010-11-17 18:16:21 +00:00
rubidium
418cca075f
(svn r21222) -Codechange: unify some string drawing and make it use the proper infrastructure for that...
2010-11-17 18:15:27 +00:00
rubidium
a950e9a4a8
(svn r21221) -Fix (r11429): short cargo units names for some cargo types/strings are not properly mapped to the strings that we use for the default industries
2010-11-17 18:04:11 +00:00
rubidium
3136775bbe
(svn r21220) -Codechange: give a string a much better name
2010-11-17 17:52:10 +00:00
yexo
8578ec7496
(svn r21218) -Fix (r21189)[FS#4236]: don't force a minimum speed when braking
2010-11-16 23:38:05 +00:00
frosch
33281491b1
(svn r21217) -Add: Plural codes to some english strings.
2010-11-16 21:11:34 +00:00
rubidium
18f0f1d81d
(svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals
2010-11-16 21:03:39 +00:00
rubidium
ebf7b915b0
(svn r21215) -Codechange: store the plural form in the plural (choice) lists
2010-11-16 21:01:56 +00:00
terkhen
c96cb9ce37
(svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers.
2010-11-16 20:56:04 +00:00
translators
07ad8851cc
(svn r21212) -Update from WebTranslator v3.0:
...
dutch - 4 changes by habell
2010-11-16 18:45:06 +00:00
rubidium
ddf71db8c2
(svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders
2010-11-16 16:58:19 +00:00
rubidium
0f9c40244a
(svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring
2010-11-16 14:00:02 +00:00
rubidium
0500c92003
(svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names
2010-11-16 12:47:22 +00:00
rubidium
e84c52e662
(svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic
2010-11-16 12:35:16 +00:00
rubidium
b00858473c
(svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented
2010-11-16 12:18:35 +00:00
terkhen
d7aa9a6bd1
(svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window.
2010-11-16 12:05:41 +00:00
rubidium
0f2a9877b8
(svn r21204) -Codechange: unify style of string code conversion
2010-11-16 11:50:26 +00:00
rubidium
4b4db5d86e
(svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well
2010-11-16 11:42:47 +00:00
rubidium
4965c7dd2b
(svn r21202) -Codechange: allow strings with embedded '\0' in GRFText.
2010-11-16 11:34:19 +00:00
rubidium
a15d309721
(svn r21201) -Document: some GRFText methods/fields
2010-11-16 11:25:19 +00:00
planetmaker
8d42b04e3b
(svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode
2010-11-15 19:53:15 +00:00
translators
be0a922be5
(svn r21199) -Update from WebTranslator v3.0:
...
belarusian - 4 changes by KorneySan
croatian - 4 changes by VoyagerOne
hungarian - 4 changes by IPG
norwegian_bokmal - 4 changes by mantaray
russian - 4 changes by Lone_Wolf
slovenian - 4 changes by ntadej
2010-11-15 18:45:23 +00:00
rubidium
a6a2fbd937
(svn r21198) -Fix: don't call variables properties in debug messages
2010-11-15 16:43:46 +00:00
planetmaker
b7d8001202
(svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters
2010-11-15 08:31:07 +00:00
rubidium
d572100585
(svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing
2010-11-14 21:39:12 +00:00
translators
6433ce5f6c
(svn r21193) -Update from WebTranslator v3.0:
...
french - 4 changes by glx
serbian - 4 changes by etran
2010-11-14 18:45:10 +00:00
frosch
478da38d2b
(svn r21192) -Fix (r15505)[FS#4226]: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation-seed as well.
2010-11-14 16:16:28 +00:00
terkhen
1fe2ce42ca
(svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown.
2010-11-14 16:13:07 +00:00
terkhen
eda95bb85c
(svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model.
2010-11-14 15:48:24 +00:00
translators
41c97d051f
(svn r21185) -Update from WebTranslator v3.0:
...
traditional_chinese - 5 changes by josesun
finnish - 17 changes by USephiroth
german - 4 changes by planetmaker
luxembourgish - 5 changes by Phreeze
polish - 5 changes by xaxa
brazilian_portuguese - 2 changes by bmnds
russian - 5 changes by Lone_Wolf
slovak - 4 changes by marek995
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-11-14 13:00:56 +00:00
rubidium
673b3711b4
(svn r21182) -Fix: possible just-freed memory reads
2010-11-14 12:05:24 +00:00
rubidium
a9da53c106
(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable?
2010-11-13 23:40:36 +00:00
rubidium
fc75b00992
(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well
2010-11-13 19:15:26 +00:00
rubidium
034eb834cc
(svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage
2010-11-13 19:10:30 +00:00
translators
46cdc7b3d3
(svn r21176) -Update from WebTranslator v3.0:
...
portuguese - 1 changes by frosch
brazilian_portuguese - 9 changes by bmnds
swedish - 1 changes by Zuu
turkish - 33 changes by niw3
2010-11-13 18:45:17 +00:00
alberth
2c4564c7dd
(svn r21175) -Add: Forced construction of missing industries.
2010-11-13 15:21:55 +00:00
alberth
0c775e5750
(svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries.
2010-11-13 15:20:57 +00:00
alberth
a245db6360
(svn r21173) -Codechange: Don't recompute target industry counts each time.
2010-11-13 15:19:43 +00:00
alberth
eb4ab0091a
(svn r21172) -Feature: Better control over how many new industries are created during the game.
2010-11-13 15:17:55 +00:00
alberth
f22fb0d53d
(svn r21171) -Change: Reset industry build data at game start or load.
2010-11-13 15:15:25 +00:00
alberth
4d419b9f3e
(svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future).
2010-11-13 15:13:14 +00:00
alberth
67549a206c
(svn r21169) -Feature: Do not build industries during economic recession.
2010-11-13 15:08:47 +00:00
alberth
3211ab301e
(svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build.
2010-11-13 15:07:34 +00:00
alberth
e861487bcb
(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable.
2010-11-13 15:04:58 +00:00
alberth
1bf94674df
(svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry().
2010-11-13 15:02:31 +00:00
rubidium
d46a2ef122
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
2010-11-13 14:36:43 +00:00
rubidium
8aba642ed5
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
2010-11-13 12:09:30 +00:00
rubidium
68b94e61e0
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
2010-11-13 11:38:01 +00:00
rubidium
a664227c8e
(svn r21162) -Codechange: move the config "field" for the language file out of dynlang
2010-11-13 11:28:55 +00:00
rubidium
f4e4056aed
(svn r21161) -Codechange: make the currently used language easier accessible
2010-11-13 11:25:58 +00:00
rubidium
f195920695
(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
2010-11-13 11:11:02 +00:00
alberth
239fcc8ccd
(svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer.
2010-11-13 10:17:16 +00:00
alberth
6c088543c1
(svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards.
2010-11-13 10:11:47 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
43f807a918
(svn r21156) -Codechange: Introduce EconomyIsInRecession().
2010-11-13 09:45:20 +00:00
rubidium
aea8274dba
(svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched
2010-11-12 21:40:43 +00:00
rubidium
9770d88412
(svn r21154) -Fix [FS#4223]: OPF has been removed for trains, so the 90 degree turn option doesn't need to mention it's not supported for OPF
2010-11-12 21:37:15 +00:00
rubidium
395335c197
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
2010-11-12 19:40:39 +00:00
translators
15dafc4dc2
(svn r21152) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
polish - 2 changes by silver_777
2010-11-12 18:45:10 +00:00
rubidium
0fc5206a5b
(svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string
2010-11-12 16:29:09 +00:00
rubidium
671158acd8
(svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4
2010-11-12 12:00:03 +00:00
terkhen
13685c0210
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
2010-11-11 22:19:27 +00:00
translators
f3574a273b
(svn r21147) -Update from WebTranslator v3.0:
...
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
2010-11-11 18:45:12 +00:00
rubidium
67d071d033
(svn r21145) -Fix: station list wasn't updated when a new cargo got a rating
2010-11-11 10:34:44 +00:00
rubidium
e745bd9815
(svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting
2010-11-11 10:34:01 +00:00
rubidium
6a1a4fc5bb
(svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting
2010-11-11 09:12:01 +00:00
rubidium
ed18d02e9a
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
2010-11-10 23:43:14 +00:00
rubidium
65e6c9fd12
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
2010-11-10 23:16:28 +00:00
rubidium
b50aeb9552
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
2010-11-10 23:15:48 +00:00
rubidium
f118744ff2
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
2010-11-10 23:14:48 +00:00
rubidium
8b8b4e083c
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
2010-11-10 23:13:37 +00:00
rubidium
72a6eeef26
(svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed
2010-11-10 22:56:05 +00:00
rubidium
d1dfb27699
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
2010-11-10 20:15:48 +00:00
smatz
b8cb654adc
(svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn
2010-11-10 19:54:20 +00:00
rubidium
1ddc05e822
(svn r21134) -Change: perform some more stringent validity checking on the language files
2010-11-10 17:49:44 +00:00
rubidium
17b514ccd1
(svn r21133) -Add: function to check the validity of a string (without modifying it)
2010-11-10 17:49:14 +00:00
rubidium
8cd48767f9
(svn r21132) -Codechange: unify the language file version/validity checking
2010-11-10 17:48:31 +00:00
rubidium
2df2c021df
(svn r21131) -Codechange: show a (debug) warning when the GRF ID of a NewGRF differs between the file scan and other stages
2010-11-10 17:04:32 +00:00
rubidium
016b9f289f
(svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync
2010-11-10 17:03:01 +00:00
rubidium
bb19bdd566
(svn r21129) -Fix [FS#4208-ish]: Crash when showing the "disabled static NewGRF for desync purposes" message
2010-11-10 17:02:12 +00:00
rubidium
0f5c1e2eaf
(svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server)
2010-11-10 17:01:29 +00:00
rubidium
15defb219f
(svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name
2010-11-10 16:31:46 +00:00
rubidium
7c7a0cc3f7
(svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages
2010-11-10 16:25:20 +00:00
rubidium
ab31493dc2
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
2010-11-09 21:57:02 +00:00
translators
b3ab73164c
(svn r21124) -Update from WebTranslator v3.0:
...
dutch - 1 changes by habell
irish - 3 changes by tem
romanian - 1 changes by kkmic
slovenian - 2 changes by ntadej
2010-11-09 18:45:17 +00:00
terkhen
6a38925ca3
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
2010-11-09 17:43:05 +00:00
terkhen
e1ff8aeb09
(svn r21122) -Fix (r21100): Use the cached max speed when checking road vehicle overtaking.
2010-11-09 17:39:41 +00:00
terkhen
e08aa7e8e6
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
2010-11-09 17:36:40 +00:00
terkhen
c6ad6f52a9
(svn r21120) -Fix (r21096): Use the engine max speed value instead of the savegame value, as the latter could be stored in old units in old savegames.
2010-11-09 10:56:02 +00:00
frosch
b1765482d2
(svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places.
2010-11-08 21:26:32 +00:00
frosch
c0ea0ac301
(svn r21118) -Codechange: Name and deduplicate some magic numbers.
2010-11-08 21:22:21 +00:00
translators
54c6e23f78
(svn r21117) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
french - 1 changes by glx
korean - 1 changes by junho2813
spanish - 1 changes by Terkhen
2010-11-08 18:45:22 +00:00
planetmaker
5565ae1ac0
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
2010-11-07 21:46:41 +00:00
rubidium
b9ccf6dccc
(svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported
2010-11-07 20:57:41 +00:00
translators
12f9212239
(svn r21114) -Update from WebTranslator v3.0:
...
basque - 11 changes by HerrBasque
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 4 changes by lorenzodv
malay - 14 changes by rionix88
norwegian_bokmal - 3 changes by mantaray
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-07 18:45:34 +00:00
rubidium
28ed77c354
(svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is
2010-11-07 18:35:59 +00:00
rubidium
a89fed21c7
(svn r21112) -Codechange: reduce the amount (of copying) variables
2010-11-07 18:20:18 +00:00
alberth
17695611cb
(svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable.
2010-11-07 13:56:13 +00:00
alberth
a026ee9b4c
(svn r21110) -Add: Tidy up the buttons of the active newgrfs list.
2010-11-07 13:54:49 +00:00
alberth
5962e1db3a
(svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable.
2010-11-07 13:54:04 +00:00
alberth
f961fe626b
(svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget.
2010-11-07 13:51:34 +00:00
michi_cc
b26b8b5b2a
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
2010-11-07 13:35:12 +00:00
michi_cc
2d801c64a1
(svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
2010-11-07 13:35:07 +00:00
planetmaker
1ee62de0a3
(svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort
2010-11-06 20:20:03 +00:00
planetmaker
2364ac83a0
(svn r21104) -Doc: Add doxygen commands to a few functions
2010-11-06 20:12:20 +00:00
planetmaker
eaae7ab8b1
(svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles
2010-11-06 20:11:36 +00:00
translators
59d32eff47
(svn r21102) -Update from WebTranslator v3.0:
...
malay - 39 changes by rionix88
2010-11-06 18:45:07 +00:00
planetmaker
c36da4841b
(svn r21101) -Doc: Additions and clarifications of doxygen comments
2010-11-06 16:55:15 +00:00
terkhen
b65df93121
(svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed).
2010-11-06 13:11:24 +00:00
terkhen
18e3a3ddfc
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
2010-11-06 13:05:11 +00:00
terkhen
25d1b2f54b
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
2010-11-06 13:03:17 +00:00
terkhen
c8a56f17f8
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
2010-11-06 12:53:31 +00:00
terkhen
78d0a1cb1a
(svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value.
2010-11-06 12:50:34 +00:00
terkhen
cfac2ced69
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
2010-11-06 12:47:12 +00:00
terkhen
609e6dae3f
(svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed.
2010-11-06 12:45:40 +00:00
terkhen
5f72460cac
(svn r21093) -Codechange: Align some functions.
2010-11-06 12:42:04 +00:00
terkhen
766bf140db
(svn r21092) -Codechange: Merge max speed functions.
2010-11-06 12:40:38 +00:00
terkhen
d699c4a345
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
2010-11-06 12:39:18 +00:00
terkhen
8eb3d653da
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
2010-11-06 12:37:55 +00:00
translators
98744c5ff0
(svn r21089) -Update from WebTranslator v3.0:
...
luxembourgish - 5 changes by Phreeze
2010-11-05 18:45:07 +00:00
alberth
fa13971337
(svn r21088) -Doc: Additions/corrections of doxygen comments.
2010-11-05 16:34:22 +00:00
alberth
5e3991e20e
(svn r21087) -Doc: Align and make existing comments available for doxygen.
2010-11-05 15:48:30 +00:00
rubidium
399eedd884
(svn r21086) -Feature-ish: [NewGRF] String code to print the weight in format based on settings
2010-11-05 13:40:18 +00:00
rubidium
a6f4769ec7
(svn r21085) -Feature-ish: [NewGRF] Implement stringcode 9A 0C (station name)
2010-11-05 13:34:39 +00:00
rubidium
f368d0c449
(svn r21084) -Codechange: name a variable to cover its actual implementation better
2010-11-05 13:21:30 +00:00
belugas
fc0e64586c
(svn r21083) -Codechange: Limit the number of exceptions in the refittable cargo list to 7 (Eddi)
2010-11-04 19:48:25 +00:00
terkhen
42ee8f7df7
(svn r21082) -Fix (r21080): Compilation error.
2010-11-04 19:34:40 +00:00
translators
dbfffd717f
(svn r21081) -Update from WebTranslator v3.0:
...
ukrainian - 4 changes by Madvin
2010-11-04 18:45:06 +00:00
terkhen
725cf7d8bb
(svn r21080) -Fix: Do not allow to use a custom water level with the original map generator.
2010-11-04 18:34:37 +00:00
belugas
ab9279b5a0
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
2010-11-04 17:42:24 +00:00
rubidium
b1c95e12f1
(svn r21078) -Fix [FS#4203]: snowline didn't want to be very high
2010-11-03 22:03:12 +00:00
translators
b57a527e12
(svn r21077) -Update from WebTranslator v3.0:
...
danish - 8 changes by beruic
2010-11-03 18:45:06 +00:00
translators
422a0f8648
(svn r21076) -Update from WebTranslator v3.0:
...
luxembourgish - 74 changes by Phreeze
2010-11-02 18:45:06 +00:00
rubidium
6d11c09ee6
(svn r21075) -Fix [FS#4192]: Wrong (maximum) value shown for generation seed in the in-game console
2010-11-01 22:53:05 +00:00
rubidium
7148a8e21f
(svn r21074) -Fix [FS#4194]: Crash when loading a corrupted 0.7.x (or before) savegame where the waypoint refered to an already removed town
2010-11-01 22:27:34 +00:00
rubidium
adde677c0a
(svn r21073) -Fix: spelling errors in comments
2010-11-01 22:12:12 +00:00
translators
d61eba39da
(svn r21072) -Update from WebTranslator v3.0:
...
traditional_chinese - 2 changes by josesun
2010-11-01 18:45:07 +00:00
rubidium
d970eac2f2
(svn r21071) -Fix: ofcourse the svn properties weren't set properly either :(
2010-11-01 14:26:57 +00:00
rubidium
dcc4d7a747
(svn r21070) -Fix: file not being picked up by doxygen
2010-11-01 14:18:22 +00:00
translators
b17064f191
(svn r21068) -Update from WebTranslator v3.0:
...
luxembourgish - 9 changes by Phreeze
2010-10-31 18:45:05 +00:00
translators
0bccf52b55
(svn r21066) -Update from WebTranslator v3.0:
...
korean - 8 changes by junho2813
luxembourgish - 7 changes by Phreeze
thai - 140 changes by animated
2010-10-31 17:45:12 +00:00
michi_cc
406b4b3873
(svn r21065) -Fix (r19733): Crash when displaying 60+x parameters in the NewGRF inspect window.
2010-10-31 16:16:28 +00:00
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
2010-10-30 17:51:07 +00:00
translators
ca8d55ebcd
(svn r21059) -Update from WebTranslator v3.0:
...
frisian - 32 changes by gjannema
2010-10-30 17:45:06 +00:00
terkhen
c87e023d7a
(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
2010-10-30 14:31:49 +00:00
rubidium
0baf335be3
(svn r21057) -Fix [FS#4182] (r20922): network client "fast forward" incrementing counter multiple times in same "GUI" tick causing an invalid state
2010-10-29 19:35:43 +00:00
translators
edcd1af9ac
(svn r21056) -Update from WebTranslator v3.0:
...
turkish - 7 changes by niw3
2010-10-29 17:45:06 +00:00
alberth
606519c112
(svn r21055) -Codechange [FS#4190]: Code style fix (chillcore)
2010-10-29 14:59:37 +00:00
yexo
e5f1161edd
(svn r21054) -Fix [FS#4188] (r19397): scenario starting year was not set correctly when changed by clicking on the date panel and entering a new value
2010-10-28 18:15:42 +00:00
translators
169c2ce619
(svn r21053) -Update from WebTranslator v3.0:
...
frisian - 5 changes by gjannema
german - 2 changes by planetmaker
2010-10-28 17:45:09 +00:00
yexo
9a07ebc382
(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken
2010-10-28 11:10:12 +00:00
rubidium
c311f18ba4
(svn r21050) -Fix (r20515): ignore underscores as well for help messages
2010-10-27 20:52:43 +00:00
translators
6e9bafa54a
(svn r21046) -Update from WebTranslator v3.0:
...
frisian - 45 changes by gjannema
serbian - 1 changes by etran
2010-10-27 17:45:09 +00:00
rubidium
59519edd34
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
2010-10-27 16:42:20 +00:00
yexo
61e419e27f
(svn r21041) -Change: [NewGRF] make object var 60 return the object id even when the relative tile is not part of the same object
2010-10-26 21:51:24 +00:00
translators
a6cdb8a75c
(svn r21040) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
norwegian_bokmal - 3 changes by somaen
norwegian_nynorsk - 5 changes by somaen
2010-10-26 17:45:13 +00:00
frosch
8dc7521bf2
(svn r21039) -Fix/Cleanup: Remove an unneeded and even wrong test, which is never reached anyway though.
2010-10-25 20:43:36 +00:00
translators
07093d0a26
(svn r21038) -Update from WebTranslator v3.0:
...
german - 2 changes by norbert79
korean - 4 changes by junho2813
2010-10-25 17:45:09 +00:00
planetmaker
03c012797b
(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen
2010-10-25 06:55:54 +00:00
planetmaker
47523d86fb
(svn r21036) -Fix: [OSX] Properly set the palette when using the 8bpp blitter during start-up
2010-10-25 06:50:48 +00:00
rubidium
1f5554c5c7
(svn r21035) -Fix [FS#4181] (r21020): crash when opening the buoy's viewport. Based on a patch by Krille.
2010-10-24 20:59:25 +00:00
terkhen
0568976c78
(svn r21034) -Fix: Add missing default values for the custom town number and custom water level world generation options.
2010-10-24 20:58:31 +00:00
rubidium
8f9dcab09b
(svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment
2010-10-24 20:51:12 +00:00
rubidium
4ea67eff8b
(svn r21032) -Codechange: perform some more strict tests on the server side when receiving some packets and don't send some when the clients aren't ready for them
2010-10-24 20:30:53 +00:00
frosch
d01e275a25
(svn r21031) -Fix (r19883): Dropdown menu glitched in small screenshots, when issueing them from the menu.
2010-10-24 20:23:45 +00:00
rubidium
f24c91c487
(svn r21030) -Codechange: move ClientStatus into the network server socket class
2010-10-24 20:07:32 +00:00
rubidium
2cd67a51ac
(svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets
2010-10-24 20:03:33 +00:00
translators
fc15063838
(svn r21028) -Update from WebTranslator v3.0:
...
arabic_egypt - 12 changes by kasakg
hebrew - 11 changes by rril
brazilian_portuguese - 51 changes by bmnds
2010-10-24 17:45:12 +00:00
rubidium
744bc2a614
(svn r21027) -Change/Fix: under some circumstances the file handle of the downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases
2010-10-24 16:40:02 +00:00
rubidium
3317f1c01e
(svn r21025) -Codechange: document PacketGameType's enums and reshuffle them slightly to make the whole more readable and easier to understand
2010-10-24 15:22:59 +00:00
rubidium
073b965829
(svn r21024) -Fix: erroneous tab
2010-10-24 15:02:43 +00:00
alberth
c4687de4e2
(svn r21022) -Add (r21021): Missed recentering of a town gui viewport after a resize.
2010-10-23 21:14:35 +00:00
alberth
df7a32d364
(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille).
2010-10-23 20:51:48 +00:00
alberth
83094e5e58
(svn r21020) -Add: Use center of waypoint in waypoint gui, if available.
2010-10-23 20:39:21 +00:00
alberth
cccbc8f418
(svn r21019) -Add: Use center of industry to focus on in the industry gui.
2010-10-23 20:34:12 +00:00
alberth
8f24ec9471
(svn r21018) -Doc: Add Doxygen comments to some function.
2010-10-23 18:28:20 +00:00
alberth
af941fc598
(svn r21017) -Doc: Small fixes (by Krille).
2010-10-23 18:12:38 +00:00
translators
9d76b6f37f
(svn r21016) -Update from WebTranslator v3.0:
...
romanian - 1 changes by tonny
serbian - 3 changes by etran
2010-10-23 17:45:10 +00:00
glx
3a6892ba10
(svn r21015) -Fix [FS#4176]: don't let the resize button go past the bottom of the screen
2010-10-23 17:37:54 +00:00
frosch
cb43ece091
(svn r21014) -Fix [FS#4179](r20098): Reversing of trains in stations while last wagon was in a depot or on a bridge-/tunnelhead caused trouble.
2010-10-22 22:51:15 +00:00
frosch
af6c12d586
(svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo)
2010-10-22 20:04:13 +00:00
frosch
b10fbd477d
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
2010-10-22 19:57:56 +00:00
translators
7647101b03
(svn r21011) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
croatian - 3 changes by UnderwaterHesus
frisian - 136 changes by gjannema
portuguese - 1 changes by nars
serbian - 2 changes by etran
slovak - 9 changes by keso53
thai - 1 changes by reindeeruz
2010-10-22 17:45:23 +00:00
rubidium
cab122efef
(svn r21010) -Fix [FS#4102]: the detailed performance rating window would occasionally be too narrow. Based on a patch by Krille
2010-10-22 16:33:07 +00:00
rubidium
9f256e8785
(svn r21009) -Fix: for the compact notation 1.000.000k and 1.000M would be shown depending on the initial (and later rounded) value. Make everything that would round to 1.000.000k be drawn as 1.000M as well.
2010-10-22 16:30:09 +00:00
rubidium
3a1a915c9a
(svn r21008) -Change: don't make client reconnect waiting time depend on the company; in coop games that does not spread clients at all, and most companies have a low number causing it not to be spread out either. Use the ClientID instead. Based on a patch by dihedral.
2010-10-22 14:41:26 +00:00
rubidium
6e3a46d295
(svn r21007) -Fix: don't consider the text direction character when searching for missing glyphs
2010-10-22 12:17:34 +00:00
rubidium
b933819b0b
(svn r21006) -Fix (r21004): don't print the text direction character when ICU isn't linked and thus doesn't remove them
2010-10-22 12:15:58 +00:00
rubidium
87edf2524d
(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa
2010-10-21 20:12:48 +00:00
translators
a671f64896
(svn r21003) -Update from WebTranslator v3.0:
...
czech - 3 changes by marek995
spanish - 1 changes by Terkhen
thai - 5 changes by reindeeruz
ukrainian - 1 changes by Fixer
2010-10-21 17:45:15 +00:00
translators
bae174b334
(svn r21002) -Update from WebTranslator v3.0:
...
simplified_chinese - 14 changes by lmartinking
german - 1 changes by norbert79
romanian - 1 changes by kkmic
thai - 255 changes by reindeeruz
2010-10-20 17:45:15 +00:00
rubidium
af9a6b6b42
(svn r21001) -Fix [FS#4170] (r20936): clients were not always notified of a player leaving the game
2010-10-20 11:58:34 +00:00
rubidium
6431055810
(svn r21000) -Feature[tte]: chat directly to the server or a bot/admin/irc channel monitoring the server (dihedral)
2010-10-20 07:30:15 +00:00
planetmaker
c2a7b82a9f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
2010-10-19 21:48:20 +00:00
yexo
9373ee71d9
(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for industry vars 60,61,62,63 are unsigned instead of signed
2010-10-19 21:00:45 +00:00
translators
3ab422b057
(svn r20994) -Update from WebTranslator v3.0:
...
german - 1 changes by frosch
hebrew - 19 changes by rril
irish - 1 changes by tem
italian - 2 changes by lorenzodv
korean - 19 changes by dlunch, junho2813
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
swedish - 1 changes by tool
2010-10-19 17:45:27 +00:00
rubidium
d71f590ed6
(svn r20993) -Codechange: some shuffling of game protocol packet description so they're documented in the "same" place as UDP, content and admin packets (dihedral)
2010-10-18 20:41:53 +00:00
planetmaker
9a0a76cc32
(svn r20992) -Fix (r20958): Show either version and minimum compatible version or neither
2010-10-18 17:47:42 +00:00
translators
7ee6f437ba
(svn r20991) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
dutch - 2 changes by Yexo
finnish - 1 changes by jpx_
french - 2 changes by glx
hungarian - 2 changes by IPG
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-10-18 17:45:35 +00:00
smatz
bb53464848
(svn r20990) -Fix: when removing a rail station, don't leave track under non-station tiles
2010-10-18 17:06:20 +00:00
rubidium
44a03d0478
(svn r20988) -Fix [FS#4167]: no need to send packets and possibly get the connection closed when the next call also tries to send the packets and then closes the connection. Especially if the former frees a structure that the latter assumes to be still there
2010-10-18 10:44:51 +00:00
orudge
42b074cb9c
(svn r20982) -Change: Don't refer to OpenTTD as a "clone" any more
2010-10-17 22:03:05 +00:00
orudge
b86d91ce73
(svn r20981) -Fix: British English uses 'centre', not 'center'
2010-10-17 21:37:27 +00:00
yexo
2ac00a16a0
(svn r20979) -Fix: [NewGRF] ignore the variable for action7/9 condition type 0x0D and 0x0E as documented
2010-10-17 20:29:25 +00:00
rubidium
9a5e272195
(svn r20978) -Fix (r20963): MSVC seems to be complaining more than GCC once again :)
2010-10-17 17:52:12 +00:00
rubidium
cca0ca3d70
(svn r20977) -Fix (r20975): compilation didn't get to the link stage if you, or config.lib, decided you don't need network support
2010-10-17 17:50:40 +00:00
translators
a269d150a7
(svn r20976) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
hungarian - 1 changes by IPG
slovenian - 1 changes by ntadej
2010-10-17 17:45:13 +00:00
rubidium
a5d414a734
(svn r20975) -Add: logging of console output for remote admins (dihedral)
2010-10-17 17:43:01 +00:00
rubidium
ad12a91cda
(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)
2010-10-17 17:41:52 +00:00
rubidium
d9602f4ef9
(svn r20973) -Add: chat sending and receiving support for remote admins (dihedral)
2010-10-17 17:40:18 +00:00
rubidium
459514afe4
(svn r20972) -Add: company statistics updates at intervals to remote admins (dihedral)
2010-10-17 17:38:41 +00:00
rubidium
ca5d9f7002
(svn r20971) -Add: company economy updates at intervals to remote admins (dihedral)
2010-10-17 17:38:16 +00:00
rubidium
ae20cb4f3d
(svn r20970) -Add: company change notification to remote admins (dihedral)
2010-10-17 17:37:45 +00:00
rubidium
fe44944f32
(svn r20969) -Add: client info change notification to remote admins (dihedral)
2010-10-17 17:37:26 +00:00
rubidium
901c4a56bd
(svn r20968) -Add: date notification of remote admins (dihedral)
2010-10-17 17:36:59 +00:00
rubidium
b4ce7fad7f
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
2010-10-17 17:36:23 +00:00
rubidium
7cc8a363d8
(svn r20966) -Change: enable remote administration sockets (parts by Yexo and dihedral)
2010-10-17 17:35:42 +00:00
rubidium
7c29477eec
(svn r20965) -Fix: typo in comment
2010-10-17 17:34:48 +00:00
rubidium
61ae6b6e40
(svn r20964) -Add: disconnecting remote admins that fail to authenticate
2010-10-17 17:33:46 +00:00
rubidium
33ed4ddbfb
(svn r20963) -Add: stubs for a remote administration connection
2010-10-17 17:31:03 +00:00
frosch
12a7e2fde0
(svn r20962) -Fix [FS#4166](r20956): Determine tile under cursor before opening the new viewport. It might appear just below the cursor.
2010-10-17 13:54:05 +00:00
frosch
bcd006e4fc
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
2010-10-17 13:16:00 +00:00
frosch
38c350fad5
(svn r20960) -Add: Allow setting 'minimal compatible version' via Action14. (planetmaker)
...
Note: Setting 'VRSN' also sets 'MINV' resulting in the Grf being only compatible to the same version. Set 'MINV' after 'VRSN' if your Grf is compatible to older versions.
2010-10-17 12:14:49 +00:00
frosch
8a06854943
(svn r20959) -Codechange: Realign comments.
2010-10-17 12:13:35 +00:00
frosch
e805919fe9
(svn r20958) -Add: the concept of min-loadable-version to NewGRFs when choosing compatbile NewGRFs. (planetmaker)
2010-10-17 12:12:52 +00:00
frosch
3972c790c2
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
2010-10-17 12:12:13 +00:00
frosch
918da8432a
(svn r20956) -Feature: Center new extra viewports on the tile below the mouse. Only center on center of main viewport if mouse is not in any viewport.
2010-10-16 23:13:05 +00:00
frosch
6063bbf321
(svn r20955) -Fix (r20952): Suppress bogus inconsistencies for games saved while Grfs were missing.
2010-10-16 22:46:53 +00:00
frosch
375be9a073
(svn r20954) -Codechange (r20952, r20953): Don't make stuff more complicated than needed.
2010-10-16 22:34:43 +00:00
frosch
aa688689b1
(svn r20953) -Add: Resolve Grf filenames from the gamelog also using the md5sum.
2010-10-16 21:20:46 +00:00
frosch
c64d7346f8
(svn r20952) -Add: When printing the gamelog keep track of added/removed Grfs and check them for consistency.
2010-10-16 21:13:55 +00:00
frosch
98250ad8da
(svn r20951) -Codechange: Add SmallMap::Contains() and use it.
2010-10-16 20:34:43 +00:00
translators
60b004eb43
(svn r20949) -Update from WebTranslator v3.0:
...
spanish - 3 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-10-16 17:45:10 +00:00
smatz
10ee071cab
(svn r20948) -Fix (r20880): compiler warning
2010-10-16 17:37:48 +00:00
frosch
cdf985bff4
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
...
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
2010-10-16 15:40:44 +00:00
frosch
3edf041a43
(svn r20946) -Codechange: Add helper function to draw pillar columns.
2010-10-16 15:36:51 +00:00
frosch
01be182880
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
2010-10-16 15:36:13 +00:00
frosch
3866d8e2d1
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
2010-10-16 15:35:32 +00:00
frosch
58ed553068
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
2010-10-16 15:34:59 +00:00
rubidium
0b67a7ccd5
(svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks
2010-10-16 13:15:54 +00:00
yexo
178b35d555
(svn r20940) -Fix (r20928): switch to the normal alphabet where 'b' comes before 'p'
2010-10-16 06:14:24 +00:00
rubidium
5ed77b4919
(svn r20939) -Fix: some MSVC warnings
2010-10-15 22:08:57 +00:00
rubidium
234bee0858
(svn r20938) -Codechange: make the code for listening on a socket (more) reusable
2010-10-15 21:56:06 +00:00
rubidium
c9cbab14ea
(svn r20937) -Codechange: move some variables from client/server to server only
2010-10-15 20:29:59 +00:00
rubidium
f712055002
(svn r20936) -Codechange: make server side packet sending methods class methods
2010-10-15 20:25:07 +00:00
rubidium
9858d699a3
(svn r20935) -Codechange: only let the server side use a pool of connected sockets
2010-10-15 19:58:56 +00:00
rubidium
bda26d03b5
(svn r20934) -Codechange: move NetworkGetClientName to the server's socket
2010-10-15 19:35:08 +00:00
rubidium
f555e6d72e
(svn r20933) -Codechange: move some more client related methods and such to network_client.cpp
2010-10-15 19:33:08 +00:00
terkhen
780f120c32
(svn r20932) -Add [FS#4153]: Highlight all destination tiles when building a lock. (uni657)
2010-10-15 19:14:43 +00:00
terkhen
46ca8778b4
(svn r20931) -Document: Waterways toolbar click functions.
2010-10-15 19:05:17 +00:00
rubidium
76579df240
(svn r20930) -Codechange: simplify the socket handler allocation
2010-10-15 18:45:56 +00:00
rubidium
7ba07d9573
(svn r20929) -Codechange: make NetworkCloseClient a class method
2010-10-15 18:42:52 +00:00
yexo
8f9ae44a67
(svn r20928) -Update: we have a new developer
2010-10-15 18:32:25 +00:00
planetmaker
31e7dd7e6c
(svn r20927) -Add [FS#3905]: Transfer orders imply 'leave empty' by default
2010-10-15 18:15:01 +00:00
translators
7b49c4e442
(svn r20926) -Update from WebTranslator v3.0:
...
czech - 2 changes by marek995
2010-10-15 17:45:06 +00:00
rubidium
515edee17c
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
2010-10-15 14:29:13 +00:00
rubidium
0ca7e4e82e
(svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling
2010-10-15 13:47:37 +00:00
rubidium
8eb07d097e
(svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side
2010-10-15 13:22:00 +00:00
rubidium
951b725b8c
(svn r20922) -Fix [FS#4071]: accidentally moving the mouse of the scrollbar arrows while pressing it clicks the button next to the arrow
2010-10-15 11:16:14 +00:00
terkhen
4eaf01fcdb
(svn r20921) -Fix [FS#4160]: Refit costs were not shown for long cargo names.
2010-10-15 10:22:04 +00:00
translators
b5d0d61d80
(svn r20920) -Update from WebTranslator v3.0:
...
basque - 110 changes by bellota
indonesian - 5 changes by prof
thai - 17 changes by kenny
2010-10-13 17:45:10 +00:00
rubidium
feece0b42c
(svn r20919) -Fix [FS#4140]: objects didn't change colour when the company changed colour. Now they do, except when the "decide colour" callback is (defined to be) used
2010-10-12 19:48:42 +00:00
frosch
3866ecad38
(svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker)
2010-10-12 17:47:15 +00:00
translators
d78dabfa51
(svn r20917) -Update from WebTranslator v3.0:
...
basque - 119 changes by bellota
2010-10-12 17:45:05 +00:00
translators
48fb10ce4c
(svn r20915) -Update from WebTranslator v3.0:
...
hungarian - 1 changes by norbert79
irish - 7 changes by tem
2010-10-11 17:45:09 +00:00
translators
6f66eeaef7
(svn r20914) -Update from WebTranslator v3.0:
...
german - 1 changes by planetmaker
2010-10-10 17:45:07 +00:00
frosch
83831b5b9d
(svn r20912) -Fix [FS#4157]: NEW_INDUSTRYOFFSET != NEW_INDUSTRYTILEOFFSET.
2010-10-09 18:43:37 +00:00
translators
6a90de3a8a
(svn r20911) -Update from WebTranslator v3.0:
...
marathi - 42 changes by jcravi
spanish - 3 changes by Terkhen
2010-10-09 17:45:07 +00:00
rubidium
328c00f24e
(svn r20910) -Fix [FS#4155]: helicopters fired a bit too late
2010-10-08 21:23:41 +00:00
rubidium
7bbc19288f
(svn r20909) -Fix [FS#4137]: don't see coasts as water for object construction
2010-10-08 21:08:38 +00:00
rubidium
322e4ab86f
(svn r20908) -Fix [FS#4156]: assertion when the buy menu graphics callback accessed a variable that needs a tile index
2010-10-08 21:07:54 +00:00
rubidium
969e3a9e45
(svn r20907) -Fix [FS#4156-ish]: callback 15C's string didn't actually get drawn
2010-10-08 20:33:23 +00:00
translators
ffdc88a5d6
(svn r20906) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
danish - 26 changes by zyx
swedish - 2 changes by Zuu
2010-10-08 17:45:17 +00:00
translators
16540dc81e
(svn r20905) -Update from WebTranslator v3.0:
...
hungarian - 2 changes by IPG
slovenian - 2 changes by ntadej
2010-10-07 17:45:10 +00:00
translators
9b8a775afb
(svn r20904) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
portuguese - 2 changes by JayCity
romanian - 2 changes by kkmic
ukrainian - 2 changes by Fixer
2010-10-06 17:45:16 +00:00
translators
1c7ff71609
(svn r20903) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
finnish - 4 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
ido - 34 changes by Edwardo
marathi - 40 changes by jcravi
polish - 2 changes by voythas
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
spanish - 2 changes by Terkhen
2010-10-05 17:45:35 +00:00
frosch
510ef76386
(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most NewGRF industries.
...
The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'.
So it will not work for bank-like industries which use pure production-callback production.
2010-10-04 20:20:50 +00:00
frosch
c49debbe63
(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead.
2010-10-04 20:12:38 +00:00
frosch
8a5571a264
(svn r20900) -Codechange: Move ProductionLevels enum to industry.h
2010-10-04 20:10:31 +00:00
frosch
286aba3492
(svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick().
2010-10-04 20:00:23 +00:00
frosch
168b0a733f
(svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero.
2010-10-04 19:45:27 +00:00
frosch
566ba0fccc
(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow.
2010-10-04 19:35:40 +00:00
frosch
7f060bdaf5
(svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function.
2010-10-04 19:23:50 +00:00
frosch
a0a51c2ac1
(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview.
2010-10-04 19:14:43 +00:00
rubidium
2e8e148262
(svn r20894) -Fix [FS#4148] (r20772): use correct company name for group window title (sbr)
2010-10-03 19:17:53 +00:00
translators
4f9f90f234
(svn r20893) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
spanish - 36 changes by Terkhen
2010-10-03 17:45:10 +00:00
frosch
22842fe035
(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows.
2010-10-03 15:49:44 +00:00
terkhen
92514c6b94
(svn r20891) -Fix [FS#4145]: Measurement tooltips for docks and tunnels were closed after a hover event.
2010-10-03 12:20:50 +00:00
alberth
7c312f602c
(svn r20890) -Doc: Make documentation accessible to doxygen.
2010-10-02 19:55:13 +00:00
alberth
6a9b205670
(svn r20889) -Codechange: Make ClosedListHash, OpenListQueue, and OpenListHash data protected, and rename for coding style.
2010-10-02 19:53:20 +00:00
alberth
0c08955f4d
(svn r20888) -Codechange: Make Hash_FindNode a method.
2010-10-02 19:48:45 +00:00
alberth
6802527e02
(svn r20887) -Codechange: Make stat_Hash a method.
2010-10-02 19:47:21 +00:00
alberth
4af4d268d8
(svn r20886) -Codechange: Make init_Hash a method.
2010-10-02 19:46:24 +00:00
alberth
6f85b46eeb
(svn r20885) -Codechange: Make delete_Hash a method.
2010-10-02 19:44:54 +00:00
alberth
d86f781ca5
(svn r20884) -Codechange: Make clear_Hash a method.
2010-10-02 19:43:29 +00:00
alberth
f185a35269
(svn r20883) -Codechange: Make Hash_Delete a method.
2010-10-02 19:42:42 +00:00
alberth
15b784471e
(svn r20882) -Codechange: Make Hash_Set a method.
2010-10-02 19:41:25 +00:00
alberth
4ed94825b2
(svn r20881) -Codechange: Make Hash_Get a method.
2010-10-02 19:39:34 +00:00
alberth
6ea5643e40
(svn r20880) -Codechange: Make Hash_Size a method.
2010-10-02 19:38:22 +00:00
alberth
a7ffc9a268
(svn r20879) -Codechange: Make AyStarMain_ClosedList_IsInList a method.
2010-10-02 19:34:32 +00:00
alberth
4f8af5d336
(svn r20878) -Codechange: Make AyStarMain_ClosedList_Add a method.
2010-10-02 19:33:23 +00:00
alberth
fa661e4075
(svn r20877) -Codechange: Make AyStarMain_OpenList_IsInList a method.
2010-10-02 19:32:21 +00:00
alberth
5e636d6a5c
(svn r20876) -Codechange: Make AyStarMain_OpenList_Pop a method.
2010-10-02 19:31:24 +00:00
alberth
969139b343
(svn r20875) -Codechange: Make AyStarMain_OpenList_Add a method.
2010-10-02 19:30:24 +00:00
alberth
9b21dfaeb0
(svn r20874) -Codechange: Make init_AyStar a method.
2010-10-02 19:29:00 +00:00
translators
a8af2c97c1
(svn r20873) -Update from WebTranslator v3.0:
...
arabic_egypt - 37 changes by kasakg
dutch - 1 changes by megabyte
spanish - 2 changes by Terkhen
tamil - 1 changes by vv
2010-10-02 17:45:13 +00:00
alberth
7bb7d6c35a
(svn r20868) -Codechange: Make AyStarMain_Main() a method.
2010-10-02 10:00:05 +00:00
alberth
49ba3539b5
(svn r20867) -Codechange: Make AyStarMain_AddStartNode() a method.
2010-10-02 09:58:32 +00:00
alberth
92f0bdec2c
(svn r20866) -Codechange: CheckTile() always returns the same (ignored) value.
2010-10-02 09:55:58 +00:00
alberth
776d541a89
(svn r20865) -Codechange: Make AyStarMain_CheckTile() a method.
2010-10-02 09:53:44 +00:00
alberth
8e5aaca653
(svn r20864) -Codechange: Make AyStar_Clear() a method.
2010-10-02 09:49:32 +00:00
alberth
2a796187ef
(svn r20863) -Codechange: Make AyStarMain_Loop a method.
2010-10-02 09:48:01 +00:00
alberth
581d1070b4
(svn r20862) -Codechange: Make AyStar_Free() a method.
2010-10-02 09:46:40 +00:00
translators
78fe0457b4
(svn r20861) -Update from WebTranslator v3.0:
...
arabic_egypt - 44 changes by kasakg
2010-10-01 17:45:06 +00:00
smatz
77fe95f552
(svn r20860) -Cleanup: remove some unused functions and variables
2010-10-01 16:42:28 +00:00
frosch
7f5f4950d7
(svn r20859) -Fix [FS#4143]: Remove an outdated comment and just reference the readme. (planetmaker)
2010-09-30 18:58:56 +00:00
translators
daf1097e9b
(svn r20858) -Update from WebTranslator v3.0:
...
arabic_egypt - 57 changes by kasakg
2010-09-30 17:45:06 +00:00
rubidium
b4f6201e94
(svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
2010-09-28 22:00:24 +00:00
terkhen
897bb71621
(svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when the first vehicle of their type becomes available.
2010-09-28 21:58:06 +00:00
translators
97c0b40ab7
(svn r20855) -Update from WebTranslator v3.0:
...
portuguese - 1 changes by JayCity
ukrainian - 4 changes by Fixer
2010-09-28 17:45:12 +00:00
translators
92a4851a1d
(svn r20854) -Update from WebTranslator v3.0:
...
czech - 15 changes by marek995
2010-09-27 17:45:07 +00:00
rubidium
b17ccf7537
(svn r20853) -Fix: (again) WT3 not properly validating plurals in strings...
2010-09-26 17:52:01 +00:00
translators
a35c2826e7
(svn r20852) -Update from WebTranslator v3.0:
...
czech - 38 changes by marek995
hebrew - 8 changes by Metheny
marathi - 6 changes by amitst
2010-09-26 17:45:10 +00:00
alberth
c57653e8e3
(svn r20851) -Fix: Smallmap legend buttons must all be equal in size, even if their contents is not.
2010-09-26 11:28:03 +00:00
frosch
b65f463e33
(svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code.
2010-09-26 11:04:30 +00:00
frosch
717fcd09c6
(svn r20849) -Change: Only display liveries in the liverywindow if they are used by some vehicle somewhen (not considering date or such).
2010-09-25 22:00:49 +00:00
frosch
a54b711dc1
(svn r20848) -Add: _loaded_newgrf_features.used_liveries to keep track which liveries are used by some vehicle resp. which are not used at all.
2010-09-25 21:59:22 +00:00
frosch
611e986226
(svn r20847) -Codechange: Split most of GetEngineLivery() into a separate GetEngineLiveryScheme() function.
2010-09-25 21:57:52 +00:00
frosch
e0b3b1ffe7
(svn r20846) -Fix: some whitespace.
2010-09-25 19:13:25 +00:00
frosch
aeaa8b3f72
(svn r20845) -Fix (r20835): Group GUI was no longer horizontally resizeable.
2010-09-25 17:46:54 +00:00
translators
0fe33e66f8
(svn r20844) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
marathi - 10 changes by jcravi
spanish - 8 changes by Terkhen
2010-09-25 17:45:10 +00:00
michi_cc
12133ffb31
(svn r20843) -Fix [FS#2534] (r20506): Make sure (gradual) loading is properly terminated for consists with multiple cargo types. Don't stop loading if the timetabled wait is not over yet. (Steve-N)
2010-09-25 12:48:33 +00:00
translators
faf5c48533
(svn r20842) -Update from WebTranslator v3.0:
...
greek - 10 changes by fumantsu
ukrainian - 11 changes by Fixer
vietnamese - 58 changes by nglekhoi
2010-09-24 17:45:12 +00:00
rubidium
61eeb98b87
(svn r20841) -Fix: unbreak some translations' compilation
2010-09-24 14:06:39 +00:00
smatz
ee3d635eb8
(svn r20840) -Fix: make write to NULL pointer volatile so it's not optimised away
2010-09-24 13:45:02 +00:00
translators
fa5b26dced
(svn r20839) -Update from WebTranslator v3.0:
...
spanish - 7 changes by Terkhen
swedish - 3 changes by Zuu
ukrainian - 46 changes by Fixer
2010-09-23 17:45:13 +00:00
alberth
b3270caaf1
(svn r20838) -Fix [FS#4136]: Cast '1' in bitmath functions to width of result before shifting.
2010-09-22 20:59:24 +00:00
frosch
ce83378e3d
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
2010-09-22 19:47:01 +00:00
translators
60e5ab0d87
(svn r20836) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by KorneySan
traditional_chinese - 4 changes by josesun
chuvash - 8 changes by mefisteron
finnish - 3 changes by jpx_
hungarian - 3 changes by IPG
marathi - 15 changes by jcravi
norwegian_bokmal - 3 changes by mantaray
romanian - 3 changes by tonny
russian - 4 changes by KorneySan, Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 10 changes by Terkhen
vietnamese - 8 changes by nglekhoi
2010-09-22 17:45:35 +00:00
yexo
2b4870324d
(svn r20835) -Fix: the group gui had a small unused area with bigger gui buttons
2010-09-21 20:33:49 +00:00
translators
64f1c853e0
(svn r20834) -Update from WebTranslator v3.0:
...
croatian - 3 changes by VoyagerOne
dutch - 3 changes by habell
french - 3 changes by glx
german - 3 changes by planetmaker
italian - 3 changes by lorenzodv
marathi - 75 changes by jcravi
polish - 3 changes by voythas
portuguese - 3 changes by ABCRic
serbian - 3 changes by etran
spanish - 3 changes by Terkhen
vietnamese - 3 changes by nglekhoi
2010-09-21 17:45:36 +00:00
terkhen
bce6328ed0
(svn r20833) -Fix (r20832): Remove a warning.
2010-09-20 19:15:31 +00:00
terkhen
e90930e572
(svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ).
2010-09-20 18:56:35 +00:00
terkhen
b916c5d8c1
(svn r20831) -Add: Show selected number of towns in the map generation window when using a custom amount.
2010-09-20 18:48:33 +00:00
translators
f186e7f333
(svn r20830) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by Wowanxm
marathi - 186 changes by jcravi
spanish - 5 changes by Terkhen
urdu - 21 changes by thastig
2010-09-20 17:45:13 +00:00
terkhen
9a7dd40006
(svn r20829) -Fix [FS#4094]: Place less trees at once when planting random trees at the scenario editor.
2010-09-18 20:48:40 +00:00
terkhen
ee8272bacc
(svn r20828) -Add: Take into account tree group placement at the world generation progress bar.
2010-09-18 20:44:13 +00:00
terkhen
95e5e59f37
(svn r20827) -Codechange: Simplify code for placement of tree groups.
2010-09-18 20:41:06 +00:00
terkhen
9ecf69684e
(svn r20826) -Codechange: Simplify code for generating more trees above the snowline.
2010-09-18 20:36:13 +00:00
terkhen
3607c33b4f
(svn r20825) -Codechange: Replace a few magic numbers by constants.
2010-09-18 20:33:04 +00:00
translators
285d905488
(svn r20824) -Update from WebTranslator v3.0:
...
galician - 13 changes by Condex
marathi - 1 changes by jcravi
2010-09-18 17:45:07 +00:00
rubidium
a15d179edf
(svn r20823) -Codechange: enable/add some error/sanity checking in the pthread code
2010-09-17 16:24:26 +00:00
yexo
410d48cbb8
(svn r20822) -Fix [FS#3707]: deadlock when aborting map generation on windows
2010-09-17 16:07:31 +00:00
yexo
6b4d2f5ae6
(svn r20821) -Fix [FS#4129]: terraforming the land under objects could leave sloped or elevated sea tiles
2010-09-17 15:16:19 +00:00
yexo
6b35ad3f0b
(svn r20820) -Codechange: remove two more contants related to the height of the main toolbar
2010-09-17 06:12:53 +00:00
rubidium
97dbb1f27d
(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
2010-09-16 22:06:36 +00:00
rubidium
5b733f88a8
(svn r20818) -Fix [FS#3791]: make the crash-on-saveload message clearer and more correct
2010-09-16 21:13:16 +00:00
translators
68f9bc5726
(svn r20817) -Update from WebTranslator v3.0:
...
traditional_chinese - 3 changes by josesun
slovenian - 1 changes by ntadej
2010-09-16 17:45:09 +00:00
rubidium
af18c30f30
(svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
2010-09-16 16:31:57 +00:00
rubidium
b01c63cd23
(svn r20815) -Revert (r20814): wrong patch at wrong time...
2010-09-16 16:31:38 +00:00
rubidium
9a0a753d96
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
2010-09-16 16:28:40 +00:00
rubidium
7a88433228
(svn r20813) -Fix: make the waypoint viewport keep centered around the waypoint when resizing the window (Krille)
2010-09-16 16:14:30 +00:00
yexo
15212cf948
(svn r20812) -Fix [FS#4125]: crash when confirming newgrf changes with the newgrf parameter window open
2010-09-15 22:46:18 +00:00
rubidium
8fceb3f851
(svn r20810) -Merge: documentation updates from 1.0
2010-09-15 22:05:08 +00:00
rubidium
4173ba76fa
(svn r20809) -Fix (r20809): as usual with these user provided Mac OS X patches lately... they either fail to compile or spew warnings
2010-09-15 21:55:55 +00:00
rubidium
4915f47264
(svn r20808) -Add [FS#4110]: [OSX] support for input using dead keys (Zydeco)
2010-09-15 21:19:41 +00:00
yexo
532003504e
(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels
2010-09-15 21:10:14 +00:00
translators
7bb0cf9af6
(svn r20806) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
thai - 12 changes by kenny
2010-09-14 17:45:13 +00:00
frosch
3fb7f5aa87
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
2010-09-13 19:45:39 +00:00
translators
cb4261d6c3
(svn r20801) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
hungarian - 1 changes by IPG
slovenian - 3 changes by ntadej
2010-09-13 17:45:13 +00:00
yexo
aaf370dce2
(svn r20800) -Fix: [NewGRF] clamp some more vehicle variables
2010-09-13 14:20:30 +00:00
yexo
ce649b0a73
(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)
2010-09-13 13:55:25 +00:00
yexo
4d1f24330f
(svn r20798) -Doc [FS#4117]: [NoAI] AITile::HasTransportType doesn't work for TRANSPORT_AIR
2010-09-13 13:36:36 +00:00
yexo
2d4c5ea668
(svn r20797) -Fix: disable houses without a size that are available according to their building flags
2010-09-13 13:27:29 +00:00
yexo
e5a81fbbde
(svn r20796) -Fix: make sure all houses in the house spec array are valid. It was possible that part of a multitile house was not copied because the array was full
2010-09-13 13:08:53 +00:00
yexo
3e64d01a63
(svn r20795) -Codechange: clarify code/documentation of the start/stop bit in CmdMassStartStopVehicle (Krille)
2010-09-13 12:14:22 +00:00
rubidium
f0757f26d7
(svn r20793) -Fix: broken string
2010-09-12 21:03:10 +00:00
yexo
8fafaf3224
(svn r20792) -Fix (r8973): [NewGRF] vehicle vars 0x98 and 0xB4 (max speed and current speed) used the wrong unit for aircraft (Hirundo)
2010-09-12 19:54:25 +00:00
frosch
f0783d7e72
(svn r20791) -Fix (r12161): Building 2x2 houses did not work for 2x2 road layouts on all map sizes.
2010-09-12 19:40:47 +00:00
frosch
b249046364
(svn r20790) -Fix (r0)[FS#4118]: Remove a check which is wrong for NewGrf houses and serves no use for original houses.
2010-09-12 18:28:51 +00:00
translators
b4c86e69a3
(svn r20789) -Update from WebTranslator v3.0:
...
ido - 106 changes by Edwardo
indonesian - 78 changes by fanioz
norwegian_bokmal - 1 changes by CyberKenny
portuguese - 1 changes by ABCRic
swedish - 1 changes by Zuu
thai - 68 changes by kenny
vietnamese - 13 changes by nglekhoi
2010-09-12 17:45:19 +00:00
yexo
c3d4763a00
(svn r20788) -Fix (r20733)[FS#4119]: start/stop all vehicles from non-train depots was broken
2010-09-12 16:54:39 +00:00
frosch
17e6201d33
(svn r20787) -Fix: Spelling mistake in slovak real town names. (mek2)
2010-09-12 14:45:46 +00:00
translators
1cf8fc6d93
(svn r20786) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
ido - 1 changes by Edwardo
italian - 1 changes by lorenzodv
portuguese - 6 changes by ABCRic
serbian - 1 changes by etran
thai - 60 changes by kenny
2010-09-11 17:45:17 +00:00
rubidium
e63d975d6e
(svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774)
2010-09-11 17:45:03 +00:00
alberth
dfeac6ba2e
(svn r20784) -Doc: Doxyment a few debug line printing functions.
2010-09-11 11:48:37 +00:00
rubidium
c0ba81e617
(svn r20783) -Change/Fix: do autosave-on-exit as well when using kill/CTRL-C to terminate a dedicated OpenTTD
2010-09-10 20:03:45 +00:00
translators
a3fc7c05bf
(svn r20782) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
dutch - 1 changes by Yexo
french - 1 changes by glx
galician - 64 changes by Condex
german - 1 changes by planetmaker
korean - 3 changes by junho2813
polish - 1 changes by voythas
romanian - 1 changes by tonny
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
thai - 11 changes by angelix, kenny
2010-09-10 17:45:34 +00:00
yexo
95a2d1f907
(svn r20781) -Fix (r20780): FinishInitNested reset this->owner, so set it afterwards
2010-09-10 13:50:47 +00:00
yexo
fa8bd83036
(svn r20780) -Fix (r20772): group gui only worked properly for the first company
2010-09-10 13:34:47 +00:00
frosch
06678a8ac2
(svn r20779) -Add [FS#4025]: If GRFs do not have action14 parameter information, allow to set the number of parameters in the GUI explicitly.
2010-09-09 20:49:56 +00:00
translators
04d20f9d42
(svn r20778) -Update from WebTranslator v3.0:
...
ido - 77 changes by Edwardo
2010-09-09 17:45:04 +00:00
rubidium
7f8b490a21
(svn r20777) -Codechange: make VehicleListIdentifier a variable of BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice
2010-09-09 14:40:39 +00:00
rubidium
3ebf8a297e
(svn r20776) -Codechange: make VehicleLists for the group "ALL_GROUP" work as well
2010-09-09 14:39:48 +00:00
rubidium
976ee2a91e
(svn r20775) -Fix (r20771): the group's vehicle lists weren't properly populated
2010-09-09 14:24:42 +00:00
rubidium
64d9a36dc0
(svn r20774) -Fix [FS#4116]: assertion triggered when removing a station owned by nobody when the local company is "spectator" as well
2010-09-09 10:55:05 +00:00
rubidium
4b605f51ab
(svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well
2010-09-08 21:40:00 +00:00
rubidium
f5128695c5
(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers
2010-09-08 21:37:13 +00:00
rubidium
881c6c679f
(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters
2010-09-08 21:28:50 +00:00
rubidium
0e840f7360
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
2010-09-08 21:14:41 +00:00
rubidium
ea4b40704b
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
2010-09-08 21:02:12 +00:00
rubidium
9badab6454
(svn r20768) -Codechange: unify send-to-depot commands
2010-09-08 18:55:58 +00:00
translators
835d63a8d7
(svn r20767) -Update from WebTranslator v3.0:
...
ido - 47 changes by Edwardo
2010-09-08 17:45:03 +00:00
yexo
d6d3e83847
(svn r20766) -Fix [FS#4112]: action14 data was not used for NewGRFs loaded from a savegame
2010-09-08 15:35:54 +00:00
yexo
1ba35972e6
(svn r20765) -Fix (r17345): AIEventCompanyAskMerger was disguised as AIEventCompanyMerger (fanioz)
2010-09-08 13:45:26 +00:00
smatz
a09bc6c366
(svn r20764) -Codechange: minor coding style fix
2010-09-07 20:38:26 +00:00
frosch
b57a3ae5ec
(svn r20763) -Fix [FS#4113](r20749): The bridgetest on building shipdepots can no longer rely on being only called for clear water tiles.
2010-09-07 19:20:15 +00:00
translators
0e2a9b0767
(svn r20762) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
chuvash - 16 changes by mefisteron
ido - 8 changes by Edwardo
romanian - 2 changes by kkmic
2010-09-07 17:45:10 +00:00
smatz
bb4538665a
(svn r20761) -Codechange: make PlaceObject() static
2010-09-07 11:05:22 +00:00
smatz
15c2a2d555
(svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle()
2010-09-07 11:03:46 +00:00
smatz
a282c3ab57
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
2010-09-07 11:00:42 +00:00
smatz
82949024f1
(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings
2010-09-06 18:20:07 +00:00
translators
a71cc228b2
(svn r20757) -Update from WebTranslator v3.0:
...
chuvash - 23 changes by mefisteron
galician - 62 changes by Condex
norwegian_nynorsk - 42 changes by mantaray
2010-09-06 17:45:11 +00:00
smatz
29cec22a2e
(svn r20756) -Cleanup: no need to check return value of CallocT
2010-09-06 16:02:42 +00:00
smatz
8909a5a2da
(svn r20755) -Fix (r19975): small memory leak at program exit (happens only once)
2010-09-06 15:47:11 +00:00
yexo
8cc43828e8
(svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing
2010-09-06 15:23:16 +00:00
smatz
fd54943c7a
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
2010-09-06 14:14:09 +00:00
frosch
e4091f16d0
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
2010-09-05 19:46:04 +00:00
translators
86a553f01f
(svn r20750) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by
icelandic - 1 changes by grjonib
swedish - 3 changes by Zuu
thai - 34 changes by pa_o__
turkish - 14 changes by niw3
2010-09-05 17:45:17 +00:00
yexo
a2ba35f57c
(svn r20749) -Fix: allow overbuilding objects with buoys and ship depots
2010-09-05 16:33:32 +00:00
yexo
0e250f2bdf
(svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account
2010-09-05 16:00:36 +00:00
yexo
323c526a4d
(svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water
2010-09-05 16:00:04 +00:00
yexo
a9cdcb02f5
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
2010-09-05 15:07:38 +00:00
yexo
72e2e21cb5
(svn r20745) -Fix: don't delete an object when trying to terraform a tile of it with canal under it. If we delete the object the terraforming will still fail due to the canal
2010-09-05 14:54:18 +00:00
yexo
0ab95ba636
(svn r20744) -Fix: overbuilding an object with water under it failed
2010-09-05 14:53:20 +00:00
frosch
42a996ec23
(svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run.
2010-09-05 13:31:39 +00:00
frosch
ce1cae81ea
(svn r20742) -Fix: Evaluate DC_NO_WATER flag when clearing objects built on water.
2010-09-05 13:28:59 +00:00
frosch
e9cd81953a
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
2010-09-05 13:18:54 +00:00
frosch
435c8d33b0
(svn r20740) -Codechange: Add HasTileWaterClass() to test for tiletypes with WaterClass.
2010-09-05 13:18:26 +00:00
translators
a9d2ba6069
(svn r20739) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by
esperanto - 11 changes by Christopher
spanish - 1 changes by Terkhen
2010-09-04 17:45:12 +00:00
alberth
4f435d9256
(svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build.
2010-09-04 12:09:12 +00:00
alberth
21a80e0a0e
(svn r20737) -Codechange: Introduce a function for advertising opening of a new industry.
2010-09-04 12:01:55 +00:00
alberth
fcf92a20e2
(svn r20736) -Codechange: Introduce a new function for trying to create a new industry.
2010-09-04 11:59:12 +00:00
alberth
6c34a044c8
(svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability().
2010-09-04 11:29:42 +00:00
alberth
03f7733f83
(svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability().
2010-09-04 11:16:40 +00:00
yexo
2d30613c3a
(svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object
2010-09-04 00:16:33 +00:00
yexo
2e054c19ad
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
2010-09-03 23:48:12 +00:00
yexo
0decc3e094
(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, causing invalid memory reads / double free
2010-09-03 23:04:02 +00:00
yexo
9a0033cbf6
(svn r20730) -Fix: crash when removing an object while the newgrf debug window was open for that object
2010-09-03 22:28:11 +00:00
yexo
a45b598bfc
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
2010-09-03 21:50:51 +00:00
yexo
bd379e283f
(svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode
2010-09-03 21:41:08 +00:00
yexo
9b5808a89d
(svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan)
2010-09-03 20:32:33 +00:00
translators
8c9c3a361a
(svn r20726) -Update from WebTranslator v3.0:
...
belarusian - 5 changes by KorneySan
finnish - 2 changes by jpx_
french - 4 changes by glx
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
norwegian_nynorsk - 1 changes by mantaray
polish - 5 changes by silver_777, voythas
russian - 6 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2010-09-03 17:45:31 +00:00
glx
72bd89b900
(svn r20722) -Fix (r20719): signed/unsigned side effect makes a small negative value become a big positive value
2010-09-03 12:52:09 +00:00
rubidium
29eae4a378
(svn r20721) -Fix: objects that can be built on water shouldn't be drowned.
2010-09-02 20:45:54 +00:00
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
2010-09-02 20:00:48 +00:00
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
2010-09-02 19:34:44 +00:00
translators
5e258efe6b
(svn r20718) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
german - 2 changes by planetmaker
hungarian - 2 changes by IPG
icelandic - 6 changes by grjonib
irish - 2 changes by tem
norwegian_bokmal - 2 changes by Tacky93
norwegian_nynorsk - 3 changes by Tacky93
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
slovak - 2 changes by keso53
2010-09-02 17:45:39 +00:00
yexo
7b0fd807fb
(svn r20717) -Fix [FS#4103]: water class was not set for stations
2010-09-01 23:41:56 +00:00
yexo
c07fdab16c
(svn r20716) -Feature: add airport class and airport name to the land info tool
2010-09-01 23:14:15 +00:00
rubidium
e90e831f2e
(svn r20714) -Fix: bit 9 of object's flags implies bit 3 is set, so just test for either of the bits being set
2010-09-01 20:09:15 +00:00
rubidium
7ee2c31f99
(svn r20713) -Fix (r20654): when ignoring action0 object properties, ignore property 13 correctly
2010-09-01 19:45:50 +00:00
terkhen
5df8e6abcf
(svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor.
2010-09-01 19:04:06 +00:00
terkhen
efef4becbd
(svn r20711) -Fix [FS#4094]: Do not use new game settings when creating many random towns at the scenario editor.
2010-09-01 19:00:32 +00:00
terkhen
c6db763781
(svn r20710) -Codechange: Clarify the name of some town generation variables.
2010-09-01 18:52:27 +00:00
translators
7a5b995157
(svn r20709) -Update from WebTranslator v3.0:
...
irish - 28 changes by tem
2010-09-01 17:45:06 +00:00
rubidium
dd2c38ea82
(svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't removed properly
2010-09-01 06:15:26 +00:00
translators
b610b1af61
(svn r20707) -Update from WebTranslator v3.0:
...
belarusian - 22 changes by KorneySan
german - 6 changes by planetmaker
korean - 2 changes by junho2813
portuguese - 21 changes by SupSuper
serbian - 10 changes by etran
slovak - 78 changes by comp
2010-08-31 17:45:21 +00:00
rubidium
cf8f6571fc
(svn r20706) -Fix (r20664): land slope check wasn't called when it should be called
2010-08-31 16:17:22 +00:00
yexo
0068c02244
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
2010-08-31 12:18:28 +00:00
translators
2907f2afc2
(svn r20699) -Update from WebTranslator v3.0:
...
dutch - 11 changes by habell
esperanto - 7 changes by Christopher
hungarian - 7 changes by IPG
icelandic - 25 changes by grjonib
italian - 8 changes by lorenzodv
korean - 7 changes by junho2813
norwegian_bokmal - 82 changes by mantaray
romanian - 10 changes by tonny
spanish - 10 changes by Terkhen
2010-08-30 17:45:29 +00:00
yexo
6eb3ef7bc3
(svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable
2010-08-30 14:52:28 +00:00
yexo
47494b2744
(svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window
2010-08-30 14:51:11 +00:00
yexo
6446a928dc
(svn r20695) -Codechange: move PreventHiding to another location
2010-08-30 14:50:42 +00:00
yexo
cf2032d0f8
(svn r20694) -Fix [FS#4087]: empty newgrf presets were not selectable
2010-08-30 10:52:27 +00:00
yexo
e91e2498c7
(svn r20693) -Fix: use strncmp instead of memcmp for comparing strings
2010-08-30 10:49:02 +00:00
yexo
9a05f8004b
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
2010-08-30 10:16:04 +00:00
rubidium
562df2803f
(svn r20691) -Fix (r20690): unmessup a broken string
2010-08-29 18:39:28 +00:00
translators
0fdab5f5a5
(svn r20690) -Update from WebTranslator v3.0:
...
belarusian - 10 changes by Wowanxm
catalan - 11 changes by arnau
traditional_chinese - 14 changes by josesun
croatian - 10 changes by VoyagerOne
finnish - 10 changes by jpx_
french - 10 changes by glx
german - 13 changes by planetmaker
hungarian - 3 changes by IPG
icelandic - 11 changes by grjonib
italian - 2 changes by lorenzodv
polish - 10 changes by voythas
russian - 14 changes by Lone_Wolf
slovenian - 34 changes by Necrolyte, ntadej
swedish - 12 changes by Zuu
2010-08-29 17:45:46 +00:00
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
2010-08-29 15:58:43 +00:00
alberth
219ad6e003
(svn r20688) -Codechange: Rename Queue struct to BinaryHeap.
2010-08-29 13:47:15 +00:00
alberth
ed72338513
(svn r20687) -Codechange: Replace the THISBIN_HEAP_ARR macro by a GetElement() method.
2010-08-29 13:46:34 +00:00
alberth
bc6a5a5e64
(svn r20686) -Codechange: Make init_BinaryHeap() a method.
2010-08-29 13:42:38 +00:00
alberth
2c962548e5
(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.
2010-08-29 13:38:43 +00:00
alberth
b06cedc905
(svn r20684) -Codechange: Make BinaryHeap_Free() a method.
2010-08-29 13:38:27 +00:00
alberth
3f0cd8c9f0
(svn r20683) -Codechange: Make BinaryHeap_Delete() a method.
2010-08-29 13:38:06 +00:00
alberth
10b182482e
(svn r20682) -Codechange: Make BinaryHeap_Pop() a method.
2010-08-29 13:36:50 +00:00
alberth
92801ac718
(svn r20681) -Codechange: Make BinaryHeap_Push() a method, introduce temporary THISBIN_HEAP_ARR macro.
2010-08-29 13:35:51 +00:00
alberth
68e2a07479
(svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data.
2010-08-29 13:34:08 +00:00
alberth
ded2acf02e
(svn r20679) -Codechange: Remove unused insertion sorter.
2010-08-29 13:32:39 +00:00
alberth
fa6203fdc3
(svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP().
2010-08-29 12:37:49 +00:00
rubidium
7af4449fef
(svn r20677) -Fix (r20136): copy-paste error (jwm)
2010-08-29 09:41:50 +00:00
rubidium
dd0a8a573d
(svn r20676) -Codechange: it's not needed to supply two almost identical vars
2010-08-28 22:26:25 +00:00
rubidium
00415213f3
(svn r20675) -Add [FS#4077]: method to access the (action 14) NewGRF version of other NewGRFs
2010-08-28 21:45:44 +00:00
alberth
be59c90e86
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
2010-08-28 20:15:45 +00:00
rubidium
a8b992f4fd
(svn r20673) -Codechange: add support for inspecting objects
2010-08-28 19:48:46 +00:00
rubidium
60655522ca
(svn r20672) -Remove: some stale strings
2010-08-28 19:46:35 +00:00
rubidium
c862ab42c9
(svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor
2010-08-28 19:45:56 +00:00
rubidium
7b16c7650b
(svn r20670) -Add: support for action F
...
-Add: a window to select (NewGRF) objects
2010-08-28 19:43:41 +00:00
rubidium
2d10b0f11d
(svn r20669) -Codechange: trigger the whole object every 256 ticks instead of every 250 ticks
2010-08-28 19:13:20 +00:00
rubidium
41a80490be
(svn r20668) -Codechange: add (more) support for bridges over objects
2010-08-28 19:02:21 +00:00
rubidium
3e67b4fe5f
(svn r20667) -Codechange: implement the autoslope callback for objects
2010-08-28 19:00:21 +00:00
rubidium
d4403cb649
(svn r20666) -Codechange: enable drawing of (NewGRF) objects
2010-08-28 18:57:32 +00:00
rubidium
fba19a41d5
(svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch
2010-08-28 18:56:07 +00:00
rubidium
ca7fe458a2
(svn r20664) -Codechange: implement the land slope callback for objects
2010-08-28 18:55:20 +00:00
rubidium
9991c8677d
(svn r20663) -Codechange: add the GRF name to the tile info window
2010-08-28 18:54:12 +00:00
rubidium
60fe27db50
(svn r20662) -Codechange: implement object animation
2010-08-28 18:51:47 +00:00
rubidium
ee8c37c3d9
(svn r20661) -Codechange: implement the "decide colour" callback for objects
2010-08-28 18:50:32 +00:00
rubidium
852bde0bad
(svn r20660) -Codechange: implement (most) of action2 support for objects
2010-08-28 18:49:39 +00:00
rubidium
8fd9728e19
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
2010-08-28 18:37:49 +00:00
rubidium
e0ba6550d2
(svn r20658) -Codechange: add the colour of an object to the object instance
2010-08-28 18:28:34 +00:00
rubidium
b376f8ae15
(svn r20657) -Codechange: add function to draw NewGRF tileseq in the GUI
2010-08-28 18:23:58 +00:00
rubidium
bd48893478
(svn r20656) -Codechange: implement counting of objects
2010-08-28 18:23:14 +00:00
rubidium
c481e3b110
(svn r20655) -Codechange: implement reading the action3 of objects
2010-08-28 18:22:24 +00:00
rubidium
23ba40d385
(svn r20654) -Codechange: implement reading action0 of objects
2010-08-28 18:21:09 +00:00
translators
3a9f54a4f8
(svn r20653) -Update from WebTranslator v3.0:
...
simplified_chinese - 23 changes by ww9980
traditional_chinese - 2 changes by ww9980
esperanto - 6 changes by Christopher
icelandic - 108 changes by grjonib
thai - 6 changes by angelix
2010-08-28 17:45:17 +00:00
rubidium
164a923c69
(svn r20652) -Codechange: implement a function to get the index of a spec.
2010-08-28 17:38:07 +00:00
rubidium
0a86eac2f1
(svn r20651) -Codechange: add a function to determine whether an object is available and use it
2010-08-28 17:36:28 +00:00
rubidium
6348aa7964
(svn r20650) -Codechange: add some variables to the object's spec
2010-08-28 17:35:00 +00:00
rubidium
f9a9b0ed4a
(svn r20649) -Codechange: implement classes for objects
2010-08-28 17:32:30 +00:00
rubidium
1ec1f1ef37
(svn r20648) -Codechange: implement the NewGRF override manager for objects
2010-08-28 17:30:55 +00:00
rubidium
34da98f2b1
(svn r20647) -Codechange: update some of the object spec information
2010-08-28 17:29:12 +00:00
rubidium
f1f1c71a41
(svn r20646) -Codechange: make the code flow of breakdown handling a bit clearer
2010-08-28 14:18:56 +00:00
rubidium
2fb18e975c
(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)
2010-08-28 14:14:37 +00:00
rubidium
702cc96943
(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)
2010-08-28 14:01:50 +00:00
rubidium
2c1ffd79f1
(svn r20643) -Fix (r20641): != != ==
2010-08-27 22:51:16 +00:00
rubidium
0d8091a7c3
(svn r20642) -Codechange: make the table in object_land easier expandable.
2010-08-27 22:46:11 +00:00
rubidium
5d835bd280
(svn r20641) -Codechange: remove the "require flat land" flag
2010-08-27 22:43:27 +00:00
rubidium
50769995c7
(svn r20640) -Add: support for water under objects
2010-08-27 22:29:13 +00:00
rubidium
536bb704b7
(svn r20639) -Add: random bits to object tiles
2010-08-27 22:26:21 +00:00
rubidium
3e9e1b8e65
(svn r20638) -Codechange: split object.h
2010-08-27 22:21:23 +00:00
frosch
4901d42140
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
2010-08-27 20:46:36 +00:00
translators
d7c843a22e
(svn r20635) -Update from WebTranslator v3.0:
...
chuvash - 18 changes by mefisteron
2010-08-27 17:45:17 +00:00
rubidium
8522984840
(svn r20634) -Fix (r20592): gracefully do the date_fract format conversion when an older OpenTTD savegame which loaded an ancient savegame still has the old date_fract "format".
2010-08-27 10:50:21 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
08a41c6ee5
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
2010-08-26 19:29:20 +00:00
translators
327451e820
(svn r20630) -Update from WebTranslator v3.0:
...
chuvash - 5 changes by mefisteron
dutch - 2 changes by habell
german - 1 changes by planetmaker
polish - 1 changes by silver_777
2010-08-26 17:45:14 +00:00
rubidium
16bcd6c0cf
(svn r20628) -Fix: typos in animation trigger enum/comments
2010-08-26 17:08:37 +00:00
rubidium
ddf1510a23
(svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles
2010-08-26 17:01:17 +00:00
rubidium
d3f57f0e4d
(svn r20626) -Codechange: pass AirportTileSpec to the airport tile callback
2010-08-26 16:56:06 +00:00
rubidium
82ef98a90a
(svn r20625) -Add: AirportTileSpec::GetByTile to simplify accessing the AirportTileSpec
2010-08-26 16:53:06 +00:00
rubidium
9982b5fd00
(svn r20624) -Codechange: some constifying for NewGRF house
2010-08-26 16:48:32 +00:00
rubidium
e2e26190d5
(svn r20623) -Codechange: unify the storing of animation related information
2010-08-26 15:31:40 +00:00
rubidium
4efa2efdbb
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
2010-08-26 14:45:45 +00:00
rubidium
7f86dcca90
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
2010-08-26 14:36:00 +00:00
rubidium
193800e0fa
(svn r20620) -Codechange: rename airporttile's callback_flags to callback_mask, so it's the same for all NewGRF features with callbacks
2010-08-26 11:18:32 +00:00
rubidium
134712ec64
(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis)
2010-08-25 19:05:34 +00:00
rubidium
1e0e4b8cb6
(svn r20618) -Fix [FS#4081]: drawing the "OpenTTD" text in the intro game caused crashes with very low resolutions
2010-08-25 19:02:51 +00:00
translators
c4ed8ee3e3
(svn r20617) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan, Wowanxm
finnish - 2 changes by jpx_
german - 2 changes by planetmaker
greek - 2 changes by fumantsu
hungarian - 1 changes by IPG
italian - 2 changes by lorenzodv
polish - 2 changes by voythas
spanish - 3 changes by Terkhen
vietnamese - 13 changes by myquartz
2010-08-25 17:45:30 +00:00
translators
11c8140259
(svn r20612) -Update from WebTranslator v3.0:
...
catalan - 79 changes by arnau
croatian - 3 changes by VoyagerOne
esperanto - 9 changes by Christopher
french - 2 changes by glx
hungarian - 7 changes by IPG
icelandic - 142 changes by grjonib
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
spanish - 2 changes by Terkhen
2010-08-24 17:45:33 +00:00
yexo
0a644af019
(svn r20611) -Fix: disable newgrf houses that have a different size then their substitute type
2010-08-24 16:30:31 +00:00
frosch
9390bddbbd
(svn r20610) -Fix (r20609): X and Y got swapped.
2010-08-24 16:15:42 +00:00
yexo
3b04f510b1
(svn r20609) -Fix [FS#3702]: crash when a NewGRF defined an invalid substitute type for a house and the NewGRF was removed during the game
2010-08-24 16:00:35 +00:00
rubidium
5e08df7689
(svn r20607) -Fix: retain information about all base sets that are found and not only the latest version. This to stop confusing people that use newer versions of the base sets than those available via BaNaNaS.
2010-08-23 23:49:14 +00:00
yexo
747f638557
(svn r20606) -Change [FS#4042]: change the debug level of the "Registering two AIs/libraries with the same name and version" message from 0 to 1
2010-08-23 22:44:08 +00:00
rubidium
9d1145e50c
(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
2010-08-23 22:28:35 +00:00
yexo
f6f218cf6b
(svn r20604) -Feature: add a reset button to the newgrf parameters window
2010-08-23 22:25:50 +00:00
rubidium
da4dc61f76
(svn r20603) -Codechange: silence some ICC warnings
2010-08-23 22:03:36 +00:00
yexo
09d109a787
(svn r20602) -Change (r20601): use DFLT instead of DEFA as name for the default field
2010-08-23 21:53:55 +00:00
yexo
a36159614a
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
2010-08-23 21:47:07 +00:00
rubidium
8ce06a09b9
(svn r20600) -Fix [FS#4075]: "downscale" a full load order to a load if possible order when removing the order while the vehicle is loading. This to prevent the vehicle from (possibly) staying forever in the station
2010-08-23 21:21:41 +00:00
michi_cc
0fd73dee60
(svn r20599) -Add: [Win32] Append a decoded stack trace to the debug.log. Most of the time, the result will only be useful if the corresponding PDB file is present.
2010-08-23 18:20:22 +00:00
michi_cc
a7e8b67c7c
(svn r20598) -Codechange: [Win32] Replace the external x64 asm with a built-in Windows function.
2010-08-23 18:19:15 +00:00
translators
56e05d1e2c
(svn r20597) -Update from WebTranslator v3.0:
...
dutch - 4 changes by habell
esperanto - 10 changes by Christopher
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
icelandic - 54 changes by grjonib
polish - 8 changes by silver_777, voythas, xine
serbian - 10 changes by etran
2010-08-23 17:45:26 +00:00
rubidium
95d37c8615
(svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window is
2010-08-22 20:25:45 +00:00
frosch
4b0fa883f1
(svn r20595) -Fix (r20536)[FS#4068]: Autoreplace needs refitting of wagons in free wagon chains.
2010-08-22 19:15:47 +00:00
translators
cdadc58b66
(svn r20594) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
icelandic - 19 changes by grjonib
italian - 1 changes by lorenzodv
polish - 6 changes by xine
portuguese - 15 changes by JayCity
romanian - 7 changes by tonny
russian - 1 changes by KorneySan
slovak - 1 changes by JamesSVK
spanish - 1 changes by Terkhen
vietnamese - 9 changes by nglekhoi
2010-08-22 17:45:33 +00:00
rubidium
1fd36a0f32
(svn r20593) -Fix: (rlongago, r20547): long ago the service interval was int16, after which is got converted to Date except in the order backup. Much later I copied the savegame snippets from a vehicle and applied that on the order backup. Presto, reading/writing 32 bits (of Date) into 16 bits of ancient style service interval. That would then "spoil" the name pointer and that eventually crashes OpenTTD as it's likely to be an invalid pointer.
2010-08-22 16:47:26 +00:00
rubidium
29e02728e1
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
2010-08-22 09:21:56 +00:00
rubidium
56a263070f
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
2010-08-22 09:18:01 +00:00
translators
fc700cc33c
(svn r20589) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
esperanto - 8 changes by Christopher
icelandic - 10 changes by grjonib
italian - 4 changes by lorenzodv
russian - 3 changes by Lone_Wolf
swedish - 7 changes by Zuu
turkish - 11 changes by niw3
2010-08-21 17:45:24 +00:00
frosch
64d7b84c9f
(svn r20587) -Codechange (r20456)[FS#4035]: Revert to scrollbars without minimal size to simplify window setup.
2010-08-21 10:59:03 +00:00
translators
e4bb4af69f
(svn r20584) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
chuvash - 4 changes by mefisteron
croatian - 8 changes by VoyagerOne
esperanto - 17 changes by Christopher
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
russian - 1 changes by Lone_Wolf
spanish - 5 changes by Terkhen
2010-08-20 17:45:28 +00:00
frosch
514edcc19d
(svn r20583) -Fix: Autoreplace failed while attaching non-replaced wagons to the new chain, if to-be-sold-engines would become front-engines and the unitnumber limit would be exceeded.
2010-08-20 17:36:09 +00:00
rubidium
79027229b9
(svn r20582) -Fix [FS#4044]: Autoreplace can trigger an assertion when at the vehicle limit
2010-08-20 17:35:10 +00:00
rubidium
d6cd62e633
(svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled
2010-08-20 15:35:14 +00:00
rubidium
f3864181b6
(svn r20580) -Fix [FS#4039]: go via station and go via waypoint behaved differently when a train went back to the same (unordered) station again
2010-08-20 15:30:21 +00:00
frosch
03ab158935
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
2010-08-20 12:50:59 +00:00
frosch
de973a4d60
(svn r20578) -Fix [FS#4051]: Draw bounding boxes using white instead of pure white, so they are recoloured to grey in coloured newspaper instead of blue.
2010-08-20 12:13:27 +00:00
rubidium
3e3cd47222
(svn r20577) -Fix [FS#4043]: scroll button flickering when pressed
2010-08-20 11:55:10 +00:00
rubidium
1231dc7b57
(svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI
2010-08-19 22:06:20 +00:00
rubidium
1fa98e1695
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
2010-08-19 20:58:30 +00:00
rubidium
cc658392eb
(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit
2010-08-19 20:45:29 +00:00
rubidium
646fbb628a
(svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit
2010-08-19 20:42:00 +00:00
rubidium
e89a0fb7f9
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
2010-08-19 20:39:12 +00:00
rubidium
983883a2b9
(svn r20570) -Codechange: free/reserve some bits in the timetable commands to increase the vehicle pool limit
2010-08-19 20:34:51 +00:00
rubidium
64c178467d
(svn r20569) -Cleanup: the change timetable command doesn't need the packed bit anymore
2010-08-19 20:32:33 +00:00
yexo
ca0cd109f2
(svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and use it as return value instead of ::INVALID_VEHICLE
2010-08-19 20:20:20 +00:00
rubidium
552adca67f
(svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker
2010-08-19 19:23:38 +00:00
translators
8c5916ffb7
(svn r20565) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
simplified_chinese - 3 changes by pda1573
traditional_chinese - 5 changes by josesun
chuvash - 31 changes by mefisteron
dutch - 5 changes by habell
esperanto - 16 changes by Christopher
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 6 changes by planetmaker
hungarian - 1 changes by norbert79
italian - 6 changes by lorenzodv
romanian - 2 changes by kkmic
russian - 13 changes by KorneySan, Lone_Wolf
slovenian - 4 changes by ntadej
spanish - 3 changes by Terkhen
2010-08-19 17:45:45 +00:00
yexo
dc303e550b
(svn r20563) -Change: [NoAI] rename AIAbstractList to AIList
2010-08-19 15:37:28 +00:00
yexo
6c7384cabd
(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractList
2010-08-19 15:19:40 +00:00
rubidium
1fe3ce9993
(svn r20561) -Fix: compiler warning
2010-08-19 14:26:41 +00:00
rubidium
55c1af9fb1
(svn r20560) -Fix: AIs (still/again?) crashing for certain commands
2010-08-19 14:25:07 +00:00
yexo
85740a0283
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
2010-08-19 13:44:41 +00:00
yexo
16be24e13a
(svn r20558) -Codechange: use one generic function to create a list of company buttons
2010-08-19 12:56:31 +00:00
yexo
381b14a1e9
(svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit
2010-08-19 11:36:12 +00:00
yexo
44ba57bb79
(svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows
2010-08-19 11:33:15 +00:00
rubidium
a4c6d07edc
(svn r20553) -Feature: allow rate limiting of incoming commands
2010-08-19 08:59:36 +00:00
terkhen
cfc0df152b
(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window.
2010-08-19 08:22:08 +00:00
rubidium
be288d00be
(svn r20550) -Fix: documentation of CmdSetTimetableStart
2010-08-18 22:52:02 +00:00
rubidium
b594990071
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
2010-08-18 22:40:17 +00:00
rubidium
e8e22c99fd
(svn r20548) -Codechange: rename some variables giving them slightly more meaningful names
2010-08-18 21:30:38 +00:00
rubidium
926594b599
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
2010-08-18 20:48:38 +00:00
rubidium
04d6648c5e
(svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger
2010-08-18 18:57:58 +00:00
rubidium
019878118d
(svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot
2010-08-18 18:52:16 +00:00
translators
e242294530
(svn r20544) -Update from WebTranslator v3.0:
...
belarusian - 19 changes by KorneySan, Wowanxm
traditional_chinese - 15 changes by josesun
esperanto - 40 changes by Christopher
finnish - 4 changes by jpx_
french - 3 changes by glx
german - 4 changes by NG
hungarian - 10 changes by IPG, norbert79
polish - 5 changes by lion
russian - 21 changes by KorneySan, Lone_Wolf, perk11
serbian - 8 changes by etran
swedish - 20 changes by Zuu
2010-08-18 17:45:38 +00:00
rubidium
84de237507
(svn r20543) -Fix (r20542): compilation failed when networking was disabled
2010-08-18 17:23:03 +00:00
rubidium
69fa0b36d3
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
2010-08-18 17:06:45 +00:00
rubidium
287ee8c01d
(svn r20541) -Fix: when removing a vehicle update the "clone orders of"-vehicle of a backed up order, or remove it if there is no vehicle sharing orders with that vehicle.
2010-08-18 15:58:30 +00:00
smatz
d28985fe8e
(svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete
2010-08-18 15:22:40 +00:00
rubidium
38ca44594f
(svn r20539) -Codechange: make order backups more self-contained.
2010-08-18 15:15:59 +00:00
yexo
a65345d7ed
(svn r20538) -Codechange: introduce a few macros to initialize the airport classes
2010-08-18 01:19:03 +00:00
rubidium
8118cab6ba
(svn r20537) -Codechange: make RefitVehicle a static (local) function
2010-08-18 00:48:22 +00:00
rubidium
c5a670037b
(svn r20536) -Codechange: unify the refitting of vehicles
2010-08-18 00:47:31 +00:00
yexo
82e37c3cca
(svn r20535) -Codechange: make the 'vehicle must be stopped in depot' strings consistant
2010-08-18 00:46:14 +00:00
yexo
eeca1846d6
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
2010-08-18 00:30:12 +00:00
rubidium
9b8d7048da
(svn r20533) -Codechange: shuffle a bit with the bits in the sell command
2010-08-18 00:03:08 +00:00
rubidium
4780cc50b2
(svn r20532) -Codechange: unify selling of vehicles a bit
2010-08-17 23:55:22 +00:00
rubidium
c14853b72e
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
2010-08-17 23:15:55 +00:00
yexo
bf29e5d860
(svn r20530) -Cleanup (r13507): p2 bit 0 for CmdBUildRailVehicle is no longer valid so don't use it
2010-08-17 22:33:27 +00:00
yexo
f9a55b7439
(svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen
2010-08-17 21:50:58 +00:00
yexo
afb60ec59c
(svn r20528) -Fix: in old savegames aircraft can have an invalid state
2010-08-17 21:46:25 +00:00
yexo
cc45b99866
(svn r20527) -Codechange: move the flood code and remove some redundant checks
2010-08-17 19:52:44 +00:00
translators
10f00b3079
(svn r20526) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
simplified_chinese - 1 changes by pda1573
croatian - 5 changes by VoyagerOne
czech - 8 changes by marek995
dutch - 4 changes by habell
esperanto - 24 changes by Christopher
finnish - 7 changes by jpx_
german - 4 changes by NG
hungarian - 9 changes by IPG
indonesian - 6 changes by prof
irish - 9 changes by tem
italian - 4 changes by lorenzodv
romanian - 4 changes by tonny
russian - 5 changes by KorneySan
slovenian - 8 changes by ntadej
swedish - 5 changes by Zuu
2010-08-17 17:45:49 +00:00
yexo
c263f25309
(svn r20525) -Codechange: make Aircraft::UpdateDeltaXY more readable by removing the MKIT macro
2010-08-17 11:59:52 +00:00
yexo
cf1f337e4d
(svn r20524) -Codechange: remove old airport debug code
2010-08-17 11:59:09 +00:00
frosch
e77ddc5786
(svn r20523) -Fix [FS#4040]: Do not print a colon for AI settings with empty name.
...
Please note that this is only meant for compatiblity to make settings of 'old' AIs still look nice.
Usage of this 'compatibility feature' is not recommended, as selected lines cannot be highlighted this way as it is done for the NewGRF settings.
2010-08-17 09:49:31 +00:00
rubidium
edec7723cd
(svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects
2010-08-17 09:42:38 +00:00
translators
69feef4899
(svn r20518) -Update from WebTranslator v3.0:
...
chuvash - 30 changes by mefisteron
croatian - 4 changes by VoyagerOne
czech - 2 changes by marek995
dutch - 5 changes by habell
finnish - 5 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
italian - 5 changes by lorenzodv
romanian - 22 changes by tonny
russian - 3 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 15 changes by ntadej
spanish - 10 changes by Terkhen
swedish - 4 changes by Zuu
vietnamese - 2 changes by nglekhoi
2010-08-16 17:45:46 +00:00
terkhen
531cca331b
(svn r20517) -Fix (r20516): Committed way too much.
2010-08-16 17:25:11 +00:00
terkhen
ff1c565e14
(svn r20516) -Feature [FS#3472]: Filter signs at the sign list window. (Zuu)
2010-08-16 16:15:22 +00:00
rubidium
d98ff7c4c4
(svn r20515) -Feature: ignore _ in console command names so there is no "inconsistent" behaviour w.r.t. underscores anymore without breaking backwards compatability greatly
2010-08-16 15:18:21 +00:00
frosch
ca6aac6a5a
(svn r20514) -Fix: Draw error messages in white by default, they may not have a colour code.
2010-08-16 12:32:49 +00:00
rubidium
8b9a71d45f
(svn r20513) -Change: unify style of some "broken NewGRF" strings
2010-08-16 12:21:17 +00:00
frosch
31bebd3ad5
(svn r20512) -Fix [FS#4036]: Generation seed is unsigned.
2010-08-16 09:44:05 +00:00
frosch
65b43667fa
(svn r20511) -Fix: Initial height of townlist was not a multiple of the line height.
2010-08-16 08:33:28 +00:00
rubidium
1c3d42598e
(svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n)
2010-08-15 23:44:45 +00:00
rubidium
12b8822277
(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)
2010-08-15 23:42:36 +00:00
michi_cc
71ff3c4bb4
(svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi)
2010-08-15 23:32:36 +00:00
michi_cc
0796ba3d26
(svn r20507) -Change: Remove the shortcut hints from the screenshot menu strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot".
2010-08-15 23:32:32 +00:00
michi_cc
a994c1ef71
(svn r20506) -Change: Vehicles will now stop loading after a load cycle that loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in.
2010-08-15 22:37:30 +00:00
frosch
236737b2f2
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
2010-08-15 19:59:48 +00:00
frosch
57a098bccc
(svn r20504) -Codechange: Move updating of train's visual effect to separate function.
2010-08-15 19:53:53 +00:00
frosch
4ca2609362
(svn r20503) -Fix (r18838): Powered wagons should check the railtype of the tile they are on, not where the engine is on.
2010-08-15 18:35:57 +00:00
frosch
c52f42ea21
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
2010-08-15 18:25:57 +00:00
translators
292ffad04e
(svn r20501) -Update from WebTranslator v3.0:
...
simplified_chinese - 3 changes by pda1573
chuvash - 7 changes by mefisteron
estonian - 5 changes by Jaanus
hungarian - 6 changes by IPG
turkish - 28 changes by niw3
2010-08-15 17:45:15 +00:00
frosch
a0520bb8bf
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
2010-08-15 15:47:07 +00:00
alberth
35fec79700
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
2010-08-15 14:06:43 +00:00
rubidium
15514baf8b
(svn r20498) -Fix [FS#4030]: ignore the non-stop state when comparing one order type to another order type
2010-08-15 13:17:04 +00:00
rubidium
e1d35cba6d
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
2010-08-15 11:58:20 +00:00
frosch
bdb4ae940d
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
2010-08-15 10:14:08 +00:00
translators
6cac7d8509
(svn r20493) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
polish - 2 changes by silver_777
russian - 4 changes by Lone_Wolf
slovenian - 31 changes by ntadej
vietnamese - 1 changes by nglekhoi
2010-08-14 17:45:24 +00:00
rubidium
5933086e61
(svn r20489) -Fix [FS#4031]: [NoAI] checking whether water tiles are connected failed in some cases
2010-08-14 09:46:36 +00:00
rubidium
33dccfd5cf
(svn r20487) -Fix: typo in comments
2010-08-14 09:04:37 +00:00
translators
efef49e30d
(svn r20486) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
croatian - 4 changes by VoyagerOne
dutch - 4 changes by habell
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
italian - 2 changes by lorenzodv
polish - 5 changes by xine
serbian - 6 changes by etran
spanish - 3 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-08-13 17:45:36 +00:00
terkhen
7aeeb8ed35
(svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains.
2010-08-13 14:28:51 +00:00
terkhen
ffcd869dda
(svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class.
2010-08-13 14:26:29 +00:00
terkhen
144a7cab1a
(svn r20483) -Doc: RefitOption operators.
2010-08-13 14:24:47 +00:00
rubidium
89b2b9370a
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
2010-08-13 12:45:26 +00:00
rubidium
c5ec910980
(svn r20481) -Fix: statues were not removed when towns would be removed
2010-08-13 11:58:45 +00:00
rubidium
a7beb897e2
(svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though.
2010-08-13 11:57:59 +00:00
frosch
7e5309a28a
(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI.
2010-08-13 07:34:28 +00:00
yexo
bc96bdb203
(svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group
2010-08-13 00:36:12 +00:00
yexo
e4117dbfb7
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
2010-08-13 00:21:03 +00:00
yexo
6babc60254
(svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation
2010-08-12 22:36:42 +00:00
yexo
53811d79c5
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
2010-08-12 22:08:45 +00:00
yexo
241d705406
(svn r20474) -Cleanup: remove some unused code
2010-08-12 21:36:43 +00:00
rubidium
089fc97387
(svn r20473) -Codechange: pass Town instead of TownID to BuildObject
2010-08-12 19:18:58 +00:00
translators
61df1a372c
(svn r20472) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
2010-08-12 17:45:09 +00:00
frosch
d496ec65b9
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
b8c401f644
(svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC.
2010-08-12 14:20:02 +00:00
frosch
b9efd3c04e
(svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused.
2010-08-12 13:26:44 +00:00
frosch
c808e5c30f
(svn r20467) -Fix (r20453): Remove personal note.
2010-08-12 12:03:52 +00:00
frosch
28048826f8
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
2010-08-12 11:53:11 +00:00
frosch
419c269e56
(svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows.
2010-08-12 11:46:20 +00:00
frosch
e5ff41ee53
(svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows.
2010-08-12 11:21:30 +00:00
frosch
c16dead108
(svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'.
2010-08-12 09:47:48 +00:00
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
b37be47f16
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
2010-08-12 09:14:34 +00:00
frosch
6e9c9c28d9
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12 09:13:04 +00:00
frosch
55bd5de43d
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
2010-08-12 09:11:12 +00:00
frosch
57c063250f
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12 09:09:24 +00:00
frosch
66e48dfdce
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
2010-08-12 09:07:45 +00:00
frosch
037d2ed436
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
2010-08-12 08:42:37 +00:00
frosch
a8f4322a03
(svn r20454) -Fix: some whitespace.
2010-08-12 08:39:06 +00:00
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
629b350a71
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
2010-08-12 06:40:28 +00:00
rubidium
cfde445ec9
(svn r20450) -Fix: same the airport tile ID mapping as well
2010-08-11 19:09:26 +00:00
rubidium
d6004d17d4
(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings
2010-08-11 18:57:48 +00:00
rubidium
e0a3a0fd54
(svn r20448) -Codechange: make some functions that can be const const
2010-08-11 18:50:23 +00:00
translators
6b4f36533c
(svn r20447) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 3 changes by planetmaker
hungarian - 17 changes by IPG
irish - 7 changes by tem
romanian - 2 changes by tonny
spanish - 3 changes by Terkhen
swedish - 3 changes by Zuu
2010-08-11 17:45:29 +00:00
rubidium
ab5b0ceff2
(svn r20446) -Codechange: unify the location of the water class
2010-08-11 14:14:06 +00:00
frosch
43d6740f2d
(svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs.
2010-08-11 07:42:47 +00:00
rubidium
6245a9556b
(svn r20444) -Cleanup: unify writing of {NUM} x {NUM}
2010-08-10 23:32:09 +00:00
rubidium
1dbd2223ad
(svn r20443) -Codechange: more TileHash to a more generic location
2010-08-10 23:31:43 +00:00
translators
091f8ff731
(svn r20442) -Update from WebTranslator v3.0:
...
czech - 2 changes by Hadez
dutch - 2 changes by habell
french - 2 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by lion
spanish - 2 changes by Terkhen
2010-08-10 17:45:21 +00:00