Ahmad Fatoum
1652943f98
Docs: Replace references to raylib develop branch
...
Found by grepping for '(blob|tree)/develop'. See #443 for more information.
2018-02-19 13:58:25 +01:00
Ahmad Fatoum
d892243d18
CI: Build artifacts for master, not develop tags
...
See #443 for more information.
2018-02-19 13:56:55 +01:00
Ray
f6231aa8b6
Merge pull request #474 from raysan5/develop
...
Integrate develop branch (LAST INTEGRATION)
2018-02-19 12:08:35 +01:00
Ray
7e32a627e8
Corrected path backslash
2018-02-19 00:03:24 +01:00
raysan5
0958904eac
Added comments to review function ImageTextEx()
2018-02-18 19:29:13 +01:00
raysan5
4492a70a4b
Support UTF8 basic characters on ImageTextEx()
...
Supported UTF8 range equivalent to [128..255] (80h..FFh)
Exposed and renamed text function GetGlyphIndex()
Renamed spriteFont parameter name to simply font
Small security check on transmission mission ending screen
2018-02-18 18:07:57 +01:00
raysan5
50fc4f7164
Reviewed transmission mission game
...
Support string replacing to generate newspaper headline
ISSUE: UTF8 characters not supported when drawing to Image
2018-02-17 21:23:45 +01:00
Ray
769cf23e53
Merge pull request #470 from jubalh/develop
...
Add Builder project files
2018-02-16 12:12:59 +01:00
Michael Vetter
883ed20e7c
Add note about glfw3 and openAL
2018-02-16 11:53:04 +01:00
Michael Vetter
e0a3a51b75
Builder project: Add note about examples
2018-02-16 11:25:12 +01:00
Michael Vetter
6ebc3fd29a
Add core_basic_window project example for Builder
2018-02-16 11:23:02 +01:00
Michael Vetter
988f5b7832
Add Builder project template
2018-02-16 11:20:21 +01:00
Ahmad Fatoum
051040af2d
CMake: Remove _RAYLIB suffix from -D{SHARED,STATIC}_RAYLIB
...
They were named so for compatibility with make, but make doesn't use
the anymore. I always forget whether it's SHARED_RAYLIB or
RAYLIB_SHARED...
For now, RAYLIB_SHARED and STATIC_RAYLIB may still be used,
but print a deprecation warning.
2018-02-16 05:58:18 +01:00
Ray
ffde83d85f
Merge pull request #467 from raysan5/develop
...
Integrate develop branch
2018-02-14 22:44:09 +01:00
Ray
36750ffb9a
BREAKING CHANGE: Renamed function for consistency
...
Rename: GetHexValue() renamed to ColorToInt()
Added: ColorToHSV()
2018-02-12 11:55:22 +01:00
Ray
7530a60abc
Update README.md
2018-02-12 11:53:47 +01:00
Ray
dd8f0765b8
Merge pull request #465 from raysan5/develop
...
Integrate develop branch into master
2018-02-12 11:27:26 +01:00
Ray
8af5f9dfe0
Avoid rendering SPACE character!
2018-02-12 11:25:00 +01:00
Ray
51124bfb74
Merge pull request #464 from RDR8/develop-make-install-linux
...
Linux make install improvements
2018-02-12 11:23:31 +01:00
RDR8
97f8b85429
Update Makefile
2018-02-12 09:19:24 +00:00
RDR8
f742f1289d
Update Makefile
2018-02-12 05:17:02 +00:00
RDR8
0be4d802ee
Update Makefile
2018-02-12 01:25:08 +00:00
RDR8
5616314069
Update Makefile
2018-02-12 00:15:58 +00:00
RDR8
4c4b564392
Update Makefiles for Linux installation. See prior commit.
...
These changes are intended to provide context and control over the Linux make install process. make install RAYLIB_LIBTYPE=SHARED now works as expected. libraylib.so is properly installed with attendant runtime links. The examples will be running against the newly installed libraylib.so unless otherwise specified with RAYLIB_RUNTIME_PATH. See raylib/src/Makefile and raylib/examples/Makefile for usage of RAYLIB_INSTALL_PATH, RAYLIB_H_INSTALL_PATH, and RAYLIB_RUNTIME_PATH variables. RAYLIB_RUNTIME_PATH in particular is interesting for portability since sudo isn't needed.
The default configuration and workflow is essentially unchanged and unaffected.
2018-02-11 23:42:22 +00:00
RDR8
e86b4d4e03
Update Makefiles for Linux installation.
2018-02-11 22:58:15 +00:00
Ahmad Fatoum
1be72a2e72
pkg-config: Empty Requires.private on shared-only build
...
If user doesn't build the static library,
`pkg-config --static --libs raylib` should be equivalent to
`pkg-config --libs raylib`.
2018-02-11 20:10:50 +01:00
Ahmad Fatoum
09b022305f
mini_al: Support {Net,Open}BSD OSS
...
Fixes this build failure:
http://www.cpantesters.org/cpan/report/a069fade-0e1f-11e8-a1cf-bb670eaac09d
2018-02-11 12:20:17 +01:00
Ray
d90a33b850
Some reviews for Android compilation
2018-02-11 01:48:53 +01:00
Ray
231a69417a
Corrected masteVolume setting
2018-02-11 01:28:30 +01:00
Ray
7bf6becc94
Reviewed mini_al implementation
...
- Some functions renamed
- Comments reviewed
- Functions reorganized
2018-02-11 01:12:16 +01:00
Ray
6d922b3e1f
Renamed iconography
2018-02-10 23:29:40 +01:00
Ahmad Fatoum
468309d06c
Early-exit InitWindow if InitGraphicsDevice fails
...
Otherwise we may run into LoadDefaultFont and crash in rlLoadTexture
Also moves InitTimer() before InitGraphicsDevice(), to allow it to be
tested even if InitWindow ultimately fails.
2018-02-09 22:54:35 +01:00
Ray
f72b315cb6
Updated external libraries
2018-02-09 00:01:00 +01:00
Ray
2ace360230
Merge pull request #462 from a3f/develop
...
InitWindow: return false if no monitor found
2018-02-08 12:24:51 +01:00
Ahmad Fatoum
a976e76ae6
InitWindow: return false if no monitor found
...
Otherwise we run into an assertion failure inside GLFW's glfwGetVideoMode.
Example:
http://www.cpantesters.org/cpan/report/b4ba5894-0bdb-11e8-841e-2c60b04e1d2d
This is related to #456 .
2018-02-08 12:06:21 +01:00
Ray
4d5d1e0434
Added function LoadShaderCode()
...
Allows loading of shader from text code string directly
2018-02-05 01:03:13 +01:00
Ray
b908a4078a
Merge pull request #460 from raysan5/develop
...
Integrate develop branch
2018-02-04 13:47:42 +01:00
raysan5
5437458469
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
2018-02-04 13:46:45 +01:00
raysan5
3a11cc5e31
Incremeted version to align with CMake
2018-02-04 13:44:41 +01:00
Ray
327aec9da4
Merge pull request #459 from a3f/develop
...
Bump version to 1.9.4
2018-02-04 13:44:20 +01:00
Ahmad Fatoum
19f280f4b7
Bump version to 1.9.4
2018-02-04 13:36:08 +01:00
Ahmad Fatoum
184df917be
Travis CI: Don't use external GLFW
...
While nice to test, this would mean that the tagged release will depend
on GLFW as well… Therefore disable it for now.
2018-02-04 13:35:18 +01:00
Ray
d50e291e86
Merge pull request #458 from raysan5/develop
...
Integrate develop branch into master
2018-02-04 12:51:24 +01:00
raysan5
6dc2f979cc
Updated raylib version
...
Note that this version is under development and could be buggy on some
platforms...
2018-02-04 12:33:46 +01:00
raysan5
c32ed921a2
Security check in case window initialization fails
2018-02-04 12:31:16 +01:00
raysan5
8f287e72d2
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
2018-02-04 12:26:33 +01:00
raysan5
70e0070a85
Reviewed window initialization
...
In case graphic device could not be created it returns false instead of
failing with an error tracelog (and consequently closing the program).
Window initialization success could be checked with new function
IsWindowReady()
2018-02-04 12:26:28 +01:00
Ahmad Fatoum
cb66c89dfa
CMake: Rename WITH_SYSTEM_GLFW to USE_EXTERNAL_GLFW
...
for consistency with Makefile. Requested by @raysan5 in #453 .
2018-02-04 12:10:23 +01:00
Ray
e2861fa71f
Merge pull request #456 from a3f/develop
...
Return false from InitWindow if glfwInit or glfwCreateWindow fails -TO REVIEW AS DISCUSSED-
2018-02-04 11:55:18 +01:00
Ahmad Fatoum
26c9176a14
Return false from InitWindow if glfwInit or glfwCreateWindow fails
...
You can't do much with raylib if glfwInit or glfwCreateWindow fails,
currently it just exits by means of TraceLog(LOG_ERROR.
User code, however, might want to fall back to a text-only UI
or display a warning if raylib can't be used.
2018-02-03 14:53:58 +01:00