Reviewed some comments

This commit is contained in:
Ray 2018-12-03 11:24:11 +01:00
parent 5086c60e2f
commit f552d43547

View file

@ -405,13 +405,13 @@ typedef struct VrDeviceInfo {
// System config flags // System config flags
// NOTE: Used for bit masks // NOTE: Used for bit masks
typedef enum { typedef enum {
FLAG_SHOW_LOGO = 1, // Set to show raylib logo at startup FLAG_SHOW_LOGO = 1, // Set to show raylib logo at startup
FLAG_FULLSCREEN_MODE = 2, // Set to run program in fullscreen FLAG_FULLSCREEN_MODE = 2, // Set to run program in fullscreen
FLAG_WINDOW_RESIZABLE = 4, // Set to allow resizable window FLAG_WINDOW_RESIZABLE = 4, // Set to allow resizable window
FLAG_WINDOW_UNDECORATED = 8, // Set to disable window decoration (frame and buttons) FLAG_WINDOW_UNDECORATED = 8, // Set to disable window decoration (frame and buttons)
FLAG_WINDOW_TRANSPARENT = 16, // Set to allow transparent window FLAG_WINDOW_TRANSPARENT = 16, // Set to allow transparent window
FLAG_MSAA_4X_HINT = 32, // Set to try enabling MSAA 4X FLAG_MSAA_4X_HINT = 32, // Set to try enabling MSAA 4X
FLAG_VSYNC_HINT = 64 // Set to try enabling V-Sync on GPU FLAG_VSYNC_HINT = 64 // Set to try enabling V-Sync on GPU
} ConfigFlag; } ConfigFlag;
// Trace log type // Trace log type
@ -729,23 +729,23 @@ typedef enum {
// Texture parameters: wrap mode // Texture parameters: wrap mode
typedef enum { typedef enum {
WRAP_REPEAT = 0, WRAP_REPEAT = 0, // Repeats texture in tiled mode
WRAP_CLAMP, WRAP_CLAMP, // Clamps texture to edge pixel in tiled mode
WRAP_MIRROR WRAP_MIRROR // Mirrors the texture in tiled mode
} TextureWrapMode; } TextureWrapMode;
// Font type, defines generation method // Font type, defines generation method
typedef enum { typedef enum {
FONT_DEFAULT = 0, // Default font generation, anti-aliased FONT_DEFAULT = 0, // Default font generation, anti-aliased
FONT_BITMAP, // Bitmap font generation, no anti-aliasing FONT_BITMAP, // Bitmap font generation, no anti-aliasing
FONT_SDF // SDF font generation, requires external shader FONT_SDF // SDF font generation, requires external shader
} FontType; } FontType;
// Color blending modes (pre-defined) // Color blending modes (pre-defined)
typedef enum { typedef enum {
BLEND_ALPHA = 0, BLEND_ALPHA = 0, // Blend textures considering alpha (default)
BLEND_ADDITIVE, BLEND_ADDITIVE, // Blend textures adding colors
BLEND_MULTIPLIED BLEND_MULTIPLIED // Blend textures multiplying colors
} BlendMode; } BlendMode;
// Gestures type // Gestures type
@ -791,9 +791,9 @@ typedef enum {
// Type of n-patch // Type of n-patch
typedef enum { typedef enum {
NPT_9PATCH = 0, // 3x3 NPT_9PATCH = 0, // Npatch defined by 3x3 tiles
NPT_3PATCH_VERTICAL, // 1x3 NPT_3PATCH_VERTICAL, // Npatch defined by 1x3 tiles
NPT_3PATCH_HORIZONTAL // 3x1 NPT_3PATCH_HORIZONTAL // Npatch defined by 3x1 tiles
} NPatchType; } NPatchType;
// Callbacks to be implemented by users // Callbacks to be implemented by users