Commit Graph

155 Commits

Author SHA1 Message Date
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
Higor Eurípedes
9f760af6c6 Menu improvements (#5288)
* (menu_animation) Stop KILL_BY_SUBJECT asap

* (xmb) Don't query mouse/pointer state so many times per frame
2017-08-12 22:53:56 +02:00
twinaphex
22139dc4a0 Turn menu_animation_ctx_tag into typedef 2017-08-11 01:16:21 +02:00
Higor Eurípedes
63c0cae326 (xmb) Defragment and shrink tween list after updates 2017-08-08 22:37:37 -03:00
Higor Eurípedes
c0cb042998 (xmb) Improve responsiveness while browsing horizontally 2017-08-08 21:05:00 -03:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
ec370d54b2 Cleanups 2017-01-17 16:55:34 +01:00
twinaphex
da044da3b4 Create menu_animation_push 2017-01-17 16:53:06 +01:00
twinaphex
2273b1d05f (menu_animation.c) Create more separate functions 2017-01-17 16:40:48 +01:00
twinaphex
df783daab9 Create menu_animation_get_ideal_delta_time 2017-01-17 16:37:03 +01:00
twinaphex
bfb124a60e Create menu_animation_ticker 2017-01-17 16:29:23 +01:00
twinaphex
f82e51e5e8 (menu_animation.c) Cleanup 2017-01-17 14:16:49 +01:00
twinaphex
3c0538a1ee (menu_animation.c) Cleanups 2017-01-17 14:15:43 +01:00
twinaphex
02dfda3ad3 Create menu_animation_update 2017-01-09 16:39:09 +01:00
Jean-André Santoni
6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02:00
twinaphex
6f06b0ad59 menu_animation.c - get rid of void * parameter 2016-10-19 04:52:38 +02:00