summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36689ad)
raw | patch | inline | side by side (parent: 36689ad)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 7 Nov 2019 21:08:05 +0000 (00:08 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Thu, 7 Nov 2019 21:08:05 +0000 (00:08 +0300) |
src/game/g_console.pas | patch | blob | history | |
src/shared/wadreader.pas | patch | blob | history |
diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index fb76d519dfcef27660f37db6336f21f7fef7029c..288eb547acfd7194a764d4e424e2917540bad514 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
conRegVar('console_height', @ConsoleHeight, 0.0, 1.0, 'set console size', 'set console size');
conRegVar('console_trans', @ConsoleTrans, 0.0, 1.0, 'set console transparency', 'set console transparency');
conRegVar('console_step', @ConsoleStep, 0.0, 1.0, 'set console animation speed', 'set console animation speed');
+ conRegVar('d_eres', @debug_e_res, '', '');
{$IFDEF ANDROID}
ChatTop := True;
ConsoleHeight := 0.35;
index 707289a24881c390ae784bbfce9d84b0a0b9e1a1..1419f264faf6876b54adfe1d0b3f4dfa076bf713 100644 (file)
--- a/src/shared/wadreader.pas
+++ b/src/shared/wadreader.pas
property isOpen: Boolean read getIsOpen;
end;
-
+// g_ExtractWadName C:\svr\shit.wad:\MAPS\MAP01 -> C:/svr/shit.wad
function g_ExtractWadName (resourceStr: AnsiString): AnsiString;
+
+// g_ExtractWadNameNoPath C:\svr\shit.wad:\MAPS\MAP01 -> shit.wad
function g_ExtractWadNameNoPath (resourceStr: AnsiString): AnsiString;
+
+// g_ExtractFilePath C:\svr\shit.wad:\MAPS\MAP01 -> :/MAPS
function g_ExtractFilePath (resourceStr: AnsiString): AnsiString;
+
+// g_ExtractFileName C:\svr\shit.wad:\MAPS\MAP01 -> MAP01
function g_ExtractFileName (resourceStr: AnsiString): AnsiString; // without path
+
+// g_ExtractFilePathName C:\svr\shit.wad:\MAPS\MAP01 -> MAPS/MAP01
function g_ExtractFilePathName (resourceStr: AnsiString): AnsiString;