mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Enable pk3 in addons menu
This commit is contained in:
parent
e1c71f652d
commit
cf866c706f
3 changed files with 4 additions and 4 deletions
|
|
@ -552,7 +552,7 @@ filestatus_t filesearch(char *filename, const char *startpath, const UINT8 *want
|
||||||
|
|
||||||
char exttable[NUM_EXT_TABLE][7] = { // maximum extension length (currently 4) plus 3 (null terminator, stop, and length including previous two)
|
char exttable[NUM_EXT_TABLE][7] = { // maximum extension length (currently 4) plus 3 (null terminator, stop, and length including previous two)
|
||||||
"\5.txt", "\5.cfg", // exec
|
"\5.txt", "\5.cfg", // exec
|
||||||
"\5.wad", "\6.kart", /*"\5.pk3",*/ "\5.soc", "\5.lua"}; // addfile
|
"\5.wad", "\6.kart", "\5.pk3", "\5.soc", "\5.lua"}; // addfile
|
||||||
|
|
||||||
char filenamebuf[MAX_WADFILES][MAX_WADPATH];
|
char filenamebuf[MAX_WADFILES][MAX_WADPATH];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ typedef enum
|
||||||
EXT_LOADSTART,
|
EXT_LOADSTART,
|
||||||
EXT_WAD = EXT_LOADSTART,
|
EXT_WAD = EXT_LOADSTART,
|
||||||
EXT_KART,
|
EXT_KART,
|
||||||
//EXT_PK3,
|
EXT_PK3,
|
||||||
EXT_SOC,
|
EXT_SOC,
|
||||||
EXT_LUA, // allowed even if not HAVE_BLUA so that we can yell on load attempt
|
EXT_LUA, // allowed even if not HAVE_BLUA so that we can yell on load attempt
|
||||||
NUM_EXT,
|
NUM_EXT,
|
||||||
|
|
|
||||||
|
|
@ -4426,7 +4426,7 @@ static void M_Addons(INT32 choice)
|
||||||
addonsp[EXT_CFG] = W_CachePatchName("M_FCFG", PU_STATIC);
|
addonsp[EXT_CFG] = W_CachePatchName("M_FCFG", PU_STATIC);
|
||||||
addonsp[EXT_WAD] = W_CachePatchName("M_FWAD", PU_STATIC);
|
addonsp[EXT_WAD] = W_CachePatchName("M_FWAD", PU_STATIC);
|
||||||
addonsp[EXT_KART] = W_CachePatchName("M_FKART", PU_STATIC);
|
addonsp[EXT_KART] = W_CachePatchName("M_FKART", PU_STATIC);
|
||||||
//addonsp[EXT_PK3] = W_CachePatchName("M_FPK3", PU_STATIC);
|
addonsp[EXT_PK3] = W_CachePatchName("M_FPK3", PU_STATIC);
|
||||||
addonsp[EXT_SOC] = W_CachePatchName("M_FSOC", PU_STATIC);
|
addonsp[EXT_SOC] = W_CachePatchName("M_FSOC", PU_STATIC);
|
||||||
addonsp[EXT_LUA] = W_CachePatchName("M_FLUA", PU_STATIC);
|
addonsp[EXT_LUA] = W_CachePatchName("M_FLUA", PU_STATIC);
|
||||||
addonsp[NUM_EXT] = W_CachePatchName("M_FUNKN", PU_STATIC);
|
addonsp[NUM_EXT] = W_CachePatchName("M_FUNKN", PU_STATIC);
|
||||||
|
|
@ -4872,7 +4872,7 @@ static void M_HandleAddons(INT32 choice)
|
||||||
case EXT_SOC:
|
case EXT_SOC:
|
||||||
case EXT_WAD:
|
case EXT_WAD:
|
||||||
case EXT_KART:
|
case EXT_KART:
|
||||||
//case EXT_PK3:
|
case EXT_PK3:
|
||||||
COM_BufAddText(va("addfile \"%s%s\"", menupath, dirmenu[dir_on[menudepthleft]]+DIR_STRING));
|
COM_BufAddText(va("addfile \"%s%s\"", menupath, dirmenu[dir_on[menudepthleft]]+DIR_STRING));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue