Commit Graph

66 Commits

Author SHA1 Message Date
Patric Stout a3cfd23cf9
Codechange: rename byte to uint8_t (#12308) 2024-03-16 23:59:32 +01:00
Rubidium eaae0bb5e7 Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
2023-07-19 19:30:14 +02:00
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
Jack McKiernan 9479f45d1a Codechange: Replaced 255's with an enum entry TERMGROUP 2019-10-25 23:42:31 +02:00
Charles Pigott 96097b34a5 Codechange: Remove Direction*Byte types 2019-04-29 17:40:22 +01:00
frosch 48d22700ad (svn r25841) -Codechange: Use NUM_AIRPORTTILES_PER_GRF instead of NUM_AIRPORTTILES to properly distinguish limits per NewGRF and limits of the pool.
-Change: [NewGRF] Lower the limit of airport tile types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12 16:34:59 +00:00
frosch a92b698525 (svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS to properly distinguish limits per NewGRF and limits of the pool. 2013-10-12 16:34:23 +00:00
michi_cc aa47d6c7f2 (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan) 2012-04-17 19:43:18 +00:00
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 2012-01-01 17:22:32 +00:00
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
alberth fa13971337 (svn r21088) -Doc: Additions/corrections of doxygen comments. 2010-11-05 16:34:22 +00:00
yexo bc96bdb203 (svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group 2010-08-13 00:36:12 +00:00
yexo e4117dbfb7 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 2010-08-13 00:21:03 +00:00
yexo 7e4bdbbc9d (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 2010-08-05 12:03:06 +00:00
yexo 689d4bef04 (svn r20331) -Doc: some more airport-related code 2010-08-02 23:09:38 +00:00
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 2010-03-18 23:12:38 +00:00
yexo a99a7e7a37 (svn r19456) -Codechange; increase the maximum number of airports 2010-03-18 23:10:35 +00:00
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 2010-03-18 21:02:20 +00:00
yexo 89a069629e (svn r19453) -Codechange: split getting the initial aircraft position to a new function 2010-03-18 18:38:32 +00:00
yexo e037512a6f (svn r19451) -Cleanup: remove some unused code 2010-03-18 15:20:49 +00:00
yexo 20e05f878c (svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta in AirportSpec
2010-03-06 15:38:13 +00:00
yexo 585b036c90 (svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed 2010-03-05 23:21:51 +00:00
yexo 308781664b (svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9 2010-03-05 23:20:02 +00:00
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo 683ad53d21 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 2010-02-22 14:15:48 +00:00
yexo 40f6e69ae9 (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
yexo 388c713f08 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 2010-01-24 20:25:28 +00:00
yexo 830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 2010-01-17 14:22:07 +00:00
yexo 31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 2010-01-15 21:00:46 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 7ed618997f (svn r16619) -Cleanup: more coding style in airport stuff. 2009-06-21 21:05:06 +00:00
rubidium acff607624 (svn r16617) -Cleanup: some incorrect indenting 2009-06-21 20:57:01 +00:00
yexo c7bd6c8d34 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-06-21 13:26:30 +00:00
yexo 4b34957987 (svn r16566) -Codechange: enumify all airport tiles 2009-06-12 14:53:57 +00:00
smatz 1ad410dc00 (svn r16458) -Codechange: use one enum instead of four 2009-05-28 21:54:03 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
smatz 690859bf57 (svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases 2008-07-20 15:50:41 +00:00
belugas fc35ad9ee9 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-24 02:54:47 +00:00
belugas 02a907f306 (svn r12662) -Codechange: Comment-code style application 2008-04-11 18:00:51 +00:00
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 2007-12-26 11:45:43 +00:00
rubidium aac835171e (svn r11700) -Codechange: reduce the amount of unnecessary includes. 2007-12-25 23:42:52 +00:00
rubidium f56a354d31 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 2007-12-18 19:52:14 +00:00
KUDr 232cfb0fc1 (svn r10422) -Fix: VC8 Code Analyzer warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value 2007-07-03 23:23:38 +00:00
celestar a1ab0d29fe (svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts) 2007-03-29 13:52:34 +00:00
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 2007-03-07 12:11:48 +00:00
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00