Mercurial > fife-parpg
annotate engine/core/view/renderers/blockinginforenderer.i @ 680:60621d858548
* Fixed the image/animation functions in GenericRenderer and LightRenderer. The functions now consider the camera zoom level.
* Added the forgotten LightEdit plugin for the editor.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 21 Nov 2010 15:58:14 +0000 |
parents | aa813b967806 |
children |
rev | line source |
---|---|
580
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
1 /*************************************************************************** |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
2 * Copyright (C) 2005-2008 by the FIFE team * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
3 * http://www.fifengine.de * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
4 * This file is part of FIFE. * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
5 * * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
6 * FIFE is free software; you can redistribute it and/or * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
7 * modify it under the terms of the GNU Lesser General Public * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
8 * License as published by the Free Software Foundation; either * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
9 * version 2.1 of the License, or (at your option) any later version. * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
10 * * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
11 * This library is distributed in the hope that it will be useful, * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
14 * Lesser General Public License for more details. * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
15 * * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
16 * You should have received a copy of the GNU Lesser General Public * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
17 * License along with this library; if not, write to the * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
18 * Free Software Foundation, Inc., * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
20 ***************************************************************************/ |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
21 |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
22 %module fife |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
23 %{ |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
24 #include "view/renderers/blockinginforenderer.h" |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
25 %} |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
26 |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
27 namespace FIFE { |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
28 class RenderBackend; |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
29 |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
30 class BlockingInfoRenderer: public RendererBase { |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
31 public: |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
32 virtual ~BlockingInfoRenderer(); |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
33 std::string getName(); |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
34 void setColor(Uint8 r, Uint8 g, Uint8 b); |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
35 |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
36 static BlockingInfoRenderer* getInstance(IRendererContainer* cnt); |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
37 |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
38 private: |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
39 BlockingInfoRenderer(RenderBackend* renderbackend, int position); |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
40 }; |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
41 } |
aa813b967806
* I forgot the new swig files :/
helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
parents:
diff
changeset
|
42 |