Diff for /xmil/vram/palettes.c between versions 1.4 and 1.5

version 1.4, 2004/08/05 11:30:12 version 1.5, 2004/08/07 07:19:56
Line 3 Line 3
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "scrndraw.h"  #include        "scrndraw.h"
 #include        "draw.h"  
 #include        "palettes.h"  #include        "palettes.h"
   #include        "makescrn.h"
   
   
         RGB32   x1n_pal32[256];                 // xm_palette          RGB32   x1n_pal32[256];                 // xm_palette
Line 138  void pal_settext(REG8 num) { Line 138  void pal_settext(REG8 num) {
         pals.text[num+16].p.r = (halfgrp * rgb.p.r) / 255;          pals.text[num+16].p.r = (halfgrp * rgb.p.r) / 255;
         pals.text[num+16].p.e = num + START_EXT + 0x10;          pals.text[num+16].p.e = num + START_EXT + 0x10;
   
         palandply = 1;          makescrn.palandply = 1;
 }  }
   
 void pal_setgrph(REG8 bank, REG8 num) {  void pal_setgrph(REG8 bank, REG8 num) {
Line 177  void pal_setgrph(REG8 bank, REG8 num) { Line 177  void pal_setgrph(REG8 bank, REG8 num) {
                 pals.grph[bank][num+8].p.r = (halfgrp * rgb.p.r) / 0xff;                  pals.grph[bank][num+8].p.r = (halfgrp * rgb.p.r) / 0xff;
                 pals.grph[bank][num+8].p.e = num + START_EXT + 0x20;                  pals.grph[bank][num+8].p.e = num + START_EXT + 0x20;
         }          }
         palandply = 1;          makescrn.palandply = 1;
 }  }
   
 void pal_setgrph4096(UINT num) {  void pal_setgrph4096(UINT num) {
Line 212  void pal_setgrph4096(UINT num) { Line 212  void pal_setgrph4096(UINT num) {
                 x1z_pal16[num] = scrnmng_makepal16(rgb);                  x1z_pal16[num] = scrnmng_makepal16(rgb);
         }          }
 #endif  #endif
         palandply = 1;          makescrn.palandply = 1;
 }  }
   
   

Removed from v.1.4  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>