Commit Graph

422 Commits (aa4501747f702963b63359acb0d9728b08ef89cb)

Author SHA1 Message Date
rubidium 3927fd6be7 (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 15 years ago
rubidium 4e5af51d1f (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 15 years ago
rubidium f59346a863 (svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints) 15 years ago
rubidium 72d6c3a9ad (svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints) 15 years ago
rubidium 46d94fdfed (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 15 years ago
rubidium 84df3ba2b4 (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 15 years ago
smatz 64de470917 (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft 15 years ago
smatz b6960e4e17 (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft 15 years ago
rubidium e4ef68405c (svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet. 15 years ago
rubidium 9ae07bba85 (svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet. 15 years ago
rubidium 770ad0c022 (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium 3fb1506d6d (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium bb78e5bb14 (svn r16764) -Codechange: unify the way viewport signs are marked dirty 15 years ago
rubidium 8275a98e1f (svn r16764) -Codechange: unify the way viewport signs are marked dirty 15 years ago
rubidium 44ebf9a474 (svn r16759) -Codechange: some coding style in station.cpp 15 years ago
rubidium e26e7c4731 (svn r16759) -Codechange: some coding style in station.cpp 15 years ago
smatz aa4ccab6a8 (svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool 15 years ago
smatz c861d9b64b (svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool 15 years ago
rubidium c5a44ce99e (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. 15 years ago
rubidium 571dfb9055 (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. 15 years ago
rubidium 18fbe0aac4 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 15 years ago
rubidium 4d14c1b534 (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions 15 years ago
rubidium f97bd41ed4 (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
rubidium 61e735ba4c (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. 15 years ago
smatz d5e58990f8 (svn r16661) -Codechange: move definition of few very short functions to header files 15 years ago
smatz f2e55319dd (svn r16661) -Codechange: move definition of few very short functions to header files 15 years ago
smatz 5799a7a57c (svn r16656) -Fix (r16655): strange things happen 15 years ago
smatz 6915643a99 (svn r16656) -Fix (r16655): strange things happen 15 years ago
smatz c113303593 (svn r16655) -Codechange: use IsRailwayStationTile() more 15 years ago
smatz 38477f2b36 (svn r16655) -Codechange: use IsRailwayStationTile() more 15 years ago
smatz 72bee4ad2d (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 15 years ago
smatz fa1ad0fd3c (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 15 years ago
smatz f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 8343340acb (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
smatz 61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 15 years ago
smatz 0045096403 (svn r16640) -Codechange: move roadstop stuff to separate files 15 years ago
smatz cc9ecc4e7d (svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file 15 years ago
smatz 8bb88e5f72 (svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file 15 years ago
smatz da1b67f115 (svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output 15 years ago
smatz 33ce857271 (svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output 15 years ago
smatz b12ba4b751 (svn r16476) -Fix (r16475): wrong version of the patch 15 years ago
smatz 79d5a41b85 (svn r16476) -Fix (r16475): wrong version of the patch 15 years ago
smatz 7cd7be48c3 (svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place 15 years ago
smatz ab5a51d462 (svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place 15 years ago
smatz 0c53f04c07 (svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types 15 years ago
smatz 7ee882d03f (svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types 15 years ago
smatz bebab3cd79 (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted 15 years ago
smatz 7854e68b95 (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted 15 years ago
smatz 1eb48cdded (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
smatz b2aed51f8e (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
rubidium 489253b630 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 7a37220881 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 1ceb349779 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 15 years ago
rubidium d37b840cf3 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 15 years ago
rubidium 4ae19b7451 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
rubidium c882248348 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 7a5798695d (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium d91baac764 (svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view. 16 years ago
rubidium b3f2f40db7 (svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view. 16 years ago
smatz c88a6199a7 (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) 16 years ago
smatz 419f6e099f (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) 16 years ago
rubidium 84ed955492 (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). 16 years ago
rubidium a1853ea27c (svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station). 16 years ago
frosch 738611fb70 (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 16 years ago
frosch 11ef57d81e (svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius(). 16 years ago
rubidium b0537d271f (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 16 years ago
rubidium d832626bb9 (svn r14491) -Documentation: updates/additions of doxygen docs (Alberth) 16 years ago
frosch 3728d64624 (svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode. 16 years ago
frosch 7f5f0fea42 (svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
smatz cb16b68474 (svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game) 16 years ago
smatz 4a97033e7e (svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game) 16 years ago
smatz 7e4e999a97 (svn r14307) -Fix: when deleting a station, remove news items regarding it 16 years ago
smatz 66be028ad4 (svn r14307) -Fix: when deleting a station, remove news items regarding it 16 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium dc77647ea4 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
smatz 26206fa116 (svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup 16 years ago
smatz 9fc355fca5 (svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
rubidium 02cdf01507 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium b84b16cfcd (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
rubidium 4a1035ab95 (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
rubidium df12937f19 (svn r11839) -Codechange: move some variables from variables.h to a more logical location. 17 years ago
rubidium 3ca95f2a85 (svn r11839) -Codechange: move some variables from variables.h to a more logical location. 17 years ago
rubidium 9c0c798dd8 (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 0f7392bd61 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
peter1138 ab8382c0db (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 285a4a106f (svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed... 17 years ago
rubidium b4b3190b62 (svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed... 17 years ago
rubidium 444e77d8bc (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium db73addb43 (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 8f0e68285b (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium 9e9cfe6e59 (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 5b49e75453 (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
rubidium 8896bea306 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
smatz 6ab52ddf89 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
smatz eda5921284 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
skidd13 3ae50673a3 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 eeaa348f8b (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 6801cceda1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
rubidium 5ff81aca18 (svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles. 17 years ago
rubidium 8a6cc3aa10 (svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles. 17 years ago
rubidium f3de8788d8 (svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles. 17 years ago
rubidium c6152e0cd4 (svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles. 17 years ago
rubidium bb368f880b (svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop. 17 years ago
rubidium 8a86526d05 (svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop. 17 years ago
rubidium 3686455868 (svn r10931) -Fix [FS#1131]: when a station was destroyed and a vehicle was still loading, changing the current order of the loading vehicle caused a crash. This could happen with removing docks and oil rigs. 17 years ago
rubidium fda1c9d34a (svn r10931) -Fix [FS#1131]: when a station was destroyed and a vehicle was still loading, changing the current order of the loading vehicle caused a crash. This could happen with removing docks and oil rigs. 17 years ago
rubidium 341281a7d4 (svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors. 17 years ago
rubidium ab7e36dda7 (svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors. 17 years ago
rubidium 8f719a7b2d (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works. 17 years ago
rubidium 83e1fdcb01 (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works. 17 years ago
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. 17 years ago
rubidium 9378e5fd38 (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. 17 years ago
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). 17 years ago
rubidium aa78685c99 (svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too). 17 years ago
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. 17 years ago
rubidium e5c352818d (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. 17 years ago
peter1138 f2e0912ce9 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. 17 years ago
peter1138 9c66082b07 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. 17 years ago
truelight 98cf7f5c7b (svn r9932) -Fix: can't assume a zoom-level with MarkAllViewportsDirty, causing segfaults when trying to load savegames in dedicated server via -g (reported by peter1138) 17 years ago
truelight 79fe6c57cc (svn r9932) -Fix: can't assume a zoom-level with MarkAllViewportsDirty, causing segfaults when trying to load savegames in dedicated server via -g (reported by peter1138) 17 years ago
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
17 years ago
truelight 6954045bb4 (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
17 years ago
belugas d1c2c90ad0 (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas 4eb87ac62b (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas 6a86e75870 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 17 years ago
belugas dfe5533db6 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 17 years ago
rubidium 36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
rubidium ce919e8c71 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
celestar dfa3c0aae1 (svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives). 18 years ago
celestar 0ed4b64e64 (svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives). 18 years ago
belugas b1b5aecae9 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
belugas a723770836 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
rubidium a2999dadc9 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 18 years ago
rubidium 0e8f006dc1 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 18 years ago
rubidium ebff8b09fc (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. 18 years ago
rubidium ecfbfbd98c (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. 18 years ago
celestar 72e74c29d4 (svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed. 18 years ago
celestar d9385f2798 (svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed. 18 years ago
celestar bf147e395e (svn r8708) -Codechange(r8514): No need to use "this->" in methods 18 years ago
celestar 5e880a6a75 (svn r8708) -Codechange(r8514): No need to use "this->" in methods 18 years ago
celestar a89f2fd610 (svn r8707) -Codechange: Turn IsValidStation into a method of Station 18 years ago
celestar 8eab3964b4 (svn r8707) -Codechange: Turn IsValidStation into a method of Station 18 years ago
rubidium 3f74dbe5c0 (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions. 18 years ago
rubidium eab6dd9898 (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions. 18 years ago
celestar c09e73a5e5 (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out 18 years ago
celestar 22dc618582 (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out 18 years ago
celestar 4d0d6864ee (svn r8514) -Codechange: Turn IsBuoy into a method of stations 18 years ago
celestar 5678febfe2 (svn r8514) -Codechange: Turn IsBuoy into a method of stations 18 years ago
tron 5a9873c3bd (svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
18 years ago
tron e3b63e6d83 (svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
18 years ago
celestar e3fbc6c06b (svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and rename it to 'IsValid'
-Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
18 years ago
celestar 600cb8a314 (svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and rename it to 'IsValid'
-Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
18 years ago
KUDr f0e463ecca (svn r8231) -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium) 18 years ago
KUDr 147ca22060 (svn r8231) -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium) 18 years ago
tron d80009c611 (svn r8212) -Fix
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
18 years ago
tron 3be30b8842 (svn r8212) -Fix
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
18 years ago
tron 4ff9b8a2a7 (svn r8207) -Fix
Remove the write-only attribute RoadStop::station
18 years ago
tron 3d1735fcfd (svn r8207) -Fix
Remove the write-only attribute RoadStop::station
18 years ago
tron 0b710695a5 (svn r8203) -Fix:
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
18 years ago
tron f3daa56208 (svn r8203) -Fix:
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
18 years ago
celestar bdb9543f7c (svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson) 18 years ago
celestar 8c54793068 (svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson) 18 years ago
KUDr 96ac5ac111 (svn r8138) -Cleanup: comment style corrections 18 years ago
KUDr 278cf974a4 (svn r8138) -Cleanup: comment style corrections 18 years ago
KUDr 48c99c8174 (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods. 18 years ago
KUDr cd74706c54 (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods. 18 years ago
tron 968f748836 (svn r8130) Provide struct GoodsEntry with a constructor 18 years ago
tron b028d8c201 (svn r8130) Provide struct GoodsEntry with a constructor 18 years ago
KUDr 3ad14cc7a8 (svn r8125) -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp). 18 years ago
KUDr 8b65342449 (svn r8125) -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp). 18 years ago