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
Ray
d93f8eadf8
REVIEW: GetFileName(): Security checks
2019-09-08 01:11:53 +02:00
raysan5
4e43192561
Review latest PR
2019-08-27 13:15:56 +02:00
arvyy
97101d1003
Add screen->world and world->screen functions for 2D; add extended camera2D example ( #947 )
2019-08-27 13:05:28 +02:00
raysan5
41732bebe8
Formatting tweak
2019-08-27 12:22:54 +02:00
raysan5
e2183f0b99
Update version in case no config.h is being used
2019-08-27 12:10:09 +02:00
raysan5
f565ff018e
REMOVED: FLAG_SHOW_LOGO
...
raylib logo animation has been removed. That funtionality was very restrictive, not configurable at all and hardly ever used, also, it added a coupling dependency of `core` module with `shapes` and `text` modules.
2019-08-27 11:24:04 +02:00
raysan5
addbd88833
Expose scissor functionality
2019-08-26 21:09:03 +02:00
raysan5
20fa362700
Review comment
2019-08-21 18:59:15 +02:00
raysan5
3db13edd89
Support mouse cursor on RPI native
...
Reduced bunnymark limits
2019-08-20 20:39:22 +02:00
raysan5
ef3b01dffc
RPI: Corrected issue when creating 3d projection view
2019-08-20 19:32:12 +02:00
Ray
ce8d7042c6
PR formatting review
2019-08-16 16:15:47 +02:00
arvyy
d8b8c0f3fc
change Camera2D behavior ( #945 )
2019-08-16 16:09:50 +02:00
raysan5
740834bb83
REVIEW: GetDirectoryPath() and GetPrevDirectoryPath()
2019-08-11 12:04:54 +02:00
Wayde Reitsma
2c2ccadd32
Small fix in GetMouseY ( #940 )
2019-08-11 11:17:20 +02:00
Ray
b354c10072
ADDED: DirectoryExists()
...
ADDED: GetPrevDirectoryPath()
2019-08-07 00:26:33 +02:00
Ray
7c05e498fc
Test Camera on Android
...
It can break building on that platform...
2019-07-24 22:39:33 +02:00
Ray
bc3983a3dd
Solved issue #912
2019-07-22 21:15:25 +02:00
Leandro Gabriel
a4e307ed96
Fix typo in comment (onlyl -> only)
2019-06-24 16:06:02 +02:00
Ray
1b249ac1e1
Define some globals
2019-06-19 15:43:35 +02:00
Ray
f951f0c536
RENAMED: LoadDefaultFont() -> LoadFontDefault()
...
Renamed internal function for consistency with similar functions.
2019-06-16 23:42:51 +02:00
Ray
721d18589f
Corrected issue with input threads (RPI)
2019-06-14 18:24:55 +02:00
Ray
dccd61bef9
Support new flag: FLAG_WINDOW_ALWAYS_RUN
...
Do not stop update/draw on window minimized
WARNING: SetConfigFlag() was reviewed to support int flags
2019-06-14 17:18:33 +02:00
DarkElvenAngel
034e9ba1b8
Add files via upload
2019-06-10 17:09:53 -04:00
Mohamed Shazan
272d9d58e3
Add VS2017.ANGLE Project
2019-06-06 15:03:03 +05:30
Ray
f45691ca8d
Rename function to follow javascript notation
2019-05-22 16:12:47 +02:00
Ray
be7e56f51e
Move emscripten web shell to src
2019-05-22 10:40:51 +02:00