OpenPTC Win32 Development changes to HERMES
===========================================

- changed "Types.h" to use Visual C++ __int8/16/32 if __VISUALC__ is defined.
- fixed "H_Clear.h" to have an int32 a_or_index parameter, instead of char8 !
  this allows clearing with alpha components to work!
- fixed "clear.cpp" to use the int32 a_or_index parameter, and to pack the clear color
  value taking the alpha value into account.
- Improved code by having explicit C style downcasting of integer types. This is
  required because of the new int8/16/32 types i'm using in VC, but overall, its
  a good thing to have, it should made the possibility of warnings or errors on
  other compilers much smaller... the changed files are: "c_16.c", "c_32.c",
  "c_clr.c", "c_i8.c", "c_muhmu.c". The changes basically just involved expanding
  from 0xFF to 0x00FF etc to avoid any uncertainty about the size of a constant,
  and adding some explicit casts where the compiler was implicitly downcasting
  and giving warnings (ie. int32 to char8, int32 to short16 etc.)

- changed "HeadX86.h" and "HeadMMX.h" to interface to the assembly converters under VC.
  DOH! PROGRESS HALTED. NEED NASM ASSEMBLY FILES!!!! =)
- Christian, run intel2gas over the .s files and give me nasm format files *.asm,
  so *.s is GAS, *.asm is the NASM ... this is funky, and i'll be able to quickly
  add support for assembler routines under Win32 once this is done :)
- "This source code is licensed under the GNU LGPL
   See http://www.gnu.org/copyleft/lgpl.html for details" it would be cool if
  HERMES had this in its headers, because the Win32 distribution does not include
  "COPYING.LIB" like the X11 dist does.

  

Glenn "Gaffer" Fiedler
email: ptc@gaffer.org