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
rubidium
a045c22db0
(svn r10642) -Merge (from NoAI): ./configure flag for disabling threading.
2007-07-20 18:34:21 +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