home *** CD-ROM | disk | FTP | other *** search
/ Level 2004 April / Level_2004-04_112_cda.bin / data1.cab / GameFiles / resources.rvr / font.def < prev    next >
Encoding:
Text File  |  1999-09-22  |  4.4 KB  |  67 lines

  1. // Revenant - Copyright 1999 Cinematix Studios, Inc.
  2. // *********** Revenant FONT DEF File  *************
  3. //
  4. // BMFONT "name" <NORMAL "normal">
  5. //        <SHADOW "shadow"> <COLOR r g b> <GLOW "glow"> <GCOLOR r g b> 
  6. //        <SELECT "select"> <SCOLOR r g b> <LEXTRA lineextra> <CEXTRA charextra> <DRAWMODE dmflags>
  7. //
  8. // WINFONT "name" FONT "fontname" size <BOLD> <ITALICS>
  9. //        <COLOR r g b> <GCOLOR r g b> <SCOLOR r g b> <LEXTRA lineextra> <CEXTRA charextra>
  10. //
  11. //    "name" Internal system name for font.  Can be "System", "Dialog", "Small", "Gold", 
  12. //            "GoldMed", "Scroll", and "Book"
  13. //    SHADOW         Shadowed version of font
  14. //  COLOR          Default font color
  15. //  GLOW/GCOLOR    Glowing version of font and glow color
  16. //  SELECT/SCOLOR  Selected version of font and select color
  17. //  LEXTRA         Extra space for lines for word wrapped text
  18. //  CEXTRA         Extra space between characters
  19. //  DRAWMODE       Draw mode flags for bitmap fonts (system default is DM_TRANSPARENT | DM_ALIAS)
  20.  
  21. // Flags used for font drawmode (if needed)
  22. #define DM_DEFAULT        0x00000000    // Default is always defined as 0
  23. #define DM_NOCLIP        0x00000001    // Disables clipping when drawing
  24. #define DM_WRAPCLIP        0x00000002    // Enables wrap clipping (forces wrap clipping regardless of surface wrap mode)
  25. #define DM_WRAPCLIPSRC    0x00000004    // Enables wrap clipping of source buffer (forces wrapsrc clipping regardless of surface wrap mode)
  26. #define DM_STRETCH        0x00000008    // Enables Stretching when drawing
  27. #define DM_BACKGROUND    0x00000010    // Draws bitmap to background
  28. #define DM_NORESTORE    0x00000020    // Disables automatic background restoring
  29. #define DM_REVERSEVERT    0x00000040    // Reverses vertical orientation
  30. #define DM_REVERSEHORZ    0x00000080    // Reverses horizontal orientation
  31. #define DM_TRANSPARENT    0x00000100    // Enables transparent drawing.
  32. #define DM_ZMASK         0x00000200    // Enables ZBuffer Masking.
  33. #define DM_ZBUFFER         0x00000400    // Draws bitmap ZBuffer to destination ZBuffer
  34. #define DM_NORMALS         0x00000800    // Draws bitmap Normals to dest. Normal buffer
  35. #define DM_ALIAS         0x00001000    // Antiailiases edges using bitmap alias data.
  36. #define DM_ALPHA         0x00002000    // Enables Alpha drawing.
  37. #define DM_SHUTTER         0x00004000    // Enable Shutter transparent drawing.
  38. #define DM_TRANSLUCENT    0x00008000    // Enables Translucent drawing.
  39. #define DM_FADE            0x00010000    // Fade image to key color.
  40. #define DM_USEREG        0x00020000    // Draws bitmap based on registration point
  41. #define DM_SELECTED     0x00040000    // Draw selection highlight around bitmap
  42. #define DM_CHANGECOLOR    0x00080000    // Draw in a different color
  43. #define DM_CHANGEHUE    0x00100000    // Use color to modify hue of image
  44. #define DM_CHANGESV        0x00200000    // Use color to modify saturation and brightness
  45. #define DM_NODRAW        0x00400000    // Prevents bitmap graphics buffer from drawing to destination
  46. #define DM_ZSTATIC         0x00800000    // Draws bitmap at a static z value
  47. #define DM_ALPHALIGHTEN    0x01000000    // Enables Alpha drawing lighten only.
  48. #define DM_DOESCALLBACK    0x02000000    // Flag set by low level draw func indicating it calls rect CALLBACK itself
  49. #define DM_NOWRAPCLIP    0x04000000    // Overrides surface clipping mode to not wrap clip
  50. #define DM_NOHARDWARE    0x08000000  // Force no hardware use
  51. #define DM_NOCHECKZ        0x10000000  // Causes ZBuffer Draws to use transparency only (no Z intersection) 
  52. #define DM_FILL            0x20000000    // Fills the destination with the current color
  53. #define DM_USEDEFAULT     0x80000000    // Causes draw routines to supply a default value
  54.  
  55. BMFONT "System" NORMAL "sysfont" COLOR 0 255 0 LEXTRA 2
  56. WINFONT "Dialog" FONT "Times New Roman" 20 COLOR 50 180 255 GCOLOR 0 0 255 SCOLOR 255 255 255
  57. BMFONT "Scroll" NORMAL "scrlfont" LEXTRA 4
  58. BMFONT "Book" NORMAL "scrlfont" LEXTRA 4
  59. WINFONT "Numbers" FONT "Arial" 12 COLOR 255 0 0
  60. WINFONT "Small" FONT "Arial" 12 COLOR 255 255 255 GCOLOR 0 200 255 SCOLOR 255 255 0
  61. WINFONT "Med" FONT "Arial" 16 BOLD COLOR 255 255 255 GCOLOR 0 200 255 SCOLOR 255 255 0
  62. WINFONT "Large" FONT "Times New Roman" 20 BOLD COLOR 255 255 255 GCOLOR 0 200 255 SCOLOR 255 255 0
  63. BMFONT "Gold" NORMAL "smallgold" SHADOW "smallgoldshad" GLOW "smallgoldglow" SELECT "smallgoldsel"
  64. BMFONT "GoldMed" NORMAL "medgold" SHADOW "medgoldshad" GLOW "medgoldglow" SELECT "medgoldsel"
  65. WINFONT "SpellTitle" FONT "Times New Roman" 18 COLOR 255 255 255 GCOLOR 0 200 255 SCOLOR 255 255 0
  66. WINFONT "Version" FONT "Arial" 12 COLOR 175 72 255 GCOLOR 175 72 255 SCOLOR 175 72 255
  67.