summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-06-21(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables ↵belugas
for Houses. This var will return the manhattan distance of the nearest house that match a given criteria. The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID The search radius can be defined too, up to 64.
2008-06-21(svn r13602) -Codechange: little speedup for 8bpp-optimized blittersmatz
2008-06-21(svn r13601) -Codechange: resize the Tile Info window when it is needed, ↵smatz
make it better readable
2008-06-21(svn r13597) -Codechange: Enumification of the Map menu items.belugas
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-20(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', ↵frosch
'leap year' and 'day of year'.
2008-06-20(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was brokensmatz
2008-06-20(svn r13592) -Fix: window size remembering was brokenskidd13
2008-06-20(svn r13591) -Codechange: Support CB36 in the vehicle offer window.peter1138
2008-06-20(svn r13590) -Codechange: Enumification of the Save/Load menu itemsbelugas
2008-06-19(svn r13589) -Fix (r11802): signals could be propagated through waypoints ↵smatz
built in orthogonal axis
2008-06-19(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. ↵belugas
Makes it a bit clearer, don't you think?
2008-06-19(svn r13587) -Codechange: make some globals members of VehicleListBase since ↵skidd13
they are used as such -Cleanup: some small things referring the change
2008-06-19(svn r13586) -Codechange: Using default parameter, for cases where there are ↵belugas
few exceptions.
2008-06-19(svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreenbjarni
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(svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they ↵rubidium
are build adjacent to them.
2008-06-19(svn r13579) -Fix [FS#2088]: process the order coming after a conditional ↵rubidium
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(svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs ↵rubidium
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(svn r13575) -Codechange: Move small vector to core since it fits better in ↵skidd13
there -Codechange: convert smallvector from struct to class
2008-06-19(svn r13574) -Doc: Document the small vector template classskidd13
2008-06-19(svn r13573) -Codechange: Use smallvec class functions instead of class membersskidd13
2008-06-19(svn r13572) -Fix: MSVC x64 complains.rubidium
2008-06-18(svn r13571) -Codechange: define channels in struct Colour in different ↵smatz
order on LE and BE machines
2008-06-18(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it tosmatz
2008-06-18(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences ↵smatz
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(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access ↵smatz
destination directly instead. Makes palette animation ~40% faster.
2008-06-18(svn r13562) -Codechange: Yet another enumification, which required a bit of ↵belugas
explanation/documentation of a trickery some would call a hack
2008-06-18(svn r13561) -Codechange: two more enumifications of widgetsbelugas
2008-06-18(svn r13560) -Fix(r13550): This section widget_count did not required to be ↵belugas
lowered. So small revert
2008-06-17(svn r13559) -Codechange: Enumification of the Options menu itemsbelugas
2008-06-17(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if ↵smatz
TTD_[BIG/LITTLE]_ENDIAN is defined
2008-06-17(svn r13551) -Codechange: store offsets to different zoom levels in a ↵smatz
distinguished struct instead in the data stream for 8bpp-optimized
2008-06-17(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value ↵belugas
as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
2008-06-17(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.peter1138
2008-06-17(svn r13543) -Codechange: Enumification of the InGame toolbar and some ↵belugas
leftovers of scenario editor one. Still more go do
2008-06-17(svn r13542) -Codechange: Less a few more magic numbers and a code a bit ↵belugas
more adaptable, still
2008-06-17(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.belugas
2008-06-17(svn r13540) -Codechange: Less a magic number and a more adaptable codebelugas
2008-06-16(svn r13539) -Fix (r13537): signed/unsigned warningsglx
2008-06-16(svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not ↵frosch
necessarily consecutive.
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-16(svn r13536) -Codechange: Bit shifting is not really required when you know ↵belugas
exactly the value to use. Even more when it's a parameter.
2008-06-16(svn r13535) -Codechange: Protect GUIList internalsskidd13
-Fix: VL_FIST_SORT should be set after list rebuild too
2008-06-16(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting ↵skidd13
with GUIList function calls
2008-06-16(svn r13533) -Codechange: Replace direct class member access of GUIList with ↵skidd13
the appropriate function calls
2008-06-15(svn r13524) -Codechange: use the typesafe QSort for vehicle sortingsskidd13
-Prepare: vehicles sorting for convsersion to GUIList
2008-06-15(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for ↵skidd13
resolution sorting
2008-06-15(svn r13522) -Codechange: Replace the qsort of the highscore with one of the ↵skidd13
internal sorters
2008-06-15(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for ↵skidd13
CompanyLeagueWindow
2008-06-15(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded ↵smatz
to (SLE_STR)
2008-06-15(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 ↵belugas
variable for Houses. Or, in more simple terms, the check for the animation frame of nearby house.