@ -1,3 +1,8 @@
/**
* @file objdat.cpp
*
* Implementation of all object data.
*/
#include "all.h"
/** Maps from dun_object_id to object_id. */
@ -1,4 +1,8 @@
//HEADER_GOES_HERE
* @file objdat.h
* Interface of all object data.
#ifndef __OBJDAT_H__
#define __OBJDAT_H__
* @file objects.cpp
* Implementation of object functionality, interaction, spawning, loading, etc.
int trapid;
* @file objects.h
* Interface of object functionality, interaction, spawning, loading, etc.
#ifndef __OBJECTS_H__
#define __OBJECTS_H__
* @file pack.cpp
* Implementation of functions for minifying player data structure.
#include "../3rdParty/Storm/Source/storm.h"
* @file pack.h
* Interface of functions for minifying player data structure.
#ifndef __PACK_H__
#define __PACK_H__
* @file palette.cpp
* Implementation of functions for handling the engines color palette.
* @file palette.h
* Interface of functions for handling the engines color palette.
#ifndef __PALETTE_H__
#define __PALETTE_H__
* @file pfile.cpp
* Implementation of the save game encoding functionality.
#include "../DiabloUI/diabloui.h"
* @file pfile.h
* Interface of the save game encoding functionality.
#ifndef __PFILE_H__
#define __PFILE_H__
* @file player.cpp
* Implementation of player functionality, leveling, actions, creation, loading, etc.
* @file player.h
* Interface of player functionality, leveling, actions, creation, loading, etc.
#ifndef __PLAYER_H__
#define __PLAYER_H__
* @file plrmsg.cpp
* Implementation of functionality for printing the ingame chat messages.
static BYTE plr_msg_slot;
* @file plrmsg.h
* Interface of functionality for printing the ingame chat messages.
#ifndef __PLRMSG_H__
#define __PLRMSG_H__
* @file portal.cpp
* Implementation of functionality for handling town portals.
/** In-game state of portals. */
* @file portal.h
* Interface of functionality for handling town portals.
#ifndef __PORTAL_H__
#define __PORTAL_H__
* @file quests.cpp
* Implementation of functionality for handling quests.
int qtopline;
@ -11,7 +16,8 @@ int WaterDone;
int ReturnLvlX;
int ReturnLvlY;
int ReturnLvlT;
int ALLQUESTS; /** current frame # for the pentagram selector */
/** current frame # for the pentagram selector */
int ALLQUESTS;
int ReturnLvl;
QuestData questlist[MAXQUESTS] = {
* Interface of functionality for handling quests.
#ifndef __QUESTS_H__
#define __QUESTS_H__
* @file render.cpp
* Implementation of functionality for rendering the level tiles.
#include "_asm.cpp"
* @file render.h
* Interface of functionality for rendering the level tiles.
#ifndef __RENDER_H__
#define __RENDER_H__
* @file restrict.cpp
* Implementation of functionality for checking if the game will be able run on the system.
BOOL SystemSupported()
* @file restrict.h
* Interface of functionality for checking if the game will be able run on the system.
#ifndef __RESTRICT_H__
#define __RESTRICT_H__
* Implementation of functionality for rendering the dungeons, monsters and calling other render routines.
* @file scrollrt.h
* Interface of functionality for rendering the dungeons, monsters and calling other render routines.
#ifndef __SCROLLRT_H__
#define __SCROLLRT_H__
* @file setmaps.cpp
* Implementation of functionality the special quest dungeons.
// BUGFIX: constant data should be const
* Interface of functionality the special quest dungeons.
#ifndef __SETMAPS_H__
#define __SETMAPS_H__
* @file sha.cpp
* Implementation of functionality for calculating X-SHA-1 (a flawed implementation of SHA-1).
SHA1Context sgSHA1[3];
@ -1,8 +1,12 @@
* Interface of functionality for calculating X-SHA-1 (a flawed implementation of SHA-1).
#ifndef __SHA_H__
#define __SHA_H__
/*
* Define the SHA1 circular left shift macro
#define SHA1CircularShift(bits, word) \
* @file sound.cpp
* Implementation of functions setting up the audio pipeline.
* @file sound.h
* Interface of functions setting up the audio pipeline.
#ifndef __SOUND_H__
#define __SOUND_H__
* @file spelldat.cpp
* Implementation of all spell data.
/** Data related to each spell ID. */
* @file spelldat.h
* Interface of all spell data.
#ifndef __SPELLDAT_H__
#define __SPELLDAT_H__
* @file spells.cpp
* Implementation of functionality for casting player spells.
int GetManaAmount(int id, int sn)
* @file spells.h
* Interface of functionality for casting player spells.
#ifndef __SPELLS_H__
#define __SPELLS_H__
* @file stores.cpp
* Implementation of functionality for stores and towner dialogs.
int stextup;
* @file stores.h
* Interface of functionality for stores and towner dialogs.
#ifndef __STORES_H__
#define __STORES_H__
* @file sync.cpp
* Implementation of functionality for syncing game state with other players.
WORD sync_word_6AA708[MAXMONSTERS];
* @file sync.h
* Interface of functionality for syncing game state with other players.
#ifndef __SYNC_H__
#define __SYNC_H__
* @file textdat.cpp
* Implementation of all dialog texts.
/* todo: move text out of struct */
* @file textdat.h
* Interface of all dialog texts.
#ifndef __TEXTDAT_H__
#define __TEXTDAT_H__
* @file tmsg.cpp
* Implementation of functionality transmitting chat messages.
static TMsg *sgpTimedMsgHead;
* @file tmsg.h
* Interface of functionality transmitting chat messages.
#ifndef __TMSG_H__
#define __TMSG_H__
* @file town.h
* Implementation of functionality for rendering the town, towners and calling other render routines.
* Interface of functionality for rendering the town, towners and calling other render routines.
#ifndef __TOWN_H__
#define __TOWN_H__
* @file towners.cpp
* Implementation of functionality for loading and spawning towners.
BOOL storeflag;
* @file towners.h
* Interface of functionality for loading and spawning towners.
#ifndef __TOWNERS_H__
#define __TOWNERS_H__
* @file track.cpp
* Implementation of functionality tracking what the mouse cursor is pointing at.
* @file track.h
* Interface of functionality tracking what the mouse cursor is pointing at.
#ifndef __TRACK_H__
#define __TRACK_H__
* @file trigs.cpp
* Implementation of functionality for triggering events when the player enters an area.
BOOL townwarps[3];
* @file trigs.h
* Interface of functionality for triggering events when the player enters an area.
#ifndef __TRIGS_H__
#define __TRIGS_H__
* @file wave.cpp
* Implementation of functionality for loading fies and processing wave files.
* @file wave.h
* Interface of functionality for loading fies and processing wave files.
#ifndef __WAVE_H__
#define __WAVE_H__