truelight
8ca03887b9
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
...
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-04 12:53:41 +00:00
rubidium
a2d6ed7347
(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
2007-08-04 01:25:44 +00:00
truelight
930bb84242
(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
...
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-08-03 23:26:12 +00:00
truelight
c02d8ebb09
(svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debug
2007-08-03 23:19:29 +00:00
rubidium
537025e63b
(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others.
2007-08-03 23:18:56 +00:00
rubidium
ff2f17d1e8
(svn r10774) -Fix (r10768): obiwan pleased us with a visit.
2007-08-03 20:46:59 +00:00
rubidium
655b2048e5
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
9df2e25258
(svn r10772) -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle.
2007-08-03 20:17:26 +00:00
rubidium
bf8ec55db5
(svn r10771) -Codechange: remove some code duplication from the old loader.
2007-08-03 20:07:43 +00:00
rubidium
b21f29c38f
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
...
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-08-03 19:36:00 +00:00
rubidium
7e9594e0a5
(svn r10768) -Codechange: allow to specify from which index to search for a free pool item.
2007-08-03 18:34:47 +00:00
rubidium
c9c2cd8d2e
(svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.
2007-08-03 12:29:56 +00:00
rubidium
7cd5c2d860
(svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman.
2007-08-03 12:16:06 +00:00
rubidium
cf0d17d03e
(svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman.
2007-08-03 12:10:07 +00:00
peter1138
23a46a301e
(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
...
each STR_ entry. This avoids the need for a cast to StringID in some
places and thus better type-safety.
2007-08-03 09:08:49 +00:00
glx
f95df6bb61
(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one
2007-08-03 02:21:10 +00:00
rubidium
fcc1ccb99b
(svn r10760) -Codechange: make the order struct use the pool item class as super class.
2007-08-02 23:40:19 +00:00
rubidium
2f89fef353
(svn r10759) -Codechange: make the industry struct use the pool item class as super class.
2007-08-02 23:21:52 +00:00
rubidium
c60988a1d5
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
2007-08-02 22:33:53 +00:00
rubidium
c1d167ae14
(svn r10757) -Codechange: make the engine renew struct use the pool item class as super class.
2007-08-02 22:32:47 +00:00
rubidium
99da45988a
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
2007-08-02 21:19:07 +00:00
rubidium
032de036dd
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
2007-08-02 21:05:54 +00:00
rubidium
2c9e166e7e
(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.
2007-08-02 21:02:57 +00:00
rubidium
f9c6775dfd
(svn r10753) -Codechange: make the sign struct use the pool item class as super class.
2007-08-02 13:27:45 +00:00
rubidium
3172f3461d
(svn r10752) -Fix: apparantly const on function pointers is ignored.
2007-08-02 13:18:57 +00:00
rubidium
9458905e4c
(svn r10751) -Codechange: make the group struct use the pool item class as super class.
2007-08-02 12:51:57 +00:00
rubidium
53e6da1752
(svn r10750) -Codechange: make the waypoint struct use the new poolitem class as super class.
2007-08-02 12:22:40 +00:00
rubidium
e7d2918c0c
(svn r10749) -Codechange: use the generic pool item class as super class for cargo packets, which results in a nice reduction of code duplication.
2007-08-02 10:49:24 +00:00
rubidium
d28f8139ea
(svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions.
2007-08-02 10:47:43 +00:00
rubidium
e44c760084
(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.
2007-08-02 10:47:00 +00:00
rubidium
4fd5be7f2a
(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.
2007-08-02 08:47:56 +00:00
rubidium
508ac563a0
(svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too).
2007-08-01 23:49:06 +00:00
rubidium
0ab03b835b
(svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places.
2007-08-01 22:10:54 +00:00
rubidium
cbd3aca30c
(svn r10743) -Fix: some typos introduces by copy-pasting.
2007-08-01 19:13:42 +00:00
miham
415f765006
(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)
2007-07-30 17:33:33 +00:00
peter1138
61f94c2d5e
(svn r10736) -Fix: Correct all mispellings of 'successful'.
2007-07-30 13:36:09 +00:00
peter1138
9b9bca40b9
(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels.
2007-07-30 08:49:41 +00:00
rubidium
2800a49f03
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
2007-07-29 23:42:59 +00:00
rubidium
a15df67f9a
(svn r10732) -Codechange: lower the minimum size for the extra viewport window.
2007-07-29 23:25:17 +00:00
rubidium
d1590e8f07
(svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.
2007-07-29 22:58:59 +00:00
rubidium
2894283a87
(svn r10730) -Codechange: allow (some) arbitrary data to be send to the WE_CREATE event.
2007-07-29 22:57:40 +00:00
rubidium
364d42f2cd
(svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking state of UDP sockets.
2007-07-29 22:21:26 +00:00
rubidium
932baf8360
(svn r10728) -Documentation [FS#1088]: of tile.h. Based on a patch by Progman.
2007-07-29 21:43:49 +00:00
rubidium
4b75381d49
(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.
2007-07-29 20:54:37 +00:00
rubidium
000b582423
(svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels.
2007-07-29 19:19:30 +00:00
rubidium
17370d5ae7
(svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp
2007-07-29 19:18:22 +00:00
peter1138
5e1cd09ea4
(svn r10724) -Fix (r10723): Toolbar spacing was off-by-one
2007-07-29 16:43:58 +00:00
rubidium
39a2f2f4a8
(svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width.
2007-07-29 15:48:43 +00:00
rubidium
9e918b7980
(svn r10722) -Codechange: unhardcode the positions of strings in the status bar.
2007-07-29 14:06:53 +00:00
peter1138
f975e2e85c
(svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check.
2007-07-29 14:02:27 +00:00
rubidium
76fea51ada
(svn r10720) -Codechange: unhardcode the positions of the player toolbar menus.
2007-07-29 14:01:22 +00:00
rubidium
6891998fd7
(svn r10719) -Codechange: since DParams are now 64 bits we should make NUM and COMMA handle writing 64 bit integers to the strings.
2007-07-29 12:13:22 +00:00
rubidium
8cc340681d
(svn r10718) -Fix (r10698): when having a road corner on a slope removing the road bit perpendicular on the slope made the foundation disappear.
2007-07-29 12:11:50 +00:00
rubidium
06291aaaf1
(svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu.
2007-07-28 21:00:31 +00:00
rubidium
b15bee6dd5
(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.
2007-07-28 20:59:30 +00:00
truelight
b2c765e620
(svn r10715) -Fix: limited-fs code was broken
2007-07-28 12:45:27 +00:00
glx
05ae4506af
(svn r10714) -Fix r10696: MSVC performance warning
2007-07-28 00:19:49 +00:00
KUDr
7a28ccbcf6
(svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater)
2007-07-27 23:49:48 +00:00
KUDr
bcb8169b12
(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)
2007-07-27 22:32:48 +00:00
KUDr
1eda754469
(svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-)
2007-07-27 22:19:19 +00:00
rubidium
260932d8ea
(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.
2007-07-27 22:13:12 +00:00
rubidium
35f34ca7a3
(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.
2007-07-27 22:11:22 +00:00
rubidium
b837299800
(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.
2007-07-27 22:10:21 +00:00
rubidium
5769aaa843
(svn r10707) -Codechange: account for the main toolbar and status bar when determining the maximum height for a window.
2007-07-27 22:08:59 +00:00
rubidium
8fef079cbc
(svn r10706) -Codechange: allow resizing the multiplayer server list window.
2007-07-27 19:57:52 +00:00
rubidium
eb52479c0a
(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.
2007-07-27 19:09:31 +00:00
rubidium
13ab17bca8
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
2007-07-27 12:49:04 +00:00
miham
ff85f640db
(svn r10703) -Update: WebTranslator2 update to 2007-07-27 10:33:19
...
croatian - 1 fixed, 6 changed by knovak (7)
2007-07-27 08:33:33 +00:00
rubidium
15266d04d0
(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams.
2007-07-27 03:27:16 +00:00
belugas
05a5967fbb
(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.
2007-07-27 03:07:05 +00:00
belugas
3880be2fa8
(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
2007-07-27 02:41:29 +00:00
rubidium
7b2c963b64
(svn r10699) -Fix (r10698): bridge middle parts were drawn too high if the southern bridge head has a foundation.
2007-07-26 18:36:32 +00:00
rubidium
903a0a08c2
(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.
2007-07-26 16:51:10 +00:00
rubidium
a67957866a
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
2007-07-26 15:37:19 +00:00
rubidium
a26ef1ee3a
(svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
2007-07-26 14:07:11 +00:00
rubidium
e97c2bf621
(svn r10695) -Fix [FS#1079]: building single pieces of road over tramtrack or vice versa on slopes did not work as expected.
2007-07-26 11:19:03 +00:00
rubidium
6806635971
(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.
2007-07-26 09:53:58 +00:00
rubidium
e6c864f26e
(svn r10692) -Fix (r10691): those good old days that LT_NORMAL was still called LT_NORMAL :)
2007-07-25 19:36:51 +00:00
rubidium
e8ecf501c0
(svn r10691) -Codechange [FS#509]: simplify GetTransportedGoodsIncome to make it more obvious and less hidden what actually happens. Based on a patch by rfalke.
2007-07-25 19:26:33 +00:00
rubidium
feb91ab5ea
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
2007-07-25 19:06:29 +00:00
rubidium
3c25348348
(svn r10689) -Documentation [FS#1057]: lots of function documentation written by Progman.
2007-07-25 19:03:23 +00:00
rubidium
23e1cf76e5
(svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups.
2007-07-25 17:18:13 +00:00
rubidium
00e76a9e69
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
2007-07-25 17:07:38 +00:00
rubidium
e70f91a4bf
(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.
2007-07-25 15:45:46 +00:00
rubidium
368e04520d
(svn r10685) -Fix [FS#1076]: graphical glitches when the "link landscape toolbar" patch is turned on when opening one of the construction toolbars.
2007-07-25 11:27:30 +00:00
rubidium
7fe3635cdb
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
2007-07-25 00:16:30 +00:00
rubidium
542f552f6e
(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.
2007-07-24 21:48:50 +00:00
rubidium
151262c1eb
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
2007-07-24 19:56:43 +00:00
rubidium
59d33d0f7c
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
2007-07-24 17:01:23 +00:00
rubidium
9c9fc1a79e
(svn r10672) -Codechange: typify some parameters/variables.
2007-07-24 13:03:24 +00:00
truelight
e66ab3b6f1
(svn r10671) -Codechange: don't mix both lookup and temp-variable-with-value-of-lookup (skidd13)
2007-07-24 12:29:47 +00:00
belugas
0bc5d4b768
(svn r10670) -Fix: Use proper initialization for grf_prop override member
2007-07-24 01:29:42 +00:00
belugas
81c6469700
(svn r10669) -Codechange: Removed redundant comment
...
-Codechange: Add placeholder for yet another industry "variable" to code
2007-07-24 01:26:57 +00:00
truelight
7031cc3c0b
(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)
2007-07-23 19:30:36 +00:00
truelight
2418db4c23
(svn r10664) -Codechange: simplify a small piece of code (skidd13)
2007-07-23 19:24:32 +00:00
truelight
59702af996
(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)
2007-07-23 16:48:19 +00:00
truelight
e15c5fc6b0
(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)
2007-07-23 16:39:27 +00:00
truelight
e0c31b63db
(svn r10661) -Documentation: documented slope.h (Progman)
2007-07-23 16:30:59 +00:00
truelight
c239884287
(svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo)
2007-07-23 16:15:40 +00:00
truelight
1583b5b4db
(svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
...
-Codechange: added documentation and SPR_ enums for track fences (frosch)
2007-07-23 16:08:58 +00:00
glx
79f4d4d0de
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
2007-07-23 15:28:02 +00:00
truelight
e5aca34acb
(svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :))
2007-07-23 15:20:20 +00:00
truelight
568f851aa3
(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)
2007-07-23 15:18:53 +00:00
truelight
6fe791a200
(svn r10655) -Fix [FS#1070]: Trolly AI didn't know about steep slopes, and used wrong tileh in some cases (frosch)
2007-07-23 15:14:45 +00:00
orudge
05f8f7cf93
(svn r10651) -Fix: Fix chdir problem with open/save dialog on OS/2 (Paul Smedley)
2007-07-22 17:21:25 +00:00
peter1138
0c3b6a7285
(svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't work
2007-07-22 13:16:49 +00:00
miham
692f20c3c3
(svn r10648) -Update: WebTranslator2 update to 2007-07-21 20:34:31
...
croatian - 44 fixed, 143 changed by knovak (187)
2007-07-21 18:34:43 +00:00
KUDr
18c8a920d2
(svn r10647) -Fix: AutoPtrT::operator =() didn't delete old object
2007-07-21 14:01:12 +00:00
KUDr
fc58c73bc5
(svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()
...
-better describes what it does
-was inconsistent with CCountedPtr<>::Release()
2007-07-21 13:45:15 +00:00
KUDr
1f693e8ce8
(svn r10645) -Fix (r10644): file contents seems to be 3x there
2007-07-21 12:39:46 +00:00
rubidium
478e009ac6
(svn r10644) -Merge (from NoAI): framework for reference counted objects (pointers).
2007-07-20 18:44:04 +00:00
rubidium
f7682403e3
(svn r10643) -Merge (from NoAI): properly counting the amount of signs instead of using the size of the sign pool.
2007-07-20 18:35:33 +00:00
belugas
b6ba945486
(svn r10641) -Fix(r10638): Forgotten Son... err...include
2007-07-20 17:32:27 +00:00
belugas
79c94729b5
(svn r10640) -Fix(r10638): little typo...
2007-07-20 17:25:07 +00:00
belugas
71637303a9
(svn r10639) -Codechange: Give meaninfull name to a magic number
2007-07-20 17:14:03 +00:00
belugas
1dd61a2249
(svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent.
2007-07-20 16:50:11 +00:00
belugas
a79ed67f76
(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 :)
2007-07-20 16:08:28 +00:00
belugas
05e4b47613
(svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)
2007-07-20 14:49:41 +00:00
peter1138
a6aba9c83d
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
2007-07-19 17:28:55 +00:00
rubidium
f6ca271375
(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.
2007-07-19 17:27:49 +00:00
miham
95fc1a5057
(svn r10626) -Update: WebTranslator2 update to 2007-07-19 19:23:12
...
american - 4 fixed by WhiteRabbit (4)
2007-07-19 17:23:28 +00:00
rubidium
e8a73a0591
(svn r10624) -Fix [FS#1047]: the production of banks could not be modified (either in scenario editor or with the cheat).
2007-07-19 16:24:48 +00:00
belugas
917c536031
(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.
2007-07-19 01:47:32 +00:00
belugas
e32c72e35a
(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.
2007-07-19 01:35:48 +00:00
miham
50d988b396
(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)
2007-07-18 17:37:34 +00:00
belugas
15429e3d9d
(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
2007-07-18 17:05:23 +00:00
belugas
3121256978
(svn r10618) -Fix(r10167): remove unneeded comment
2007-07-18 16:02:42 +00:00
belugas
eaf946e23b
(svn r10617) -Codechange: code style changes (removing an erroneous tab plus switch case alignment)
...
-Codechange: give enum values to widgets
2007-07-18 15:59:08 +00:00
glx
fef1907c39
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
2007-07-18 02:08:56 +00:00
peter1138
bcc93b45bc
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
2007-07-17 20:32:27 +00:00
rubidium
524e306650
(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias.
2007-07-17 16:59:21 +00:00
rubidium
5b15a202ea
(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..
2007-07-17 08:18:57 +00:00
peter1138
61e41b24b4
(svn r10603) -Codechange: avoid direct access to _engine_info
2007-07-17 06:56:09 +00:00
rubidium
45b0b7755d
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
2007-07-16 23:55:22 +00:00
belugas
210e3c7085
(svn r10600) -Codechange: code-stylising the gui switch-case code
2007-07-16 23:48:25 +00:00
rubidium
f30a71ab82
(svn r10593) -Fix [FS#1038]: one could not remove locks that were build in a (very) old version of OpenTTD.
2007-07-16 21:00:40 +00:00
miham
b356343d30
(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)
2007-07-16 17:37:40 +00:00
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
miham
1f447d10b4
(svn r10584) -Fix: [Translations] Fixed translations screwed up by translator
2007-07-15 18:14:21 +00:00
miham
a75fd13d93
(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)
2007-07-15 17:17:44 +00:00
KUDr
3df88dada8
(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.
2007-07-15 11:45:38 +00:00
glx
9f2ca45987
(svn r10575) -Fix r10573: misplaced )
2007-07-15 00:45:02 +00:00
belugas
1bee873376
(svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for random map generation as well as for ingame random industry creation
2007-07-15 00:26:12 +00:00
belugas
7829add2bb
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
2007-07-15 00:19:40 +00:00
belugas
e37affa1d3
(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
2007-07-15 00:03:17 +00:00
rubidium
13692798e6
(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.
2007-07-14 23:10:27 +00:00
rubidium
c598d1b446
(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.
2007-07-14 22:37:40 +00:00
rubidium
25028759c1
(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.
2007-07-14 20:30:35 +00:00
truelight
68c5bcf960
(svn r10561) -Fix: don't give 'unused variable' warnings when disabling asserts
2007-07-14 20:21:02 +00:00
miham
08780621cc
(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)
2007-07-14 17:32:50 +00:00
rubidium
7ed3c49bcd
(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.
2007-07-13 20:46:53 +00:00
truelight
988d9b8da8
(svn r10552) -Fix [FS#1034, r10546]: opening Available Aircrafts segfaulted
2007-07-13 19:06:12 +00:00
miham
db0ad29b81
(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)
2007-07-13 16:56:07 +00:00
rubidium
46a6b03940
(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge directions.
2007-07-13 15:12:36 +00:00
truelight
73e2c46e8a
(svn r10548) -Fix [FS#1020]: don't segfault when you quit in the end-of-the-game screen
2007-07-13 15:02:22 +00:00
truelight
4b818368b1
(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the window wasn't redrawn instantly
2007-07-13 15:01:16 +00:00
truelight
1845b5633d
(svn r10546) -Fix [FS#1026]: you can now have both Available Train as Available Ship window open
2007-07-13 14:51:55 +00:00
peter1138
3f4a0eb806
(svn r10542) -Codechange: use class member instead of global variable for null ticks value
2007-07-13 13:03:20 +00:00
rubidium
9b105c28bd
(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.
2007-07-13 12:08:37 +00:00
truelight
56dfe3031c
(svn r10537) -Backport r10536: added option for null-driver to configure how long it should run (-vnull:ticks=10000)
2007-07-13 10:46:07 +00:00
miham
86e2e2f1c3
(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)
2007-07-12 17:08:56 +00:00
rubidium
690a27f8ce
(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.
2007-07-12 13:40:24 +00:00
rubidium
009a47dfcd
(svn r10521) -Fix: some NewGRFs did not check whether the newindustries bit was set, which breaks with a not-yet-finished-implementation of newindustries.
2007-07-12 13:25:06 +00:00
rubidium
469e1e2596
(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.
2007-07-12 09:15:57 +00:00
rubidium
3378095add
(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam outside of the map.
2007-07-12 08:10:40 +00:00
rubidium
ac0440495c
(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.
2007-07-12 07:57:08 +00:00
rubidium
358758e33b
(svn r10517) -Fix: the "closest distance to water/land" calculation gave the distance to the north-eastern border instead of the closest water/land.
2007-07-12 07:55:35 +00:00
rubidium
b779959c27
(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.
2007-07-12 07:53:53 +00:00
rubidium
0c6f628fa6
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
2007-07-11 23:10:22 +00:00
rubidium
a616f0bd1e
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
2007-07-11 22:57:47 +00:00
peter1138
dcf4881b07
(svn r10513) -Fix [FS#1022]: use vehicle subtile position to update cache, not tile, so that collision detection works on bridges and tunnels.
2007-07-11 21:31:34 +00:00
miham
2121112cc8
(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)
2007-07-11 17:02:15 +00:00
peter1138
556a5ebcc3
(svn r10509) -Codechange: cache expensive newgrf station variables during
...
sprite lookups/callbacks.
2007-07-11 16:37:20 +00:00
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
2007-07-11 15:03:29 +00:00
rubidium
00afab46ab
(svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some pieces of the tram catenary (even though TTDP did so too).
2007-07-11 08:35:14 +00:00
rubidium
a9249181c7
(svn r10506) -Fix: the (manual) building of banks was always rejected.
2007-07-11 08:20:57 +00:00
belugas
a59b7f492d
(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 :)
2007-07-11 02:13:00 +00:00
belugas
95c877cf71
(svn r10504) -Codechange: Shorten the test if no track bit has been found
2007-07-11 01:45:44 +00:00
belugas
b9db8ecf41
(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) as implemented.
2007-07-11 00:36:03 +00:00
rubidium
fd93cd0411
(svn r10502) -Fix [FS#1017]: trying to get the town from a tile that can never be associated with a town.
2007-07-10 22:45:09 +00:00
rubidium
3ba01bec84
(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.
2007-07-10 20:59:41 +00:00
rubidium
5ef18e693c
(svn r10500) -Fix [FS#1007]: cannot navigate using arrow keys in the game name text box. Patch by benc.
2007-07-10 20:58:07 +00:00
rubidium
b1ab5f3e1c
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
2007-07-10 07:46:58 +00:00
peter1138
400203fb5b
(svn r10497) -Fix (FS#1013,r8464): Ship max speed wrongly shown (benc)
2007-07-10 07:10:23 +00:00
belugas
b0989a369c
(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 :)
2007-07-10 00:59:00 +00:00
belugas
7ca5c337ca
(svn r10495) -Codechange: Add the Action 00 property handlers for Industries and Industry tiles
2007-07-10 00:10:19 +00:00
rubidium
e84363b4db
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
2007-07-09 20:08:25 +00:00
rubidium
7cb7488836
(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.
2007-07-09 19:38:12 +00:00
KUDr
ad5a68a282
(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)
2007-07-09 19:24:45 +00:00
KUDr
746a33747b
(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.
2007-07-09 18:57:12 +00:00
rubidium
f183f46561
(svn r10490) -Codechange: add support for industries on non-flat surfaces.
2007-07-09 18:53:43 +00:00
KUDr
b1b26ddb79
(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.
2007-07-09 18:27:42 +00:00
miham
f0137dea78
(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)
2007-07-09 16:32:52 +00:00
rubidium
b1944c8f4b
(svn r10487) -Fix: forgot some breaks in a switch statement.
2007-07-09 16:24:00 +00:00
rubidium
2801ccc5f2
(svn r10486) -Fix: do not draw foundations when the "should I draw foundations" callbacks says to do so.
2007-07-09 13:59:07 +00:00
rubidium
e207ba425f
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
2007-07-09 13:21:49 +00:00
rubidium
b3ed27adab
(svn r10484) -Codechange: reduce code duplication.
2007-07-09 13:10:04 +00:00
rubidium
37748a3152
(svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills.
2007-07-08 19:54:51 +00:00
maedhros
44db937929
(svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds.
2007-07-08 18:41:34 +00:00
maedhros
e17cbca358
(svn r10480) -Fix: Don't allow building lighthouses and transmitters under bridges in the scenario editor, or during world generation.
2007-07-08 18:40:15 +00:00
miham
73d2e5840a
(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)
2007-07-08 17:45:36 +00:00
rubidium
6dfbc5a113
(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
2007-07-08 17:44:46 +00:00
rubidium
95ea8fd2f1
(svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
2007-07-08 17:40:04 +00:00
rubidium
064c1ea89e
(svn r10476) -Fix: some newgrf callbacks were already implemented even though the comment said they were not.
2007-07-08 14:23:15 +00:00
rubidium
b76be6418e
(svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions.
2007-07-08 09:35:39 +00:00
rubidium
4b70a97fde
(svn r10474) -Fix [FS#995]: wrong group count after train crash.
2007-07-08 09:29:28 +00:00
rubidium
db16c33194
(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.
2007-07-08 00:25:05 +00:00
peter1138
00c6a8f076
(svn r10472) -Fix (r10741): typos prevented compilation
2007-07-07 21:14:36 +00:00
peter1138
2723db2884
(svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first
2007-07-07 20:31:23 +00:00
peter1138
855e9d0751
(svn r10470) -Fix: clamp station build date to 16 bit value for newgrf, preventing overflow and incorrect graphics shown past a certain date.
2007-07-07 20:17:01 +00:00
rubidium
f60d055d8d
(svn r10466) -Fix: the minimum amount of waiting cargo shouldn't be 65535; that should be the maximum amount of waiting cargo.
2007-07-07 17:36:01 +00:00
rubidium
6a5d9e28c1
(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.
2007-07-07 17:33:29 +00:00
miham
e8bbfb4a70
(svn r10464) -Update: WebTranslator2 update to 2007-07-07 18:44:01
...
latvian - 293 fixed, 21 changed by amjaliks (254), pakalns (60)
2007-07-07 16:44:10 +00:00
miham
7afa613fd5
(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)
2007-07-07 16:43:00 +00:00
rubidium
db5c9fc9a0
(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.
2007-07-07 10:06:10 +00:00
rubidium
cd702d049e
(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
2007-07-07 08:53:19 +00:00
rubidium
b0a8409200
(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.
2007-07-06 22:33:16 +00:00
peter1138
d2f4310bfe
(svn r10458) -Fix (r10444): restore original descriptions for win32 drivers
2007-07-06 22:15:00 +00:00
belugas
5f49ffa3ff
(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.
2007-07-06 20:40:58 +00:00
belugas
8df65af2d3
(svn r10456) -Codechange: Enable loading newgrf strings for Industries
2007-07-06 20:36:32 +00:00
miham
ef5c7a74e5
(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)
2007-07-06 18:03:09 +00:00
glx
7ce2f6ef73
(svn r10454) -Fix r10452: forgot unfinished langs
2007-07-06 13:43:50 +00:00
peter1138
484eb61de1
(svn r10453) -Codechange: Allow save/load of empty (unallocated) strings
2007-07-06 08:32:00 +00:00
rubidium
4854763272
(svn r10452) -Update: remove the string that has been removed in r10451 from all other translations.
2007-07-06 07:29:04 +00:00
rubidium
b8f658db94
(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.
2007-07-06 07:24:10 +00:00
peter1138
191a479e8d
(svn r10450) -Fix (r10444): Fix search & replace errors
2007-07-05 18:21:53 +00:00
miham
ca88ccb623
(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)
2007-07-05 16:40:19 +00:00
belugas
e7678f47be
(svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format.
2007-07-05 16:39:56 +00:00
belugas
5e7d4ffe9f
(svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous
2007-07-05 16:26:56 +00:00
peter1138
666241e925
(svn r10446) -Codechange: Move extmidi's global data into its class.
2007-07-05 13:19:35 +00:00
KUDr
767412f410
(svn r10445) -Fix (Win32, r10444): remove #include "hal.h"
2007-07-05 12:30:22 +00:00
peter1138
5e85e8c5e0
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-05 12:23:54 +00:00
peter1138
7884a07b43
(svn r10443) -Fix: randomizing triggers should be called with callback type set to 1
2007-07-05 06:35:09 +00:00
rubidium
4c356457e6
(svn r10442) -Codechange: implement the industry production callback.
2007-07-05 05:41:56 +00:00
rubidium
aa04ad59f1
(svn r10441) -Fix (r10440): something went wrong "porting" fixes from one place to another; like compiling the wrong checkout.
2007-07-04 22:24:57 +00:00
rubidium
3a73d47351
(svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets.
2007-07-04 22:18:33 +00:00
rubidium
c0ba3dba9d
(svn r10439) -Codechange: initial steps for customized industry productions.
2007-07-04 18:27:21 +00:00
miham
cb5cdfbf9d
(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)
2007-07-04 17:52:32 +00:00
peter1138
30de2a0984
(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.
2007-07-04 17:21:28 +00:00
maedhros
6fbfa4498c
(svn r10436) -Cleanup: Doxygenise some comments, update others, and make a few statements more consistent with everything else.
2007-07-04 13:30:33 +00:00
maedhros
78d74efd3a
(svn r10435) -Fix (r9315): numinfo starts from 1, not 0, so make it possible to define a house with a local id of 255.
2007-07-04 13:01:55 +00:00
maedhros
fd475d47d8
(svn r10434) -Fix (r9315): When setting multiple house overrides in one Action 0, don't override them all with the first ID.
2007-07-04 12:57:07 +00:00
maedhros
d938a4ffe6
(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.
2007-07-04 12:52:43 +00:00
peter1138
b36d31bb22
(svn r10432) -Codechange: use existing function instead of data duplication
2007-07-04 09:42:47 +00:00
peter1138
2fa2da4070
(svn r10431) -Codechange: constness on static array
2007-07-04 09:41:35 +00:00
peter1138
f4abcb2349
(svn r10430) -Fix: Too many town rating entry lookups (KUDr)
2007-07-04 06:37:43 +00:00
KUDr
21417ebac7
(svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun
2007-07-04 02:41:39 +00:00
KUDr
c5a122d642
(svn r10428) -Fix: some more VC code analyzer warnings disabled
2007-07-04 02:37:48 +00:00
KUDr
35dad3581b
(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)
2007-07-04 02:35:40 +00:00
belugas
cd62d5130a
(svn r10426) -Codechange: Activate the reset of industry/tiles mapping upon initialization or new game.
2007-07-04 01:34:28 +00:00
belugas
2bedfcd3bf
(svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :)
2007-07-04 00:54:38 +00:00
belugas
0805d0b03e
(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.
2007-07-04 00:49:03 +00:00
KUDr
2d31aef236
(svn r10423) -Fix [YAPF, r10301]: INVALID_TRACKDIR causing buffer overrun leading to desync in MP game (many thanks Rubidium)
2007-07-04 00:12:02 +00:00
KUDr
effb173457
(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
2007-07-03 23:23:38 +00:00
KUDr
94a5310888
(svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8
2007-07-03 23:08:51 +00:00
rubidium
2f14d622ae
(svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this.
2007-07-03 19:25:06 +00:00
rubidium
9534c9795b
(svn r10418) -Codechange: implement/resurrect the industry production flags.
2007-07-03 19:16:34 +00:00
glx
265b933b5b
(svn r10417) -Fix: r10416 partly reverted r10415
2007-07-03 17:34:43 +00:00
miham
be5b8e7db3
(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)
2007-07-03 17:21:10 +00:00
glx
ca87b15098
(svn r10415) -Revert (r10403), Fix (r10323): 'message from company' test must use {STRING1}, so pass it the correct params
2007-07-03 17:20:17 +00:00
rubidium
f7151d44b7
(svn r10414) -Fix: the network protocol check for required newgrfs sent static newgrfs too.
2007-07-03 16:14:29 +00:00
glx
bb3eb6eed4
(svn r10413) -Fix r10211: t->townnamegrfid was not cleared when renaming a town
2007-07-03 15:24:50 +00:00
peter1138
12302ae8c7
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
2007-07-03 11:31:38 +00:00
miham
a9e554c5ae
(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)
2007-07-02 17:23:51 +00:00
bjarni
6574e622f7
(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
2007-07-02 16:37:12 +00:00
rubidium
ec137f60ed
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
2007-07-01 19:24:54 +00:00
rubidium
c0e341ee05
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-07-01 19:11:47 +00:00
miham
162617eeb3
(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)
2007-07-01 18:12:59 +00:00
rubidium
0debbfd73d
(svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag.
2007-07-01 17:21:25 +00:00
rubidium
b6b78a3f21
(svn r10405) -Fix [FS#972]: do not try to determine the default railtype in the scenario editor.
2007-07-01 17:11:24 +00:00
peter1138
7ce52ca8b7
(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.
2007-07-01 12:25:08 +00:00
peter1138
e5e4a5348f
(svn r10403) -Fix (r10323): 'message from company' text used {STRING1} instead of {COMPANY}
2007-06-30 19:46:18 +00:00
miham
9504a86ca1
(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)
2007-06-30 19:33:02 +00:00
peter1138
59032746f6
(svn r10401) -Feature: new sign editor features including switching to previous/next sign (XeryusTC)
2007-06-30 17:51:50 +00:00
glx
170292e75f
(svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set after using ALT-TAB
2007-06-30 15:02:21 +00:00
peter1138
91dc99c00f
(svn r10398) -Fix (r10271): transparency menu option wasn't moved properly in the scenario editor
2007-06-30 11:28:26 +00:00
peter1138
b8927cb1d9
(svn r10397) -Fix [FS#969]: subsidy awarded messages broken due to {COMPANY} now taking 1 (not 2) parameters. also remove an unnecessary dereference.
2007-06-30 08:26:34 +00:00
peter1138
f202933e4f
(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)
2007-06-30 06:31:49 +00:00
KUDr
f766c48bc4
(svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings
2007-06-30 00:17:07 +00:00
KUDr
1e54937ee1
(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.
2007-06-29 23:55:16 +00:00
KUDr
41b75d545e
(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.
2007-06-29 23:50:42 +00:00
KUDr
90fe88a7af
(svn r10392) -Add [YAPF]: added structured dump support into some essential YAPF classes (node-list, nodes, keys, etc.) and CArrayT
2007-06-29 23:45:13 +00:00
KUDr
ec1e0b8152
(svn r10391) -Add: debug support - structured dump of variables/classes/structures (with anti-recursion repository) into string
2007-06-29 23:30:14 +00:00
KUDr
297248c83f
(svn r10390) -Fix: constness
2007-06-29 22:39:50 +00:00
KUDr
65ba91d1c9
(svn r10389) -Add: CStrA, CStrCiA, CStrW, CStrCiW - case sensitive/insensitive ANSI/UNICODE string classes that support formatted (sprintf like) output.
2007-06-29 22:33:58 +00:00
KUDr
f9e47692cb
(svn r10388) -Cleanup: coding style (CBlobT & CBlobBaseSimple), removed CStrA
2007-06-29 22:16:15 +00:00
glx
0e2982ddba
(svn r10387) -Fix (r10326, r10330): update unfinished langs
2007-06-29 14:35:29 +00:00
miham
d901bacb61
(svn r10386) -Fix: [translations] croatian translators made a few type which prevented croatian langfile to be compiled. reported by boekabart
2007-06-29 13:32:28 +00:00
miham
75debb19bf
(svn r10385) -Change: [Translations] Croatian is an accepted language
2007-06-29 12:27:13 +00:00
miham
e2a96be7e1
(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)
2007-06-29 12:04:40 +00:00
rubidium
c26b0e623d
(svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time.
2007-06-28 22:58:59 +00:00
rubidium
5c1aff5ce6
(svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart.
2007-06-28 22:03:34 +00:00
peter1138
fd6f474c88
(svn r10380) -Fix (r10364): when checking for unique names, only check vehicles that can have names, and skip inactive players.
2007-06-28 19:14:29 +00:00
belugas
f9935f1fa7
(svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do
2007-06-28 19:03:14 +00:00
miham
95c9fe1015
(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)
2007-06-28 18:46:35 +00:00
peter1138
5a6f7a79a3
(svn r10371) -Fix (r9874): Remove never-used GetGroupName() function
2007-06-28 11:53:22 +00:00
peter1138
819321676a
(svn r10370) -Fix: Heightmap GUI abused custom name system and used unnecessary globals. All details are now kept within the window's custom data.
2007-06-28 10:50:26 +00:00
belugas
890dfe749e
(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
2007-06-28 02:14:40 +00:00
peter1138
86f2f51c73
(svn r10368) -Fix: when renaming waypoints, ownership was only checked client-side, not in the command.
2007-06-27 23:40:21 +00:00
rubidium
4720ff0de3
(svn r10367) -Fix: do not crash horribly when the file you are trying to load is too short or decompressing it fails.
2007-06-27 23:26:40 +00:00
KUDr
7eb0b004f3
(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.
2007-06-27 22:29:57 +00:00
rubidium
daafda6f62
(svn r10365) -Fix: compiling without png and networking support under MSVC.
2007-06-27 22:26:27 +00:00
peter1138
cd0e022172
(svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type.
2007-06-27 20:53:25 +00:00
peter1138
85fb4eb94b
(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)
2007-06-27 20:40:20 +00:00
rubidium
b9db0b8cf1
(svn r10362) -Codechange: make tunnel costs less exponential for (very) long tunnels.
2007-06-27 19:00:14 +00:00
miham
c4596ada2d
(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)
2007-06-27 18:59:42 +00:00
rubidium
926d103482
(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.
2007-06-27 17:19:05 +00:00
rubidium
0ab80d824b
(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.
2007-06-27 17:05:06 +00:00
rubidium
43a85ee94f
(svn r10356) -Fix (r10143): another memory leak eliminated.
2007-06-27 16:54:50 +00:00
rubidium
4f73e2a030
(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.
2007-06-27 16:41:37 +00:00
rubidium
36e05116ae
(svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station.
2007-06-27 14:37:46 +00:00
rubidium
1cff472501
(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.
2007-06-27 14:15:48 +00:00
rubidium
f603383eb9
(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>".
2007-06-27 10:02:55 +00:00
KUDr
3332b21b19
(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).
2007-06-26 22:29:52 +00:00
rubidium
ab52e3da52
(svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
2007-06-26 21:17:51 +00:00
rubidium
89a4ee256e
(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.
2007-06-26 21:11:17 +00:00
matthijs
875a376039
(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).
2007-06-26 20:23:09 +00:00
matthijs
25f7e8c8a0
(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.
2007-06-26 20:15:33 +00:00
peter1138
f8a5b61f4e
(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.
2007-06-26 20:03:17 +00:00
belugas
3a46ed0dd4
(svn r10343) -Cleanup: Add documentation of functions and code-style fix.
...
Thanks of 45 degree patch for bringing it up
2007-06-26 16:58:40 +00:00
miham
8cccd49bda
(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)
2007-06-26 16:50:00 +00:00
maedhros
cc63a1659f
(svn r10341) -Fix (r10236): Only update the timetable when leaving stations if this is a scheduled stop.
2007-06-26 14:43:41 +00:00
truelight
65455f5e07
(svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy
2007-06-26 13:46:56 +00:00
truelight
a1d3c96040
(svn r10339) -Fix r10311: if you fix your own name, at least also update your description ;)
2007-06-26 13:36:00 +00:00
maedhros
7748309778
(svn r10338) -Codechange: Show the total time that the timetable will take.
2007-06-26 11:01:06 +00:00
peter1138
b60434eb0d
(svn r10337) -Fix [FS#880]: Autoreplace is only valid for the standard vehicle list, not station or shared order lists.
2007-06-26 08:11:11 +00:00
peter1138
d5d902490a
(svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases incorrectly stopped signal updates
2007-06-26 06:57:14 +00:00
maedhros
9fce70ac21
(svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
2007-06-25 23:14:13 +00:00
peter1138
2d6f6c9dfa
(svn r10334) -Fix [FS#937]: with smooth scrolling enabled, the viewport destination was not clamped to the map
2007-06-25 21:50:36 +00:00
rubidium
338b848a29
(svn r10333) -Fix [FS#943]: News messages were shown on top of the endgame screen and high score chart.
2007-06-25 21:36:16 +00:00
rubidium
0dd445a827
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
2007-06-25 21:15:17 +00:00
maedhros
c65c8f1cc9
(svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
...
the times from the first (or subsequent) run-throughs.
2007-06-25 20:55:43 +00:00
peter1138
d25dfaddeb
(svn r10330) -Fix [FS#939]: budget window used wrong param for loan repay/borrow amounts
2007-06-25 20:32:05 +00:00
rubidium
f40646bf82
(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.
2007-06-25 19:13:55 +00:00
maedhros
6b642ced33
(svn r10328) -Codechange: Close the timetable window when closing the vehicle window.
2007-06-25 17:29:03 +00:00
maedhros
e7cd217f1d
(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.
2007-06-25 17:17:40 +00:00
peter1138
1f4c0380cd
(svn r10326) -Update: change to new string codes used in english.txt
2007-06-25 17:02:37 +00:00
peter1138
3154374e19
(svn r10325) -Fix (r10323): Missed 3 company name references
2007-06-25 15:59:37 +00:00
peter1138
76874f34bf
(svn r10324) -Codechange: reference engine names by index
2007-06-25 14:46:32 +00:00
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
2007-06-25 13:30:38 +00:00
maedhros
4e1e697bc6
(svn r10322) -Codechange: Make the timetable window smaller by default so it doesn't take up so much space on small resolutions.
2007-06-25 10:49:31 +00:00
peter1138
97a2f5bf2a
(svn r10321) -Codechange: refer to sign text by index
2007-06-25 10:40:56 +00:00
rubidium
abfbba139e
(svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them.
2007-06-25 10:22:48 +00:00
rubidium
7c3ce5fc15
(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 ;)
2007-06-25 10:10:37 +00:00
miham
e84ecfb1ce
(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)
2007-06-25 09:15:59 +00:00
rubidium
e68892dcd4
(svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.
2007-06-25 08:24:03 +00:00
peter1138
59dd90b76a
(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.
2007-06-25 07:33:40 +00:00
miham
9549707bfd
(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)
2007-06-25 04:41:10 +00:00
peter1138
3878c55f34
(svn r10314) -Codechange: Refer to vehicle names by index
2007-06-24 22:42:11 +00:00
rubidium
e0a9a7d388
(svn r10313) -Fix (r8546): value for password "protected" was sent toggled for UDP packets, i.e. unpassworded companies showed up passworded and vice versa.
2007-06-24 22:18:46 +00:00
rubidium
b8d37ed4b7
(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.
2007-06-24 21:58:05 +00:00
orudge
9f8c5a97c0
(svn r10311) -Fix: I'm not retired, just relatively inactive ;)
2007-06-24 20:44:36 +00:00
orudge
f0117974cd
(svn r10310) -Fix: Trunk can now be built on OS/2 :)
2007-06-24 20:41:24 +00:00
rubidium
71295c7d9e
(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.
2007-06-24 20:17:39 +00:00
rubidium
949fc3d78c
(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
2007-06-24 20:06:10 +00:00
rubidium
d92d65a99a
(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this bug from happening.
2007-06-24 16:44:06 +00:00
miham
267a8e0aef
(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)
2007-06-24 16:33:10 +00:00
KUDr
1c41258ec6
(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)
2007-06-24 14:40:54 +00:00
KUDr
1983b349f6
(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
2007-06-24 13:30:03 +00:00
KUDr
aa93897197
(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.
2007-06-24 13:22:41 +00:00
KUDr
db6710fb16
(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special cases (immeR)
2007-06-24 13:18:54 +00:00
rubidium
331c9eec7b
(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.
2007-06-24 12:27:11 +00:00
rubidium
5ee292d806
(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.
2007-06-24 10:20:05 +00:00
rubidium
627aa240ba
(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.
2007-06-23 21:12:09 +00:00
rubidium
1b07b27af1
(svn r10297) -Codechange: increase the performance of CargoPacket::AllocateRaw using a very simple "caching" system.
2007-06-23 20:38:28 +00:00
miham
7ce68de129
(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)
2007-06-23 18:35:37 +00:00
truelight
66c1e299c2
(svn r10295) -Fix [FS#775]: flush stdout on dedicated server output to ensure an update of stdout (Zuu)
2007-06-23 14:40:19 +00:00
truelight
d5e6caf58d
(svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious)
2007-06-23 14:17:31 +00:00
truelight
292a75a5ec
(svn r10293) -Add [FS#885]: a sticky button for the client list window (oxygene)
2007-06-23 14:13:05 +00:00
KUDr
e494b4021f
(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
2007-06-23 09:04:07 +00:00
truelight
ffd8662fce
(svn r10291) -Fix [FS#920]: double click in town-GUI didn't work as expected
2007-06-23 00:33:15 +00:00
truelight
b1f60c582f
(svn r10290) -Fix: with smooth_economy, when industry production hit 32, it stayed there for ever. Give it some chance to get out of that uber-lowness (although it is a very slim chance, at least it has one)
2007-06-22 23:53:16 +00:00
rubidium
f92368109c
(svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}.
2007-06-22 23:41:33 +00:00
truelight
872ba4e659
(svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan)
2007-06-22 22:42:18 +00:00
rubidium
37e3cbb980
(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
2007-06-22 22:28:15 +00:00
truelight
b5a9cc0ed8
(svn r10286) -Fix r10284: nice typo (tnx glx)
2007-06-22 22:25:21 +00:00
truelight
9a93718898
(svn r10284) -Fix [FS#899]: in the unlucky event 2 clients join at the same time to start a new company while there is only one spot left, all clients became spectator. Now only make either one of the joining clients spectator (much more game-friendly ;))
2007-06-22 22:14:42 +00:00
rubidium
f42734a5ff
(svn r10283) -Fix [FS#913]: catenary was drawn on bridges when elrail was disabled. Patch by B. N. SmatZ!.
2007-06-22 21:48:41 +00:00
truelight
44a9fea388
(svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPU
2007-06-22 20:07:39 +00:00
truelight
7bfc7d19e8
(svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
...
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
2007-06-22 20:04:21 +00:00
glx
d5f4251823
(svn r10273) -Change: remove the strings removed in r10270 from the translations
2007-06-22 19:42:00 +00:00
glx
ad41b2dbd4
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
2007-06-22 19:30:59 +00:00
truelight
28a006ec1f
(svn r10271) -Fix r9563: move the Transparency Option menu item to the place it should have been in the first place: Option Menu, not Map Menu (go figure :p)
2007-06-22 18:43:11 +00:00
truelight
80bcbce62b
(svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
2007-06-22 18:28:44 +00:00
rubidium
db097a94db
(svn r10269) -Fix [FS#912]: station ratings were shown for all cargos instead of only the cargos that have been transported.
2007-06-22 17:34:04 +00:00
rubidium
60c61e5116
(svn r10268) -Fix: some old savegames could have the wrong bits unset (follow up of r10147)
2007-06-22 17:33:13 +00:00
glx
68ff3bc90f
(svn r10267) -Add: enable double clic to add in 'add newgrf' window
2007-06-22 13:10:56 +00:00
rubidium
fc201d4ad8
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-22 11:58:59 +00:00
truelight
dc82eeb2ae
(svn r10265) -Feature: allow double-clicking on certain places: build-vehicle and town-action
2007-06-22 10:57:53 +00:00
rubidium
4312cec2c0
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
2007-06-21 19:18:49 +00:00
rubidium
328d369f64
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21 19:08:47 +00:00
rubidium
f91e05a66b
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
2007-06-21 17:38:59 +00:00
miham
377a5e40c0
(svn r10260) -Update: WebTranslator2 update to 2007-06-21 19:36:07
...
piglatin - 12 fixed by adammw (12)
2007-06-21 17:36:16 +00:00
rubidium
75ebd2c5a8
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
2007-06-21 17:27:21 +00:00
rubidium
d0fa4eb9de
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
miham
a482793a32
(svn r10257) -Update: WebTranslator2 update to 2007-06-21 19:15:05
...
danish - 25 fixed, 50 changed by ThomasA (75)
finnish - 117 fixed by habazi (117)
hungarian - 6 fixed by miham (6)
romanian - 8 fixed, 9 changed by CrystyB (17)
spanish - 7 fixed by jfrank (7)
ukrainian - 28 fixed by mad (25), fevral13 (3)
2007-06-21 17:18:33 +00:00
belugas
ad446daf33
(svn r10256) -Add: Addition of IndustryTileOverrideManager
2007-06-21 17:09:10 +00:00
truelight
f58ea51e2a
(svn r10255) -Codechange: remove some old debug code nobody was using anymore
2007-06-21 16:53:57 +00:00
truelight
66a136be09
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
2007-06-21 16:17:47 +00:00
rubidium
21711da99d
(svn r10253) -Fix (r10249): putting the < the wrong way around made the new towns pretty small.
2007-06-21 16:12:31 +00:00