Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1:/tmp/cvs-serv2860
Modified Files:
genericitem.py genesisitem.py mameitem.py snesitem.py
Log Message:
a patch from Sylvian to use the new set_url stuff
Index: genericitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/genericitem.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** genericitem.py 14 Jan 2004 18:29:49 -0000 1.5
--- genericitem.py 19 Jan 2004 21:32:58 -0000 1.6
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.6 2004/01/19 21:32:58 mikeruelle
+ # a patch from Sylvian to use the new set_url stuff
+ #
# Revision 1.5 2004/01/14 18:29:49 mikeruelle
# .
***************
*** 71,81 ****
class GenericItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self)
! self.type = 'generic' # fix value
! self.mode = 'file' # file, dvd or vcd
! self.filename = file
self.name = os.path.splitext(os.path.basename(file))[0]
- self.parent = parent
# find image for this file
--- 74,83 ----
class GenericItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self, parent)
! self.type = 'generic' # fix value
! self.set_url(file, info=True)
! self.parent = parent
self.name = os.path.splitext(os.path.basename(file))[0]
# find image for this file
Index: genesisitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/genesisitem.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** genesisitem.py 14 Jan 2004 18:29:49 -0000 1.6
--- genesisitem.py 19 Jan 2004 21:33:02 -0000 1.7
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2004/01/19 21:33:02 mikeruelle
+ # a patch from Sylvian to use the new set_url stuff
+ #
# Revision 1.6 2004/01/14 18:29:49 mikeruelle
# .
***************
*** 77,84 ****
class GenesisItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self)
! self.type = 'genesis' # fix value
! self.mode = 'file' # file, dvd or vcd
! self.filename = file
romName = ''
--- 80,87 ----
class GenesisItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self, parent)
! self.type = 'genesis' # fix value
! self.set_url(file, info=True)
! self.parent = parent
romName = ''
Index: mameitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/mameitem.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** mameitem.py 14 Jan 2004 18:29:49 -0000 1.16
--- mameitem.py 19 Jan 2004 21:33:02 -0000 1.17
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.17 2004/01/19 21:33:02 mikeruelle
+ # a patch from Sylvian to use the new set_url stuff
+ #
# Revision 1.16 2004/01/14 18:29:49 mikeruelle
# .
***************
*** 75,85 ****
class MameItem(Item):
def __init__(self, title, file, image = None, cmd = None, args = None, imgpath =
None, parent = None):
! Item.__init__(self)
self.type = 'mame' # fix value
! self.mode = 'file' # file, dvd or vcd
self.image = image
! self.name = title
! self.filename = file
!
self.parent = parent
--- 78,86 ----
class MameItem(Item):
def __init__(self, title, file, image = None, cmd = None, args = None, imgpath =
None, parent = None):
! Item.__init__(self, parent)
self.type = 'mame' # fix value
! self.set_url(file, info=True)
self.image = image
! self.name = title
self.parent = parent
***************
*** 108,114 ****
romname = os.path.basename(file)
romdir = os.path.dirname(file)
! command = '%s -rp %s "%s"' % (command, romdir, romname)
self.command = command
self.game_player = game.get_singleton()
--- 109,116 ----
romname = os.path.basename(file)
romdir = os.path.dirname(file)
! command = '%s %s' % (command, file)
self.command = command
+ print "Command for MAME : %s" % self.command
self.game_player = game.get_singleton()
Index: snesitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/snesitem.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** snesitem.py 14 Jan 2004 18:29:49 -0000 1.15
--- snesitem.py 19 Jan 2004 21:33:02 -0000 1.16
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2004/01/19 21:33:02 mikeruelle
+ # a patch from Sylvian to use the new set_url stuff
+ #
# Revision 1.15 2004/01/14 18:29:49 mikeruelle
# .
***************
*** 221,229 ****
class SnesItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self)
self.type = 'snes' # fix value
! self.mode = 'file' # file, dvd or vcd
! self.filename = file
!
snesFile = None
unzipped = unzip_rom(file, snesromExtensions)
--- 224,233 ----
class SnesItem(Item):
def __init__(self, file, cmd = None, args = None, imgpath = None, parent = None):
! Item.__init__(self, parent)
self.type = 'snes' # fix value
! self.set_url(file, info=True)
! self.parent = parent
! romName = ''
!
snesFile = None
unzipped = unzip_rom(file, snesromExtensions)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog