flDefines.h File Reference

Go to the source code of this file.

Defines

#define max(x, y)   ((x) > (y) ? (x) : (y))
#define min(x, y)   ((x) < (y) ? (x) : (y))
#define pos(x)   ((x) < (0) ? (0 - (x)) : (x))
#define cmp(inType, inVal0, inVal1)   (memcmp((inVal0), (inVal1), sizeof(inType)))
#define LOGICAL_XOR(inExpr0, inExpr1)   (((inExpr0) || (inExpr1)) && !((inExpr0) && (inExpr1)))
#define SCREEN_WIDTH   480
#define SCREEN_HEIGHT   272
#define SCREEN_PITCH   512
#define SCREEN_STRIDE   SCREEN_PITCH
#define SCREEN_LINESIZE   SCREEN_PITCH
#define SCREEN_GAMMA   2.5f
#define ASCII_NULL   0
#define ASCII_BELL   7
#define ASCII_AUDIBLE_BELL   ASCII_BELL
#define ASCII_AUDIBLEBELL   ASCII_BELL
#define ASCII_BS   8
#define ASCII_BACKSPACE   ASCII_BS
#define ASCII_TAB   9
#define ASCII_LF   10
#define ASCII_LINEFEED   ASCII_LF
#define ASCII_CR   13
#define ASCII_CARRIAGERETURN   ASCII_CR
#define ASCII_SHIFT_OUT   14
#define ASCII_SHIFT_IN   15
#define ASCII_SPACE   32
#define ASCII_DEL   127
#define ASCII_DELETE   ASCII_DEL
#define ASCII_A   'A'
#define ASCII_Z   'Z'
#define ASCII_a   'a'
#define ASCII_z   'z'
#define ASCII_0   '0'
#define ASCII_9   '9'
#define ASCII_MULTIPLY   158
#define MATH_PI   3.14159265358979323846264338327950288f
#define MATH_E   2.71828182845904523536028747135266249f
#define MATH_GOLDENRATIO   1.61803398874989484820458683436563811f
#define GU_SYNC_WAIT   0
#define GU_SYNC_NOWAIT   1


Define Documentation

#define ASCII_0   '0'

Definition at line 39 of file flDefines.h.

Referenced by fileDelete(), and fileOpen().

#define ASCII_9   '9'

Definition at line 40 of file flDefines.h.

Referenced by fileDelete(), and fileOpen().

#define ASCII_a   'a'

Definition at line 37 of file flDefines.h.

#define ASCII_A   'A'

Definition at line 35 of file flDefines.h.

Referenced by fontLoad().

#define ASCII_AUDIBLE_BELL   ASCII_BELL

Definition at line 20 of file flDefines.h.

#define ASCII_AUDIBLEBELL   ASCII_BELL

Definition at line 21 of file flDefines.h.

#define ASCII_BACKSPACE   ASCII_BS

Definition at line 23 of file flDefines.h.

#define ASCII_BELL   7

Definition at line 19 of file flDefines.h.

#define ASCII_BS   8

Definition at line 22 of file flDefines.h.

Referenced by fontCharWidth(), and fontDraw2dString().

#define ASCII_CARRIAGERETURN   ASCII_CR

Definition at line 28 of file flDefines.h.

#define ASCII_CR   13

Definition at line 27 of file flDefines.h.

Referenced by fontDraw2dString().

#define ASCII_DEL   127

Definition at line 32 of file flDefines.h.

#define ASCII_DELETE   ASCII_DEL

Definition at line 33 of file flDefines.h.

#define ASCII_LF   10

Definition at line 25 of file flDefines.h.

Referenced by fontDraw2dString(), and fontStringWidth().

#define ASCII_LINEFEED   ASCII_LF

Definition at line 26 of file flDefines.h.

#define ASCII_MULTIPLY   158

Definition at line 42 of file flDefines.h.

#define ASCII_NULL   0

Definition at line 18 of file flDefines.h.

#define ASCII_SHIFT_IN   15

Definition at line 30 of file flDefines.h.

#define ASCII_SHIFT_OUT   14

Definition at line 29 of file flDefines.h.

#define ASCII_SPACE   32

Definition at line 31 of file flDefines.h.

Referenced by fontDraw2dString(), and fontStringWidth().

#define ASCII_TAB   9

Definition at line 24 of file flDefines.h.

Referenced by fontCharWidth(), fontDraw2dString(), mdl3dStatLoadOBJ(), and mdl3dStatLoadOBJ_faceRead().

#define ASCII_z   'z'

Definition at line 38 of file flDefines.h.

#define ASCII_Z   'Z'

Definition at line 36 of file flDefines.h.

Referenced by fontLoad().

#define cmp ( inType,
inVal0,
inVal1   )     (memcmp((inVal0), (inVal1), sizeof(inType)))

Definition at line 7 of file flDefines.h.

#define GU_SYNC_NOWAIT   1

Definition at line 50 of file flDefines.h.

#define GU_SYNC_WAIT   0

Definition at line 49 of file flDefines.h.

Referenced by graphicsInit(), graphicsSwapBuffers(), and graphicsTerm().

