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.
2007-07-24 21:48:50 +00:00
rubidium
fe8e297995
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
2007-07-24 19:56:43 +00:00
rubidium
5d3f058b65
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
2007-07-24 17:01:23 +00:00
rubidium
0d9a51de6d
(svn r10672) -Codechange: typify some parameters/variables.
2007-07-24 13:03:24 +00:00
truelight
01d08680e1
(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
d87359a827
(svn r10670) -Fix: Use proper initialization for grf_prop override member
2007-07-24 01:29:42 +00:00
belugas
7da7523caa
(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
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)
2007-07-23 19:30:36 +00:00
truelight
33d78635ef
(svn r10664) -Codechange: simplify a small piece of code (skidd13)
2007-07-23 19:24:32 +00:00
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)
2007-07-23 16:48:19 +00:00
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)
2007-07-23 16:39:27 +00:00
truelight
4c1912f881
(svn r10661) -Documentation: documented slope.h (Progman)
2007-07-23 16:30:59 +00:00
truelight
2f0448ddba
(svn r10660) -Codechange: simplified tunnel cost algorithm (bilbo)
2007-07-23 16:15:40 +00:00
truelight
98b23edeb3
(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
8367e16809
(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
045a51ce62
(svn r10657) -Fix r10655: commit didn't comply with coding style (tnx glx :))
2007-07-23 15:20:20 +00:00
truelight
3ce600a644
(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)
2007-07-23 15:18:53 +00:00
truelight
c4e47c07c9
(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
6196ff1263
(svn r10651) -Fix: Fix chdir problem with open/save dialog on OS/2 (Paul Smedley)
2007-07-22 17:21:25 +00:00
peter1138
724ac18d1e
(svn r10649) -Fix (r9962): autoscroll (pointer near screen edge) didn't work
2007-07-22 13:16:49 +00:00
miham
251a445438
(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
d3c20d65bd
(svn r10647) -Fix: AutoPtrT::operator =() didn't delete old object
2007-07-21 14:01:12 +00:00
KUDr
43ddd64817
(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
af39f3a084
(svn r10645) -Fix (r10644): file contents seems to be 3x there
2007-07-21 12:39:46 +00:00
rubidium
5083f22d1d
(svn r10644) -Merge (from NoAI): framework for reference counted objects (pointers).
2007-07-20 18:44:04 +00:00
rubidium
3f983ff1f2
(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
7aa6d30922
(svn r10642) -Merge (from NoAI): ./configure flag for disabling threading.
2007-07-20 18:34:21 +00:00
belugas
b9b59ec169
(svn r10641) -Fix(r10638): Forgotten Son... err...include
2007-07-20 17:32:27 +00:00
belugas
fabd64e1e6
(svn r10640) -Fix(r10638): little typo...
2007-07-20 17:25:07 +00:00
belugas
f9d3463af1
(svn r10639) -Codechange: Give meaninfull name to a magic number
2007-07-20 17:14:03 +00:00
belugas
d847b30c98
(svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent.
2007-07-20 16:50:11 +00:00
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 :)
2007-07-20 16:08:28 +00:00
belugas
c0b044ac45
(svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)
2007-07-20 14:49:41 +00:00
peter1138
d93fcea1f8
(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way.
2007-07-19 17:28:55 +00:00
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.
2007-07-19 17:27:49 +00:00
miham
6cc34e8cb7
(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
4a52a6833e
(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
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.
2007-07-19 01:47:32 +00:00
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.
2007-07-19 01:35:48 +00:00
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)
2007-07-18 17:37:34 +00:00
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
2007-07-18 17:05:23 +00:00
belugas
c62d0719ae
(svn r10618) -Fix(r10167): remove unneeded comment
2007-07-18 16:02:42 +00:00
belugas
0fada78480
(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
d8690139b4
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
2007-07-18 02:08:56 +00:00
peter1138
b6d6e407ad
(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.
2007-07-17 20:32:27 +00:00
rubidium
736eafaf8e
(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias.
2007-07-17 16:59:21 +00:00
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..
2007-07-17 08:18:57 +00:00
peter1138
306c21d6c9
(svn r10603) -Codechange: avoid direct access to _engine_info
2007-07-17 06:56:09 +00:00
rubidium
3dd6362bb8
(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
0f8e7e79be
(svn r10600) -Codechange: code-stylising the gui switch-case code
2007-07-16 23:48:25 +00:00