You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RnQ/for.RnQ/RnQGlobal.pas

72 lines
1.3 KiB
Plaintext

{
This file is part of R&Q.
Under same license
}
unit RnQGlobal;
{$I ForRnQConfig.inc}
interface
uses
System.Classes, Vcl.Graphics;
{$I NoRTTI.inc}
const
eventslogFilename = 'events.log';
defaultThemePrefix = 'RQ.';
defaultThemePostfix = 'theme.ini';
// paths
themesPath = 'Themes\';
pluginsPath = 'Plugins\';
accountsPath = 'Accounts\';
{$IFDEF CPUX64}
ModulesPath = 'Modules\64\';
{$ELSE}
ModulesPath = 'Modules\32\';
{$ENDIF CPUX64}
maxPICAVTW = 200;
maxPICAVTH = 200;
var
TimeFormat: record
chat, info, clock, log, automsg: String;
end;
LogPref: record
pkts, evts: record
onFile, onWindow, clear: Boolean;
end;
writehistory: Boolean;
end;
var
MyPath : String;
LogPath : String;
RnQUser : String;
RnQMainPath : String;
StickerPath : String;
// rqSmiles : TRQTheme;
ShowSmileCaption,
MenuDrawExt,
AlertTopMost,
// MakeBakups,
{$IFDEF LANGDEBUG}
lang_debug,
{$ENDIF LANGDEBUG}
disableSounds,
playSounds,
showBalloons : Boolean;
audioPresent : Boolean = false;
picDrawFirstLtr : Boolean = false;
TranslitList : TStringList;
SoundVolume : Integer;
TextBGColor : TColor;
var
Soundhndl : THandle;
implementation
end.