Commit Graph

220 Commits

Author SHA1 Message Date
227496bea7 providing and example on how to apply the screen scale (as done in the virtual mouse) to the real mouse, to work with raygui (#1481) 2020-12-28 11:10:39 +01:00
b68e522ffc Updated several files while porting examples to web 2020-12-24 13:51:24 +01:00
d9a9bacb48 Review formatting 2020-12-23 20:30:00 +01:00
Ray
62406259d7 Corrected minor windows flags issues 2020-12-03 20:33:46 +01:00
Ray
7955381fb3 Update core_basic_window.c 2020-12-03 20:19:32 +01:00
Ray
7e9028ae08 Update user name 2020-12-03 20:17:50 +01:00
Ray
1c9726fd8c Update core_window_flags.c 2020-12-03 20:17:21 +01:00
Ray
3d1ae3500c REVIEWED: Window state flags -WIP-
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users.
ADDED: ClearWindowState() to reset window state
REMOVED: HideWindow() / UnhideWindow()
REMOVED: DecorateWindow() / UndecorateWindow()
2020-11-23 23:46:05 +01:00
Ray
468a0bedd8 REDESIGNED: Window state config #1367 -WIP-
Some flags not working properly yet...
2020-11-23 00:49:27 +01:00
Ray
8e15dae5ed Review contributed examples 2020-11-01 13:39:48 +01:00
Ray
41192c6d4a Replace 0.f by 0.0f 2020-10-05 20:19:18 +02:00
Ray
a4ea9f872f Review "aggregate initializations" #1403 2020-10-05 20:04:33 +02:00
d140dc81c0 work on quat and matrix math - deleted multiple copies of raymath.h causing issues (#1359)
Co-authored-by: codifies <nospam@antispam.com>
2020-08-23 21:01:26 +02:00
c32ae480af RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-16 11:28:15 +02:00
6fb5207694 Update resources LICENSE 2020-07-14 19:17:08 +02:00
fed4716c3b resources PNG chunks cleaning 2020-05-28 21:18:58 +02:00
0bd64b7975 Gamepad axis bug fixes and improvement (#1228)
* Fix gamepad axis count

* Fix Xbox axis drawing

* Ignore low axis values

* Revert "Fix gamepad axis count"

This reverts commit f08ae4bf

* Fix GamepadAxis API

* Fix conflict with master

* Revert Gamepad MAX definitions

* Revert MAX_GAMEPAD_AXIS update
2020-05-09 12:39:41 +02:00
6a8e4795da Update core_input_multitouch.c 2020-05-01 18:16:04 +02:00
00b3199859 Added raymath to examples 2020-04-16 13:49:19 +02:00
44961d1975 Update core_basic_window.c 2020-03-30 16:09:09 +02:00
a5e1aff99b [example] Integrate virtual mouse in main example 2020-03-28 18:36:30 +01:00
05abaee0e0 Update core_window_letterbox_virtual_mouse.c 2020-03-24 19:10:50 +01:00
c45fe62abc Add files via upload (#1147)
Virtual mouse with window letterbox, and Clamp
2020-03-24 14:25:44 +01:00
Ray
5ff0776235 Remove trail spaces and some tweaks 2020-02-27 13:33:09 +01:00
Ray
23bde477e5 REDESIGN: LoadStorageValue()/SaveStorageValue()
Using new file I/O ABI
2020-02-27 13:18:15 +01:00
Ray
2294947660 Update core_storage_values.c 2020-02-26 23:42:41 +01:00
Ray
cacd4a9d90 Some examples tweaks 2020-01-30 12:27:04 +01:00
Ray
9f79ed2972 Create core_2d_camera_platformer.png 2020-01-09 13:23:40 +01:00
Ray
91faf72dda Rename and review: core_2d_camera_platformer 2019-11-25 13:06:56 +01:00
Ray
5ad65d9291 Minor format tweaks 2019-11-25 11:26:26 +01:00
97101d1003 Add screen->world and world->screen functions for 2D; add extended camera2D example (#947) 2019-08-27 13:05:28 +02:00
20257f3e49 Uniform initialization not supported on GLSL 100 2019-08-20 21:17:06 +02:00
Ray
ce8d7042c6 PR formatting review 2019-08-16 16:15:47 +02:00
d8b8c0f3fc change Camera2D behavior (#945) 2019-08-16 16:09:50 +02:00
89c16baf18 Replace tabs with spaces and update year of copyright notices (#927)
* Update year of copyright notices

* Fix mistake in comment

* Fix typo ("algorythms")

* Replace tabs with spaces

* Remove trailing whitespace and fix mistake in comment

* Fix ExportImageAsCode missing comment rectangle corner

* Replace tab with spaces

* Replace tabs with spaces
2019-08-03 11:07:41 +02:00
68ffbc06c7 explained a bit more the core_window_letterbox example (#925) 2019-08-02 15:16:43 +02:00
602d2a65dd Reviewed new examples 2019-07-28 15:09:01 +02:00
879c874330 Added scissor test and mouse painting examples proposed in #890 (#919)
- Updated Makefile with new examples
2019-07-28 11:12:13 +02:00
Ray
434e460c18 Example instructions tweak for clarity 2019-05-31 16:42:16 +02:00
Ray
efdc6f87d5 Define standard examples size 2019-05-29 13:47:57 +02:00
Ray
87774a0a21 Review variables initialization 2019-05-27 00:18:15 +02:00
Ray
3dfbeb5488 Update core_3d_picking.c 2019-05-21 10:16:39 +02:00
Ray
b525039e0a Review ALL examples 2019-05-20 16:36:42 +02:00
Ray
f44dfa1ef2 Implement VR distortion shader for GLSL 100 2019-05-16 15:30:03 +02:00
Ray
424d3ca8d9 examples review
Redesigns, deletes and renames

Also noted authors propertly on contributed examples
2019-05-14 15:34:23 +02:00
6681fd7df2 examples: core_loading_thread: fix race condition
A plain variable is insuffecient for inter-thread communication. Both the
compiler and the processor may reorder accesses. The compiler could even
cache dataLoaded with the result that STATE_FINISHED becomes unreachable.

Fix this by using C11 atomic_bool, which guarantees sequential consistency.

This fixes #827.
2019-05-04 21:23:19 +02:00
53d9beb534 examples: core_loading_thread: use symbolic names for state machine states
And while at it, use a switch clause to make the state machine
structure clearer.
2019-05-04 17:15:48 +02:00
Ray
34feacc148 new example: core_loading_thread
Data loading in a second thread with progress bar in main thread
2019-05-02 12:22:54 +02:00
f36ba6a2f4 Damn, made a mistake 2019-04-28 16:32:05 +01:00
948a442704 Update gamepad example to use new enums 2019-04-28 16:20:14 +01:00