#define LOGICAL_XOR ( inExpr0,
inExpr1   )     (((inExpr0) || (inExpr1)) && !((inExpr0) && (inExpr1)))

Definition at line 9 of file flDefines.h.

#define MATH_E   2.71828182845904523536028747135266249f

Definition at line 45 of file flDefines.h.

#define MATH_GOLDENRATIO   1.61803398874989484820458683436563811f

Definition at line 46 of file flDefines.h.

#define MATH_PI   3.14159265358979323846264338327950288f

Definition at line 44 of file flDefines.h.

Referenced by camViewCalc(), graphics2dDrawEllipse(), graphics2dDrawEllipseFilledGrad(), graphics2dDrawSpheroidShaded(), graphics3dDrawSphere(), graphics3dDrawSphereTextured(), mathDegToRad(), mathFixRadRange(), mathRadToDeg(), and spriteDraw2dFrame().

#define max ( x,
 )     ((x) > (y) ? (x) : (y))

Definition at line 4 of file flDefines.h.

Referenced by collision2dCircleCircle(), collision2dLineCircle(), collision2dLineLine(), colorHue8888(), colorLum8888(), debugCriticalErrorFrom(), debugDevWarningFrom(), debugErrorFrom(), debugLog(), debugLogFrom(), debugStatusLogFrom(), debugWarningFrom(), graphics2dDrawEllipse(), graphics2dDrawEllipseFilledGrad(), graphics2dDrawSpheroidShaded(), graphicsEffectFsGrayscaleSW(), graphicsEffectFsNightVisionSW(), and memAllocUncachedFrom().

#define min ( x,
 )     ((x) < (y) ? (x) : (y))

Definition at line 5 of file flDefines.h.

Referenced by collision2dCircleCircle(), collision2dLineCircle(), collision2dLineLine(), colorAlphaMult8888(), colorHue8888(), colorLum8888(), colorLumMult8888(), graphicsEffectFsGrayscaleSW(), graphicsEffectFsNightVisionSW(), texMipMap(), and vmemStrideBlockAdd().

#define pos (  )     ((x) < (0) ? (0 - (x)) : (x))

Definition at line 6 of file flDefines.h.

Referenced by colorLumMult8888(), graphics2dDrawEllipse(), graphics2dDrawEllipseFilledGrad(), and graphics2dDrawSpheroidShaded().

#define SCREEN_GAMMA   2.5f

Definition at line 16 of file flDefines.h.

#define SCREEN_HEIGHT   272

Definition at line 12 of file flDefines.h.

Referenced by graphicsEffectFsColorEnhance(), graphicsEffectFsDepthFog(), graphicsEffectFsDichrome(), graphicsEffectFsGlow(), graphicsEffectFsGrayscale(), graphicsEffectFsGrayscaleSW(), graphicsEffectFsInvert(), graphicsEffectFsLightEnhance(), graphicsEffectFsMonochrome(), graphicsEffectFsNightVision(), graphicsEffectFsNightVisionSW(), graphicsEffectFsSepia(), graphicsEffectFsThermalVision(), graphicsInit(), graphicsSetProjection(), graphicsSwapBuffers(), ntfyTrayShow(), and texScreenshot().

#define SCREEN_LINESIZE   SCREEN_PITCH

Definition at line 15 of file flDefines.h.

#define SCREEN_PITCH   512

Definition at line 13 of file flDefines.h.

Referenced by graphics2dDrawTexture(), graphics2dDrawTextureSection(), graphicsEffectFsColorEnhance(), graphicsEffectFsDepthFog(), graphicsEffectFsDichrome(), graphicsEffectFsGlow(), graphicsEffectFsGrayscale(), graphicsEffectFsGrayscaleSW(), graphicsEffectFsInvert(), graphicsEffectFsLightEnhance(), graphicsEffectFsMonochrome(), graphicsEffectFsNightVision(), graphicsEffectFsNightVisionSW(), graphicsEffectFsThermalVision(), and graphicsInit().

#define SCREEN_STRIDE   SCREEN_PITCH

Definition at line 14 of file flDefines.h.

Referenced by graphicsEffectFsColorEnhance(), graphicsEffectFsDichrome(), graphicsEffectFsGlow(), graphicsEffectFsGrayscale(), graphicsEffectFsInvert(), graphicsEffectFsLightEnhance(), graphicsEffectFsMonochrome(), graphicsEffectFsNightVision(), graphicsEffectFsThermalVision(), graphicsInit(), graphicsRenderToFramebuffer(), graphicsSwapBuffers(), and texScreenshot().

#define SCREEN_WIDTH   480

Definition at line 11 of file flDefines.h.

Referenced by fontDraw2dStringCenter(), graphicsEffectFsDepthFog(), graphicsEffectFsGrayscale(), graphicsEffectFsGrayscaleSW(), graphicsEffectFsNightVisionSW(), graphicsEffectFsSepia(), graphicsInit(), graphicsSetProjection(), graphicsSwapBuffers(), ntfyShowBattery(), ntfyShowTime(), ntfyTrayShow(), and texScreenshot().


Generated on Wed Sep 5 19:04:02 2007 for funcLib by  doxygen 1.5.1