Commit Graph

67 Commits

Author SHA1 Message Date
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
Ray 0c0ff2802e Review games Makefile 2018-04-02 18:46:22 +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
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 227880977e Do not ignore Makefiles! 2018-01-29 14:01:06 +01:00
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.
2018-01-29 13:46:04 +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 61b0ab5332 Corrected some issues on game
Now it works! :)
2017-10-24 00:27:25 +02:00
Ray 551de156bb Name tweak 2017-10-22 12:08:42 +02:00
Ray a483e17f50 Adapted games to compile for Android 2017-10-22 11:48:41 +02:00
Ray 3f9d76f227 Updated Makefile to support Android 2017-10-22 11:12:10 +02:00
Ray b043c5e277 Trying to correct drawing issues... 2017-10-02 00:12:52 +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 4ca229ed7f Renamed file 2017-05-15 18:26:53 +02:00
Ray a8f142e736 Renamed file 2017-05-15 18:23:09 +02:00
Ray 6a48e7376b Review example 2017-05-15 18:20:27 +02:00
Ray 4a31ce4bd2 Reorganize code 2017-05-15 18:07:23 +02:00
Ray 76062247f8 Corrected some issues
Now works in WEB!
2017-05-10 19:39:52 +02:00
Ray 73774aadd6 Review makefiles 2017-05-03 14:16:42 +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
Ray be40d97954 Move compiled game to right folder 2017-04-24 00:22:41 +02:00
raysan5 b4f4b179c2 Light my ritual web compilation 2017-04-23 19:28:35 +02:00
raysan5 f2656871e9 Review Makefiles default raylib path 2017-04-23 12:11:27 +02:00
raysan5 3a1e6ab0b6 Review game code (something broken) 2017-04-23 12:05:47 +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 a5c8ce2a34 Upload new game: Koala Seasons 2017-04-18 10:42:15 +02:00
Ray 99c226b344 Delete some old data...
- Removed raylib_demo (outdated)
- Removed some old examples
2017-04-18 10:30:37 +02:00
Ray 5a230659ef Working in random crash...
Related to UpdateMusicStream(), in stb_vorbis
2017-04-04 00:21:52 +02:00
RDR8 efc4b2941b Missed a couple 2017-03-25 21:03:28 -05:00
RDR8 0c16af01e5 Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two 2017-03-25 20:41:04 -05: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
Daniel Lemos fda91436b5 [games] Fix building the games on Linux by adding missing libs 2016-11-24 03:26:47 +00:00
raysan5 29f14186c1 Updated games to latest raylib version
Updated to new audio system
2016-08-11 12:08:41 +02:00
ghassanpl 4960e6b6d7 Fixes for some Lua bugs 2016-08-06 16:58:48 +02:00
raysan5 50ccc39d6b Updated LIBs 2016-08-02 17:55:04 +02:00
raysan5 5f7ac64c44 Removed function SetModelTexture()
It's more educational to go through new material system, so, I decide to
remove this function to avoid students confusion...
2016-06-24 19:49:36 +02:00