POV-Ray : Newsgroups : povray.unofficial.patches : Re: United POV-Ray? : Re: United POV-Ray? Server Time
5 Jul 2024 13:15:02 EDT (-0400)
  Re: United POV-Ray?  
From: ABX
Date: 21 Oct 2002 04:57:34
Message: <arf7ru0d18um38ioh3lfvhoje9h2dckcuq@4ax.com>
On Fri, 18 Oct 2002 22:49:30 +0200, Christoph Hormann <chr### [at] gmxde>
wrote:
> Dependencies between the different patches could be made clear by placing
> something like:
>
> #ifdef XXX_Patch
>   #define YYY_Patch
> #endif
>
> in frame.h

I have an idea to separate that list from frame.h. I have created patches.h
(included at begining of frame.h of course) becouse it can be now included
also to pvengine.rc (resource definition) file. For example I can write in
resource definition file now:

  #ifdef SHORT_FONT_DEFINITION_PATCH
    FONT 8, "MS Sans Serif"
  #else
    FONT 8, "MS Sans Serif", 0, 0, 0x1
  #endif

  #ifdef PATCHES_BY_ABX
    BMP_SPLASH_8BPP         BITMAP  DISCARDABLE     "bitmaps\\popovwin.bmp"
  #else
    BMP_SPLASH_8BPP         BITMAP  DISCARDABLE     "bitmaps\\splash-3.5.bmp"
  #endif

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.