renamed all .cc to cpp and all .hh to .h
This commit is contained in:
parent
4af4fb2a53
commit
fd60abaa0c
41 changed files with 149 additions and 149 deletions
|
@ -15,11 +15,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "actor.hh"
|
||||
#include "engine.hh"
|
||||
#include "costume.hh"
|
||||
#include "sound.hh"
|
||||
#include "mixer.hh"
|
||||
#include "actor.h"
|
||||
#include "engine.h"
|
||||
#include "costume.h"
|
||||
#include "sound.h"
|
||||
#include "mixer.h"
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <SDL.h>
|
|
@ -15,12 +15,12 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef ACTOR_HH
|
||||
#define ACTOR_HH
|
||||
#ifndef ACTOR_H
|
||||
#define ACTOR_H
|
||||
|
||||
#include "color.hh"
|
||||
#include "vector3d.hh"
|
||||
#include "resource.hh"
|
||||
#include "color.h"
|
||||
#include "vector3d.h"
|
||||
#include "resource.h"
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
|
@ -19,9 +19,9 @@
|
|||
#include <cstring>
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include "bitmap.hh"
|
||||
#include "bits.hh"
|
||||
#include "debug.hh"
|
||||
#include "bitmap.h"
|
||||
#include "bits.h"
|
||||
#include "debug.h"
|
||||
|
||||
static void decompress_codec3(const char *compressed, char *result);
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef BITMAP_HH
|
||||
#define BITMAP_HH
|
||||
#ifndef BITMAP_H
|
||||
#define BITMAP_H
|
||||
|
||||
#include "resource.hh"
|
||||
#include "resource.h"
|
||||
#include <cstring>
|
||||
|
||||
class Bitmap : public Resource {
|
|
@ -15,12 +15,12 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef BITS_HH
|
||||
#define BITS_HH
|
||||
#ifndef BITS_H
|
||||
#define BITS_H
|
||||
|
||||
#include <SDL/SDL_byteorder.h>
|
||||
#include <stdint.h>
|
||||
#include "vector3d.hh"
|
||||
#include "vector3d.h"
|
||||
|
||||
inline uint8_t get_uint8(const char *data) {
|
||||
return *(reinterpret_cast<const unsigned char *>(data));
|
|
@ -15,8 +15,8 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef COLOR_HH
|
||||
#define COLOR_HH
|
||||
#ifndef COLOR_H
|
||||
#define COLOR_H
|
||||
|
||||
class Color {
|
||||
public:
|
|
@ -15,11 +15,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef COLORMAP_HH
|
||||
#define COLORMAP_HH
|
||||
#ifndef COLORMAP_H
|
||||
#define COLORMAP_H
|
||||
|
||||
#include "debug.hh"
|
||||
#include "resource.hh"
|
||||
#include "debug.h"
|
||||
#include "resource.h"
|
||||
#include <cstring>
|
||||
|
||||
class Colormap : public Resource {
|
|
@ -15,16 +15,16 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "costume.hh"
|
||||
#include "textsplit.hh"
|
||||
#include "debug.hh"
|
||||
#include "engine.hh"
|
||||
#include "colormap.hh"
|
||||
#include "keyframe.hh"
|
||||
#include "model.hh"
|
||||
#include "lua.hh"
|
||||
#include "sound.hh"
|
||||
#include "mixer.hh"
|
||||
#include "costume.h"
|
||||
#include "textsplit.h"
|
||||
#include "debug.h"
|
||||
#include "engine.h"
|
||||
#include "colormap.h"
|
||||
#include "keyframe.h"
|
||||
#include "model.h"
|
||||
#include "lua.h"
|
||||
#include "sound.h"
|
||||
#include "mixer.h"
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <map>
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef COSTUME_HH
|
||||
#define COSTUME_HH
|
||||
#ifndef COSTUME_H
|
||||
#define COSTUME_H
|
||||
|
||||
#include "resource.hh"
|
||||
#include "resource.h"
|
||||
|
||||
class TextSplitter;
|
||||
class Actor;
|
|
@ -15,7 +15,7 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "debug.hh"
|
||||
#include "debug.h"
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
|
@ -15,8 +15,8 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef DEBUG_HH
|
||||
#define DEBUG_HH
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
void warning(const char *fmt, ...);
|
||||
void error(const char *fmt, ...);
|
|
@ -15,11 +15,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "engine.hh"
|
||||
#include "scene.hh"
|
||||
#include "lua.hh"
|
||||
#include "colormap.hh"
|
||||
#include "actor.hh"
|
||||
#include "engine.h"
|
||||
#include "scene.h"
|
||||
#include "lua.h"
|
||||
#include "colormap.h"
|
||||
#include "actor.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include <SDL_timer.h>
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef ENGINE_HH
|
||||
#define ENGINE_HH
|
||||
#ifndef ENGINE_H
|
||||
#define ENGINE_H
|
||||
|
||||
#include "scene.hh"
|
||||
#include "scene.h"
|
||||
#include <cstdlib>
|
||||
#include <list>
|
||||
#include <SDL/SDL_keysym.h>
|
|
@ -1,11 +1,11 @@
|
|||
<META Generated by Grim Fandango><TITLE>Grim Fandango Dialog Transcript</TITLE>
|
||||
<P>Grim Fandango Dialog Transcript<BR>© LucasArts Entertainment Company LLC. All rights reserved.</P><BR>
|
||||
<META généré par Grim Fandango><TITLE>Transcription des dialogues de Grim Fandango</TITLE>
|
||||
<P>Transcription des dialogues de Grim Fandango<BR>© LucasArts Entertainment Company LLC. Tous droits réservés.</P><BR>
|
||||
<BR>
|
||||
<BR>
|
||||
<CENTER>(Introduction)</CENTER>
|
||||
<BR>
|
||||
<BR>
|
||||
<P><B>INT. Manny's Office DAY</B></P>
|
||||
<P><B>INT. Bureau de Manny JOUR</B></P>
|
||||
<BR>
|
||||
<CENTER><B>Manny</B></CENTER>
|
||||
<CENTER></CENTER>
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "keyframe.hh"
|
||||
#include "debug.hh"
|
||||
#include "bits.hh"
|
||||
#include "textsplit.hh"
|
||||
#include "keyframe.h"
|
||||
#include "debug.h"
|
||||
#include "bits.h"
|
||||
#include "textsplit.h"
|
||||
#include <cstring>
|
||||
|
||||
KeyframeAnim::KeyframeAnim(const char *filename, const char *data, int len) :
|
|
@ -15,12 +15,12 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef KEYFRAME_HH
|
||||
#define KEYFRAME_HH
|
||||
#ifndef KEYFRAME_H
|
||||
#define KEYFRAME_H
|
||||
|
||||
#include "vector3d.hh"
|
||||
#include "resource.hh"
|
||||
#include "model.hh"
|
||||
#include "vector3d.h"
|
||||
#include "resource.h"
|
||||
#include "model.h"
|
||||
|
||||
class TextSplitter;
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "lab.hh"
|
||||
#include "bits.hh"
|
||||
#include "lab.h"
|
||||
#include "bits.h"
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
|
@ -15,13 +15,13 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef LAB_HH
|
||||
#define LAB_HH
|
||||
#ifndef LAB_H
|
||||
#define LAB_H
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <stdint.h>
|
||||
#include "hash_map.hh"
|
||||
#include "hash_map.h"
|
||||
|
||||
class Block {
|
||||
public:
|
|
@ -15,9 +15,9 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "localize.hh"
|
||||
#include "registry.hh"
|
||||
#include "debug.hh"
|
||||
#include "localize.h"
|
||||
#include "registry.h"
|
||||
#include "debug.h"
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef LOCALIZE_HH
|
||||
#define LOCALIZE_HH
|
||||
#ifndef LOCALIZE_H
|
||||
#define LOCALIZE_H
|
||||
|
||||
#include "hash_map.hh"
|
||||
#include "hash_map.h"
|
||||
|
||||
class Localizer {
|
||||
public:
|
|
@ -15,17 +15,17 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "lua.hh"
|
||||
#include "resource.hh"
|
||||
#include "debug.hh"
|
||||
#include "actor.hh"
|
||||
#include "registry.hh"
|
||||
#include "localize.hh"
|
||||
#include "color.hh"
|
||||
#include "costume.hh"
|
||||
#include "engine.hh"
|
||||
#include "mixer.hh"
|
||||
#include "sound.hh"
|
||||
#include "lua.h"
|
||||
#include "resource.h"
|
||||
#include "debug.h"
|
||||
#include "actor.h"
|
||||
#include "registry.h"
|
||||
#include "localize.h"
|
||||
#include "color.h"
|
||||
#include "costume.h"
|
||||
#include "engine.h"
|
||||
#include "mixer.h"
|
||||
#include "sound.h"
|
||||
#include <SDL_keysym.h>
|
||||
#include <SDL_keyboard.h>
|
||||
#include <cstdio>
|
|
@ -18,13 +18,13 @@
|
|||
#include <SDL.h>
|
||||
#include <SDL_video.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include "bitmap.hh"
|
||||
#include "resource.hh"
|
||||
#include "debug.hh"
|
||||
#include "lua.hh"
|
||||
#include "registry.hh"
|
||||
#include "engine.hh"
|
||||
#include "mixer.hh"
|
||||
#include "bitmap.h"
|
||||
#include "resource.h"
|
||||
#include "debug.h"
|
||||
#include "lua.h"
|
||||
#include "registry.h"
|
||||
#include "engine.h"
|
||||
#include "mixer.h"
|
||||
#include <unistd.h>
|
||||
|
||||
static void saveRegistry() {
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "material.hh"
|
||||
#include "colormap.hh"
|
||||
#include "bits.hh"
|
||||
#include "debug.hh"
|
||||
#include "material.h"
|
||||
#include "colormap.h"
|
||||
#include "bits.h"
|
||||
#include "debug.h"
|
||||
|
||||
Material::Material(const char *filename, const char *data, int len,
|
||||
const Colormap &cmap) :
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef MATERIAL_HH
|
||||
#define MATERIAL_HH
|
||||
#ifndef MATERIAL_H
|
||||
#define MATERIAL_H
|
||||
|
||||
#include "resource.hh"
|
||||
#include "resource.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include <cstring>
|
|
@ -15,9 +15,9 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "mixer.hh"
|
||||
#include "sound.hh"
|
||||
#include "debug.hh"
|
||||
#include "mixer.h"
|
||||
#include "sound.h"
|
||||
#include "debug.h"
|
||||
#include <cstdlib>
|
||||
#include <SDL_audio.h>
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef MIXER_HH
|
||||
#define MIXER_HH
|
||||
#ifndef MIXER_H
|
||||
#define MIXER_H
|
||||
|
||||
#include "resource.hh"
|
||||
#include "resource.h"
|
||||
#include <list>
|
||||
#include <SDL/SDL_audio.h>
|
||||
|
|
@ -15,12 +15,12 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "model.hh"
|
||||
#include "bits.hh"
|
||||
#include "resource.hh"
|
||||
#include "material.hh"
|
||||
#include "debug.hh"
|
||||
#include "textsplit.hh"
|
||||
#include "model.h"
|
||||
#include "bits.h"
|
||||
#include "resource.h"
|
||||
#include "material.h"
|
||||
#include "debug.h"
|
||||
#include "textsplit.h"
|
||||
#include <cstring>
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
|
@ -15,11 +15,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef MODEL_HH
|
||||
#define MODEL_HH
|
||||
#ifndef MODEL_H
|
||||
#define MODEL_H
|
||||
|
||||
#include "vector3d.hh"
|
||||
#include "resource.hh"
|
||||
#include "vector3d.h"
|
||||
#include "resource.h"
|
||||
#include <cstring>
|
||||
|
||||
class Colormap;
|
|
@ -15,8 +15,8 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "registry.hh"
|
||||
#include "debug.hh"
|
||||
#include "registry.h"
|
||||
#include "debug.h"
|
||||
#include <cstdlib>
|
||||
|
||||
Registry::Registry() : dirty_(false) {
|
|
@ -15,16 +15,16 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "resource.hh"
|
||||
#include "registry.hh"
|
||||
#include "bitmap.hh"
|
||||
#include "colormap.hh"
|
||||
#include "costume.hh"
|
||||
#include "keyframe.hh"
|
||||
#include "material.hh"
|
||||
#include "model.hh"
|
||||
#include "sound.hh"
|
||||
#include "debug.hh"
|
||||
#include "resource.h"
|
||||
#include "registry.h"
|
||||
#include "bitmap.h"
|
||||
#include "colormap.h"
|
||||
#include "costume.h"
|
||||
#include "keyframe.h"
|
||||
#include "material.h"
|
||||
#include "model.h"
|
||||
#include "sound.h"
|
||||
#include "debug.h"
|
||||
#include <dirent.h>
|
||||
#include <cstring>
|
||||
#include <cctype>
|
|
@ -15,11 +15,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef RESOURCE_HH
|
||||
#define RESOURCE_HH
|
||||
#ifndef RESOURCE_H
|
||||
#define RESOURCE_H
|
||||
|
||||
#include "lab.hh"
|
||||
#include "hash_map.hh"
|
||||
#include "lab.h"
|
||||
#include "hash_map.h"
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
|
@ -15,13 +15,13 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "scene.hh"
|
||||
#include "textsplit.hh"
|
||||
#include "resource.hh"
|
||||
#include "debug.hh"
|
||||
#include "bitmap.hh"
|
||||
#include "colormap.hh"
|
||||
#include "vector3d.hh"
|
||||
#include "scene.h"
|
||||
#include "textsplit.h"
|
||||
#include "resource.h"
|
||||
#include "debug.h"
|
||||
#include "bitmap.h"
|
||||
#include "colormap.h"
|
||||
#include "vector3d.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include <cmath>
|
|
@ -15,12 +15,12 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef SCENE_HH
|
||||
#define SCENE_HH
|
||||
#ifndef SCENE_H
|
||||
#define SCENE_H
|
||||
|
||||
#include "vector3d.hh"
|
||||
#include "bitmap.hh"
|
||||
#include "color.hh"
|
||||
#include "vector3d.h"
|
||||
#include "bitmap.h"
|
||||
#include "color.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengl.h>
|
||||
#include <string>
|
|
@ -15,9 +15,9 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "sound.hh"
|
||||
#include "bits.hh"
|
||||
#include "debug.hh"
|
||||
#include "sound.h"
|
||||
#include "bits.h"
|
||||
#include "debug.h"
|
||||
#include <cstring>
|
||||
#include <SDL_endian.h>
|
||||
|
|
@ -15,10 +15,10 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#ifndef SOUND_HH
|
||||
#define SOUND_HH
|
||||
#ifndef SOUND_H
|
||||
#define SOUND_H
|
||||
|
||||
#include "resource.hh"
|
||||
#include "resource.h"
|
||||
#include <stdint.h>
|
||||
|
||||
class Sound : public Resource {
|
|
@ -15,8 +15,8 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "textsplit.hh"
|
||||
#include "debug.hh"
|
||||
#include "textsplit.h"
|
||||
#include "debug.h"
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <cctype>
|
Loading…
Add table
Add a link
Reference in a new issue