Commit Graph

1121 Commits

Author SHA1 Message Date
b97134c3e1 Review float pixel format textures support 2018-01-06 18:17:38 +01:00
7caa3201d5 Improved pixel formats support
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
2018-01-06 13:43:48 +01:00
1f0f8c33fa Added function declaration 2018-01-06 02:51:28 +01:00
7fa2861160 Added function: GetPixelDataSize()
Just found I need that function...
2018-01-06 02:50:20 +01:00
0e48396369 Corrected issue with new functionality
Using default font texture as base white texture for rectangles reduces
draw calls considerably, actually, raygui can be drawn with a single
pass!
2018-01-06 02:44:47 +01:00
b760f16f9b Reviewed framebuffers cleaning
Issues when dealing with FBOs
2018-01-06 02:43:38 +01:00
1a82e1ab26 Added function GetFileName()
Review comments
2018-01-02 02:26:05 +01:00
e1baae0249 Removed function DrawRectangleT()
Functionality integrated in DrawRectangle() and selectable with config
flag USE_DEFAULT_FONT_TEXTURE
2018-01-01 16:54:32 +01:00
e69424c86f Reviewed text input 2017-12-31 23:50:22 +01:00
e7cf03b1e4 Minor tweaks 2017-12-28 19:27:02 +01:00
7965f983ba Support Wayland display on Linux desktop 2017-12-28 18:14:39 +01:00
b19e155b34 Support UNCOMPRESSED_R32G32B32A32 texture format 2017-12-28 17:58:37 +01:00
c93bca8c27 Review Makefile config flags
Support external GLFW usage
Renamed some flags for consistency
2017-12-28 17:58:09 +01:00
0bd06eec51 Renamed function to SetTraceLog()
I think is clearer this way...
2017-12-24 16:49:54 +01:00
e517d8fd16 Added function SetTraceLogTypes()
Trace log messages could be configured with this function to select wich
ones are shown
2017-12-24 16:47:33 +01:00
e574428343 Some formatting tweaks 2017-12-24 16:12:52 +01:00
f44dbf21cf Review physac timming system 2017-12-24 15:59:03 +01:00
9b7a24331d Added next bsd os 2017-12-23 18:12:19 +01:00
00c34a035c Updated copyright year 2017-12-20 12:37:08 +01:00
27c274bc3c Corrected issue with SaveImageAs()
That function depends on SavePNG() and forces platform check on textures
module, that behaviour should be changed, platform definition should be
only required on core module...
2017-12-20 12:36:47 +01:00
e8bb53ed35 Corrected issue on OpenGL ES compilation 2017-12-20 12:35:12 +01:00
61afd07bd7 Force OpenAL backend on some platforms
OpenAL audio backend is being forced on HTML5 and OSX
2017-12-20 12:34:18 +01:00
1320044e94 Review code formatting 2017-12-20 11:37:43 +01:00
Ray
b63ffcfa0f Some code tweaks
Audio module requires a complete formatting review....
2017-12-20 00:34:31 +01:00
5290390494 Expose GetTime() function to users
Monotonic time since InitWindow() could be retrieved with this function.
2017-12-19 14:06:54 +01:00
Ray
bc6ae93a48 Added some comments on GetTime()
Reviewing GetTime() functionality
2017-12-18 00:06:57 +01:00
b155333178 Support audio module skip on compiling
Some programs like tools could not require audio support
2017-12-15 17:02:29 +01:00
e17a9a8216 Updated mini_al to latest version 2017-12-15 17:01:50 +01:00
53ad53d051 Manually review previous PR 2017-12-15 13:44:31 +01:00
2affac820e make raylib not clash with windows-header 2017-12-14 11:52:45 +01:00
217917530b fix for eventmarker missed in first cl 2017-12-14 11:51:17 +01:00
48d0c93ace make GetTime available to user of library 2017-12-14 11:50:35 +01:00
b872de951b fix for GetMatrixModelview (former cl) 2017-12-14 11:49:31 +01:00
d51f382ef8 optimized matrixrotate function by removing identity matrix 2017-12-14 11:48:33 +01:00
b5395b22cc make raymath compiling with msvc in c++ mode 2017-12-14 11:47:52 +01:00
07b522c113 make matrix stack work closer to old opengl implementation 2017-12-14 11:46:38 +01:00
a7f2fedbfb compilefix for function declaration (win only) 2017-12-14 11:45:47 +01:00
0e18b14605 added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing 2017-12-14 11:44:48 +01:00
963551ee6e added possibility to get modelview matrix from rlgl to be able to send it to shaders 2017-12-14 11:43:06 +01:00
69c8fa409a fixed function declaration differ from implementation 2017-12-14 11:42:06 +01:00
54587d7fdb proper if-clauses for disabling functionality in text.c 2017-12-14 11:41:31 +01:00
08fc886afd added proper define checks for png-save if it's disabled 2017-12-14 11:40:08 +01:00
Ray
2388cbc3cd Corrected crash on shader loading
If shader file could not be found on loading it crashed, instead added
fallback to default shader!
2017-12-13 20:10:13 +01:00
Ray
a6f9cc5629 Remove rres support
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
4a7840b752 Remove Meson build system
Less maintenance overhead that way,
given that make/CMake now also do library versioning.
2017-12-11 11:15:14 +01:00
d24b89bb0e Add library versioning to Make/CMake build systems
See #401 for the discussion.
Also bumps version number to 1.9.2 without the -dev,
because neither ELF nor MachO like such a suffix.
The -dev suffix will have to be restricted to the git tags.
2017-12-11 10:25:06 +01:00
de78fa69bc Fix CI builds after mini_al changes 2017-12-10 21:35:38 +01:00
203b2f65d1 Fix typo in preprocessor macro 2017-12-10 21:11:04 +01:00
5ae2c0d15b Added Wayland support
Updated to latest GLFW library and working on Wayland support, still
looking how to implement it on raylib because it just exposes
PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
2017-12-09 19:05:42 +01:00
3b5a26099e Removed OpenAL Soft dependency on building
OpenAL Soft backend is still available in audio module, I'm thinking if
exposing it for building in some way or just left it there for advance
users to switch to it manually in case of necessity...
2017-12-05 14:01:35 +01:00