Diff of /gemrb/plugins/BAMImporter/BAMFont.h [000000] .. [1c3b2d]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/gemrb/plugins/BAMImporter/BAMFont.h
@@ -0,0 +1,46 @@
+/* GemRB - Infinity Engine Emulator
+ * Copyright (C) 2011 The GemRB Project
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ *
+ */
+
+//This class represents game fonts. Fonts are special .bam files.
+//Each cycle stands for a letter. except for numerical or "multibyte" fonts
+
+#ifndef __GemRB__BAMFont__
+#define __GemRB__BAMFont__
+
+#include "AnimationFactory.h"
+#include "Font.h"
+
+namespace GemRB {
+
+class BAMFont : public Font
+{
+private:
+	AnimationFactory* factory;
+
+public:
+	BAMFont(AnimationFactory* af, int* baseline = NULL);
+	~BAMFont(void);
+
+	const Sprite2D* GetCharSprite(ieWord chr) const;
+};
+
+}
+
+#endif /* defined(__GemRB__BAMFont__) */