Commit graph

31 commits

Author SHA1 Message Date
Cameron Cawley
a73c90e3cb
Merge 90874fabcd into 8549aae829 2026-06-04 19:43:12 +01:00
Ryan C. Gordon
6c55fad411
examples/demo/04-bytepusher: go back to showing help text on load failures.
If the VM was already running, and then a file failed to open at all (a
directory was dropped on the window, etc), this wouldn't go back to showing
the help text.
2026-05-23 23:56:48 -04:00
Ryan C. Gordon
800f347e5e
examples/demo/04-bytepusher: Remove render target.
This doesn't need a render target to function. The comment suggested it was
needed to make debug text look better when scaled, but maybe logical
presentation used to do linear scaling exclusively at the time?
2026-05-23 23:56:18 -04:00
Ahmed
b5ac641372 examples: Fix float division 2026-05-18 09:00:12 -07:00
RaceTheMaSe
7c7ffb9115
tests: Fix unreachable code warnings (#14993) 2026-02-07 20:42:59 +03:00
RaceTheMaSe
9fda8f2669
Fix -Wnewline-eof warnings (#14989) 2026-02-07 18:04:18 +03:00
Ozkan Sezer
a882afafe5 fixed several -Wzero-as-null-pointer-constant warnings from gcc-15 2025-11-17 17:55:10 +03:00
Ryan C. Gordon
90874fabcd
demo/02-woodeneye-008/woodeneye-008: ignore gamepad stick deadzones.
This prevents an idle gamepad from overriding mouse input.
2025-11-08 14:09:45 -05:00
Ryan C. Gordon
3e2ff3f105
examples/demo/02-woodeneye-008: Minor coding style tweaks. 2025-11-08 14:02:24 -05:00
Ryan C. Gordon
32563c2048
examples/demo/02-woodeneye-008: use right stick for camera, not left.
This matches the standard for console FPS titles.
2025-11-08 13:57:52 -05:00
Ryan C. Gordon
39c5dce189
examples/demo/02-woodeneye-008: check gamepad sticks each frame, not in events. 2025-11-08 13:51:22 -05:00
Cameron Cawley
5db327ac69
Add gamepad support to woodeneye-008 2025-11-08 13:18:39 -05:00
Cameron Cawley
0bbbf3d43b Support resizable windows with most examples 2025-10-07 15:33:10 -04:00
Cameron Cawley
d40b887775 Support loading BytePusher files from the command line 2025-10-06 11:19:46 -07:00
Cameron Cawley
2f9f939446 Use texture palettes for the BytePusher example 2025-10-06 09:50:06 -07:00
Marcus Harrison
b795762b62
Small fix for snake example (#13790)
Rename THREE_BITS to SNAKE_CELL_SET_BITS
Make SNAKE_CELL_SET_BITS depend on SNAKE_CELL_MAX_BITS
2025-08-27 05:16:24 -07:00
Maia
cbf44700d8 bytepusher example: always render text to render target and remove unused variable 2025-04-28 09:40:07 -07:00
DamianS-eng
18185e30e9 Remove breaks under return 2025-03-15 16:19:36 -07:00
DamianS-eng
80ff0f45fd Move default 2025-03-15 16:19:36 -07:00
DamianS-eng
3b58ad9d48 Add breaks and defaults to switch statements 2025-03-15 16:19:36 -07:00
DamianS-eng
8b6e9936e0 Missed a bracket 2025-03-15 16:19:36 -07:00
DamianS-eng
36ec4cd397 Align spacing 2025-03-15 16:19:36 -07:00
DamianS-eng
3b90ce4995 Fix spacing; tabs to 4 spaces 2025-03-15 16:19:36 -07:00
DamianS-eng
60857935ca Add preliminary joystick support for snake example 2025-03-15 16:19:36 -07:00
captain0xff
b03332b68d updated bytepusher demo to be C++ compatible 2025-02-11 13:38:29 -08:00
captain0xff
5dd2492645 updated the snake demo to be C++ compatible 2025-02-11 13:38:29 -08:00
Carl Åstholm
a0e537b9c0 examples: Fix dead links in app metadata 2024-12-27 17:10:52 -08:00
Ryan C. Gordon
90efb63e52
examples: Improve webpage generation in various ways, add thumbnails, etc. 2024-12-05 23:58:23 -05:00
Ryan C. Gordon
e50dc7265b
examples: Fix some window titles in the demos. 2024-12-05 23:58:23 -05:00
Ryan C. Gordon
f9ddb0bdea
examples/demo/04-bytepusher: No need to check NULL before destroying things. 2024-11-22 17:12:14 -05:00
Ryan C. Gordon
51637495e4
examples: Rename "game" to "demo". 2024-11-22 15:56:09 -05:00