summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-06-24(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern ↵rubidium
corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
2008-06-24(svn r13623) -Codechange: only show the 'load' of articulated RV parts that ↵rubidium
have a capacity instead of showing 'empty' parts when a vehicle is completely full.
2008-06-24(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when ↵rubidium
determining to what cargos a vehicle can be refitted instead of all cargos.
2008-06-24(svn r13621) -Fix: building roadbits in the wrong direction on bridges or ↵rubidium
building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-24(svn r13619) -Codechange: use 'const char *' instead of std::string for ↵smatz
blitter and driver names Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
2008-06-24(svn r13618) -Codechange: move tar-specific declarations to separate filesmatz
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-23(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directlyskidd13
2008-06-23(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.rubidium
2008-06-23(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given ↵rubidium
length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-06-22(svn r13607) -Fix (r13606): some coding style issues got fixed but some ↵skidd13
got/stayed broken
2008-06-22(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default ↵skidd13
for core functions (big functions use just inline instead)
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.