Commit Graph

899 Commits

Author SHA1 Message Date
raysan5
0b869948c6 TraceLog() output tweak 2017-04-23 19:27:48 +02:00
raysan5
3c99093aed Rename variables for consistency 2017-04-23 12:30:36 +02:00
raysan5
7bcae59477 Support XM modules by default 2017-04-23 12:06:05 +02:00
raysan5
cfec2b40a4 Organize structs vs enums 2017-04-22 22:35:19 +02:00
raysan5
247da006ae Rename parameter 2017-04-22 22:35:04 +02:00
raysan5
b0f8ea27e3 Renamed function for lib consistency
LoadSpriteFontTTF() --> LoadSpriteFontEx()
2017-04-22 19:04:54 +02:00
Ray
e7f0d0eef1 Corrected issue with alloca.h on GCC 2017-04-21 00:08:24 +02:00
Ray
ecfe31bf1d Make TraceLog() public to the API
enum LogType could require some revision...
2017-04-21 00:08:00 +02:00
Ray
1df7a8b4a6 Update some files 2017-04-20 18:09:30 +02:00
Ray
35172430c6 Added SUPPORT_VR_SIMULATOR flag 2017-04-18 11:49:02 +02:00
raysan5
3e082f1d62 Updated physac to latest version 2017-04-16 19:08:34 +02:00
raysan5
c67cffea38 Updated STB libs to latest version 2017-04-16 14:06:04 +02:00
raysan5
f5894278b7 Added Vector2 math functions
Reviewed some Vector3 functions
Added auxiliary Clamp() function
2017-04-16 13:48:46 +02:00
raysan5
7e65c300b6 Make public TakeScreenshot() function 2017-04-16 13:47:49 +02:00
RDR8
1bba1242f4 Added _DEFAULT_SOURCE to CFLAGS for C99 compatibility 2017-04-12 20:26:29 -05:00
Ray
8374460c39 Added glfw3 lib (for VS2015) 2017-04-08 23:32:30 +02:00
Ray
d2d4b17633 Web: Support pointer lock 2017-04-08 00:16:03 +02:00
victorfisac
82577ededc Comment unused variables from tangent calculations 2017-04-06 15:34:04 +02:00
victorfisac
4b7ea25603 Remove testing binormals implementation 2017-04-06 15:33:20 +02:00
victorfisac
0c2a58cf96 Add tangents calculation when loading OBJ file 2017-04-06 15:31:48 +02:00
Ray
fdf8501e81 Improve vr support and simulator 2017-04-05 00:02:40 +02:00
Ray
99affa0caf Corrected issue when retrieving texture from GPU 2017-04-04 23:44:36 +02:00
Ray
1f56e8e5d0 Minor code tweaks 2017-04-04 12:16:13 +02:00
Ray
c3b8a41f95 Remove function declaration 2017-04-03 23:10:49 +02:00
Ray
0a33fbf8bb Corrected TraceLog issue 2017-04-01 00:48:40 +02:00
RDR8
44de97ea16 Fine-tuning PLATFORM_WEB CFLAGS 2017-03-29 16:04:29 -05:00
RDR8
4889f240fe Restore inadvertant changes to Makefiles 2017-03-29 12:59:46 -05:00
Ray
080a79f0b0 Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
2017-03-29 00:35:42 +02:00
Ray
2f65975c5e Remove RBMF fileformat support 2017-03-29 00:02:40 +02:00
Ray
b5dd18a70c Review Sleep() usage, return to busy-wait-loop 2017-03-28 19:15:27 +02:00
Ray
90b36bd274 Merge branch 'develop' of https://github.com/raysan5/raylib into develop 2017-03-26 22:49:11 +02:00
Ray
b7a8a40e71 Work on configuration flags 2017-03-26 22:49:01 +02:00
RDR8
72b90bff0f Merge remote-tracking branch 'origin/develop' into games-linux 2017-03-25 21:13:17 -05:00
RDR8
0c16af01e5 Replaced font.size with font.baseSize. Uncommented linux libs. Typo or two 2017-03-25 20:41:04 -05:00
Ray
5387b45431 Working on configuration flags 2017-03-25 12:01:01 +01:00
RDR8
ff44cb02e7 Always something 2017-03-24 03:42:10 -05:00
RDR8
9eaff6902f Sweep blank lines 2017-03-24 03:37:49 -05:00
RDR8
f1bb245999 Strip trailing spaces 2017-03-24 03:32:07 -05:00
RDR8
e23c120c8b Automate compiler flags selection. 2017-03-24 03:28:12 -05:00
RDR8
9875198a56 c99 fix, some linux housekeeping 2017-03-24 01:20:24 -05:00
Ray
004117a05c core: configuration flags 2017-03-21 13:22:59 +01:00
Ray
2ac7b684b5 text: configuration flags 2017-03-21 13:22:47 +01:00
Ray
974a6d4031 Corrected bug 2017-03-21 13:21:07 +01:00
Ray
59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
raysan5
8f5ff64420 Working on file header comments... 2017-03-19 12:52:58 +01:00
raysan5
5d1f661661 Remove Oculus support from code
Moved to custom example, now raylib only supports simulated VR
rendering.
Oculus code was too device dependant... waiting for OpenXR.
2017-03-14 01:05:22 +01:00
raysan5
3813722f17 Added function: DrawLineBezier() 2017-03-14 00:22:53 +01:00
raysan5
7154b42f48 Corrected naming issue 2017-03-09 18:52:56 +01:00
Ray
7c888edba1 Corrected typo introduced in last commit 2017-03-09 16:25:15 +01:00
Ray
4ec65c0d25 Corrected issue with reserved words: near, far 2017-03-09 16:23:36 +01:00
Ray
81897e7771 Corrected bugs on RPI compilation 2017-03-09 13:13:13 +01:00
Ray
6d1519c132 Merge pull request #241 from raysan5/develop
Integrate develop branch
2017-03-07 09:49:04 +01:00
-
cb29b1d2ac Removed unnecesary libs 2017-03-07 09:45:18 +01:00
victorfisac
c964559bc9 Update physac source and examples with new changes 2017-03-06 22:57:33 +01:00
victorfisac
f88a943418 Fix bug in isGrounded state calculations 2017-03-06 09:58:28 +01:00
raysan5
59038bae96 Added function: DrawLineEx()
Supports line thickness
2017-03-05 21:04:07 +01:00
raysan5
d1c9afd1d8 Work on timming functions...
It seems Sleep() behaves weird on my computer, disabled by default
returning to the busy wait loop... also re-implemented DrawFPS() to
avoid frame blitting...
2017-03-05 19:17:00 +01:00
raysan5
203d1a154e Clear music buffers on stop 2017-03-05 10:55:58 +01:00
raysan5
9cfaa81a7e Added some flags and functions to manage window
- SetWindowPosition(int x, int y);
- SetWindowMonitor(int monitor);
2017-03-05 10:55:29 +01:00
bugcaptor
de103ecc5e fix for audio.c(607): error C2036: 'void *': unknown size in Visual Studio 2015. 2017-03-02 10:07:09 +09:00
Ray
05cff44d0a Improved modules description -IN PROGRESS-
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
Ray
1c364cc507 Review rres loading to support multiple parts 2017-02-16 00:19:30 +01:00
Ray
177af272f0 Added function DrawRectanglePro() 2017-02-16 00:19:03 +01:00
raysan5
4cb3e4a240 Support resources divided in multiple parts
Every part is a resource itself, they are loaded in an array
2017-02-15 10:44:59 +01:00
raysan5
05f039f85f Corrected issue with OpenAL being 'keg only' on OSX
Also reviewed issue with stdbool when compiling with clang
2017-02-11 23:34:41 +01:00
raysan5
afcd748fdf Reviewed fread() usage around the code 2017-02-11 23:17:56 +01:00
Ray
b4988777ef [audio] Renamed variable 2017-02-09 22:19:48 +01:00
Ray San
836c1636a2 Remove lighting system from rlgl standalone header 2017-02-08 20:02:40 +01:00
Ray
f2f05a734d Added audio function: SetMusicLoopCount()
Useful to set number of repeats for a music, needs to be tested...
2017-02-06 01:03:58 +01:00
Ray
ac6b4d3830 Added audio function: SetMasterVolume() 2017-02-06 00:44:54 +01:00
Ray
734776b923 Commented code for review 2017-02-06 00:44:21 +01:00
raysan5
7bf6a712cc Remove rlua from raylib main repo
Moved to own repo at https://github.com/raysan5/raylib-lua
2017-02-05 03:15:43 +01:00
raysan5
c4bd214cf0 Added function SetWindowIcon()
Only DESKTOP platforms (Windows, Linus, OSX)
2017-02-05 03:00:35 +01:00
raysan5
1a879ba08e Refactor SpriteFont struct
Now it uses CharInfo data, this way, it's better aligned with the future
RRES file format data layout for sprite font characters.
2017-02-05 02:59:39 +01:00
Ray
a08117155d Init memory for screenshot to zero 2017-02-01 00:28:28 +01:00
Ray
495108a2e9 Updated raylib version to 1.7
Preparing for next version... still some work left... :P
2017-01-29 23:08:19 +01:00
Ray
30bb24aa6e Updated Gestures enum 2017-01-29 22:29:54 +01:00
Ray
c85dfd4bc6 Remove unecessary spaces... 2017-01-28 23:02:30 +01:00
Ray
b681e8c277 Implemented Wait()
Now program is halted (OS signal call) for required amount of time every
frame, so CPU usage drops to zero, instead of using a busy wait loop.
2017-01-28 00:56:45 +01:00
Ray
37a64df7b9 Move lighting system out of raylib
Lighting is implemented as a raylib example now
2017-01-27 23:03:08 +01:00
Milan Nikolic
a1527f5620 Fix RPi build and add missing directories 2017-01-26 21:49:18 +01:00
Milan Nikolic
3c3a9318ff Integrate Android build into Makefile 2017-01-26 20:58:00 +01:00
Ray
d8edcafe5a Wait for events when window is minimized...
...instead of keep polling
2017-01-25 11:38:15 +01:00
Ray
825eab37e2 Revert unneeded change 2017-01-24 00:32:16 +01:00
Ray
f164ec80d6 Upload wave collector - GGJ17 game 2017-01-22 15:31:56 +01:00
Ray
7586031410 Support 32bit wav data 2017-01-19 13:18:04 +01:00
Ray
7cd24d2706 Updated stb external libraries 2017-01-18 23:27:41 +01:00
Ray San
3b120bd7d9 Some tweaks for consistency 2017-01-18 19:14:39 +01:00
Ray San
fc7d4cef18 Stop sound source before unloading 2017-01-18 17:25:25 +01:00
Ray San
46f95a730a Corrected bug on OGG sound loading 2017-01-18 17:04:20 +01:00
raysan5
6d6659205c Add support for 32-bit PCM sample data 2017-01-15 01:25:09 +01:00
raysan5
53457e4664 Work on rres file format -IN PROGRESS- 2017-01-15 01:11:38 +01:00
raysan5
e5a2def57f Code formatting 2017-01-15 01:10:34 +01:00
raysan5
61f6b0f707 Removed GetNextPOT(), review TraceLog() 2017-01-15 01:10:23 +01:00
raysan5
4a158d972d Added LoadText() function
Actually, renamed ReadTextFile() from rlgl and make it public
2017-01-15 01:09:15 +01:00
Ray
4ea8494f3e Merge pull request #216 from AudioMorphology/develop
modified:   core.c
2017-01-14 20:25:07 +01:00
AudioMorphology
07a2c00e84 modified: core.c 2017-01-14 16:18:06 +00:00
raysan5
1ca445a9b9 Merge branch 'develop' of https://github.com/raysan5/raylib into develop 2017-01-07 18:13:39 +01:00
raysan5
fbda9c4180 Support rRES data loading 2017-01-07 18:12:59 +01:00
Ray
9b334dcd25 Merge pull request #214 from AudioMorphology/develop
Added RPi Touchscreen device event reader
2017-01-05 23:07:43 +01:00