Ray
657897b493
Merge pull request #685 from jubalh/master
Improve OpenURL()
6 years ago
Michael Vetter
80dbe636cd
core: OpenURL() fix xdg-open call
Calling just `xdg-open` is not right. One needs to pack the URL in `'`.
If we don't do this then some special characters (like ampersand) will
be executed.
Maybe this is true for Windows and Apple case too, but I don't own any
such system. So please merge this, and if it's true for more cases let's
use `sprintf()` in the other cases too.
6 years ago
Michael Vetter
4c83cee810
core: Use dynamic string in OpenURL()
OpenURL() is a function that most games probably will never need.
Wasting 512 bytes to store of a static char to store an the URL is not
wise.
I propose to have it dynamic building the string on the fly.
6 years ago
Ray
5167f78d5f
ADDED: OpenURL()
Corrected bug on ImageDrawRectangleLines()
6 years ago
Ray
6428317739
Corrected 1px thick issue
6 years ago
Ray
e17bd422fa
Corrected issue with line drawing
6 years ago
GoblinBob
8e219272e5
Update core.c
Some projects need the buffer to not be empited when drawing to the render texture. I would suggest making maybe a variation of the function if you'd like to keep backwards compatibility, maybe like: BeginTextureModeNoClear() ?
6 years ago
Ray
b356ef5564
Modifies some Image functions
REVIEWED: ImageDrawRectangle()
ADDED: ImageDrawRectangleLines()
6 years ago
Ray
065994219e
Review parameter issue with MSVC
6 years ago
Ray
ff64e860a1
Minor review
6 years ago
Ray
fc1c9505ba
Remove end-line spaces
6 years ago
Ray
e340517a73
Support custom texture on shapes drawing
By default, internal white texture was used to draw most of the shapes; some time ago, support for white font character from default internal font was added. That way, all basic drawing (shapes, text) could be performed without a texture change and in a single drawing pass.
Now, we move a step further and we allow configuring the texture (and rectangle) used to do the shapes drawing.
6 years ago
Ray
c79b342f0b
Corrected issue with sampleCount
6 years ago
Ray
0f6f326a86
Add flag: SUPPORT_EVENTS_WAITING
Wait for input events passively (sleep) instead of polling events actively every frame
6 years ago
Ray
f7667aad8d
Reviewed audio issues
- Updated dr_mp3 and implemented it
- Reviewed sampleCount vs frameCount
- Reviewed XM playing (some weird things...)
6 years ago
Ray
b051f7778f
Corrected typo
6 years ago
Ray
298203a41a
ADDED: Some functions...
text: IsEqualText() -WIP-
audio: SaveWAV()
audio: ExportWaveAsCode()
textures: ExportImageAsCode()
6 years ago
Ray
78064dee09
Merge pull request #676 from jubalh/pathdefines
Pathdefines
6 years ago
Michael Vetter
b13c9716e4
Fix GetDirectoryFiles description
The comment sais it allows max 256 files, but the MAX_DIRECTORY_FILES
define actually is set to 512.
6 years ago
Michael Vetter
65b5de962d
Use seperate blog for MAX_FILEPATH_LENGTH define
Let's have a seperate if linux block for this. Since we will need to
define MAX_FILEPATH_LENGTH for all other cases. And its more readable
like this.
6 years ago
Michael Vetter
9bad248b54
Use filepath define
On Linux systems the length of the path is defined in linux/limits.h as
PATH_MAX.
Lets use that for MAX_FILEPATH_LENGTH, which is a define that we can
find in some comments in the code that is actually never used. Instead
often we see 256 handwritten.
So lets have MAX_FILEPATH_LENGTH as a proper define, being set to
PATH_MAX on Linux and to 256 on Windows systems.
6 years ago
Ray
0f0d271a85
Merge pull request #675 from MurrayIRC/master
VSCode Project Updates
6 years ago
Ray
fc6f5a92f3
Reviewed functions definition
6 years ago
Murray Campbell
bcbe042dd2
Merge pull request #8 from MurrayIRC/vscode-updates
Vscode updates
6 years ago
Murray Campbell
d916ac9b5d
Update Makefile
6 years ago
Murray Campbell
411b2827a8
Update tasks.json
6 years ago
Murray Campbell
5b0ab656f1
Update launch.json
6 years ago
Murray Campbell
03fb5499a0
Merge pull request #7 from raysan5/master
pull
6 years ago
Ray
72431c6c36
Code tweaks
6 years ago
Ray
550dd40cb3
ADDED: SplitText() function
6 years ago
Ray
b5bcf2c934
Review code formatting for RPI inputs
6 years ago
Ray
0694caaa22
Merge pull request #674 from Berni8k/master
Added RaspberryPi option to ignore duplicate touchscreens (Default on)
6 years ago
Berni8k
3d825eb973
Added RaspberryPi option to ignore duplicate touchscreens (On by default)
6 years ago
Ray
804b291ff1
Merge pull request #673 from Berni8k/master
Added multitouch example
6 years ago
Berni8k
7a712d00e6
Added multitouch example
6 years ago
Ray
30f2483bdb
Merge pull request #672 from Berni8k/master
RaspberryPi Mouse and touch overhaul
6 years ago
Berni8k
e07ec6a2e8
Overhaul mouse and touch for RaspberryPi \n\nNow all '/dev/input/event*' devices are now used for input. No longer uses '/dev/input/mouse*', keyboard and gamepad continue to use existing method\nMultitouch is now supported on RPi with 10 point multitouch\nFixed bugs with IsMouseButtonPressed(Used to constantly fire when holding button) and GetMouseWheelMove(Did not work)\n Fixed exesive CPU usage of GamepadThread
6 years ago
Ray
bd383fe219
Tweak for OpenGL 2.1
Why am I still supporting this???
6 years ago
Berni8k
464a559020
Merge pull request #1 from raysan5/master
Update
6 years ago
Ray
161b18edea
Reviewed possible issue with external libs
6 years ago
Ray
1f4866276a
Corrected typo
6 years ago
Ray
16914dfaa2
Reviewed possible issue with...
...disposing RenderTexture.
6 years ago
Ray
2759218368
Added comment on issue
6 years ago
Ray
fa5cebdfd2
Comment tweak
6 years ago
Ray
3b674cd281
Some security checks on font loading
6 years ago
Ray
764766bfb2
Some formatting tweaks
6 years ago
Ray
1dba2788bb
Merge pull request #669 from dj0nes/master
Remove non-Windows includes from Makefile
6 years ago
Dillon Jones
59bbad9360
Remove non-Windows includes from Makefile
6 years ago
Ray
c2aa1fed7b
Removed OpenAL backend
6 years ago
Ray
8bac72f4fa
Working on MP3 loading
Loading full mp3 file works but loading for music streaming does not work, it seems total number of samples is not obtained correctly from mp3 file...
6 years ago