Commit Graph

38 Commits

Author SHA1 Message Date
Leandro Gabriel 89c16baf18 Replace tabs with spaces and update year of copyright notices (#927)
* Update year of copyright notices

* Fix mistake in comment

* Fix typo ("algorythms")

* Replace tabs with spaces

* Remove trailing whitespace and fix mistake in comment

* Fix ExportImageAsCode missing comment rectangle corner

* Replace tab with spaces

* Replace tabs with spaces
2019-08-03 11:07:41 +02:00
Antonio Radovcic 814952c01d #917 This commit changes the path to 'shell.html' in all Makefiles (#918) 2019-07-27 11:45:49 +02:00
Ray 59b7412772 Updated games building 2019-06-07 00:16:08 +02:00
Ray be7e56f51e Move emscripten web shell to src 2019-05-22 10:40:51 +02:00
Ray 477f05db13 Review games 2019-05-21 22:36:52 +02:00
Ray 0027868d1f Review Makefiles 2019-05-21 17:46:52 +02:00
ChillerDragon f21761fbbb Happy new year 2019 2019-04-07 17:49:12 +02:00
Ray ac23af9bf0 Review resources naming
raylib resource data file for Windows platform (containing raylib icon and metadata for executable file) has been renamed to a more consistent name: raylib.rc.data

Also required to work with tcc compiler.
2018-11-19 15:18:11 +01:00
Ray ed269b8d9a Review RenderTexture drawing usage
Now `BeginTextureMode()` does not clean buffers automatically, that behaviour has been changed because there could be some case (i.e. painting software) where texture buffer does not ned to be cleared; user is responsible of clearing buffers using `ClearBackground()`
2018-11-19 09:40:01 +01:00
Ray abfbc42df7 PNG image size optimization 2018-09-25 12:53:31 +02:00
Ahmad Fatoum 3f09726331
CMake: Major cleanup to support find_package(raylib)
Remove that link_libraries_to_executable() hack and defines a proper
raylib target that can be used with target_link_libraries.

The same target is also available for external (user) code by using
find_package(raylib).

This results in:

- Remove hardcoded build directories from examples and games CMakeLists.txt
- Allow rlgl_standalone and other special examples to be built easily
- Allow CMake projects to find_package(raylib instead of fiddling with pkg-config
- Makes code a little more maintainable
- Fixes #471, #606.
- Makes code less confusing by removing the double use of PLATFORM (#584).

Note that this is still not _The Right Way_(TM), because normally
raylib-config.cmake (or its includes) would be automatically generated.
I didn't manage to get that to work though, so I went the easier route
of just wrapping pkg_check_modules for consumption by find_package.
2018-07-29 12:35:35 +02:00
raysan5 7dc66d2d3f Looking for a place for raylib resource file 2018-07-21 16:18:33 +02:00
maficccc@gmail.com 59ebe1b7c3 Added support OpenBSD, NetBSD, DragonFly 2018-06-23 17:02:07 +02:00
Ray d873314c27 Reviewed Windows resource file name 2018-05-29 00:52:08 +02:00
Ahmad Fatoum 20ddc6a2bb
Move utils.cmake to separate cmake/ directory 2018-05-21 01:08:28 +02:00
Ahmad Fatoum c1b9104d54
Makefile: Remove unnecessary -no-pie for older GCC support
Currently, if:
* GCC doesn't supports -no-pie: Build error
* GCC supports -no-pie
    * GCC is not configured with --enable-default-pie: No-op
    * GCC is configured with --enable-default-pie:
            Slightly worse performance because we still generate -fpie code
            (-pie affects linker, -fpie affects compiler)

So instead of probing for existence of -fno-pie -no-pie, remove it altogether.

Fixes #540: Build breakage on Debian 8 with gcc 4.9.
2018-05-12 11:41:12 +02:00
Ray 0790171125 Updated raylib_icon resource 2018-05-11 18:14:42 +02:00
Ray San ec33e7d705 BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-05-04 16:59:48 +02:00
Ray 322cebcbaf Updated to latest raylib changes
Removed OpenAL and GLFW3 dependencies on building.
Reviewed platforms and flags
2018-04-03 22:44:45 +02:00
Ahmad Fatoum 2c219fb814
Allow use of main instead of android_main
Inspired by #504.
Instead of requiring the user to do PLATFORM_ANDROID #ifdefery,
have the android_main entry point exported by raylib and call
the user-defined main. This way many games could (in theory)
run unmodified on Android and elsewhere.

This is untested!
2018-03-16 21:37:22 +01:00
Ray 97bf2706c4 Removed flag -fgnu89-inline 2018-02-21 23:28:34 +01:00
Ahmad Fatoum f991a075e1 Build examples and games on Travis CI
They were disabled because they failed to build,
but this patch set fixes the build on Linux and macOS.

This doesn't apply to the AppVeyor build on Windows yet;
it currently fails at linking with OpenAL.
2017-11-25 21:45:31 +01:00
Ray a483e17f50 Adapted games to compile for Android 2017-10-22 11:48:41 +02:00
ASDF e173db19f7 CMake based build system.
Some people might find this handly
2017-08-27 13:28:02 -04:00
raysan5 ae35c37c8a Corrected game to run on OpenGL 1.1 2017-08-04 18:56:36 +02:00
Ray 76062247f8 Corrected some issues
Now works in WEB!
2017-05-10 19:39:52 +02:00
Ray a64e909e55 Added games license 2017-05-03 14:16:11 +02:00
Ray 66320582a3 Some work on example games 2017-04-28 00:29:23 +02:00
raysan5 f2656871e9 Review Makefiles default raylib path 2017-04-23 12:11:27 +02:00
raysan5 9b072dc346 Review game examples Makefiles 2017-04-23 12:05:18 +02:00
Ray 517a7e3466 Review makefiles 2017-04-20 00:57:03 +02:00
Ray 5a230659ef Working in random crash...
Related to UpdateMusicStream(), in stb_vorbis
2017-04-04 00:21:52 +02:00
raysan5 ca8c565617 Review contact information 2017-03-19 12:52:13 +01:00
raysan5 63c65f8cc5 Updated game to raylib v1.7 2017-03-12 12:37:43 +01:00
Ray ff7108389b Updated some code... for perfect transition 2017-01-25 00:44:04 +01:00
Ray San 8a549c3fbe Working in some bugs and screen transition
Detected a VERY weird code behaviour... :(
2017-01-24 12:14:15 +01:00
Ray 762d2580cd Some code improvements
Render wave in a render target
Implemented combo system
Removed big useless audio (fxWave)
2017-01-22 17:23:04 +01:00
Ray f164ec80d6 Upload wave collector - GGJ17 game 2017-01-22 15:31:56 +01:00