# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1264566963 0 # Node ID 70697641fca3fb7c82fe9d0badc52fc1113576e5 # Parent 5bb52a43f48b2619be274c3dcb131664dfe6f7cf Adding the correct FIFE header to rio_de_hola and pychan_demo files. diff -r 5bb52a43f48b -r 70697641fca3 demos/pychan_demo/dynamic.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/pychan_demo/settings.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/pychan_demo/sliders.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/pychan_demo/styling.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/run.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/agents/agent.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/agents/beekeeper.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/agents/cloud.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/agents/girl.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/agents/hero.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/common/common.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/common/eventlistenerbase.py --- 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): diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/scripts/world.py --- 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 diff -r 5bb52a43f48b -r 70697641fca3 demos/rio_de_hola/settings.py --- 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