-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from deathsave/refactor/mpf-0.57.0
Refactor/mpf 0.57.0
- Loading branch information
Showing
79 changed files
with
700 additions
and
700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.11.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# both mpf and mpf-mc, smart virtual, | ||
# text only UI and force loading / no cache | ||
mpf: mpf both -Xtav | ||
monitor: mpf monitor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
if ! command -v foreman &> /dev/null | ||
then | ||
echo "Installing foreman..." | ||
gem install foreman | ||
fi | ||
foreman start --procfile Procfile.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# TODO: production config once machine is ready for it | ||
#xterm -e "sleep 5 && cd /home/unrared/grand-prix && mpf both -c production" | ||
|
||
# temporary solution to use dev config | ||
# and smart vitual platform | ||
CMD="mpf both -Xtav -c development" | ||
xterm -hold -e "source ~/.bash_profile && cd ~/grand-prix && bash -c '$CMD'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
if [ -z "$1" ]; then | ||
FILES="tests/test_*.py" | ||
else | ||
FILES="$1" | ||
fi | ||
python -m unittest -v $FILES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#config_version=6 | ||
|
||
config: | ||
- common/assets.yaml | ||
- common/devices/displays.yaml | ||
- development/controller.yaml | ||
- development/display.yaml | ||
- common/devices/flippers.yaml | ||
- common/devices/ball_devices.yaml | ||
- common/devices/switches.yaml | ||
- common/devices/coils.yaml | ||
- common/devices/autofire_coils.yaml | ||
- common/devices/leds.yaml | ||
- common/devices/ball_devices.yaml | ||
- common/playfields.yaml | ||
- common/ball_saves.yaml | ||
- common/game.yaml | ||
- common/shots.yaml | ||
- common/animations.yaml | ||
- common/widgets.yaml | ||
- common/slides.yaml | ||
- common/sounds.yaml | ||
- common/players.yaml | ||
- common/queue_relay.yaml | ||
- common/modes.yaml | ||
- common/keyboard.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
animations: | ||
scroll_right: | ||
- property: x | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
assets: | ||
sounds: | ||
default: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
ball_saves: | ||
default: | ||
active_time: 10s | ||
|
2 changes: 1 addition & 1 deletion
2
config/global/devices/autofire_coils.yaml → config/common/devices/autofire_coils.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
autofire_coils: | ||
left_sling: | ||
coil: c_slingshot_1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
config/global/devices/coils.yaml → config/common/devices/coils.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
coils: | ||
c_trough_eject: | ||
number: 0-2 | ||
|
2 changes: 1 addition & 1 deletion
2
config/global/devices/displays.yaml → config/common/devices/displays.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
displays: | ||
dmd: | ||
width: 128 | ||
|
2 changes: 1 addition & 1 deletion
2
config/global/devices/flippers.yaml → config/common/devices/flippers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
flippers: | ||
left_flipper: | ||
main_coil: c_flipper_main_1 | ||
|
2 changes: 1 addition & 1 deletion
2
config/global/devices/leds.yaml → config/common/devices/leds.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
lights: | ||
l_spinner: | ||
type: grb | ||
|
2 changes: 1 addition & 1 deletion
2
config/global/devices/switches.yaml → config/common/devices/switches.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
# all switches left to right | ||
switches: | ||
s_tilt: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
game: | ||
max_players: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
# For external control / debugging | ||
keyboard: | ||
# Left Flipper | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
modes: | ||
# dont need attract here (built-in) | ||
- initialize | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
config/global/playfields.yaml → config/common/playfields.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
playfields: | ||
playfield: | ||
tags: default | ||
default_source_device: bd_shooter_lane | ||
enable_ball_search: true | ||
ball_search_timeout: 15s | ||
ball_search_wait_after_iteration: 10s | ||
ball_search_interval: 250ms | ||
default_source_device: bd_shooter_lane |
2 changes: 1 addition & 1 deletion
2
config/global/queue_relay.yaml → config/common/queue_relay.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#config_version=5 | ||
#config_version=6 | ||
queue_relay_player: | ||
game_ending: | ||
post: start_game_over | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#config_version=6 |
Oops, something went wrong.