Commit Graph

9572 Commits

Author SHA1 Message Date
belugas a6e0e2d837 (svn r13597) -Codechange: Enumification of the Map menu items.
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-21 01:40:56 +00:00
frosch 4236dd3be5 (svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'. 2008-06-20 21:14:10 +00:00
smatz c406ea35ec (svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken 2008-06-20 20:40:47 +00:00
skidd13 fd49e1c379 (svn r13592) -Fix: window size remembering was broken 2008-06-20 14:54:47 +00:00
peter1138 52c06f1baa (svn r13591) -Codechange: Support CB36 in the vehicle offer window. 2008-06-20 07:23:00 +00:00
belugas 1f4475d518 (svn r13590) -Codechange: Enumification of the Save/Load menu items 2008-06-20 01:55:00 +00:00
smatz 1cf74e7667 (svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis 2008-06-19 20:06:55 +00:00
belugas bee7934220 (svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think? 2008-06-19 20:04:24 +00:00
skidd13 32c2041f89 (svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
2008-06-19 19:58:30 +00:00
belugas 4cc9439d65 (svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions. 2008-06-19 19:58:26 +00:00
bjarni 6bd2d0ffcb (svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreen
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
  Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
2008-06-19 17:54:23 +00:00
rubidium bd31dda2fb (svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they are build adjacent to them. 2008-06-19 13:04:41 +00:00
rubidium 525c964f53 (svn r13579) -Fix [FS#2088]: process the order coming after a conditional order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop. 2008-06-19 11:45:52 +00:00
rubidium ad8578419e (svn r13578) -Merge: documentation updates from the 0.6 branch. 2008-06-19 11:45:44 +00:00
skidd13 bf826eb06e (svn r13577) -Change: group core files in source.list together 2008-06-19 10:40:19 +00:00
rubidium 4ccd8a6786 (svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF. 2008-06-19 10:20:45 +00:00
skidd13 2f65d35ead (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
2008-06-19 10:19:02 +00:00
skidd13 c4cc5cdf3b (svn r13574) -Doc: Document the small vector template class 2008-06-19 09:33:50 +00:00
skidd13 e7f2765f4c (svn r13573) -Codechange: Use smallvec class functions instead of class members 2008-06-19 09:32:25 +00:00
rubidium f2730396da (svn r13572) -Fix: MSVC x64 complains. 2008-06-19 09:15:52 +00:00
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 2008-06-18 21:19:04 +00:00
smatz bc12e5453c (svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to 2008-06-18 20:20:12 +00:00
smatz 29985b768c (svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
2008-06-18 16:48:58 +00:00
smatz cc2f9187cc (svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster. 2008-06-18 13:11:02 +00:00
belugas be4e7b86f3 (svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack 2008-06-18 03:19:31 +00:00
belugas 22c017c0c2 (svn r13561) -Codechange: two more enumifications of widgets 2008-06-18 02:38:28 +00:00
belugas f16b9dcd2b (svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert 2008-06-18 02:04:01 +00:00
belugas 5408e1a51b (svn r13559) -Codechange: Enumification of the Options menu items 2008-06-17 23:51:17 +00:00
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 2008-06-17 19:38:00 +00:00
smatz dedb0033b3 (svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized 2008-06-17 17:25:22 +00:00
belugas 6d4590ec7c (svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer" 2008-06-17 16:33:55 +00:00
peter1138 26879ce24a (svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F. 2008-06-17 07:05:17 +00:00
belugas d3fa4228cb (svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
Still more go do
2008-06-17 03:20:04 +00:00
belugas 37c58f606b (svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still 2008-06-17 03:13:09 +00:00
belugas da5fb0cf7e (svn r13541) -Codechange: Aligning some switch case. Code cosmetics. 2008-06-17 02:33:42 +00:00
belugas f5f05b4e86 (svn r13540) -Codechange: Less a magic number and a more adaptable code 2008-06-17 02:25:45 +00:00
glx 4782df757c (svn r13539) -Fix (r13537): signed/unsigned warnings 2008-06-16 20:16:43 +00:00
frosch 0fff18b044 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 2008-06-16 20:08:30 +00:00
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 2008-06-16 19:38:41 +00:00
belugas 0c342f3292 (svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
Even more when it's a parameter.
2008-06-16 17:28:15 +00:00
skidd13 f1cecb1795 (svn r13535) -Codechange: Protect GUIList internals
-Fix: VL_FIST_SORT should be set after list rebuild too
2008-06-16 17:10:55 +00:00
skidd13 0a19f738bc (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 2008-06-16 17:09:52 +00:00
skidd13 6b8a758339 (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls 2008-06-16 17:05:17 +00:00
skidd13 617e1f16c0 (svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
-Prepare: vehicles sorting for convsersion to GUIList
2008-06-15 22:10:22 +00:00
skidd13 f95cee3057 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 2008-06-15 16:40:41 +00:00
skidd13 dd5f4f0a2c (svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters 2008-06-15 16:11:25 +00:00
skidd13 1ddafcadd2 (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 2008-06-15 15:48:33 +00:00
smatz 704c9be0b8 (svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR) 2008-06-15 13:52:51 +00:00
belugas 237a6f554a (svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
Or, in more simple terms, the check for the animation frame of nearby house.
2008-06-15 02:48:25 +00:00
frosch 8bc42a8c2f (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 2008-06-14 19:13:23 +00:00