| Commit | Date | |
|---|---|---|
| 2009-08-03 14:57:42 | Tree | |
|
[r2934]
by
david_costanzo
Add a bitmap that resembles a turtle that is to be used in place of the triangle in a Sri Lankan school system. |
2009-08-03 00:56:29 | Tree |
|
[r2933]
by
david_costanzo
Add some tests for trying grow a bitmap with BITFIT to something that is larger than it could reasonably allocate. |
2009-08-03 00:54:19 | Tree |
|
[r2932]
by
david_costanzo
Used integral math, instead of floating point math, when interpolating RGB values, since the domain is so limited. This results in a small (1%) speed improvement. |
2009-08-02 22:59:58 | Tree |
|
[r2931]
by
david_costanzo
Bypass the bilinear interpolation for sprite rendering if all adjacent pixels are identical. This yeilds a 10% speed gain when drawing squirals and circles. |
2009-08-02 22:16:48 | Tree |
|
[r2930]
by
david_costanzo
Add bilinear interpolation when drawing rotated sprites. This is very slow, but otherwise the sprites look terrible when rotated at oblique angles. |
2009-08-02 16:58:46 | Tree |
|
[r2929]
by
david_costanzo
Add special cases when drawing sprints of rotations of 90, 180, and 270 degrees to make sure that the sine and cosine are exactly as they should be, and not slightly off due to the imprecision of the trig functions in Borland's libc. This was done to get crisp-looking bitmaps at those angles. |
2009-08-02 06:28:39 | Tree |
|
[r2928]
by
david_costanzo
Add support for rotating bitmapped turtles, called "sprites". The implementation is a bit slow, clumsy, and doesn't quite solve everything it was supposed to solve. This will remain an undocumented and unsupported feature until these problems are taken care of. |
2009-08-02 02:09:55 | Tree |
|
[r2927]
by
david_costanzo
Refactoring: Centralize the logic for computing the turtle's bounding box in ibmturt(), now that I better understand what it is doing and why. |
2009-08-02 00:40:25 | Tree |
|
[r2926]
by
david_costanzo
Simplify ibmturt() a bit by keeping the bounding box in screen coordinates, rather than mapping it to world coordinates, then mapping it back. This has a small gain in performance (measured by benchmark.lgo), but the main motivation was to make it easier to later centralize the way bounding boxes are computed in turtlepaste() and ibmturt(). |
2009-08-02 00:02:26 | Tree |