Mercurial > fife-parpg
comparison engine/core/video/video.i @ 394:5bb52a43f48b
Fixed a small issue when building with scons on windows. If you have another version of mingw in PATH it would use that one instead.
Also updated the a couple SWIG interfaces to handle simple output parameters as described in ticket 340.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 26 Jan 2010 16:53:51 +0000 |
parents | 51cc05d862f2 |
children | a8bb57884723 |
comparison
equal
deleted
inserted
replaced
393:d819a70949d2 | 394:5bb52a43f48b |
---|---|
37 namespace FIFE { | 37 namespace FIFE { |
38 class Pool; | 38 class Pool; |
39 class Point; | 39 class Point; |
40 class ResourceLocation; | 40 class ResourceLocation; |
41 | 41 |
42 %apply uint8_t *OUTPUT { uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a }; | |
43 | |
42 class AbstractImage { | 44 class AbstractImage { |
43 public: | 45 public: |
44 virtual ~AbstractImage() {} | 46 virtual ~AbstractImage() {} |
45 virtual SDL_Surface* getSurface() = 0; | 47 virtual SDL_Surface* getSurface() = 0; |
46 virtual unsigned int getWidth() const = 0; | 48 virtual unsigned int getWidth() const = 0; |