rubidium
b15c0efaa9
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
17 years ago
rubidium
db374f600c
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
17 years ago
rubidium
472749af66
(svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item class, so use the item size that is set in the pool.
17 years ago
rubidium
60a4da9913
(svn r10753) -Codechange: make the sign struct use the pool item class as super class.
17 years ago
rubidium
7ecd937e74
(svn r10752) -Fix: apparantly const on function pointers is ignored.
17 years ago
rubidium
87ad3df284
(svn r10751) -Codechange: make the group struct use the pool item class as super class.
17 years ago
rubidium
dd666a80d5
(svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class.
17 years ago
rubidium
cab6275511
(svn r10749) -Codechange: use the generic pool item class as super class for cargo packets, which results in a nice reduction of code duplication.
17 years ago
rubidium
fc12fc0140
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
17 years ago
rubidium
9009f0aa20
(svn r10747) -Codechange: add a variable that points to some index in the pool that is not beyond the first free pool item. It does not necessarily point to the first free item, but it reduces allocation time as it does not have to start at the first item in the pool to find the first free item.
17 years ago
rubidium
9378e5fd38
(svn r10746) -Codechange: add a generic superclass for almost all pool items so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes.
17 years ago
rubidium
aa78685c99
(svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too).
17 years ago
rubidium
4e96ce3dfe
(svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places.
17 years ago
rubidium
435d39f8fb
(svn r10743) -Fix: some typos introduces by copy-pasting.
17 years ago
miham
c693a57499
(svn r10737) -Update: WebTranslator2 update to 2007-07-30 19:33:14
...
catalan - 51 changed by arnaullv (51)
german - 3 changed by chu (3)
polish - 5 fixed by meush (5)
17 years ago
peter1138
06986b7744
(svn r10736) -Fix: Correct all mispellings of 'successful'.
17 years ago
peter1138
92061aba4e
(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels.
17 years ago
rubidium
7fb3f54584
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
17 years ago
rubidium
d4666b51ee
(svn r10732) -Codechange: lower the minimum size for the extra viewport window.
17 years ago
rubidium
c4613280d1
(svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.
17 years ago
rubidium
cffc67aae8
(svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event.
17 years ago
rubidium
809238e634
(svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking state of UDP sockets.
17 years ago
rubidium
d17ae2f363
(svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman.
17 years ago
rubidium
1ff82506a0
(svn r10727) -Codechange: when a window would fall outside of the screen (on the right) when opening it, move it to the left so it stays inside the screen.
17 years ago
rubidium
dd0fac984b
(svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels.
17 years ago
rubidium
59ff947471
(svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp
17 years ago
peter1138
279ed3a9c1
(svn r10724) -Fix (r10723): Toolbar spacing was off-by-one
17 years ago
rubidium
26c62dc5c0
(svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width.
17 years ago
rubidium
ab37af1da5
(svn r10722) -Codechange: unhardcode the positions of strings in the status bar.
17 years ago
peter1138
64ad100db4
(svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check.
17 years ago
rubidium
8ccb6c2d17
(svn r10720) -Codechange: unhardcode the positions of the player toolbar menus.
17 years ago
rubidium
a4898699c5
(svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings.
17 years ago
rubidium
b0f2653eb8
(svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear.
17 years ago
rubidium
aeb992ce90
(svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu.
17 years ago
rubidium
b6c3a127af
(svn r10716) -Codechange: not all windows' minimum size is actually their minimum size, so take the size of the window after WE_CREATE has been called as bare minimum size.
17 years ago
truelight
3a45534e4e
(svn r10715) -Fix: limited-fs code was broken
17 years ago
glx
94fa0ec289
(svn r10714) -Fix r10696: MSVC performance warning
17 years ago
KUDr
5eb4036eb2
(svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater)
17 years ago
KUDr
51b26f96d2
(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)
17 years ago
KUDr
f9411f30c4
(svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-)
17 years ago
rubidium
1c4b953f06
(svn r10710) -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach.
17 years ago
rubidium
b54b275ee4
(svn r10709) -Codechange: allow automatic downsizing of the load game/save game windows. These windows also already supported downsizing, but again the resize button would be unreachable.
17 years ago
rubidium
db0a4153a6
(svn r10708) -Codechange: allow automatic downsizing of the smallmap window in case of low resolutions; one could already make the window smaller, but the resize button was unreachable.
17 years ago
rubidium
e68a3e9777
(svn r10707) -Codechange: account for the main toolbar and status bar when determining the maximum height for a window.
17 years ago
rubidium
705696f736
(svn r10706) -Codechange: allow resizing the multiplayer server list window.
17 years ago
rubidium
8b5961d5e0
(svn r10705) -Fix (r10704): some windows were not correctly initialized as they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size.
...
-Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
17 years ago
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
17 years ago
miham
f01f2c3a66
(svn r10703) -Update: WebTranslator2 update to 2007-07-27 10:33:19
...
croatian - 1 fixed, 6 changed by knovak (7)
17 years ago
rubidium
e8acc3d35d
(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams.
17 years ago
belugas
3f7a7261d6
(svn r10701) -Codechange: Make sure to not use an out of bound index when the index is specified by a grf file. It has a different meaning then.
17 years ago
belugas
8ad3a6f8fd
(svn r10700) -Codechange: Enable to jump (by default) to the overriding industry tile spec of the one been queried.
...
Only on certain very specific circumstances do we need the original spec
17 years ago
rubidium
205e700b26
(svn r10699) -Fix (r10698): bridge middle parts were drawn too high if the southern bridge head has a foundation.
17 years ago
rubidium
d624f66c79
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
17 years ago
rubidium
5bd241eb5b
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
17 years ago
rubidium
02ab86631e
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
17 years ago
rubidium
d031da78d8
(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected.
17 years ago
rubidium
fda75ae603
(svn r10694) -Codechange: update the server information in the game list every once in a while so the information stays fairly up-to-date when you are looking through the servers.
17 years ago
rubidium
715c5566a3
(svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :)
17 years ago
rubidium
aa36c607b4
(svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke.
17 years ago
rubidium
9e3ee0e689
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
17 years ago
rubidium
77b0e30b76
(svn r10689) -Documentation [FS#1057]: lots of function documentation written by Progman.
17 years ago
rubidium
5833ceb5a2
(svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups.
17 years ago
rubidium
669f879632
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
17 years ago
rubidium
8131ce7e21
(svn r10686) -Fix [FS#1058]: determining whether there is a tunnel going under the lowered area is only needed in two directions instead of all four, so take the directions (one for each axis) to the nearest border (along the given axis). Furthermore GetTileZ did much more than absolutely necessary.
17 years ago
rubidium
122ce21f32
(svn r10685) -Fix [FS#1076]: graphical glitches when the "link landscape toolbar" patch is turned on when opening one of the construction toolbars.
17 years ago
rubidium
b290268645
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
17 years ago
rubidium
e640900e8a
(svn r10681) -Codechange: do not determine whether a tile is a hangar based on the graphics index to be drawn on the given tile, but do it based on the specification of the location of hangars of the airport.
17 years ago
rubidium
fe8e297995
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
17 years ago
rubidium
5d3f058b65
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
17 years ago
rubidium
0d9a51de6d
(svn r10672) -Codechange: typify some parameters/variables.
17 years ago
truelight
01d08680e1
(svn r10671) -Codechange: don't mix both lookup and temp-variable-with-value-of-lookup (skidd13)
17 years ago
belugas
d87359a827
(svn r10670) -Fix: Use proper initialization for grf_prop override member
17 years ago
belugas
7da7523caa
(svn r10669) -Codechange: Removed redundant comment
...
-Codechange: Add placeholder for yet another industry "variable" to code
17 years ago
truelight
b0d618c66b
(svn r10665) -Codechange: replace magic 15 with MAX_TILE_HEIGHT (bilbo)
...
-Codechange: replace magic 13 with MAX_SNOWLINE_HEIGHT (bilbo)
-Codechange: assure _map_height_bits is always of correct size (Rubidium)
17 years ago
truelight
33d78635ef
(svn r10664) -Codechange: simplify a small piece of code (skidd13)
17 years ago
truelight
155b912ebb
(svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p)
17 years ago
truelight
ef0be0e1dc
(svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)
...
-Add: added 'M' as new shortcut for smallmap (bilbo)
-Add: added '+' and '-' as shortcuts to zoom in the mainview (bilbo)
-Add: added support for other keycodes to be possible used in the future (bilbo)
17 years ago
truelight
4c1912f881
(svn r10661) -Documentation: documented slope.h (Progman)
17 years ago
truelight
2f0448ddba
(svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo)
17 years ago
truelight
98b23edeb3
(svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
...
-Codechange: added documentation and SPR_ enums for track fences (frosch)
17 years ago
glx
8367e16809
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
17 years ago
truelight
045a51ce62
(svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :))
17 years ago
truelight
3ce600a644
(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)
17 years ago
truelight
c4e47c07c9
(svn r10655) -Fix [FS#1070]: Trolly AI didn't know about steep slopes, and used wrong tileh in some cases (frosch)
17 years ago
orudge
6196ff1263
(svn r10651) -Fix: Fix chdir problem with open/save dialog on OS/2 (Paul Smedley)
17 years ago
peter1138
724ac18d1e
(svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't work
17 years ago
miham
251a445438
(svn r10648) -Update: WebTranslator2 update to 2007-07-21 20:34:31
...
croatian - 44 fixed, 143 changed by knovak (187)
17 years ago
KUDr
d3c20d65bd
(svn r10647) -Fix: AutoPtrT::operator =() didn't delete old object
17 years ago
KUDr
43ddd64817
(svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()
...
-better describes what it does
-was inconsistent with CCountedPtr<>::Release()
17 years ago
KUDr
af39f3a084
(svn r10645) -Fix (r10644): file contents seems to be 3x there
17 years ago
rubidium
5083f22d1d
(svn r10644) -Merge (from NoAI): framework for reference counted objects (pointers).
17 years ago
rubidium
3f983ff1f2
(svn r10643) -Merge (from NoAI): properly counting the amount of signs instead of using the size of the sign pool.
17 years ago
belugas
b9b59ec169
(svn r10641) -Fix(r10638): Forgotten Son... err...include
17 years ago
belugas
fabd64e1e6
(svn r10640) -Fix(r10638): little typo...
17 years ago
belugas
f9d3463af1
(svn r10639) -Codechange: Give meaninfull name to a magic number
17 years ago
belugas
d847b30c98
(svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent.
17 years ago
belugas
1b1fbdd331
(svn r10637) -Fix: Enable the Random Industries in scenario editor if setting Number of Industries is not NONE.
...
Spotted by skiddl13.
Thanks to glx for help in finding and better looking code :)
17 years ago
belugas
c0b044ac45
(svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)
17 years ago
peter1138
d93fcea1f8
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
17 years ago
rubidium
58a3b5e60d
(svn r10627) -Fix [FS#1052]: be consistent with the space between the company name and the player number, i.e. always put a space between them.
17 years ago
miham
6cc34e8cb7
(svn r10626) -Update: WebTranslator2 update to 2007-07-19 19:23:12
...
american - 4 fixed by WhiteRabbit (4)
17 years ago
rubidium
4a52a6833e
(svn r10624) -Fix [FS#1047]: the production of banks could not be modified (either in scenario editor or with the cheat).
17 years ago
belugas
7a656fde4e
(svn r10622) -Feature: Introduction of the CBID_INDUSTRY_AVAILABLE's handling, in fund industry window.
...
In order to stay as much consistent with the specs, the fund window will perform (if required) the callback every game-day. TTDPatch performs the same call every second, but after discussions with Csaboka, we agreed that it was not required to be that intensive. So a game-day is plenty enough.
17 years ago
belugas
f7f6ad362e
(svn r10621) -Codechange: install a struct holding the user's selection from _fund_gui.
...
-Codechange: merge WE_TIMEOUT and WE_ABORT_PLACE_OBJ, as they both do the same thing.
-Feature: Any time you place an industry, even if it fails, the button will reset and the cursor will return to normal.
17 years ago
miham
53dd79bf9a
(svn r10620) -Update: WebTranslator2 update to 2007-07-18 19:37:17
...
czech - 10 fixed, 13 changed by Hadez (23)
estonian - 20 changed by kristjans (20)
galician - 34 fixed, 5 changed by Condex (39)
slovak - 4 fixed by lengyel (4)
17 years ago
belugas
f47f1e723c
(svn r10619) -Codechange: Use shorter variable/member names and add some code separation.
...
-Codechange: Use a stringID variable instead of always refering to the _fund_gui.text[foo] member
-Documentation: Add a few explanatory comments here and there
17 years ago
belugas
c62d0719ae
(svn r10618) -Fix(r10167): remove unneeded comment
17 years ago
belugas
0fada78480
(svn r10617) -Codechange: code style changes (removing an erroneous tab plus switch case alignment)
...
-Codechange: give enum values to widgets
17 years ago
glx
d8690139b4
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
17 years ago
peter1138
b6d6e407ad
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
17 years ago
rubidium
736eafaf8e
(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias.
17 years ago
rubidium
549893651c
(svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes..
17 years ago
peter1138
306c21d6c9
(svn r10603) -Codechange: avoid direct access to _engine_info
17 years ago
rubidium
3dd6362bb8
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
17 years ago
belugas
0f8e7e79be
(svn r10600) -Codechange: code-stylising the gui switch-case code
17 years ago
rubidium
a58a18bb50
(svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a (very) old version of OpenTTD.
17 years ago
miham
3cf51c6188
(svn r10592) -Update: WebTranslator2 update to 2007-07-16 19:35:30
...
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan - 4 fixed by arnaullv (4)
croatian - 7 fixed by knovak (7)
danish - 10 fixed, 7 changed by ThomasA (17)
dutch - 4 fixed by habell (4)
estonian - 4 fixed by kristjans (4)
finnish - 30 fixed by habazi (30)
korean - 4 fixed by darkttd (4)
norwegian_nynorsk - 16 fixed by pollux (16)
piglatin - 12 fixed by adammw (12)
portuguese - 4 changed by izhirahider (4)
russian - 4 fixed by Smoky555 (4)
slovenian - 4 fixed by Necrolyte (4)
spanish - 4 fixed by eusebio (4)
ukrainian - 4 fixed by fevral13 (4)
17 years ago
rubidium
efc7fdf2fd
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
miham
4896d437b1
(svn r10584) -Fix: [Translations] Fixed translations screwed up by translator
17 years ago
miham
3a4f5a9d26
(svn r10583) -Update: WebTranslator2 update to 2007-07-15 19:17:18
...
croatian - 135 fixed, 2 changed by knovak (137)
czech - 3 changed by Hadez (3)
finnish - 29 fixed by habazi (29)
french - 4 fixed by Skiper (4)
german - 21 fixed, 1 changed by chu (22)
hungarian - 4 fixed by miham (4)
italian - 4 fixed by lorenzodv (4)
japanese - 4 fixed by ickoonite (4)
portuguese - 4 fixed by izhirahider (4)
romanian - 10 fixed by kneekoo (10)
traditional_chinese - 4 fixed by xbddc (4)
17 years ago
KUDr
d71d48434d
(svn r10578) -Fix [YAPF, ships]: Ships received curve penalty for non-diagonal straight move. (JazzyJaffa)
...
-The fix in cost calculation uncovered bug in estimate calculation. Ships now use the same estimate algorithm as trains.
17 years ago
glx
6474a5a957
(svn r10575) -Fix r10573: misplaced )
17 years ago
belugas
89d872a625
(svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for random map generation as well as for ingame random industry creation
17 years ago
belugas
318f19f5a4
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
17 years ago
belugas
6d22aa54cf
(svn r10570) -Codechange: Add enum required for Callback 0x22: CBID_INDUSTRY_AVAILABLE
...
-Documentation: Add documentation for enum IndustryConstructionType, which describes how the industry has been created
17 years ago
rubidium
7aec26887c
(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
17 years ago
rubidium
197245eefe
(svn r10566) -Fix [FS#1025]: a NewGRF could have a information message that is too long for the internal buffers to handle. We should not crash on such a case even though the message is too big for the window anyway.
17 years ago
rubidium
b8e302d2a0
(svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about wchars, so disable all code that has to use wchars for MorphOS.
17 years ago
truelight
a2a3b7da24
(svn r10561) -Fix: don't give 'unused variable' warnings when disabling asserts
17 years ago
miham
452d20487e
(svn r10559) -Update: WebTranslator2 update to 2007-07-14 19:32:31
...
american - 8 fixed by WhiteRabbit (8)
catalan - 15 changed by arnaullv (15)
estonian - 6 fixed by kristjans (6)
slovenian - 6 fixed by Necrolyte (6)
17 years ago
rubidium
2763a427de
(svn r10555) -Codechange/Fix: add a soft limit of 4096 "entities" in a station's waiting queue and a hard limit of 32768 so (malicious) people cannot cause a "denial of service" attack by filling cargo lists.
17 years ago
truelight
a757ed52fd
(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted
17 years ago
miham
90a9c3acb8
(svn r10550) -Update: WebTranslator2 update to 2007-07-13 18:55:52
...
german - 3 fixed by Neonox (3)
hungarian - 2 fixed by miham (2)
slovak - 6 fixed by lengyel (6)
traditional_chinese - 6 fixed by xbddc (6)
17 years ago
rubidium
02f00a254d
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
17 years ago
truelight
84303d0396
(svn r10548) -Fix [FS#1020]: don't segfault when you quit in the end-of-the-game screen
17 years ago
truelight
fe952911f5
(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the window wasn't redrawn instantly
17 years ago
truelight
a84dcf7682
(svn r10546) -Fix [FS#1026]: you can now have both Available Train as Available Ship window open
17 years ago
peter1138
243c59be6f
(svn r10542) -Codechange: use class member instead of global variable for null ticks value
17 years ago
rubidium
5ed3482aac
(svn r10541) -Fix [FS#1028]: cargo payment rates overflow.
...
-Fix: cargo payment rates diverge from cost rates making it impossible to make any profit after a certain number of years.
Both are solved by stopping the inflation after 170 years; there is absolutely no point in continueing the inflation after that as it only makes the game have overflows at some point that cannot be solved; using larger variables only delays the inevitable.
17 years ago
truelight
3d684e3477
(svn r10537) -Backport r10536: added option for null-driver to configure how long it should run (-vnull:ticks=10000)
17 years ago
miham
1e08060929
(svn r10532) -Update: WebTranslator2 update to 2007-07-12 19:08:41
...
catalan - 3 changed by arnaullv (3)
portuguese - 1 changed by izhirahider (1)
russian - 6 fixed by Smoky555 (6)
ukrainian - 6 fixed by fevral13 (6)
17 years ago
rubidium
7cd00468d6
(svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
17 years ago
rubidium
6f0db273d6
(svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit was set, which breaks with a not-yet-finished-implementation of newindustries.
17 years ago
rubidium
07a1d4379e
(svn r10520) -Fix: when a "can I build this industry tile here" callback did not fail, it doesn't automatically mean that the industry tile can be built there.
17 years ago
rubidium
de084ace1c
(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam outside of the map.
17 years ago
rubidium
9dee540233
(svn r10518) -Fix: use the location of the industry and not INVALID_TILE for production callbacks; makes looking at the environment of an industry a lot more useful.
17 years ago
rubidium
bbe5d876cf
(svn r10517) -Fix: the "closest distance to water/land" calculation gave the distance to the north-eastern border instead of the closest water/land.
17 years ago
rubidium
be822ef976
(svn r10516) -Fix: if doing a lookup for a ID, scan the whole range instead of only the "new" ones because the old ones could be overriden too.
17 years ago
rubidium
5f7f99e381
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
17 years ago
rubidium
57268fa7e3
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
17 years ago
peter1138
1aaab031b2
(svn r10513) -Fix [FS#1022]: use vehicle subtile position to update cache, not tile, so that collision detection works on bridges and tunnels.
17 years ago
miham
2c517a3026
(svn r10510) -Update: WebTranslator2 update to 2007-07-11 19:01:42
...
brazilian_portuguese - 8 fixed by tucalipe (8)
bulgarian - 33 fixed by thetitan (33)
catalan - 6 fixed, 81 changed by arnaullv (87)
dutch - 6 fixed by habell (6)
french - 6 fixed by glx (6)
hungarian - 4 fixed by miham (4)
italian - 6 fixed by lorenzodv (6)
japanese - 8 fixed by ickoonite (8)
korean - 6 fixed, 17 changed by leejaeuk5 (23)
latvian - 10 fixed by amjaliks (10)
portuguese - 6 fixed by izhirahider (6)
spanish - 6 fixed by eusebio (6)
swedish - 6 fixed by daishan (6)
17 years ago
peter1138
42c58e913c
(svn r10509) -Codechange: cache expensive newgrf station variables during
...
sprite lookups/callbacks.
17 years ago
rubidium
79d04412b0
(svn r10508) -Codechange: allow customizable animation schemes for industries.
17 years ago
rubidium
8d4b7ac33b
(svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some pieces of the tram catenary (even though TTDP did so too).
17 years ago
rubidium
e497167dfd
(svn r10506) -Fix: the (manual) building of banks was always rejected.
17 years ago
belugas
fb92e30dfb
(svn r10505) -Fix(r10249)[FS#1016]: Town was still trying to gather information for tiles on which it could not build. aising the values to 2 will prevent further invasion of the water-at-the-edge :)
17 years ago
belugas
5111c6205c
(svn r10504) -Codechange: Shorten the test if no track bit has been found
17 years ago
belugas
8b17441704
(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) as implemented.
17 years ago
rubidium
255102d223
(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town.
17 years ago
rubidium
872e74c028
(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients when a command failed instead of only the client that actually did the command.
17 years ago
rubidium
0cd8274658
(svn r10500) -Fix [FS#1007]: cannot navigate using arrow keys in the game name text box. Patch by benc.
17 years ago
rubidium
e1bdad1e57
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
17 years ago
peter1138
0f2d37a113
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
17 years ago
belugas
a5da0e6609
(svn r10496) -Feature: Replace all the windows for Industry building by a more flexible one.
...
Thanks to Csaboka (from TTDPatch dev team) for his hints and original design (which i've found while it was halfway done, so i could make it more compliant ;)). Don't expect it to be a carbon-copy though. A few differences can be found here and there.
Thanks to Rubidium for his helping hand. Hope you will like it as we do :)
17 years ago
belugas
b690bef878
(svn r10495) -Codechange: Add the Action 00 property handlers for Industries and Industry tiles
17 years ago
rubidium
09eb6623ab
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
17 years ago
rubidium
b876be0064
(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.
17 years ago
KUDr
0452fc482d
(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)
17 years ago
KUDr
3efc078e2f
(svn r10491) -Fix [FS#988, YAPF]: When rail segment was cached using electric engine and it ended with non-electric rail it was incorrectly cached with the end reason ESRB_DEAD_END instead of ESRB_RAIL_TYPE. (Eddi)
...
- It caused YAPF to end prematurely there when it was searching for another path (for non-electric engine).
- It can lead to sub-optimal path taken or 'train is lost' message.
- In MP game it can also cause desync.
- Uses changes made in r10489.
17 years ago
rubidium
25511e0e26
(svn r10490) -Codechange: add support for industries on non-flat surfaces.
17 years ago
KUDr
d3c7a7fa8c
(svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false.
17 years ago
miham
d9a2e25dd7
(svn r10488) -Update: WebTranslator2 update to 2007-07-09 18:32:28
...
estonian - 2 fixed by kristjans (2)
italian - 1 changed by lorenzodv (1)
korean - 6 fixed by leejaeuk5 (6)
latvian - 53 fixed by amjaliks (53)
portuguese - 5 fixed, 9 changed by izhirahider (14)
russian - 2 fixed by Smoky555 (2)
slovak - 2 fixed by lengyel (2)
spanish - 2 fixed by eusebio (2)
swedish - 8 fixed by giddorah (8)
ukrainian - 2 fixed by fevral13 (2)
17 years ago
rubidium
5bea6503a7
(svn r10487) -Fix: forgot some breaks in a switch statement.
17 years ago
rubidium
6cf2aad165
(svn r10486) -Fix: do not draw foundations when the "should I draw foundations" callbacks says to do so.
17 years ago
rubidium
bb8923c336
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
17 years ago
rubidium
c29b4a7720
(svn r10484) -Codechange: reduce code duplication.
17 years ago
rubidium
70d6fdeca0
(svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills.
17 years ago
maedhros
165dd778af
(svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds.
17 years ago
maedhros
fc3764ef4b
(svn r10480) -Fix: Don't allow building lighthouses and transmitters under bridges in the scenario editor, or during world generation.
17 years ago
miham
c9ef554e01
(svn r10479) -Update: WebTranslator2 update to 2007-07-08 19:44:48
...
american - 4 fixed by WhiteRabbit (4)
catalan - 2 fixed by arnaullv (2)
czech - 67 fixed by joeprusa (67)
danish - 6 fixed by ThomasA (6)
dutch - 2 fixed by webfreakz (2)
french - 2 fixed by glx (2)
german - 23 fixed by chu (23)
hungarian - 2 fixed by miham (2)
italian - 2 fixed, 4 changed by lorenzodv (6)
latvian - 49 fixed by amjaliks (49)
portuguese - 66 fixed by izhirahider (66)
romanian - 2 fixed by kneekoo (2)
slovenian - 2 fixed by Necrolyte (2)
traditional_chinese - 2 fixed, 75 changed by xbddc (77)
turkish - 7 fixed by jnmbk (7)
17 years ago
rubidium
26985a0128
(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
17 years ago
rubidium
283a06e4a1
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
17 years ago
rubidium
fd2d677849
(svn r10476) -Fix: some newgrf callbacks were already implemented even though the comment said they were not.
17 years ago
rubidium
640421fb79
(svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions.
17 years ago
rubidium
7ba2e75f3e
(svn r10474) -Fix [FS#995]: wrong group count after train crash.
17 years ago
rubidium
8b54aab214
(svn r10473) -Codechange: make the industry "window", the one that shows when you click on an industry, more flexible to allow easier integration with newindustries.
17 years ago
peter1138
e51d9d4fbd
(svn r10472) -Fix (r10741): typos prevented compilation
17 years ago
peter1138
8b81cdd2a6
(svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first
17 years ago
peter1138
0543657b75
(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date.
17 years ago
rubidium
576128159a
(svn r10466) -Fix: the minimum amount of waiting cargo shouldn't be 65535; that should be the maximum amount of waiting cargo.
17 years ago
rubidium
5b90b91ce3
(svn r10465) -Fix: first run the WE_CREATE callback and then perform the dirtying of the window, so you won't get glitches if you resize a window in the WE_CREATE callback.
17 years ago
miham
282bb875af
(svn r10464) -Update: WebTranslator2 update to 2007-07-07 18:44:01
...
latvian - 293 fixed, 21 changed by amjaliks (254), pakalns (60)
17 years ago
miham
d2556e1107
(svn r10463) -Update: WebTranslator2 update to 2007-07-07 18:42:35
...
catalan - 4 fixed by arnaullv (4)
estonian - 15 fixed by kristjans (15)
japanese - 4 fixed by ickoonite (4)
piglatin - 28 fixed by adammw (23), miham (5)
romanian - 7 fixed by kneekoo (7)
slovenian - 4 fixed by Necrolyte (4)
traditional_chinese - 1 changed by xbddc (1)
17 years ago
rubidium
3b52a6bfc4
(svn r10462) -Add: a command dumper/loader that could be enabled compile-time and server side only to aid debugging some desyncs, i.e. dump the stream of commands so it could be replayed in exactly the same way later. This should primarily be used to make desyncs more easily reproducable, so it can be properly debugged.
17 years ago
rubidium
9a55c79fd1
(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
17 years ago
rubidium
c86015203a
(svn r10459) -Codechange: add helper functions to determine whether an industry is a primary industry and how much it costs to build such an industry.
17 years ago
peter1138
472bfba5f8
(svn r10458) -Fix (r10444): restore original descriptions for win32 drivers
17 years ago
belugas
7c2b432670
(svn r10457) -Codechange: Load the newly read definitions of Industries and Industry tiles.
...
No, this is not the final commit for newindustries (far from it), just another step.
17 years ago
belugas
26a7f3df84
(svn r10456) -Codechange: Enable loading newgrf strings for Industries
17 years ago
miham
c70a275a50
(svn r10455) -Update: WebTranslator2 update to 2007-07-06 20:02:29
...
brazilian_portuguese - 4 fixed by tucalipe (4)
dutch - 4 fixed by habell (4)
estonian - 3 fixed by t2t2 (3)
french - 4 fixed by glx (4)
galician - 32 fixed by Condex (32)
hungarian - 4 fixed by miham (4)
italian - 4 fixed by lorenzodv (4)
korean - 2 changed by darkttd (2)
russian - 4 fixed, 1 changed by Smoky555 (5)
slovak - 4 fixed by lengyel (4)
spanish - 4 fixed by eusebio (4)
traditional_chinese - 4 fixed by xbddc (4)
turkish - 10 fixed by jnmbk (10)
ukrainian - 4 fixed by mad (4)
17 years ago
glx
281718011a
(svn r10454) -Fix r10452: forgot unfinished langs
17 years ago
peter1138
a8b385d77d
(svn r10453) -Codechange: Allow save/load of empty (unallocated) strings
17 years ago
rubidium
1af0fc0a33
(svn r10452) -Update: remove the string that has been removed in r10451 from all other translations.
17 years ago
rubidium
0d68a919d9
(svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
17 years ago
peter1138
94315ff15f
(svn r10450) -Fix (r10444): Fix search & replace errors
17 years ago
miham
463b851ad8
(svn r10449) -Update: WebTranslator2 update to 2007-07-05 18:40:00
...
catalan - 1 changed by arnaullv (1)
french - 4 changed by glx (4)
russian - 2 fixed by Smoky555 (2)
17 years ago
belugas
b9dad0d82f
(svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format.
17 years ago
belugas
f21f6554d8
(svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous
17 years ago
peter1138
b953493930
(svn r10446) -Codechange: Move extmidi's global data into its class.
17 years ago
KUDr
c4aff8b0a4
(svn r10445) -Fix (Win32, r10444): remove #include "hal.h"
17 years ago
peter1138
68c6add8cc
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
17 years ago
peter1138
b507907176
(svn r10443) -Fix: randomizing triggers should be called with callback type set to 1
17 years ago
rubidium
86c14c239f
(svn r10442) -Codechange: implement the industry production callback.
17 years ago
rubidium
9bc6a1cc8e
(svn r10441) -Fix (r10440): something went wrong "porting" fixes from one place to another; like compiling the wrong checkout.
17 years ago
rubidium
997871063f
(svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets.
17 years ago
rubidium
1bdb72ebd4
(svn r10439) -Codechange: initial steps for customized industry productions.
17 years ago
miham
2d1a3d920c
(svn r10438) -Update: WebTranslator2 update to 2007-07-04 19:52:16
...
american - 20 fixed by WhiteRabbit (20)
danish - 21 fixed, 1 changed by ThomasA (22)
portuguese - 10 fixed by izhirahider (10)
traditional_chinese - 2 changed by xbddc (2)
17 years ago
peter1138
efef78f786
(svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.
17 years ago
maedhros
156f149625
(svn r10436) -Cleanup: Doxygenise some comments, update others, and make a few statements more consistent with everything else.
17 years ago
maedhros
facf261b63
(svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible to define a house with a local id of 255.
17 years ago
maedhros
b863e50ac8
(svn r10434) -Fix (r9315): When setting multiple house overrides in one Action 0, don't override them all with the first ID.
17 years ago
maedhros
122bd53809
(svn r10433) -Codechange: Remove FOR_EACH_OBJECT by moving the for loops in the Action 0
...
handlers outside the switch statements. This allows ignoring only the invalid
IDs when changing the properties for many objects, rather than ignoring the
whole block if one ID is invalid.
17 years ago
peter1138
ca49b1e997
(svn r10432) -Codechange: use existing function instead of data duplication
17 years ago
peter1138
0645454aaa
(svn r10431) -Codechange: constness on static array
17 years ago
peter1138
e9c38a97b0
(svn r10430) -Fix: Too many town rating entry lookups (KUDr)
17 years ago
KUDr
415d5af03d
(svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun
18 years ago
KUDr
255389a963
(svn r10428) -Fix: some more VC code analyzer warnings disabled
18 years ago
KUDr
1d5b84d808
(svn r10427) -Fix: snprintf behaves differently in gcc than in VC causing unreadable artifacts in output. Now CStrT::AddFormatL() should behave correctly also when compiled by gcc (Rubidium)
18 years ago
belugas
a85d72c60d
(svn r10426) -Codechange: Activate the reset of industry/tiles mapping upon initialization or new game.
18 years ago
belugas
de43302419
(svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :)
18 years ago
belugas
2c38514a84
(svn r10424) -Fix : Toy shop seems to be working exactly like power stations, water tower and banks, i.e: they require cargo but do nothing with it.
...
So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries.
Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
18 years ago
KUDr
dd697570e5
(svn r10423) -Fix [YAPF, r10301]: INVALID_TRACKDIR causing buffer overrun leading to desync in MP game (many thanks Rubidium)
18 years ago
KUDr
232cfb0fc1
(svn r10422) -Fix: VC8 Code Analyzer warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
18 years ago
KUDr
7dc5d11448
(svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8
18 years ago
rubidium
bad85b08c2
(svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this.
18 years ago
rubidium
b67cfd4825
(svn r10418) -Codechange: implement/resurrect the industry production flags.
18 years ago
glx
aca9846479
(svn r10417) -Fix: r10416 partly reverted r10415
18 years ago
miham
844d5d2371
(svn r10416) -Update: WebTranslator2 update to 2007-07-03 19:20:58
...
norwegian_nynorsk - 3 fixed by pollux (3)
slovak - 3 fixed by lengyel (3)
traditional_chinese - 6 fixed by xbddc (6)
18 years ago
glx
53ab57cbe4
(svn r10415) -Revert (r10403), Fix (r10323): 'message from company' test must use {STRING1}, so pass it the correct params
18 years ago
rubidium
95d2abf81d
(svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too.
18 years ago
glx
e08965fdcb
(svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town
18 years ago
peter1138
b1bad4ab46
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
18 years ago
miham
f5028dfb85
(svn r10411) -Update: WebTranslator2 update to 2007-07-02 19:21:47
...
dutch - 2 fixed by webfreakz (2)
polish - 4 fixed, 7 changed by meush (11)
portuguese - 9 fixed, 2 changed by devilRed (11)
simplified_chinese - 30 fixed by Fishingsnow (30)
slovenian - 2 fixed by Necrolyte (2)
ukrainian - 2 fixed by mad (2)
18 years ago
bjarni
beb673733a
(svn r10410) -Fix [FS458]: [OSX] if the resolution is changed to something that's too high for the monitor, then it's reduced to fit the monitor size (PinguTux)
...
This solves a possible crash
This also solves a graphical glitch where the titlebar can be drawn on top of the game area
Those issues only aplied to window mode
18 years ago
rubidium
90f85c957a
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
18 years ago
rubidium
83a880c882
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
18 years ago
miham
c49fd0957d
(svn r10407) -Update: WebTranslator2 update to 2007-07-01 20:12:34
...
brazilian_portuguese - 2 fixed by tucalipe (2)
catalan - 2 fixed by arnaullv (2)
hungarian - 2 fixed by miham (2)
italian - 1 changed by lorenzodv (1)
japanese - 4 fixed by ickoonite (4)
korean - 2 fixed by darkttd (2)
spanish - 2 fixed by eusebio (2)
18 years ago
rubidium
d73e490c52
(svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag.
18 years ago
rubidium
82dbf4b467
(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor.
18 years ago
peter1138
fe2e9ea795
(svn r10404) -Fix (r10266): Adding a cargo packet to cargo list could overflow. Now we detect this and just leave the cargo in its own packet.
18 years ago
peter1138
1c4f7001d4
(svn r10403) -Fix (r10323): 'message from company' text used {STRING1} instead of {COMPANY}
18 years ago
miham
9aa21b54e1
(svn r10402) -Update: WebTranslator2 update to 2007-06-30 21:32:39
...
bulgarian - 10 fixed by kokobongo (10)
french - 2 fixed by glx (2)
italian - 2 fixed, 2 changed by lorenzodv (4)
korean - 2 fixed, 2 changed by darkttd (4)
polish - 43 fixed, 1 changed by meush (44)
slovenian - 1 fixed by Necrolyte (1)
spanish - 5 changed by eusebio (5)
swedish - 2 fixed by giddorah (2)
18 years ago
peter1138
f3aebc411d
(svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC)
18 years ago
glx
69586c94ae
(svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set after using ALT-TAB
18 years ago
peter1138
9043900ed6
(svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor
18 years ago
peter1138
2bd72b978b
(svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference.
18 years ago
peter1138
9d6136e89e
(svn r10396) -Fix: When landscape generating, allow for 200ms between screen updates instead of updating every 200ms. Previously slow screen updates would result in very slow map generation (GeekToo)
18 years ago
KUDr
f9cac3c71b
(svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings
18 years ago
KUDr
cbbee4da48
(svn r10394) -Fix [YAPF]: MP desync caused by incorrect last-red-signal penalties applied when cached segment was reused. Players that connected more recently (didn't have these segments cached yet) calculated those penalties correctly. This caused different YAPF results.
18 years ago
KUDr
09ef044f9d
(svn r10393) -Fix [YAPF]: Trackdir needs 4 bits to store (not 3). The cached segment key didn't use the highest trackdir bit. It could confuse YAPF on bi-directional track segments.
18 years ago
KUDr
c37dc87ad2
(svn r10392) -Add [YAPF]: added structured dump support into some essential YAPF classes (node-list, nodes, keys, etc.) and CArrayT
18 years ago
KUDr
a88a1b6f53
(svn r10391) -Add: debug support - structured dump of variables/classes/structures (with anti-recursion repository) into string
18 years ago
KUDr
622235d8cd
(svn r10390) -Fix: constness
18 years ago
KUDr
91d6051adb
(svn r10389) -Add: CStrA, CStrCiA, CStrW, CStrCiW - case sensitive/insensitive ANSI/UNICODE string classes that support formatted (sprintf like) output.
18 years ago
KUDr
3269660c4f
(svn r10388) -Cleanup: coding style (CBlobT & CBlobBaseSimple), removed CStrA
18 years ago
glx
0cbb62b632
(svn r10387) -Fix (r10326, r10330): update unfinished langs
18 years ago
miham
9e20907209
(svn r10386) -Fix: [translations] croatian translators made a few type which prevented croatian langfile to be compiled. reported by boekabart
18 years ago
miham
8cde9d7810
(svn r10385) -Change: [Translations] Croatian is an accepted language
18 years ago
miham
0b21f5d5a6
(svn r10384) -Update: WebTranslator2 update to 2007-06-29 14:03:32
...
croatian - 261 fixed, 9 changed by tperic (270)
finnish - 2 changed by habazi (2)
hungarian - 1 fixed by miham (1)
romanian - 1 fixed, 38 changed by CrystyB (39)
ukrainian - 1 fixed by mad (1)
18 years ago
rubidium
178582b65d
(svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time.
18 years ago
rubidium
3a82c1e9ea
(svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart.
18 years ago
peter1138
b3c3171c1e
(svn r10380) -Fix (r10364): when checking for unique names, only check vehicles that can have names, and skip inactive players.
18 years ago
belugas
42f0593b82
(svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do
18 years ago
miham
df35ea0ae9
(svn r10377) -Update: WebTranslator2 update to 2007-06-28 20:46:13
...
brazilian_portuguese - 1 fixed by fukumori (1)
catalan - 1 fixed, 2 changed by arnaullv (3)
dutch - 10 fixed by webfreakz (10)
french - 1 fixed by glx (1)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by lorenzodv (1)
portuguese - 20 fixed by supra90 (20)
russian - 4 fixed by Smoky555 (4)
spanish - 2 fixed by eusebio (2)
18 years ago
peter1138
bee164f6a7
(svn r10371) -Fix (r9874): Remove never-used GetGroupName() function
18 years ago
peter1138
81170b5206
(svn r10370) -Fix: Heightmap GUI abused custom name system and used unnecessary globals. All details are now kept within the window's custom data.
18 years ago
belugas
c1218e88e1
(svn r10369) -Codechange: Add the IndustryType parameter to the GetIndustryCallback function.
...
Sometimes, the industry might not be able to provide its type, since it does not exists at all
18 years ago
peter1138
191f4be3e7
(svn r10368) -Fix: when renaming waypoints, ownership was only checked client-side, not in the command.
18 years ago
rubidium
e0a94a94a5
(svn r10367) -Fix: do not crash horribly when the file you are trying to load is too short or decompressing it fails.
18 years ago
KUDr
15bf8e1e58
(svn r10366) -Codechange [YAPF]: added DEBUG_YAPF_CACHE macro that (when set to 1) allows to track YAPF "cache errors". They are probably responsible for current MP desyncs. (thanks Rubidium for this great idea!).
...
I will deal with those errors/desyncs tomorrow.
18 years ago
rubidium
26d6ba98ee
(svn r10365) -Fix: compiling without png and networking support under MSVC.
18 years ago
peter1138
c692d897cd
(svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type.
18 years ago
peter1138
de357c74c1
(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)
18 years ago
rubidium
2a96ca6983
(svn r10362) -Codechange: make tunnel costs less exponential for (very) long tunnels.
18 years ago
miham
06be10925d
(svn r10361) -Update: WebTranslator2 update to 2007-06-27 20:59:10
...
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 5 fixed by thetitan (5)
catalan - 3 fixed by arnaullv (3)
estonian - 6 fixed, 4 changed by vermon (10)
french - 1 fixed by glx (1)
italian - 1 fixed, 17 changed by lorenzodv (18)
norwegian_nynorsk - 20 fixed by pollux (20)
piglatin - 25 fixed by adammw (25)
polish - 5 fixed by meush (5)
slovak - 1 fixed by lengyel (1)
slovenian - 20 fixed by Necrolyte (20)
spanish - 4 fixed, 4 changed by eusebio (8)
ukrainian - 3 fixed, 2 changed by mad (5)
18 years ago
rubidium
67f46b40ab
(svn r10358) -Codechange: remove the cargopacket leakchecker as it never asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now.
18 years ago
rubidium
3c5622ee9a
(svn r10357) -Fix: and when we're at it... yet another memory leak, but only when you start a new game; can't find any other memory leaks we can fix.
18 years ago
rubidium
ffffde515f
(svn r10356) -Fix (r10143): another memory leak eliminated.
18 years ago
rubidium
45ae73e03f
(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.
18 years ago
rubidium
0c8ca15c18
(svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station.
18 years ago
rubidium
52fbdd62a2
(svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
18 years ago
rubidium
a775cdc03a
(svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>".
18 years ago
KUDr
5b8e48f555
(svn r10349) -Fix [FS#941, YAPF, r10301]: tile/trackdir must be used as node key and also as segment key in the cache (SmatZ).
...
In the past it was possible to use tile/exitdir as the key because segments beginning on the same tile/exitdir were incorrectly considered the same. What I still don't understand is why this bug happened only on 64 bit systems (linux, Win64).
18 years ago
rubidium
735c47d7d7
(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
18 years ago
rubidium
667e8eaaf8
(svn r10347) -Fix [FS#948]: industries with a very low production could never recover when using smooth economy.
...
-Fix: in smooth economy producing industries could not close, whereas they could close in non-smooth economy.
-Fix: in smooth economy the "do not increase production" flag of industries was ignored.
18 years ago
matthijs
02c54475fa
(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).
18 years ago
matthijs
a0a9a7f3cd
(svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel.
...
-Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
18 years ago
peter1138
a6da8c9519
(svn r10344) -Fix (r10317): confusion between TRACK_n and TRACK_BIT_n stopped NW/SE slopes being picked up, and compare middle of tile against current z, not previous.
18 years ago
belugas
15d4a27c89
(svn r10343) -Cleanup: Add documentation of functions and code-style fix.
...
Thanks of 45 degree patch for bringing it up
18 years ago
miham
6efd909fc9
(svn r10342) -Update: WebTranslator2 update to 2007-06-26 18:48:16
...
american - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 17 fixed by tucalipe (17)
catalan - 15 fixed, 10 changed by arnaullv (25)
dutch - 9 fixed by Zr40 (9)
estonian - 1 fixed by kristjans (1)
french - 17 fixed by glx (17)
german - 29 fixed by moewe2 (29)
hungarian - 17 fixed by miham (17)
italian - 17 fixed, 1 changed by lorenzodv (17), bluesboy84 (1)
japanese - 19 fixed by ickoonite (19)
korean - 19 fixed by darkttd (19)
norwegian_bokmal - 58 fixed by oletk (58)
polish - 113 fixed, 32 changed by meush (145)
romanian - 18 fixed by kneekoo (18)
russian - 15 fixed by Smoky555 (15)
slovak - 86 fixed by lengyel (86)
spanish - 113 fixed by eusebio (113)
swedish - 30 fixed by giddorah (30)
traditional_chinese - 16 fixed by xbddc (16)
turkish - 21 fixed by jnmbk (21)
ukrainian - 15 fixed by znikoz (10), fevral13 (4), mad (1)
18 years ago
maedhros
821d10f44c
(svn r10341) -Fix (r10236): Only update the timetable when leaving stations if this is a scheduled stop.
18 years ago
truelight
90fa779a24
(svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy
18 years ago
truelight
189fa7cca5
(svn r10339) -Fix r10311: if you fix your own name, at least also update your description ;)
18 years ago
maedhros
6fe1113382
(svn r10338) -Codechange: Show the total time that the timetable will take.
18 years ago
peter1138
8b314ffd1f
(svn r10337) -Fix [FS#880]: Autoreplace is only valid for the standard vehicle list, not station or shared order lists.
18 years ago
peter1138
dc78cf178c
(svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases incorrectly stopped signal updates
18 years ago
maedhros
fb284a9264
(svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
18 years ago
peter1138
217765fc0b
(svn r10334) -Fix [FS#937]: with smooth scrolling enabled, the viewport destination was not clamped to the map
18 years ago
rubidium
36945fd628
(svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame screen and high score chart.
18 years ago
rubidium
3c3c02d0fb
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
18 years ago
maedhros
4af9ca5335
(svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
...
the times from the first (or subsequent) run-throughs.
18 years ago
peter1138
2fce0506a6
(svn r10330) -Fix [FS#939]: budget window used wrong param for loan repay/borrow amounts
18 years ago
rubidium
8b2c8b6164
(svn r10329) -Feature [FS#812]: (patch) option to select the "default" rail type when you start a new game or load a game. This is done either static, i.e. rail, electrified rail, monorail and maglev, or dynamic which takes either the first or last available railtype or the railtype that is used most on the map.
18 years ago
maedhros
992d64b0fb
(svn r10328) -Codechange: Close the timetable window when closing the vehicle window.
18 years ago
maedhros
9216eabb54
(svn r10327) -Fix (r10236) [FS#934]: Vehicles wait at stations when they arrive early even
...
if they haven't been timetabled to wait, so make sure the lateness counter gets
updated as well.
18 years ago
peter1138
ff126a9c1d
(svn r10326) -Update: change to new string codes used in english.txt
18 years ago
peter1138
b957786ea4
(svn r10325) -Fix (r10323): Missed 3 company name references
18 years ago
peter1138
d69589b3c2
(svn r10324) -Codechange: reference engine names by index
18 years ago
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
18 years ago
maedhros
0e59b4dc57
(svn r10322) -Codechange: Make the timetable window smaller by default so it doesn't take up so much space on small resolutions.
18 years ago
peter1138
fd73ea2058
(svn r10321) -Codechange: refer to sign text by index
18 years ago
rubidium
5c6106cbcf
(svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them.
18 years ago
rubidium
1904f8e838
(svn r10319) -Fix (r10266): the limit of 65535 references was not enough for cargo packets. Increase this limit to approximately 2^32, which noone should ever be able to reach on any normal system ;)
18 years ago
miham
15de25dd83
(svn r10318) -Update: WebTranslator2 update to 2007-06-25 11:14:04
...
bulgarian - 7 fixed by thetitan (7)
catalan - 2 fixed, 2 changed by arnaullv (4)
danish - 15 fixed, 5 changed by ThomasA (20)
dutch - 8 fixed, 39 changed by Zr40 (45), webfreakz (2)
estonian - 2 fixed, 2 changed by t2t2 (4)
french - 7 fixed by Skiper (7)
hungarian - 1 fixed by miham (1)
italian - 2 fixed, 2 changed by lorenzodv (4)
russian - 57 fixed by Smoky555 (57)
spanish - 8 fixed by eusebio (8)
traditional_chinese - 1 fixed, 2 changed by xbddc (3)
turkish - 52 fixed by jnmbk (52)
ukrainian - 3 fixed, 2 changed by fevral13 (5)
18 years ago
rubidium
9c0ccadbe0
(svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.
18 years ago
peter1138
74e34ee729
(svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
18 years ago
miham
d1805ed054
(svn r10315) -Update: WebTranslator2 update to 2007-06-25 06:40:44
...
american - 5 fixed by WhiteRabbit (5)
estonian - 11 fixed by t2t2 (11)
hungarian - 6 fixed, 2 changed by miham (8)
italian - 2 changed by lorenzodv (2)
japanese - 5 fixed by ickoonite (5)
norwegian_nynorsk - 6 fixed by pollux (6)
romanian - 6 fixed, 2 changed by kneekoo (8)
russian - 8 fixed, 2 changed by Smoky555 (10)
slovenian - 5 fixed by Sonicelo (5)
traditional_chinese - 5 fixed by xbddc (5)
ukrainian - 10 fixed by fevral13 (10)
18 years ago
peter1138
fc7418d19d
(svn r10314) -Codechange: Refer to vehicle names by index
18 years ago
rubidium
ce91598e3c
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
18 years ago
rubidium
7f8535526b
(svn r10312) -Fix (r10210): the 64 values in the 'players' console command were not printed properly; they did even "overflow" into the next to-be-printed values.
18 years ago
orudge
a191162f59
(svn r10311) -Fix: I'm not retired, just relatively inactive ;)
18 years ago
orudge
0bad65bf78
(svn r10310) -Fix: Trunk can now be built on OS/2 :)
18 years ago
rubidium
58451059de
(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
18 years ago
rubidium
1caa0f7fb7
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
18 years ago
rubidium
b17b9351dd
(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening.
18 years ago
miham
af5667394c
(svn r10305) -Update: WebTranslator2 update to 2007-06-24 18:32:39
...
american - 33 fixed by WhiteRabbit (33)
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan - 5 fixed, 7 changed by arnaullv (12)
italian - 5 fixed by lorenzodv (5)
japanese - 8 fixed by ickoonite (8)
korean - 5 fixed, 2 changed by darkttd (7)
norwegian_nynorsk - 36 fixed by pollux (36)
portuguese - 7 fixed by izhirahider (7)
slovenian - 32 fixed by Necrolyte (32)
traditional_chinese - 78 fixed, 2 changed by xbddc (80)
18 years ago
KUDr
59090c53d8
(svn r10304) -Fix [YAPF](r10301): removed assert which could violate without danger when searching for the nearest depot. From now on the segment can be closed without reason in that case (peter1138)
18 years ago
KUDr
ac9fb1c34e
(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
18 years ago
KUDr
a7d5363e65
(svn r10302) -Fix [YAPF, MP]: now (with r10301) it is no longer needed to invalidate the YAPF segment cache every tick in MP. Segment cost now doesn't contain the curves between segments. As a result the cache should be now accurate.
18 years ago
KUDr
ef4c335cb4
(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR)
18 years ago
rubidium
c600158c1d
(svn r10300) -Fix [FS#917]: give a better explanation why the loading of a savegame failed and do not crash on loading savegames that were altered by patches or branches.
18 years ago
rubidium
e12e83ef5f
(svn r10299) -Codechange [FS#931]: industry foundations should be drawn as all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
18 years ago
rubidium
6402d00190
(svn r10298) -Fix [FS#903]: show the subdirectory below the default data directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
18 years ago
rubidium
be35df3f03
(svn r10297) -Codechange: increase the performance of CargoPacket::AllocateRaw using a very simple "caching" system.
18 years ago
miham
e1958a1d59
(svn r10296) -Update: WebTranslator2 update to 2007-06-23 20:35:10
...
brazilian_portuguese - 38 fixed by tucalipe (38)
catalan - 35 fixed, 10 changed by arnaullv (45)
dutch - 33 fixed by webfreakz (14), habell (19)
estonian - 4 fixed by kristjans (4)
french - 32 fixed by glx (32)
hungarian - 7 fixed by miham (7)
italian - 34 fixed, 1 changed by lorenzodv (35)
korean - 34 fixed by darkttd (34)
romanian - 59 fixed by kneekoo (59)
russian - 45 fixed, 11 changed by Smoky555 (56)
swedish - 29 fixed by giddorah (29)
ukrainian - 1 fixed by mad (1)
18 years ago
truelight
0844eaabc5
(svn r10295) -Fix [FS#775]: flush stdout on dedicated server output to ensure an update of stdout (Zuu)
18 years ago
truelight
62cb041238
(svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious)
18 years ago
truelight
834d0cf79e
(svn r10293) -Add [FS#885]: a sticky button for the client list window (oxygene)
18 years ago
KUDr
6ced6f8f5f
(svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning C4258: 'y' : definition from the for loop is ignored; the definition from the enclosing scope is used" which prevents compilation on MSVC 2003
18 years ago