Skip to content

Commit

Permalink
4stAttack-2.1.2.tar.gz
Browse files Browse the repository at this point in the history
2002-09-23 18:32:02 GMT
  • Loading branch information
Jeroen Vloothuis authored and 3D1T0R committed Nov 3, 2018
1 parent dfb4c64 commit e266f78
Show file tree
Hide file tree
Showing 39 changed files with 10 additions and 13 deletions.
7 changes: 3 additions & 4 deletions 4stattack
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh
FAHOME=/usr/share/forcedattack2
if [ ! -f $HOME/.4stattackrc ]; then
cp $FAHOME/settings.ini $HOME/.4stattackrc
if [ ! -f ~/.4stattackrc ]; then
cp $FAHOME/settings.ini ~/.4stattackrc
fi
if [ -x $FAHOME/4stattack.py ]; then
$FAHOME/4stattack.py -ini $HOME/.4stattackrc

$FAHOME/4stattack.py -ini ~/.4stattackrc
fi

Binary file removed animator.pyo
Binary file not shown.
Binary file removed board.pyo
Binary file not shown.
Binary file removed creditsscreen.pyo
Binary file not shown.
Binary file removed endgamedialog.pyo
Binary file not shown.
Binary file removed endscreen.pyo
Binary file not shown.
Binary file removed game.pyo
Binary file not shown.
Binary file removed gamelog.pyo
Binary file not shown.
1 change: 0 additions & 1 deletion gamescreen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import gui
import pygame
from quit import *
from game import *
Expand Down
Binary file removed gamescreen.pyo
Binary file not shown.
1 change: 1 addition & 0 deletions gui/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Used for some including
Binary file removed gui/__init__.pyo
Binary file not shown.
Binary file removed gui/button.pyo
Binary file not shown.
Binary file removed gui/checkbox.pyo
Binary file not shown.
Binary file removed gui/dialog.pyo
Binary file not shown.
Binary file removed gui/editfield.pyo
Binary file not shown.
Binary file removed gui/image.pyo
Binary file not shown.
Binary file removed gui/label.pyo
Binary file not shown.
Binary file removed gui/widget.pyo
Binary file not shown.
Binary file removed gui/widget_manager.pyo
Binary file not shown.
Binary file removed inisettings.pyo
Binary file not shown.
Binary file removed multiplayerscreen.pyo
Binary file not shown.
Binary file removed players/__init__.pyo
Binary file not shown.
Binary file removed players/human.pyo
Binary file not shown.
Binary file removed players/minmax.pyo
Binary file not shown.
Binary file removed players/multiplayer.pyo
Binary file not shown.
Binary file removed players/player.pyo
Binary file not shown.
Binary file removed players/randomai.pyo
Binary file not shown.
Binary file removed players/strategic.pyo
Binary file not shown.
Binary file removed players/weighted.pyo
Binary file not shown.
Binary file removed quit.pyo
Binary file not shown.
Binary file removed rules.pyo
Binary file not shown.
Binary file removed scoremap.pyo
Binary file not shown.
7 changes: 3 additions & 4 deletions settings.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

[video]
fullscreen=yes
fullscreen=no
resolution=1024x768

[game]
Expand All @@ -10,8 +9,8 @@ ai_level=2
name=clean

[path]
data=./data
data=data

[sound]
effects=no
music=yes
music=no
4 changes: 2 additions & 2 deletions settingsscreen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import gui
import gui
import pygame
from quit import *
from game import *
Expand Down Expand Up @@ -68,7 +68,7 @@ def music(self, trigger, event):

if not (self.ini_settings.settings['sound']['music'] == 'yes'):
self.ini_settings.settings['sound']['music'] = 'yes'
pygame.mixer.music.load( os.path.join(self.ini_settings.settings['path']['data'], 'music', 'definition.xm') )
pygame.mixer.music.load( os.path.join(self.ini_settings.settings['path']['data'], 'music', '4stattack.ogg') )
pygame.mixer.music.play(-1)
else:
self.ini_settings.settings['sound']['music'] = 'no'
Expand Down
Binary file removed settingsscreen.pyo
Binary file not shown.
1 change: 0 additions & 1 deletion startscreen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import gui
import pygame
from quit import *
from game import *
Expand Down
Binary file removed startscreen.pyo
Binary file not shown.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.1
2.1.2

0 comments on commit e266f78

Please sign in to comment.