Age | Commit message (Collapse) | Author |
|
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file.
|
|
|
|
|
|
a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
|
|
|
|
|
|
|
|
using the spritecache but a custom allocator function.
|
|
to spritecache.h
|
|
new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
|
|
|
|
|
|
|
|
for months. All attempts to do another workaround failed.
|
|
unnecessarily add it.
|
|
sprites: fonts, recolour, mapgen and normal sprites.
|
|
something more than whitespace as description of files that don't have a description.
|
|
indexed GRFs.
|
|
|
|
was in the grf, not the internal SpriteID
|
|
"current" climate) sprite IDs. Normally this gives some artefacts, but when one NewGRF expects it to be a sprite and another NewGRF overwrites it with a non-sprite nasty things happen (drawing a non-sprite crashes OTTD).
|
|
the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
|
|
configuration
option, sprite_cache_size. The default size is 2MB and the value can
range from 1 to 64MB. If you experience slow-downs when scrolling the
map, try increasing this setting.
|
|
The end of the preliminary work is near
|
|
|
|
|
|
stillunknown and pv2b.
|
|
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
|