| 1 |
// |
| 2 |
// Copyright(C) 2022 by Ryan Krafnick |
| 3 |
// |
| 4 |
// This program is free software; you can redistribute it and/or |
| 5 |
// modify it under the terms of the GNU General Public License |
| 6 |
// as published by the Free Software Foundation; either version 2 |
| 7 |
// of the License, or (at your option) any later version. |
| 8 |
// |
| 9 |
// This program is distributed in the hope that it will be useful, |
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
// GNU General Public License for more details. |
| 13 |
// |
| 14 |
// DESCRIPTION: |
| 15 |
// DSDA MapInfo Legacy |
| 16 |
// |
| 17 |
|
| 18 |
#ifndef __DSDA_MAPINFO_LEGACY__ |
| 19 |
#define __DSDA_MAPINFO_LEGACY__ |
| 20 |
|
| 21 |
#include "p_mobj.h" |
| 22 |
|
| 23 |
#include "dsda/mapinfo.h" |
| 24 |
#include "dsda/utility.h" |
| 25 |
|
| 26 |
int dsda_LegacyNameToMap(int* found, const char* name, int* episode, int* map); |
| 27 |
int dsda_LegacyFirstMap(int* episode, int* map); |
| 28 |
int dsda_LegacyNewGameMap(int* episode, int* map); |
| 29 |
int dsda_LegacyResolveWarp(int* args, int arg_count, int* episode, int* map); |
| 30 |
int dsda_LegacyNextMap(int* episode, int* map); |
| 31 |
int dsda_LegacyPrevMap(int* episode, int* map); |
| 32 |
int dsda_LegacyShowNextLocBehaviour(int* behaviour); |
| 33 |
int dsda_LegacySkipDrawShowNextLoc(int* skip); |
| 34 |
void dsda_LegacyUpdateMapInfo(void); |
| 35 |
void dsda_LegacyUpdateLastMapInfo(void); |
| 36 |
void dsda_LegacyUpdateNextMapInfo(void); |
| 37 |
int dsda_LegacyResolveCLEV(int* clev, int* episode, int* map); |
| 38 |
int dsda_LegacyResolveINIT(int* init); |
| 39 |
int dsda_LegacyMusicIndexToLumpNum(int* lump, int music_index); |
| 40 |
int dsda_LegacyMapMusic(int* music_index, int* music_lump, int episode, int map); |
| 41 |
int dsda_LegacyIntermissionMusic(int* music_index, int* music_lump); |
| 42 |
int dsda_LegacyInterMusic(int* music_index, int* music_lump); |
| 43 |
int dsda_LegacyStartFinale(void); |
| 44 |
int dsda_LegacyFTicker(void); |
| 45 |
void dsda_LegacyFDrawer(void); |
| 46 |
int dsda_LegacyBossAction(mobj_t* mo); |
| 47 |
int dsda_LegacyMapLumpName(const char** name, int episode, int map); |
| 48 |
int dsda_LegacyMapAuthor(const char** author); |
| 49 |
int dsda_LegacyHUTitle(dsda_string_t* str); |
| 50 |
int dsda_LegacySkyTexture(int* sky); |
| 51 |
int dsda_LegacyPrepareInitNew(void); |
| 52 |
int dsda_LegacyPrepareIntermission(int* result); |
| 53 |
int dsda_LegacyPrepareFinale(int* result); |
| 54 |
void dsda_LegacyLoadMapInfo(void); |
| 55 |
int dsda_LegacyExitPic(const char** exit_pic); |
| 56 |
int dsda_LegacyEnterPic(const char** enter_pic); |
| 57 |
int dsda_LegacyBorderTexture(const char** border_texture); |
| 58 |
int dsda_LegacyPrepareEntering(void); |
| 59 |
int dsda_LegacyPrepareFinished(void); |
| 60 |
int dsda_LegacyMapLightning(int* lightning); |
| 61 |
int dsda_LegacyApplyFadeTable(void); |
| 62 |
int dsda_LegacyMapCluster(int* cluster, int map); |
| 63 |
int dsda_LegacySky1Texture(short* texture); |
| 64 |
int dsda_LegacySky2Texture(short* texture); |
| 65 |
int dsda_LegacyGravity(fixed_t* gravity); |
| 66 |
int dsda_LegacyAirControl(fixed_t* air_control); |
| 67 |
int dsda_LegacyInitSky(void); |
| 68 |
int dsda_LegacyMapFlags(map_info_flags_t* flags); |
| 69 |
int dsda_LegacyMapColorMap(int* colormap); |
| 70 |
|
| 71 |
#endif |