Mercurial > fife-parpg
changeset 395:70697641fca3
Adding the correct FIFE header to rio_de_hola and pychan_demo files.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 27 Jan 2010 04:36:03 +0000 |
parents | 5bb52a43f48b |
children | 81641655bc38 |
files | demos/pychan_demo/dynamic.py demos/pychan_demo/settings.py demos/pychan_demo/sliders.py demos/pychan_demo/styling.py demos/rio_de_hola/run.py demos/rio_de_hola/scripts/agents/agent.py demos/rio_de_hola/scripts/agents/beekeeper.py demos/rio_de_hola/scripts/agents/cloud.py demos/rio_de_hola/scripts/agents/girl.py demos/rio_de_hola/scripts/agents/hero.py demos/rio_de_hola/scripts/common/common.py demos/rio_de_hola/scripts/common/eventlistenerbase.py demos/rio_de_hola/scripts/world.py demos/rio_de_hola/settings.py |
diffstat | 14 files changed, 315 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/demos/pychan_demo/dynamic.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/pychan_demo/dynamic.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,5 +1,26 @@ # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from fife.extensions import pychan from pychan_test import PyChanExample
--- a/demos/pychan_demo/settings.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/pychan_demo/settings.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + BitsPerPixel = 0 FullScreen = 0 InitialVolume = 5
--- a/demos/pychan_demo/sliders.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/pychan_demo/sliders.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,5 +1,26 @@ # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from pychan_test import PyChanExample from fife.extensions import pychan
--- a/demos/pychan_demo/styling.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/pychan_demo/styling.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,5 +1,26 @@ # -*- coding: utf-8 -*- +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from fife import fife from fife.extensions import pychan
--- a/demos/rio_de_hola/run.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/run.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,5 +1,27 @@ #!/usr/bin/env python -# coding: utf-8 + +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### # This is the rio de hola client for FIFE. import sys, os, re, math, random, shutil
--- a/demos/rio_de_hola/scripts/agents/agent.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/agents/agent.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from fife import fife from scripts.common.common import ProgrammingError
--- a/demos/rio_de_hola/scripts/agents/beekeeper.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/agents/beekeeper.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from agent import Agent from fife import fife import random
--- a/demos/rio_de_hola/scripts/agents/cloud.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/agents/cloud.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from agent import Agent from fife import fife import random
--- a/demos/rio_de_hola/scripts/agents/girl.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/agents/girl.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from agent import Agent from fife import fife from settings import Setting
--- a/demos/rio_de_hola/scripts/agents/hero.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/agents/hero.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import random from agent import Agent from settings import Setting
--- a/demos/rio_de_hola/scripts/common/common.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/common/common.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + class ProgrammingError(Exception): pass
--- a/demos/rio_de_hola/scripts/common/eventlistenerbase.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/common/eventlistenerbase.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from fife import fife class EventListenerBase(fife.IKeyListener, fife.ICommandListener, fife.IMouseListener, fife.ConsoleExecuter):
--- a/demos/rio_de_hola/scripts/world.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/scripts/world.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,4 +1,26 @@ # -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + from fife import fife import math, random from fife.extensions import pychan
--- a/demos/rio_de_hola/settings.py Tue Jan 26 16:53:51 2010 +0000 +++ b/demos/rio_de_hola/settings.py Wed Jan 27 04:36:03 2010 +0000 @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- + +# #################################################################### +# Copyright (C) 2005-2009 by the FIFE team +# http://www.fifengine.de +# This file is part of FIFE. +# +# FIFE is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# #################################################################### + import shutil from fife.extensions import pychan import os