summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-03-07 09:49:04 +0100
committerGitHub <[email protected]>2017-03-07 09:49:04 +0100
commit6d1519c1322c6c1718f67e362c87b92c35ce55fd (patch)
treecc88c13bb4096ed8bbf7279ffb494728bc753e2a /src/raylib.h
parentcb29b1d2ac50e5438d883b7dba8403482a627b8c (diff)
parent6e683d57e8209fc524c3cc25e75eff3fb33a1fbc (diff)
downloadraylib-6d1519c1322c6c1718f67e362c87b92c35ce55fd.tar.gz
raylib-6d1519c1322c6c1718f67e362c87b92c35ce55fd.zip
Merge pull request #241 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/raylib.h b/src/raylib.h
index beda833c..b0f03bbe 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -98,13 +98,13 @@
#define RAD2DEG (180.0f/PI)
// raylib Config Flags
-#define FLAG_SHOW_LOGO 1 // Set this flag to show raylib logo at startup
-#define FLAG_FULLSCREEN_MODE 2 // Set this flag to run program in fullscreen
-#define FLAG_WINDOW_RESIZABLE 4 // Set this flag to allow resizable window
-#define FLAG_WINDOW_DECORATED 8 // Set this flag to show window decoration (frame and buttons)
-#define FLAG_WINDOW_TRANSPARENT 16 // Set this flag to allow transparent window
-#define FLAG_MSAA_4X_HINT 32 // Set this flag to try enabling MSAA 4X
-#define FLAG_VSYNC_HINT 64 // Set this flag to try enabling V-Sync on GPU
+#define FLAG_SHOW_LOGO 1 // Set to show raylib logo at startup
+#define FLAG_FULLSCREEN_MODE 2 // Set to run program in fullscreen
+#define FLAG_WINDOW_RESIZABLE 4 // Set to allow resizable window
+#define FLAG_WINDOW_DECORATED 8 // Set to show window decoration (frame and buttons)
+#define FLAG_WINDOW_TRANSPARENT 16 // Set to allow transparent window
+#define FLAG_MSAA_4X_HINT 32 // Set to try enabling MSAA 4X
+#define FLAG_VSYNC_HINT 64 // Set to try enabling V-Sync on GPU
// Keyboard Function Keys
#define KEY_SPACE 32
@@ -763,6 +763,7 @@ RLAPI void DrawPixel(int posX, int posY, Color color);
RLAPI void DrawPixelV(Vector2 position, Color color); // Draw a pixel (Vector version)
RLAPI void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, Color color); // Draw a line
RLAPI void DrawLineV(Vector2 startPos, Vector2 endPos, Color color); // Draw a line (Vector version)
+RLAPI void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color); // Draw a line defining thickness
RLAPI void DrawCircle(int centerX, int centerY, float radius, Color color); // Draw a color-filled circle
RLAPI void DrawCircleGradient(int centerX, int centerY, float radius, Color color1, Color color2); // Draw a gradient-filled circle
RLAPI void DrawCircleV(Vector2 center, float radius, Color color); // Draw a color-filled circle (Vector version)