Commit Graph

837 Commits

Author SHA1 Message Date
twinaphex
a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex
73e621ad32 Do only one call to RARCH_MENU_CTL_IS_ALIVE 2017-01-22 17:25:32 +01:00
twinaphex
985c6a4ed2 Create menu_driver_render 2017-01-22 17:19:10 +01:00
twinaphex
b04056db11 Create bsv_movie_set_frame_start/bsv_movie_set_frame_end 2017-01-22 16:59:55 +01:00
twinaphex
a1594615f0 Create runloop_get_status 2017-01-22 16:22:20 +01:00
twinaphex
768ce0854c Make driver_set_nonblock_state a public function 2017-01-22 12:47:17 +01:00
twinaphex
6a5ce0fce9 Turn runloop_netplay_pause into macro 2017-01-22 01:58:08 +01:00
twinaphex
913a5ba5ba (runloop.c) Get rid of some runloop_ctl calls 2017-01-22 01:55:19 +01:00
Brad Parker
a220815b40 fix race condition in frame count with video_threaded on 2017-01-17 18:42:58 -05:00
twinaphex
0c814f767c Remove configuration.h header dependencies 2017-01-17 19:39:12 +01:00
twinaphex
ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
twinaphex
c1932ff8ff Cleanups 2017-01-11 13:18:24 +01:00
twinaphex
5875562dce Minor cleanup 2017-01-11 13:14:44 +01:00
twinaphex
640d7e69f3 Make menu toggle binds work again - still latching issues
but same as before so no regression
2017-01-11 11:48:26 +01:00
twinaphex
da03e81454 (runloop.c) Cleanups 2017-01-05 08:16:58 +01:00
twinaphex
b2608d8cf6 Reduce ifdefs 2017-01-05 08:14:56 +01:00
twinaphex
b13d069578 - Silence Coverity warning in platform_linux.c
- Don't do settings lookup when calling runloop_msg_queue_push
2017-01-03 18:47:34 +01:00
twinaphex
faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
Alcaro
f62ad35238 Shut up some warnings 2017-01-02 02:16:29 +01:00
twinaphex
dd8cae38ad Simplify RUNLOOP_CTL_MESSAGE_QUEUE_PULL 2016-12-23 00:00:40 +01:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
0d8f7b64f5 Remove some RUNLOOP_CTL actions 2016-12-22 19:21:42 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Gregor Richards
45d732a014 New sync system
The idea:
   * Use a fixed number of delay_frames (eventually to be fixed at 120,
     currently still uses the config variable, 0 will still be an option)
   * Determine how long it takes to simulate a frame.
   * Stall only if resimulating the intervening frames would be
     sufficiently annoying (currently fixed at three frames worth of
     time)

Because clients always try to catch up, the actual frame delay works out
automatically to be minimally zero and maximally the latency. If one
client is underpowered but the other is fine, the powerful one will
automatically take up the slack. Seems like the most reasonable system.
2016-12-18 19:28:43 -05:00
Gregor Richards
bade067d9a Support for catching up if the netplay peer is ahead of us. 2016-12-18 19:28:43 -05:00
Gregor Richards
262d77546b Adding game/watch key
Adding a key to toggle between playing and spectating. This key takes
the place of the previous flip key, although player flipping does
continue to work (and must be rebound if you still want it)
2016-12-18 19:28:42 -05:00
twinaphex
b087a7441a Fix game focus toggle 2016-12-11 03:52:08 +01:00
twinaphex
9957099bf0 Add 'unified menu controls' setting 2016-12-11 01:29:53 +01:00
twinaphex
584e93be4f Cleanup runloop.h header 2016-12-10 07:21:34 +01:00
twinaphex
4971fc53b5 Delete unused runloop_msg_queue_pull 2016-12-07 08:27:06 +01:00
twinaphex
d04309fc05 Buildfix 2016-12-07 06:16:12 +01:00
twinaphex
31a7f64f2c Cleanups 2016-12-07 05:41:08 +01:00
twinaphex
f6dcfd21cf (MSVC) MSVC build fixes 2016-12-07 05:39:27 +01:00
twinaphex
e3620278a8 Add HAVE_MENU ifdefs for menu code 2016-12-07 03:16:34 +01:00
twinaphex
4b1c24adf9 - Move input flushing hack to input_keys_pressed functions
- Move menu binding state hack to menu_input_keys_pressed
2016-12-06 20:50:29 +01:00
twinaphex
77df0ef3ae Rebase input_key_pressed/input_menu_keys_pressed 2016-12-06 18:12:35 +01:00
twinaphex
44324ec62f (runloop.c) Cleanups 2016-12-06 18:05:59 +01:00
twinaphex
b3aef50dff Move update_firmware_status to tasks/task_content.c 2016-12-06 08:28:26 +01:00
twinaphex
a4e1be2cdb Simplify runloop_iterate 2016-12-06 08:22:52 +01:00
Twinaphex
3a399340e3 Merge pull request #4169 from AdrianoML/kbmquake
Changes to make keyboard and mouse games more playable
2016-12-06 07:21:20 +01:00
twinaphex
fad523ea3e Create runloop_check_cheevos 2016-12-06 06:32:47 +01:00
Adriano Moura
6b99eeaf88 Implements a hotkey for toggling mouse grabbing, hiding and hotkey blocking. Usefull for playing tyrquake with kb/m. 2016-12-06 03:32:28 -02:00
twinaphex
0a3bc133dd This can be safely removed 2016-12-06 05:17:00 +01:00
twinaphex
2b07cf0d41 update_firmware_status - Try to prevent Coverity warning 2016-12-05 19:03:06 +01:00
twinaphex
a5d3efcf9b (runloop.c) Style nits 2016-12-05 08:21:18 +01:00
twinaphex
46749fad65 Make runloop_iterate_time_to_exit function redundant 2016-12-05 08:16:47 +01:00
twinaphex
d3834bb795 Simplify runloop_iterate_time_to_exit 2016-12-05 07:11:38 +01:00
twinaphex
c98ef48860 (runloop.c) Get rid of 'default' case for switch 2016-12-05 07:08:34 +01:00
twinaphex
cc6b602f6a (runloop.c) runloop_iterate - cleanup 2016-12-05 06:55:09 +01:00
twinaphex
78005f22f6 (runloop.c) Cleanups 2016-12-05 06:51:53 +01:00