Age | Commit message (Collapse) | Author |
|
API: blitter
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
|
|
code directly accesses the video-buffer
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
|
|
callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
|
|
|
on) in some places.
|
|
with patch setting 'smooth_scroll'
|
|
area and what to do with it afterwards.
|
|
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
|
|
-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
|
|
obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
|
|
-Codechange: use predefined enums for viewport zoomlevels
|
|
|
|
|
|
corrections...
|
|
and into landscape.h, and add a few where they didn't exist.
|
|
with building transparency...
|
|
|
|
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
|
|
Almost done. Yeah. I know, I've already said that...
|
|
|
|
|
|
files with the @file tag as well as a few general comments style
|
|
Remove {,u}intswap() and replace them by Swap()
|
|
|
|
VEH_Train is 0, VEH_Road is 1 and so on
This means that "v->type" can be used as array indexes instead of VehTypeToIndex() (or "v->type - VEH_Train/0x10 as the code still used in some places)
Surprisingly this can be done without changing the savegame format
|
|
|
|
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables.
Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
|
|
incorrect assumption of requested memory for sprites (smatz)
|
|
values.
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
|
|
were not used anyway) and replace them by our SwapT implementation
|
|
macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|