142 Commits

Author SHA1 Message Date
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
twinaphex
9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex
35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf3844e20ba8021f1f40c3e59f64b69772.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex
0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex
b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex
4c7ae72c62 Some C89_BUILD fixes 2016-02-25 22:16:25 +01:00
twinaphex
6b0e0adf27 Rename IDEAL_DT 2016-02-25 16:06:23 +01:00
twinaphex
1d84894e09 Create MENU_ANIMATION_CTL_IDEAL_DELTA_TIME_GET 2016-02-25 16:05:30 +01:00
twinaphex
c32e828c6f Cleanups 2016-02-25 15:47:03 +01:00
twinaphex
afcb3f1e5d Create MENU_ANIMATION_CTL_PUSH 2016-02-25 15:44:30 +01:00
twinaphex
835e5e751b Move variables to menu_animation_ctl as static local variables 2016-02-25 15:25:16 +01:00
twinaphex
b5f4332e74 Create MENU_ANIMATION_CTL_TICKER 2016-02-25 15:19:33 +01:00
twinaphex
5dbca80ed8 Add MENU_ANIMATION_CTL_KILL_BY_SUBJECT 2016-02-25 15:05:18 +01:00