Ray
d62a2f793f
Improved GetFPS() calculation for average
2020-02-19 12:20:15 +01:00
Ray
b18940d3c6
Remove spaces
2020-02-18 18:03:28 +01:00
Ray
83fb4613c1
Review some RPI issues
2020-02-13 00:13:56 +01:00
Ray
55f0647213
[core] Avoid pixel bleeding issue on MSAA
2020-02-12 13:48:50 +01:00
Ray
484c6b360f
Reviewed Cppcheck issues #1098
2020-02-12 13:16:18 +01:00
Ray
87d5b51256
REVIEWED: GetDirectoryPath()
...
Check if provided path is a full path containing system root letter: C:\
2020-02-11 19:12:49 +01:00
raysan5
90c129fd61
Review some libc dependency comments
2020-02-09 16:11:11 +01:00
Ray
b5fe41f41a
Review libc dependencies and remove when possible
...
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions:
- stdlib.h: primary dependency is for malloc() and free()
- stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI?
- string.h: just around 8 functions required
- math.h: just around 8 functions required
- others: 1-2 functions required for some other headers
2020-02-04 16:55:24 +01:00
Ray
c3f06b7470
Remove all trail spaces
2020-02-03 19:26:28 +01:00
Ray
cde26c743c
Replace TraceLog() function by TRACELOG macro
...
Added SUPPORT_TRACELOG_DEBUG config
2020-02-03 19:13:24 +01:00
Ray
40b73a8a91
Develop branch integration ( #1091 )
...
* [core] REDESIGNED: Implement global context
* [rlgl] REDESIGNED: Implement global context
* Reviewed globals for Android
* Review Android globals usage
* Update Android globals
* Bump raylib version to 3.0 !!!
* [raudio] REDESIGNED: Implement global context
* [raudio] Reorder functions
* [core] Tweaks on descriptions
* Issues with SUPPORT_MOUSE_GESTURES
* [camera] Use global context
* REDESIGN: Move shapes drawing texture/rec to RLGL context
* Review some issues on standalone mode
* Update to use global context
* [GAME] Upload RE-PAIR game from GGJ2020 -WIP-
* Update game: RE-PAIR
* [utils] TRACELOG macros proposal
* Update config.h
2020-02-03 18:31:30 +01:00
Ray
6a2e51ec78
Added comments related to #837
2020-01-29 11:42:55 +01:00
Ray
98a7d35bab
Corrected issue with matrix order multiplication #1054
2020-01-27 16:32:28 +01:00
Ray
954f029118
Support touch/mouse indistinctly
...
REMOVED: IsTouchDetected()
2020-01-27 15:31:43 +01:00
Ray
4fa2c32906
Review touch input scaling for PLATFORM_WEB #163
...
Now touch inputs scale proportionally to the canvas size
2020-01-27 12:09:31 +01:00
Ray
7e9bed5c89
Review default font scale filter for HighDPI mode
2020-01-26 18:53:34 +01:00
Ray
b02c6127a0
Minor tweaks
2020-01-26 13:27:37 +01:00
Ray
46774a8167
REVIEWED: GetDirectoryPath()
2020-01-26 13:01:35 +01:00
Ray
f28c1ef675
ADDED: IsTouchDetected()
2020-01-24 19:45:51 +01:00
Ray
eee995ec3d
ADDED: GetWorldToScreenEx()
...
Addressing issue #1056
2020-01-24 18:54:53 +01:00
Ray
40d6c15798
Addressed issue #1051
...
Allow frustrum culling near/far distance configuration at compile time.
2020-01-24 18:35:58 +01:00
Ray
71017993ce
Remove unneeded traces
2020-01-21 00:32:35 +01:00
raysan5
42d56d2f37
Added SUPPORT_HALFBUSY_WAIT_LOOP
2020-01-19 17:31:55 +01:00
Ray
22b7713287
IsFileExtension(): Review issue with no-extension files
2020-01-12 13:56:03 +01:00
Ray
fcf15fe8c0
Removed comment
2020-01-09 18:33:50 +01:00
Ray
358ca7595d
Review IsFileExtension() to be case-insensitive
2020-01-09 10:43:21 +01:00
Ray
6d56c99a37
Reorganized some variables for consistency
2020-01-08 17:19:06 +01:00
raysan5
21c30f43d4
Update year to 2020
2020-01-05 20:01:54 +01:00
Ray
8473e94879
Add some comments on desktop multi-touch
2019-12-16 18:06:48 +01:00
Ray
b8246d8592
Minor format tweaks for PR #1036
2019-12-10 00:18:29 +01:00
Justin
7eacac24d5
SetWindowMonitor made functioning again. ( #1036 )
...
* We get the video mode from the target monitor and use that to set, therefore
keeping windowed-fullscreen
* Added a GLFW_AUTO_ICONIFY 0 hint so that glfw does not minimize the window
when changing focus from a windowed fullscreen window. This is more expected
behavior for windowed full screen, when a user alt-tabs or clicks on a window in
the other monitor, they expect their windowed-fullscreen window to remaining up.
2019-12-10 00:14:56 +01:00
Oskari Timperi
8a08a9b225
Fix IsMouseButtonReleased()
when press/release events come too fast ( #1032 )
...
If press/release events for a mouse button come too fast, then using
`IsMouseButtonReleased()` does not work. This has been noticed when
using a touchpad on Linux when tapping with two fingers two emulate
right mouse button click.
The situation looks like this:
```
BeginDrawing <-- current==released, previous==released
Pressed <-- current=pressed
Released <-- current=released
IsMouseButtonReleased <-- returns false because current==previous
EndDrawing <-- previous=released
```
The fix is to update the previous mouse button state in addition to
current mouse button state when `MouseButtonCallback()` is called by
glfw. Now the situation is as follows:
```
BeginDrawing <-- current==released, previous==released
Pressed <-- current=pressed, previous=released
Released <-- current=released, previous=pressed
IsMouseButtonReleased <-- returns true because current!=previous
EndDrawing <-- previous=released
```
2019-12-04 18:29:11 +01:00
raysan5
f346c672fb
Work on macOS HighDPI issue #826
2019-12-04 18:09:56 +01:00
raysan5
08adb4b8c3
Check and testing timming #865
2019-12-04 17:59:17 +01:00
Ray
95f3b6e18e
Review VSync on fullscreen mode
...
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
2019-12-01 13:58:29 +01:00
MasterZean
8eecbbe4aa
fixes for switching full-screen and v-sync ( #963 )
...
* fixes for switching full-screen and v-sync
* requireVsync flag
2019-12-01 13:46:09 +01:00
Ray
416a52b5bc
Minor comments tweak
2019-12-01 12:55:33 +01:00
raysan5
1d3f230c92
Review key input queue PR #1012
...
Keeping original API
2019-11-24 13:39:45 +01:00
Ushio
ae301a1d23
add api FIFO based character input. ( #1012 )
...
* add api FIFO based character input.
* rename input character functions
* replace tab to space x4 #1012
2019-11-24 12:46:00 +01:00
ChrisDill
00c611a5fb
[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. ( #1011 )
2019-11-08 21:02:41 +01:00
Ray
39e22046c1
ClearDirectoryFiles(): Corrected issue #994
2019-10-25 14:29:12 +02:00
Ray
163a9e1f41
ClearDirectoryFiles() corrected bug
2019-10-23 00:46:41 +02:00
Ray
3c2ce77b7b
ClearDirectoryFiles(): Corrected memory leak #991
2019-10-22 23:18:42 +02:00
Ray
c1d282d9e8
Corrected bug on no-extension
2019-10-21 17:37:43 +02:00
Ray
b75511248d
Remove trailing spaces
2019-10-17 17:18:03 +02:00
Ray
7baa2975ec
REDESIGNED: IsFileExtension()
...
Now it accepts a ';' separated list of extensions, useful to check multiple extensions
2019-10-11 20:13:11 +02:00
raysan5
08165fed18
Review DecompressData() types, for consistency
2019-09-15 11:15:33 +02:00
Ray
4ccf1e61be
Corect typo
2019-09-13 17:07:29 +02:00
Ray
0a2177b4bc
ADDED: GetWindowPosition()
2019-09-10 12:43:44 +02:00
Ray
ae2452d280
ADDED small compression API
...
- ADDED: CompressData()
- ADDED: DecompressData()
2019-09-09 21:56:16 +02:00