Commit Graph

171 Commits

Author SHA1 Message Date
jdgleaver
37d12c3859 (GLUI) Menu improvements (Round 2) 2019-10-18 17:56:43 +01:00
twinaphex
b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex
6d89bbfe61 (Menu animation) Avoid some strlcat usage here too 2019-09-18 05:54:32 +02:00
jdgleaver
35f7110c41 Smooth line ticker - replace scissor operation with fade in/out animation 2019-08-30 14:28:07 +01:00
jdgleaver
daeff97f7e (XMB) Add smooth scrolling vertical line ticker (for sublabels) 2019-08-29 16:48:10 +01:00
jdgleaver
37190b8f7d (RGUI) Optimise smooth ticker text 2019-08-22 17:51:57 +01:00
jdgleaver
5903463734 Line ticker bug fix 2019-08-22 15:16:29 +01:00
jdgleaver
84dac7745e Make smooth ticker text scroll speed resolution independent 2019-08-22 11:49:05 +01:00
jdgleaver
8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01:00
natinusala
863fd55951 menu_animation: don't update deleted tweens 2019-07-30 14:07:06 +02:00
natinusala
73ff5334c5 menu_widgets: fix crash with tasks 2019-07-25 10:00:44 +02:00
jdgleaver
7822a2d611 (XMB) Fix display of long sublabels 2019-07-18 16:58:43 +01:00
twinaphex
d734b98b20 Fix warning 2019-07-10 00:26:37 +02:00
twinaphex
c1fbf1d43b (menu_animation.c) Try to prevent null pointer dereferences 2019-06-27 20:45:53 +02:00
Twinaphex
f23497fd80
Merge pull request #9014 from LazyBumHorse/fix_d3d9
fix d3d9 not rendering xmb and temporarily disable widgets due to segfault
2019-06-24 16:07:03 +02:00
LazyBumHorse
1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
Twinaphex
d2fd4d48ae (macOS) Less warnings with static code analysis 2019-06-24 15:03:58 +02:00
twinaphex
74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
twinaphex
39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
Twinaphex
076a0d2f56 (OSX) Code analysis cleanups 2019-04-08 23:13:39 +02:00
Hugo Hromic
b5368c9423 (menu_animation.c) Use semi-colon properly for TICKER_SPACER_DEFAULT
Defines should not have semi-colons. Correct the fix in 3cbae9c.
2019-02-24 12:13:54 +00:00
twinaphex
3cbae9c767 Fix C89_BUILD errors 2019-02-23 15:04:36 +01:00
natinusala
6e20d216bd Avoid redefining the ticker spacer in each menu driver 2019-02-21 20:58:22 +01:00
twinaphex
420f3a171b (GL1) Update - add HAVE_OPENGL1 to MSVC 2005/2008/2010/2012 2019-02-16 21:26:01 +01:00
jdgleaver
bfe0c3fb48 Enable configuration of menu ticker text speed 2019-02-15 10:08:27 +00:00
natinusala
f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
jdgleaver
27694b6b31 Add optional 'looping' menu text ticker 2019-02-14 15:10:07 +00:00
natinusala
b62d4e394b menu_animation: fix menu_animation_is_active 2019-02-09 17:38:28 +01:00
twinaphex
ab182cbe20 Create optimized function - menu_animation_get_time 2019-02-09 00:18:27 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
twinaphex
d51fbbc37b Update menu_animation.c 2019-02-08 04:26:40 +01:00
jdgleaver
b27c23f0eb (RGUI) Fix ticker text 2019-02-07 11:09:21 +00:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
natinusala
5102361e2c menu_animation: add delayed animations 2019-01-23 15:30:18 +01:00
twinaphex
13ccf4d408 Silence some more static code analysis warnings 2019-01-11 01:35:18 +01:00
Francisco José García García
19549ddccf [ORBIS] Fix __assert 2018-12-27 20:18:53 +01:00
Stuart Carnie
11a7d34358
fix: animations deleted during update mutate tween list, causing crash
defer deletes resulting from callbacks until after update loop
2018-12-18 17:12:19 -07:00
orbea
f4a5c3bd55 Fix c89 build. 2018-12-15 21:03:28 -08:00
Stuart Carnie
c00b6e0750
fix: Fix use of freed memory in menu animations
`menu_animation_update` enumerates `menu_animation.list` to process each
`tween`. It was observed that some tweens execute a callback that
pushes more animations via `menu_animation_push`. During the push, if
the tween `list` does not have enough space, a `realloc` occurs,
potentially invalidating the existing list. The remaining pointer access
in menu_animation_update is therefore invalid. Best case is the memory
is unused and thus does not affect the program. Worst case is memory
corruption.
2018-12-15 14:55:10 -07:00
twinaphex
f318f4a1a9 (MSVC) Buildfix 2018-11-19 04:23:20 +01:00
natinusala
d35f747b5a menu_animation: add menu_timer system 2018-11-13 14:33:32 +01:00
natinusala
158ddc0b2a New menu driver : ozone (Nintendo Switch lookalike) 2018-10-26 13:24:32 +02:00
twinaphex
63eff7f236 Create menu_animation_get_delta_time 2018-10-17 06:55:49 +02:00
twinaphex
4692e95fd8 Refactor 'kill by tag' and 'kill by subject' 2018-10-17 06:49:24 +02:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
7d12eb4a51 (WASAPI) Compiles now as C++ as well as C 2017-09-28 18:47:33 +02:00
Higor Eurípedes
26a9648c4f (menu_animation) Detect when defrag is really needed 2017-08-12 22:30:22 -03:00