Commit Graph

6761 Commits

Author SHA1 Message Date
rubidium
78243fbd3d (svn r9891) -Fix [FS#787]: the manage list menu wasn't removed/updated when changing to another group making it able to perform "group" actions for "all vehicles", which would cause a crash. 2007-05-20 18:34:47 +00:00
peter1138
d20e06f9b6 (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 2007-05-20 16:17:03 +00:00
peter1138
45d1c92030 (svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme. 2007-05-20 10:27:43 +00:00
peter1138
ee2feef6e7 (svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned. 2007-05-20 09:17:42 +00:00
peter1138
72972a1712 (svn r9887) -Fix (r9867): Industry production statistics messed up... 2007-05-20 05:53:19 +00:00
belugas
2e65d6e4e7 (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 2007-05-20 00:50:06 +00:00
truelight
ecb8585bd4 (svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
truelight
d2c750b2c9 (svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
2007-05-19 22:48:04 +00:00
peter1138
6670d1c018 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 2007-05-19 22:37:24 +00:00
rubidium
821c0acf4d (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 2007-05-19 21:47:14 +00:00
rubidium
6ef7915e6e (svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts. 2007-05-19 20:15:50 +00:00
glx
1e696cc27b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 2007-05-19 19:13:12 +00:00
rubidium
a7edb4e914 (svn r9879) -Fix (r9874): global autoreplace was little broken ;) 2007-05-19 12:46:48 +00:00
rubidium
86bb5cc2a6 (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 2007-05-19 12:29:09 +00:00
peter1138
44b7f10db1 (svn r9877) -Revert (r9876): one file too many... 2007-05-19 11:18:22 +00:00
peter1138
d22478a22b (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 2007-05-19 11:17:30 +00:00
peter1138
da204ca17f (svn r9875) -Fix (r9828): Only set carriage capacity if the wagon has not been refitted. 2007-05-19 10:29:51 +00:00
rubidium
8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 2007-05-19 09:40:18 +00:00
peter1138
9a4b4ba448 (svn r9873) -Codechange: Add missing second callback parameter for houses 2007-05-19 09:13:08 +00:00
rubidium
c17c5e972b (svn r9872) -Codechange: more type strictness for vehicle types 2007-05-18 23:38:29 +00:00
peter1138
96e9044249 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 2007-05-18 21:50:32 +00:00
belugas
662bee5b12 (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct 2007-05-18 17:55:07 +00:00
rubidium
c8d05162c2 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 2007-05-18 17:31:41 +00:00
belugas
2a7442fda4 (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment 2007-05-18 14:34:15 +00:00
belugas
c4b90f3137 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 2007-05-18 00:33:47 +00:00
rubidium
b007a3419c (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 2007-05-17 20:19:55 +00:00
glx
91e638271c (svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen 2007-05-17 20:00:45 +00:00
rubidium
b91ef25683 (svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error(). 2007-05-17 13:36:00 +00:00
rubidium
c624eb04e7 (svn r9861) -Fix: null pointer derefence under MorphOS and AmigaOS. 2007-05-17 12:06:47 +00:00
rubidium
533ddeb9e6 (svn r9857) -Fix: loading of TTDP savegames with features that OTTD has. 2007-05-16 21:28:23 +00:00
rubidium
c32d38a2b7 (svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles. 2007-05-16 08:20:37 +00:00
belugas
641d51a5ad (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
truelight
7f88f14f64 (svn r9848) -Fix r9846: how every many times you check something, of course you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing) 2007-05-15 17:54:46 +00:00
miham
696b1f3463 (svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
estonian   - 10 fixed by kristjans (10)
japanese   - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
2007-05-15 17:41:50 +00:00
truelight
b605f68631 (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
rubidium
5b1b54e614 (svn r9845) -Fix (r9844): svn:eol-style/svn:keywords were missing... 2007-05-15 14:28:34 +00:00
truelight
dc191785db (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
rubidium
3615d2aeee (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 2007-05-15 13:38:43 +00:00
rubidium
f17f17fa45 (svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled. 2007-05-15 13:01:52 +00:00
rubidium
08be68e0b4 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 2007-05-15 11:28:22 +00:00
rubidium
0f81140b59 (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas). 2007-05-15 06:20:16 +00:00
rubidium
394946d4bc (svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished. 2007-05-14 20:17:26 +00:00
rubidium
49476d46e6 (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
- Now it is really FIFO.
 - When there is enough cargo to fill the first vehicle in the queue, the next vehicle in the queue start loading (and the next when ....).
2007-05-14 20:12:32 +00:00
peter1138
948100c260 (svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling. 2007-05-14 17:37:34 +00:00
rubidium
07bdd6c3cc (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading. 2007-05-14 16:07:05 +00:00
truelight
5f0e384ac0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 2007-05-14 15:20:50 +00:00
glx
f739aedf5b (svn r9834) -Add: win9x check in win32 builds 2007-05-14 14:06:46 +00:00
rubidium
fcb5e74fbb (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 2007-05-14 08:07:20 +00:00
rubidium
29ebda5b15 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 2007-05-13 22:10:04 +00:00
rubidium
5ae882a184 (svn r9831) -Codechange: more refactoring of the loading/unloading. 2007-05-13 21:24:58 +00:00