wesnoth/RELEASE_NOTES
Ignacio R. Morelle 92620bdd06 Heavily rewrote the way image path functions are analyzed...
...when loading images. Now all of them are C++ functors, and, except
for ~RC()/~TC(), they are accumulable and applied in a left-to-right
order from WML/C++.

This seems to have little, if any, performance impact in -O0+debug,
-O2+profiling and -O3 builds for me compared to the former
implementation. A test with gprof reports in average 0.0 seconds spent
in image::load_image_sub_file() for both implementations unless I'm
misinterpreting the data.

Tested in an AMD Athlon X2 Dual-core QL-62 on Debian lenny, non-stock
kernel 2.6.28.1 (SMP, model optimizations) running on native 64-bit mode
with the first scenario of HttT and a lot of hyperactive gryphons and
undead. 2 GB of RAM, 3.74 GB of swap. The compiler is GNU g++ 4.3.2.
2009-01-31 13:48:09 +00:00

24 lines
924 B
Plaintext

This file is here to allow devs to easily add stuff in the release
notes for the next release, it allows easy syncing with the release
team, since you don't have to be around when the release takes
place...
Just dump whatever you want to have mentioned in the release notes here. Please
take care that it is in a way that allows copy&paste to the release notes. That
is making sure that spelling/grammer/whatever is usable and that you are using
complete sentences, not just single words.
The release team should empty this file after each release.
***
The image path functions (~RC(), ~TC(), ~FL() et al) parsing has been heavily
modified. Now all functions in a path are stacked in a left-to-right order, with
the sole exceptions of ~RC() and ~TC(), which continue to be non-accumulable.
Additionally, a new note-worthy image path function, ~SCALE(width,height), was
introduced; it scales graphics, of course.
***