[Alephmodular-devel] Basic Housecleaning
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2005-05-03 16:49:12
|
Having gotten my machine mostly stable under MacOS X 10.4 Tiger I figured it was time to do a little housecleaning and updating on AlephModular. At the very least make sure it still compiles and deal with any new warnings that come up. Most of it came down to adding parenthesis to assert that I did indeed want to be making assignments during a number of low level if statements in low_level_textures.h. Though there were a few other tweaks as well. Such as places where a pointer was being cast to another pointer and then modified that GCC was warning would be labeled hard errors in the future. Most of the latter cases involved either the RLE Encoding of shapes or adjusting pointers by the slop space around a bitmap for the quadruple screen effect. I imagine some assumptions could be further made around the quadruple screen code, in terms of alignment of things. But I decided to just keep the code as is, with a local inline function to cover the casts without using any cast as an l-value. -Jeremy Parsons http://alephmodular.sourceforge.net/ |