peter1138
|
b02623901a
|
(svn r9727) -Fix (r8546): Company password field in network player info was inverted.
|
2007-04-27 20:50:49 +00:00 |
|
peter1138
|
5577d5c86c
|
(svn r9720) -Codechange: Remove global var and gotos from window autoplacement
|
2007-04-26 17:32:54 +00:00 |
|
peter1138
|
4d0483b650
|
(svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window.
|
2007-04-26 07:24:19 +00:00 |
|
peter1138
|
5b5598b2a6
|
(svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation.
|
2007-04-26 06:49:32 +00:00 |
|
peter1138
|
1164c275af
|
(svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading.
|
2007-04-24 19:05:16 +00:00 |
|
peter1138
|
fa180a15cc
|
(svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses.
|
2007-04-21 20:23:20 +00:00 |
|
peter1138
|
e5a314399a
|
(svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array.
|
2007-04-21 07:27:16 +00:00 |
|
peter1138
|
01ae38e3d7
|
(svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly.
|
2007-04-21 07:17:14 +00:00 |
|
peter1138
|
1052b0e8f1
|
(svn r9703) -Codechange: support callback 36 in vehicle purchase lists
|
2007-04-20 21:42:06 +00:00 |
|
peter1138
|
15bfaba259
|
(svn r9702) -Codechange: Add livery support to newgrf vehicle var 43
|
2007-04-20 21:21:47 +00:00 |
|
peter1138
|
a4b3066433
|
(svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables
|
2007-04-20 21:19:28 +00:00 |
|
peter1138
|
98fe82da66
|
(svn r9691) -Fix (r9683): Forgotten savegame bump...
|
2007-04-20 17:26:10 +00:00 |
|
peter1138
|
8e457248a7
|
(svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags
|
2007-04-20 17:23:33 +00:00 |
|
peter1138
|
67529d2e63
|
(svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags
|
2007-04-20 15:03:58 +00:00 |
|
peter1138
|
a8350e5fdf
|
(svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*)
|
2007-04-20 07:51:20 +00:00 |
|
peter1138
|
a40d53d8d1
|
(svn r9678) -Codechange: Support changing of aircraft running cost via callback 36.
|
2007-04-19 18:49:40 +00:00 |
|
peter1138
|
0552b19225
|
(svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour.
|
2007-04-19 17:54:45 +00:00 |
|
peter1138
|
41cf2fa69b
|
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
2007-04-18 18:37:40 +00:00 |
|
peter1138
|
4b7c59fce1
|
(svn r9666) -Fix (r9651): end of data / column flags were reversed
|
2007-04-18 07:22:53 +00:00 |
|
peter1138
|
2b2cfaeec1
|
(svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot
|
2007-04-17 17:54:31 +00:00 |
|
peter1138
|
229eb8cba5
|
(svn r9646) -Fix (r9645): incorrect count in error message for airport graphics
|
2007-04-16 08:31:00 +00:00 |
|
peter1138
|
15e112c290
|
(svn r9645) -Feature: Add NewGRF Action 5 (Sprite Replacement) support for 2cc colour maps, airport, and road stop sprites.
|
2007-04-16 06:35:10 +00:00 |
|
peter1138
|
49eb9b6fad
|
(svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader.
|
2007-04-15 16:20:35 +00:00 |
|
peter1138
|
01ef0284cb
|
(svn r9621) -Codechange: implement newgrf house property 1E (cargo types)
|
2007-04-13 21:18:48 +00:00 |
|
peter1138
|
59399480b3
|
(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65
|
2007-04-13 19:32:18 +00:00 |
|
peter1138
|
b5b7b489ce
|
(svn r9617) -Codechange: Implement callback for cargo profit calculation
|
2007-04-12 19:33:05 +00:00 |
|
peter1138
|
8cdec9a2ab
|
(svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting.
|
2007-04-12 06:16:46 +00:00 |
|
peter1138
|
69982b1f01
|
(svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID
|
2007-04-11 21:04:03 +00:00 |
|
peter1138
|
b47078d690
|
(svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows...
|
2007-04-11 20:42:13 +00:00 |
|
peter1138
|
91c407bd37
|
(svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off
|
2007-04-11 20:14:11 +00:00 |
|
peter1138
|
23d9d6cfb4
|
(svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency...
|
2007-04-11 20:13:32 +00:00 |
|
peter1138
|
9e967ed6bf
|
(svn r9595) -Fix (r9563): Transparency hotkeys didn't work
|
2007-04-11 20:03:05 +00:00 |
|
peter1138
|
39f92d1f21
|
(svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC.
|
2007-04-05 12:59:57 +00:00 |
|
peter1138
|
614dd12f21
|
(svn r9564) -Fix (r9563): When adding files remember to add them...
|
2007-04-05 09:07:20 +00:00 |
|
peter1138
|
a2cec54c9d
|
(svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
|
2007-04-05 07:49:04 +00:00 |
|
peter1138
|
2afcd1561a
|
(svn r9473) -Codechange: add 'unhandled variable' debug message to newcargo resolver
|
2007-03-26 08:43:14 +00:00 |
|
peter1138
|
f56fbbfed9
|
(svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable...
|
2007-03-25 10:43:27 +00:00 |
|
peter1138
|
e74169364c
|
(svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary.
|
2007-03-25 08:13:07 +00:00 |
|
peter1138
|
0ceca4140a
|
(svn r9436) -Fix (r9411): don't deactivate GRF in an action 7/9 during reservation (and loading of cargo data), and action 6 should be run also
|
2007-03-24 23:43:33 +00:00 |
|
peter1138
|
fc540fcd0d
|
(svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high
|
2007-03-24 18:56:59 +00:00 |
|
peter1138
|
bea0993015
|
(svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something
|
2007-03-24 16:09:39 +00:00 |
|
peter1138
|
d53e16131d
|
(svn r9427) -Codechange: remove redundant variable
|
2007-03-24 14:42:11 +00:00 |
|
peter1138
|
68572f1076
|
(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites
|
2007-03-23 20:55:45 +00:00 |
|
peter1138
|
8353032129
|
(svn r9417) -Fix (r1): Waiting cargo icons in the station view window were incorrectly drawn if the cargo list was scrolled, resulting in overlapping images
|
2007-03-23 20:51:42 +00:00 |
|
peter1138
|
2e32df30dd
|
(svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though)
|
2007-03-23 20:01:25 +00:00 |
|
peter1138
|
85ec21e8c5
|
(svn r9413) -Codechange: Remove default cargo translation table and use bitnums directly if no table is provided. This lets pre-cargolabel cargo definitions work.
|
2007-03-23 00:03:08 +00:00 |
|
peter1138
|
2f6a46632a
|
(svn r9412) -Fix (r8886): When looking up a cargo type by label skip disabled cargos
|
2007-03-22 23:32:24 +00:00 |
|
peter1138
|
4d81a464e2
|
(svn r9411) -Codechange: Add support for loading of newcargo data.
|
2007-03-22 23:19:40 +00:00 |
|
peter1138
|
e2801aa320
|
(svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler
|
2007-03-21 20:58:01 +00:00 |
|
peter1138
|
d7f56f1550
|
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
|
2007-03-21 13:19:01 +00:00 |
|
peter1138
|
1bea18b440
|
(svn r9352) -Codechange: Use cargo class to determine if an aircraft should carry mail
|
2007-03-19 20:54:13 +00:00 |
|
peter1138
|
63ccdcf082
|
(svn r9327) -Fix (r9301): Fix warning on MSVC
|
2007-03-19 12:58:43 +00:00 |
|
peter1138
|
457930c483
|
(svn r9322) -Codechange: Use cargo class to count crash/flood victims
|
2007-03-19 12:40:51 +00:00 |
|
peter1138
|
ae48a7447b
|
(svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft.
|
2007-03-18 22:32:05 +00:00 |
|
peter1138
|
8ef0e43b94
|
(svn r9302) -Codechange: Use cargo class to test for passengers when deciding on the livery scheme to use.
|
2007-03-18 22:11:24 +00:00 |
|
peter1138
|
e485b8f694
|
(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops.
|
2007-03-18 22:07:44 +00:00 |
|
peter1138
|
f4cad9017e
|
(svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui
|
2007-03-18 21:58:03 +00:00 |
|
peter1138
|
92486ac980
|
(svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...
|
2007-03-16 21:42:11 +00:00 |
|
peter1138
|
1014c82180
|
(svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type.
|
2007-03-16 17:40:31 +00:00 |
|
peter1138
|
c5313e3479
|
(svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup.
|
2007-03-16 00:55:59 +00:00 |
|
peter1138
|
99577265de
|
(svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs.
|
2007-03-15 22:48:46 +00:00 |
|
peter1138
|
4177215b41
|
(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
|
2007-03-13 21:31:09 +00:00 |
|
peter1138
|
1c55149e1f
|
(svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little)
|
2007-03-11 22:29:37 +00:00 |
|
peter1138
|
1a7d9dd6c0
|
(svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks
|
2007-03-10 16:21:29 +00:00 |
|
peter1138
|
1461e39bb9
|
(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.
|
2007-03-10 10:08:38 +00:00 |
|
peter1138
|
f662e0f996
|
(svn r9093) -Codechange: variable scope / type
|
2007-03-10 09:55:11 +00:00 |
|
peter1138
|
e83e9b9e44
|
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
|
2007-03-10 09:23:33 +00:00 |
|
peter1138
|
fe2b3e18fb
|
(svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window.
|
2007-03-09 22:55:57 +00:00 |
|
peter1138
|
c94480ab80
|
(svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo payment graph
|
2007-03-09 22:55:04 +00:00 |
|
peter1138
|
6040e559ce
|
(svn r9069) -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway...
|
2007-03-08 19:23:49 +00:00 |
|
peter1138
|
db2f57e3a1
|
(svn r8990) -Fix: more indenting and variable scoping
|
2007-03-03 10:48:25 +00:00 |
|
peter1138
|
8f2a554864
|
(svn r8989) -Fix: more indenting and variable scoping
|
2007-03-03 09:58:20 +00:00 |
|
peter1138
|
55d544d47e
|
(svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage
|
2007-03-03 09:40:34 +00:00 |
|
peter1138
|
879eca8e23
|
(svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. This lets us remove the gaps and allow more than 12 cargo types later.
|
2007-03-02 11:36:34 +00:00 |
|
peter1138
|
8df0b8a685
|
(svn r8903) -Regression (r8891): CT_PURCHASE does apply to aircraft overrides...
|
2007-02-25 14:33:43 +00:00 |
|
peter1138
|
4c4b035175
|
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
|
2007-02-24 23:36:40 +00:00 |
|
peter1138
|
29c8142784
|
(svn r8890) -Codechange: (NewGRF) add cargo translation support to engine var 47
|
2007-02-24 23:20:21 +00:00 |
|
peter1138
|
5dcd88c59c
|
(svn r8888) -Codechange: Replace hardcoded default cargo bitmasks with a list of cargo labels.
|
2007-02-24 22:01:18 +00:00 |
|
peter1138
|
a23b4594ed
|
(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only.
|
2007-02-24 19:36:47 +00:00 |
|
peter1138
|
0cf5ebee79
|
(svn r8885) -Codechange: (NewGRF) If a default cargo type property is out of range then choose the cargo type from its refit list.
|
2007-02-24 19:26:45 +00:00 |
|
peter1138
|
0cf592b17a
|
(svn r8865) -Codechange: (NewGRF) Ignore 1 byte action 0s during safety check
|
2007-02-23 21:03:57 +00:00 |
|
peter1138
|
20405f56b4
|
(svn r8863) -Fix: prefix engine_custom_sprites with _
|
2007-02-23 19:27:31 +00:00 |
|
peter1138
|
7e73413709
|
(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.
|
2007-02-23 09:56:20 +00:00 |
|
peter1138
|
89613b6cc4
|
(svn r8850) -Codechange: Use the cargo type's is_freight flag instead of checking the cargo type to determine if the cargo type is freight cargo type cargo type.
|
2007-02-22 22:53:49 +00:00 |
|
peter1138
|
6062004960
|
(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions.
|
2007-02-22 22:09:51 +00:00 |
|
peter1138
|
ef2daa5060
|
(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
|
2007-02-20 22:09:21 +00:00 |
|
peter1138
|
e724ada674
|
(svn r8569) -Fix (r8464): revert properly
|
2007-02-04 05:53:09 +00:00 |
|
peter1138
|
2e2e19b3d1
|
(svn r8526) -Codechange: add stubs for unsupported newgrf station properties
|
2007-02-02 02:56:29 +00:00 |
|
peter1138
|
74c842a3ef
|
(svn r8505) -Codechange: Ensure GRM allocated sprites will be below the original 16384 sprite limit. If not, fail and disable the NewGRF.
|
2007-02-01 01:40:46 +00:00 |
|
peter1138
|
d838a477e2
|
(svn r8465) -Regression (r8455): Switching from dual to single head should switch to wagon if power is zero. .Or something.
|
2007-01-30 22:00:25 +00:00 |
|
peter1138
|
8933ffd9ac
|
(svn r8464) -Revert (r4322): Change back to converting to mph in the GUI code, as 1 mph == 1.6 km/h is too far out for some people.
|
2007-01-30 21:10:04 +00:00 |
|
peter1138
|
60ddc05925
|
(svn r8434) -Fix (r8430): Missing braces caused compilation failure for some (most?) compilers...
|
2007-01-27 22:28:28 +00:00 |
|
peter1138
|
20e0a91506
|
(svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf stations work
|
2007-01-24 15:01:20 +00:00 |
|
peter1138
|
e13b00e14f
|
(svn r8287) -Fix (r8286): forgot to check for newline format, sorry...
|
2007-01-20 09:49:29 +00:00 |
|
peter1138
|
4d0a0fed0e
|
(svn r8286) -Add: Korean translation by Ezi
|
2007-01-20 09:19:37 +00:00 |
|
peter1138
|
d3761d97eb
|
(svn r8283) -Fix (r8128): Custom waypoint drawing used wrong bits since bitshuffling occurred. Also update with other station drawing changes (code duplication,
eh?)
|
2007-01-19 21:40:10 +00:00 |
|
peter1138
|
4d6a7b7427
|
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
|
2007-01-19 17:46:44 +00:00 |
|
peter1138
|
652b804a9e
|
(svn r8214) -Fix (r8038): The fast forward flag stores 2 bits, not 1. Remember the
whole thing when turning off FF for autosave. This stops FF getting stuck on
if the FF key is released during the save.
|
2007-01-17 22:44:49 +00:00 |
|
peter1138
|
004f1b061f
|
(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map
selection.
|
2007-01-17 22:19:12 +00:00 |
|
peter1138
|
61f5cf9b6f
|
(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
|
2007-01-17 12:57:35 +00:00 |
|