Commit Graph

60 Commits

Author SHA1 Message Date
twinaphex
541c9a2066 Refactor menu_animation.c 2015-09-25 22:24:07 +02:00
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex
f74eeeb464 Turn menu_animation_ticker_generic into static function 2015-09-06 16:36:38 +02:00
Alcaro
a5ee1cb22d Shut up another sign warning. 2015-09-06 16:18:54 +02:00
twinaphex
c62e4aa761 (menu_animation.c) cast str_len to size_t 2015-09-06 16:14:11 +02:00
Twinaphex
3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex
33240511da More CXX_BUILD fixes 2015-09-06 04:22:30 +02:00
twinaphex
0ba87ae378 Some CXX_BUILD fixes 2015-09-06 04:18:26 +02:00
twinaphex
8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex
d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex
0077304833 Cleanups 2015-09-04 21:27:14 +02:00
twinaphex
b09f43ab3a Cleanups pt. 2 2015-08-21 04:03:59 +02:00
Higor Eurípedes
b217bbad24 (menu_animation) Create menu_animation_ticker_generic 2015-07-15 20:56:25 -03:00
twinaphex
2f93e502df (menu_animation.c) Signed/unsigned mismatch fix 2015-06-26 12:42:57 +02:00
Higor Eurípedes
f167a416f1 (menu_animation) Add tween tagging support 2015-06-23 13:27:53 -03:00
Higor Eurípedes
5d8519c814 (menu_animation) Delay realloc() by holding an index to the first dead animation 2015-06-23 13:27:53 -03:00
Higor Eurípedes
4734e0aa85 (menu_animation) Simplify menu_animation_iterate() 2015-06-22 17:44:29 -03:00
Higor Eurípedes
e6a2c3102d (menu_animation) Avoid pushing dead animation subjects 2015-06-22 17:44:29 -03:00
twinaphex
1834084567 (Menu) Cleanups 2015-06-22 02:26:55 +02:00
Higor Eurípedes
b96ce78b3e (menu_animation) Fix missing menu_animation_kill_by_subject() definition 2015-06-15 15:01:12 -03:00
twinaphex
0c4ac61b38 (Menu) Cleanups 2015-06-15 17:34:12 +02:00
twinaphex
58d7c0fd3b Move some more variables to menu_animation_t 2015-06-15 01:50:57 +02:00
twinaphex
74fe13d805 (menu_animation.c) Style nits 2015-06-13 23:31:01 +02:00
twinaphex
208fcf7daf Change name of parameter to 's' 2015-06-13 23:27:09 +02:00
Twinaphex
3c82066c59 (menu_animation.c) Cleanup unused variables 2015-06-13 23:25:51 +02:00
twinaphex
bff61a9485 (Menu) Create menu_animation_get_ptr 2015-06-13 23:23:29 +02:00
Higor Eurípedes
548f9b7f4c Revert "(menu_animation) Add menu_animation_get_free_slot()"
This reverts commit 003f6d3bde.

# Conflicts:
#	menu/menu_animation.c
2015-06-13 00:41:21 -03:00
Higor Eurípedes
b27fb265d4 Revert "(menu_animation) Use linked lists instead of array"
This reverts commit 60fdc3139d.
2015-06-13 00:39:09 -03:00
Higor Eurípedes
60fdc3139d (menu_animation) Use linked lists instead of array 2015-06-12 23:45:19 -03:00
Higor Eurípedes
969ad47755 (menu_animation) Set tween->alive earlier 2015-06-12 23:45:18 -03:00
Higor Eurípedes
0401606615 (menu_animation) Add menu_animation_kill_by_subject() 2015-06-12 20:28:58 -03:00
Higor Eurípedes
003f6d3bde (menu_animation) Add menu_animation_get_free_slot() 2015-06-12 20:28:58 -03:00
twinaphex
edc7f21cfe Cleanups 2015-06-05 18:22:15 +02:00
twinaphex
a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00
twinaphex
73d5e8a41b (PS3) Build fix and fix warnings 2015-05-09 17:53:03 +02:00
twinaphex
7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex
6e48f3d2d2 Take general.h header dependency out of menu_animation.c 2015-03-15 03:26:09 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
6694d813e3 Change menu_animation_update returntype to bool 2015-03-12 19:29:43 +01:00
twinaphex
b5b59608dd Add three ways to indicate that the menu should update video -
(1) an animation is active, (2) a label has its contents updated (can be a message ticker or say an FPS monitor label being constantly updated, and (3) the menu framebuffer is 'dirty' (meaning its contents has changed and therefore we need to upload it again to the GPU.
2015-03-08 16:55:25 +01:00
twinaphex
e86efd320c Create g_runloop.frame.video.current.menu.is_animated and
g_runloop.frame.video.current.menu.framebuf_dirty - will be used
to inform processes or runloops outside of RA's runloop that video update
needs to happen because of animations or video state changes
occurring.
2015-03-07 17:16:41 +01:00
Lioncash
55e9c2b593 Apply static to some local-only functions 2015-02-13 09:54:45 -05:00
twinaphex
8f77b7d52a (Menu) Cleanups pt. 2 2015-02-11 21:29:14 +01:00
twinaphex
00cd281a1f Move menu_ticker_line to menu_animation.c 2015-02-11 18:52:59 +01:00
twinaphex
436fe5150d (menu_animation.c) subject does not need to be freed 2015-02-11 01:26:33 +01:00
twinaphex
37a8e0ef85 Improve menu_animation_free 2015-02-11 01:22:15 +01:00
twinaphex
a85908c8f9 (Menu) Refactor easing functions 2015-02-11 01:15:16 +01:00
twinaphex
46003314a8 Refactor menu_animation.c 2015-02-11 00:40:18 +01:00
twinaphex
13a87d48fe Refactor tweens_push 2015-02-10 23:59:16 +01:00
twinaphex
9a839fce2f Pass numtweens as pointer 2015-02-10 23:49:26 +01:00