raysan5
8f287e72d2
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
7 vuotta sitten
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()
7 vuotta sitten
Ahmad Fatoum
cb66c89dfa
CMake: Rename WITH_SYSTEM_GLFW to USE_EXTERNAL_GLFW
for consistency with Makefile. Requested by @raysan5 in #453 .
7 vuotta sitten
Ray
e2861fa71f
Merge pull request #456 from a3f/develop
Return false from InitWindow if glfwInit or glfwCreateWindow fails -TO REVIEW AS DISCUSSED-
7 vuotta sitten
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.
7 vuotta sitten
Ahmad Fatoum
44cd4faf83
exit(3), don't crash, when glfwCreateWindow fails
glfwSetWindowPos was called on a NULL window, triggering an assert
inside GLFW. Check for failure and exit cleanly by means of
TraceLog(LOG_ERROR instead.
7 vuotta sitten
Ahmad Fatoum
2b2b1f91ee
CMake: Fix typo in GLFW detection
Let it be noted I utterly dislike their syntax.
7 vuotta sitten
Ray
5bb23c6c06
Update README.md
7 vuotta sitten
Ray
7918c0bf71
Removed external dependencies
7 vuotta sitten
Ahmad Fatoum
7f5fa4d49c
CMake: Add tristate option for using system GLFW ( #455 )
-DWITH_SYSTEM_GLFW=ON: Link against system glfw and fail otherwise
-DWITH_SYSTEM_GLFW=OFF: Use embedded rglfw.c
-DWITH_SYSTEM_GLFW=IF_POSSIBLE: Probe for system glfw but fallback to
rglfw if unavailable
Also change Linux 64-bit CI build to install system glfw and use it,
so this doesn't bitrot.
Addresses #453 .
7 vuotta sitten
Ahmad Fatoum
007ae1b7b3
CMake: Fix typo in MACOS_FATLIB
7 vuotta sitten
Ray San
d1ef6869a9
Added function DrawRectangleLinesEx()
7 vuotta sitten
Ray
58346414f7
Corrected typo
7 vuotta sitten
Ray
44c95af463
Added missing keys definitions
7 vuotta sitten
Ray
227880977e
Do not ignore Makefiles!
7 vuotta sitten
Ray
eb508bf75f
Upload GGJ18 game: transmission mission
Game developed in the GGJ18, it has some bugs and ending screen is
incomplete... I'll try to keep working a bit more on it.
7 vuotta sitten
Ray
1ce8c80de9
Corrected several issues...
7 vuotta sitten
Ahmad Fatoum
f955b2255d
GLFW: Fix build error on Linux < v2.6.39
Cherry-pick from upstream glfw/glfw#1196
Found in CPANtesters test of Alien::raylib:
http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
7 vuotta sitten
Ahmad Fatoum
2090ad8119
CMake: Add missing 0 to minimum version
Removed by mistake.
7 vuotta sitten
Ahmad Fatoum
7f7aac643a
CMake: Search dependencies and build pkg-config's Libs.private with it
7 vuotta sitten
Ahmad Fatoum
1093766669
CMake: remove OpenAL dependency
7 vuotta sitten
Ahmad Fatoum
d5bbcbc15f
Travis CI: Don't set CFLAGS=-m64 for macOS build
7 vuotta sitten
Ahmad Fatoum
1ab3c058f5
Drop libglew-dev as prereq for Travis build
Noted by @eserte in athreef/Alien-raylib#2 . Thanks!
7 vuotta sitten
Ray
1d5fbef93d
Clear fbo for drawing
Just in case ClearBackground() is not used after BeginTextureMode(), it clears fbo to color defined by previous ClearBackground()
7 vuotta sitten
Ray
779719f5dc
Merge pull request #440 from a3f/develop
Make function calls without prior declaration an error
7 vuotta sitten
Ahmad Fatoum
520f317a75
#include header for time() on Windows
7 vuotta sitten
Ahmad Fatoum
03ee03e2a6
#include header for glInsertEventMarkerEXT on macOS
7 vuotta sitten
Ahmad Fatoum
8be93762d9
Make function calls without prior declaration an error
which is the default behavior on C99 and up.
7 vuotta sitten
Ray
c2ec88f930
Support DEBUG library building
7 vuotta sitten
Ray
2dcaddc81c
Review mipmaps generation issue
When changing image format, mipmaps are lost and regenerated from
scratch
7 vuotta sitten
Ray
04af83ff99
Improved pixel formats support
Review rlLoadTexture() function to make it simpler, now OpenGL texture
glInternalFormat, glFormat and glType are retrieved with new function
GetGlFormats()
7 vuotta sitten
Ray
cbef78ea18
Review VS2017 projects configurations
7 vuotta sitten
Ray
e604fe1ace
Added VS2017 UWP project
Reviewed VS2015 UWP project
7 vuotta sitten
Ray
8e0a277f7c
Reviewed UWP branch integration
7 vuotta sitten
Ray
6f73008007
Merge pull request #434 from raysan5/testing_uwp
Integration of UWP support
7 vuotta sitten
Ray
750323da53
Merge branch 'develop' into testing_uwp
7 vuotta sitten
Ray
5931bd501c
Merge pull request #433 from a3f/develop
GCC/Clang: Treat void pointer arithmetic as error
7 vuotta sitten
Ahmad Fatoum
30ef3f3122
GCC/Clang: Treat void pointer arithmetic as error
As an extension, GNU C treats sizeof(void) as 1. MSVC doesn't.
Make it an error on GCC/Clang to avoid accidental MSVC breakage.
7 vuotta sitten
Ahmad Fatoum
a2edc9d641
MSVC: Fix void pointer arithmetic error
GNU C allows it as a compiler extension, but MSVC doesn't.
7 vuotta sitten
Ray
ce9f191f1b
Added function: ImageMipmaps()
7 vuotta sitten
kai
bdb61306ac
CMake: build shape and texture examples ( #432 )
7 vuotta sitten
Ray
727cb1819b
Reviewed VS2015 projects
- Support OpenGL 1.1 if selected macro
- Corrected MSVC compiler issues with (void *) data
- Removed raylib.dll project
- Created DEBUG_DLL and RELEASE_DLL configurations
7 vuotta sitten
Ray
c8e97df233
Reviewed function GenImagePerlinNoise()
Added support for noise image offset
7 vuotta sitten
Ray
dd3b3dbadb
Redesigned rlLoadTexture()
- Added support for mipmap levels loading
- Removed internal function LoadTextureCompressed(), not required any
more...
7 vuotta sitten
-
61679a4bbc
Review releases, removed external dependencies
Not required any more!
7 vuotta sitten
-
230e78a23e
Code tweak while using OpenAL backend
7 vuotta sitten
-
f2a675ae53
Reviewed Makefiles...
- Renamed VERSION to RAYLIB_VERSION
- Renamed API_VERSION to RAYLIB_API_VERSION
- Renamed RAYLIB_RELEASE to RAYLIB_RELEASE_PATH
- Support Web Assembly compilation on PLATFORM_WEB
7 vuotta sitten
-
493a67e6d5
Support canvas scaling with window
7 vuotta sitten
-
ddf6c65d00
Review Makefiles and templates
7 vuotta sitten
Ray
f818ec0e05
Merge pull request #428 from SamNChiet/testing_uwp
Add mouse input and revert keyboard to callback model
7 vuotta sitten