Age | Commit message (Collapse) | Author |
|
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
|
|
remembered.
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
|
|
animation always stays the same. Patch by Csaboka.
|
|
we can properly support newindustries.
|
|
subsystem. Patch by Progman.
|
|
to a bounding box that was too small. Patch by frosch.
|
|
function and variables.
|
|
sound/music/video drivers, using self-registration based on the blitter-model.
|
|
were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
|
|
vehicle is while loading/unloading (TheJosh)
|
|
buffer-size it needs
|
|
unreadable from outside the blitter, so the blitter can store anything he likes
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
|
|
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
|
|
|
|
-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
|
|
tabs with spaces.
|
|
and into landscape.h, and add a few where they didn't exist.
|
|
|
|
resolution was less than 10.
|
|
of the main window.
|
|
|
|
|
|
also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'.
-Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
|
|
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.
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|