Devilution
Diablo devolved - magic behind the 1996 computer game
|
Go to the documentation of this file.
43 "The Chamber of Bone",
55 int i, initiatedQuests;
116 if (questdebug != -1)
138 int i, rportx, rporty;
211 int i, j, qx, qy, ql;
224 for (j = 0; j < 7; j++) {
308 for (j = 0; j <
MAXDUNY; j++) {
309 for (i = 0; i <
MAXDUNX; i++) {
310 if (
dPiece[i][j] == 370) {
389 for (j = y; j < y + rh; j++) {
390 for (i = x; i < x + rw; i++) {
420 for (j = y; j < y + rh; j++) {
421 for (i = x; i < x + rw; i++) {
453 for (j = 0; j < rh; j++) {
454 for (i = 0; i < rw; i++) {
479 for (j = 0; j < rh; j++) {
480 for (i = 0; i < rw; i++) {
505 for (j = 0; j < rh; j++) {
506 for (i = 0; i < rw; i++) {
522 switch (
quests[i]._qtype) {
625 for (i = 0; i <= 32; i++)
702 int len, width, i, k, sx, sy;
711 for (i = 0; i < len; i++)
714 k = (257 - width) >> 1;
720 for (i = 0; i < len; i++) {
776 }
else if (
qline == 22) {
830 if (s >
quests[q]._qactive)
833 if (v1 >
quests[q]._qvar1)
void SyncObjectAnim(int o)
QuestStruct quests[MAXQUESTS]
UniqMonstStruct UniqMonst[]
QuestTalkData Qtalklist[11]
void SetRndSeed(int s)
Set the RNG seed.
BOOL delta_quest_inited(int i)
BYTE dungeon[DMAXX][DMAXY]
BYTE pdungeon[DMAXX][DMAXY]
void CheckQuestKill(int m, BOOL sendmsg)
void SpawnQuestItem(int itemid, int x, int y, int randarea, int selflag)
BYTE gbMaxPlayers
Specifies the maximum number of players in a game, where 1 represents a single player game and 4 repr...
void SetMultiQuest(int q, int s, int l, int v1)
void NetSendCmdQuest(BOOL bHiPri, BYTE q)
int AddMissile(int sx, int sy, int dx, int dy, int midir, int mitype, char micaster, int id, int midam, int spllvl)
int dPiece[MAXDUNX][MAXDUNY]
void DRLG_MRectTrans(int x1, int y1, int x2, int y2)
void palette_update_quest_palette(int n)
void ObjChangeMapResync(int x1, int y1, int x2, int y2)
DEVILUTION_BEGIN_NAMESPACE int qtopline
#define DEVILUTION_END_NAMESPACE
MonsterStruct monster[MAXMONSTERS]
void PrintQLString(int x, int y, BOOL cjustflag, char *str, int col)
TriggerStruct trigs[MAXTRIGGERS]
BYTE * LoadFileInMem(char *pszName, DWORD *pdwFileLen)
Load a file in to a buffer.
void CelDraw(int sx, int sy, BYTE *pCelBuff, int nCel, int nWidth)
Blit CEL sprite to the back buffer at the given coordinates.
int objectactive[MAXOBJECTS]
DEVILUTION_BEGIN_NAMESPACE int sfxdelay
const BYTE fontkern[68]
Maps from smaltext.cel frame number to character width.
void LoadPalette(char *pszFileName)
QuestData questlist[MAXQUESTS]
void DrawLTBanner(int x, int y)
DWORD glSeedTbl[NUMLEVELS]
void DRLG_CheckQuests(int x, int y)
void DrawBlood(int x, int y)
int random_(BYTE idx, int v)
Main RNG function.
void mem_free_dbg(void *p)
Multithreaded safe memfree.
void DrawWarLord(int x, int y)
void StartNewLvl(int pnum, int fom, int lvl)
void PlaySfxLoc(int psfx, int x, int y)
void DrawBlind(int x, int y)
void AddObject(int ot, int ox, int oy)
void DrawSChamber(int q, int x, int y)
void PrintChar(int sx, int sy, int nCel, char col)
Print letter to the back buffer.
const BYTE fontframe[128]
Maps from font index to smaltext.cel frame number.
const BYTE gbFontTransTbl[256]
Maps ASCII character code to font index, as used by the small, medium and large sized fonts; which co...
void DrawSkelKing(int q, int x, int y)
void DRLG_RectTrans(int x1, int y1, int x2, int y2)
PlayerStruct plr[MAX_PLRS]