-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcreaturesImage.cpp
More file actions
39 lines (33 loc) · 1.41 KB
/
Copy pathcreaturesImage.cpp
File metadata and controls
39 lines (33 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* creaturesImage.cpp
* openc2e
*
* Created by Alyssa Milburn on Sun Jun 06 2004.
* Copyright (c) 2004-2008 Alyssa Milburn. All rights reserved.
*
* This library 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 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.
*
*/
#include "creaturesImage.h"
#include "exceptions.h"
uint8 *creaturesImage::getCustomPalette() {
throw creaturesException("Internal error: Tried to get a custom palette of a sprite which doesn't support that.");
}
bool creaturesImage::transparentAt(unsigned int frame, unsigned int x, unsigned int y) {
return false;
}
boost::shared_ptr<creaturesImage> creaturesImage::mutableCopy() {
throw creaturesException("Internal error: Tried to make a mutable copy of a sprite which doesn't support that.");
}
void creaturesImage::tint(unsigned char r, unsigned char g, unsigned char b, unsigned char rotation, unsigned char swap) {
throw creaturesException("Internal error: Tried to tint a sprite which doesn't support that.");
}
/* vim: set noet: */