1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-26 11:12:14 -05:00

Fixing some plugin stuff. Should be done, streamlined, and persistent globally. Why would you want a seperate load for each script anyway? If you load the same plugin twice in the same app, it doesn't make another copy...

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@448 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
BenLand100 2010-01-22 01:13:41 +00:00
parent 0d67409787
commit c0a68352af
6 changed files with 116 additions and 116 deletions

View File

@ -10,7 +10,7 @@
<TargetFileExt Value=""/> <TargetFileExt Value=""/>
<Title Value="Simba"/> <Title Value="Simba"/>
<UseXPManifest Value="True"/> <UseXPManifest Value="True"/>
<ActiveEditorIndexAtStart Value="10"/> <ActiveEditorIndexAtStart Value="1"/>
</General> </General>
<VersionInfo> <VersionInfo>
<ProjectVersion Value=""/> <ProjectVersion Value=""/>
@ -26,7 +26,7 @@
<RunParams> <RunParams>
<local> <local>
<FormatVersion Value="1"/> <FormatVersion Value="1"/>
<LaunchingApplication Use="True" PathPlusParams="$(TargetCmdLine)"/> <LaunchingApplication PathPlusParams="/usr/bin/gnome-terminal -t 'Lazarus Run Output' -e '$(LazarusDir)/tools/runwait.sh $(TargetCmdLine)'"/>
</local> </local>
</RunParams> </RunParams>
<RequiredPackages Count="2"> <RequiredPackages Count="2">
@ -44,7 +44,7 @@
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="project1"/> <UnitName Value="project1"/>
<CursorPos X="3" Y="36"/> <CursorPos X="3" Y="36"/>
<TopLine Value="24"/> <TopLine Value="15"/>
<EditorIndex Value="9"/> <EditorIndex Value="9"/>
<UsageCount Value="205"/> <UsageCount Value="205"/>
<Loaded Value="True"/> <Loaded Value="True"/>
@ -141,8 +141,8 @@
<HasResources Value="True"/> <HasResources Value="True"/>
<ResourceBaseClass Value="Form"/> <ResourceBaseClass Value="Form"/>
<UnitName Value="TestUnit"/> <UnitName Value="TestUnit"/>
<CursorPos X="1" Y="1667"/> <CursorPos X="6" Y="549"/>
<TopLine Value="1654"/> <TopLine Value="731"/>
<EditorIndex Value="14"/> <EditorIndex Value="14"/>
<UsageCount Value="202"/> <UsageCount Value="202"/>
<Loaded Value="True"/> <Loaded Value="True"/>
@ -191,8 +191,8 @@
<Filename Value="../../Units/MMLCore/client.pas"/> <Filename Value="../../Units/MMLCore/client.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="Client"/> <UnitName Value="Client"/>
<CursorPos X="1" Y="70"/> <CursorPos X="17" Y="36"/>
<TopLine Value="51"/> <TopLine Value="27"/>
<EditorIndex Value="0"/> <EditorIndex Value="0"/>
<UsageCount Value="201"/> <UsageCount Value="201"/>
<Loaded Value="True"/> <Loaded Value="True"/>
@ -270,8 +270,8 @@
<Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="mmlpsthread"/> <UnitName Value="mmlpsthread"/>
<CursorPos X="1" Y="242"/> <CursorPos X="76" Y="571"/>
<TopLine Value="225"/> <TopLine Value="537"/>
<EditorIndex Value="1"/> <EditorIndex Value="1"/>
<UsageCount Value="202"/> <UsageCount Value="202"/>
<Loaded Value="True"/> <Loaded Value="True"/>
@ -494,7 +494,7 @@
<CursorPos X="11" Y="26"/> <CursorPos X="11" Y="26"/>
<TopLine Value="12"/> <TopLine Value="12"/>
<EditorIndex Value="8"/> <EditorIndex Value="8"/>
<UsageCount Value="19"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit63> </Unit63>
<Unit64> <Unit64>
@ -539,8 +539,8 @@
<Filename Value="../../Units/MMLAddon/plugins.pas"/> <Filename Value="../../Units/MMLAddon/plugins.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="plugins"/> <UnitName Value="plugins"/>
<CursorPos X="23" Y="67"/> <CursorPos X="34" Y="70"/>
<TopLine Value="56"/> <TopLine Value="49"/>
<EditorIndex Value="5"/> <EditorIndex Value="5"/>
<UsageCount Value="200"/> <UsageCount Value="200"/>
<Loaded Value="True"/> <Loaded Value="True"/>
@ -548,9 +548,9 @@
<Unit71> <Unit71>
<Filename Value="../../Units/MMLAddon/PSInc/psdefines.inc"/> <Filename Value="../../Units/MMLAddon/PSInc/psdefines.inc"/>
<CursorPos X="1" Y="37"/> <CursorPos X="1" Y="37"/>
<TopLine Value="4"/> <TopLine Value="3"/>
<EditorIndex Value="2"/> <EditorIndex Value="2"/>
<UsageCount Value="10"/> <UsageCount Value="11"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit71> </Unit71>
<Unit72> <Unit72>
@ -1374,9 +1374,9 @@
<Unit191> <Unit191>
<Filename Value="../../Units/MMLAddon/PSInc/Wrappers/keyboard.inc"/> <Filename Value="../../Units/MMLAddon/PSInc/Wrappers/keyboard.inc"/>
<CursorPos X="26" Y="43"/> <CursorPos X="26" Y="43"/>
<TopLine Value="13"/> <TopLine Value="12"/>
<EditorIndex Value="7"/> <EditorIndex Value="7"/>
<UsageCount Value="19"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit191> </Unit191>
<Unit192> <Unit192>
@ -1601,7 +1601,7 @@
<UnitName Value="framefunctionlist"/> <UnitName Value="framefunctionlist"/>
<CursorPos X="26" Y="295"/> <CursorPos X="26" Y="295"/>
<TopLine Value="7"/> <TopLine Value="7"/>
<UsageCount Value="167"/> <UsageCount Value="169"/>
</Unit223> </Unit223>
<Unit224> <Unit224>
<Filename Value="../../../usr/local/share/lazarus/lcl/comctrls.pp"/> <Filename Value="../../../usr/local/share/lazarus/lcl/comctrls.pp"/>
@ -1656,7 +1656,7 @@
<UnitName Value="simpleanalyzer"/> <UnitName Value="simpleanalyzer"/>
<CursorPos X="52" Y="104"/> <CursorPos X="52" Y="104"/>
<TopLine Value="193"/> <TopLine Value="193"/>
<UsageCount Value="154"/> <UsageCount Value="156"/>
</Unit231> </Unit231>
<Unit232> <Unit232>
<Filename Value="../../Units/Misc/mPasLex.pas"/> <Filename Value="../../Units/Misc/mPasLex.pas"/>
@ -1731,7 +1731,7 @@
<UnitName Value="updater"/> <UnitName Value="updater"/>
<CursorPos X="38" Y="211"/> <CursorPos X="38" Y="211"/>
<TopLine Value="65"/> <TopLine Value="65"/>
<UsageCount Value="127"/> <UsageCount Value="129"/>
</Unit242> </Unit242>
<Unit243> <Unit243>
<Filename Value="updateform.pas"/> <Filename Value="updateform.pas"/>
@ -1742,7 +1742,7 @@
<ComponentState Value="1"/> <ComponentState Value="1"/>
<CursorPos X="111" Y="102"/> <CursorPos X="111" Y="102"/>
<TopLine Value="207"/> <TopLine Value="207"/>
<UsageCount Value="122"/> <UsageCount Value="124"/>
</Unit243> </Unit243>
<Unit244> <Unit244>
<Filename Value="../../../Documents/lazarus/lcl/fileutil.pas"/> <Filename Value="../../../Documents/lazarus/lcl/fileutil.pas"/>
@ -1863,15 +1863,15 @@
<UnitName Value="simbasettings"/> <UnitName Value="simbasettings"/>
<CursorPos X="26" Y="9"/> <CursorPos X="26" Y="9"/>
<TopLine Value="11"/> <TopLine Value="11"/>
<UsageCount Value="85"/> <UsageCount Value="87"/>
</Unit261> </Unit261>
<Unit262> <Unit262>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/settings.pas"/>
<UnitName Value="settings"/> <UnitName Value="settings"/>
<CursorPos X="29" Y="603"/> <CursorPos X="29" Y="603"/>
<TopLine Value="590"/> <TopLine Value="583"/>
<EditorIndex Value="10"/> <EditorIndex Value="10"/>
<UsageCount Value="19"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit262> </Unit262>
<Unit263> <Unit263>
@ -1903,7 +1903,7 @@
<UnitName Value="reportbug"/> <UnitName Value="reportbug"/>
<CursorPos X="53" Y="23"/> <CursorPos X="53" Y="23"/>
<TopLine Value="21"/> <TopLine Value="21"/>
<UsageCount Value="68"/> <UsageCount Value="70"/>
</Unit266> </Unit266>
<Unit267> <Unit267>
<Filename Value="../../Units/Synapse/synsock.pas"/> <Filename Value="../../Units/Synapse/synsock.pas"/>
@ -1961,7 +1961,7 @@
<CursorPos X="37" Y="171"/> <CursorPos X="37" Y="171"/>
<TopLine Value="153"/> <TopLine Value="153"/>
<EditorIndex Value="15"/> <EditorIndex Value="15"/>
<UsageCount Value="64"/> <UsageCount Value="66"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit274> </Unit274>
<Unit275> <Unit275>
@ -2008,19 +2008,19 @@
<Unit281> <Unit281>
<Filename Value="../../Units/MMLCore/iomanager.pas"/> <Filename Value="../../Units/MMLCore/iomanager.pas"/>
<UnitName Value="IOManager"/> <UnitName Value="IOManager"/>
<CursorPos X="1" Y="249"/> <CursorPos X="1" Y="543"/>
<TopLine Value="232"/> <TopLine Value="526"/>
<EditorIndex Value="3"/> <EditorIndex Value="3"/>
<UsageCount Value="23"/> <UsageCount Value="24"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit281> </Unit281>
<Unit282> <Unit282>
<Filename Value="../../Units/MMLCore/os_linux.pas"/> <Filename Value="../../Units/MMLCore/os_linux.pas"/>
<UnitName Value="os_linux"/> <UnitName Value="os_linux"/>
<CursorPos X="21" Y="322"/> <CursorPos X="9" Y="342"/>
<TopLine Value="320"/> <TopLine Value="325"/>
<EditorIndex Value="17"/> <EditorIndex Value="17"/>
<UsageCount Value="23"/> <UsageCount Value="24"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit282> </Unit282>
<Unit283> <Unit283>
@ -2036,7 +2036,7 @@
<CursorPos X="3" Y="314"/> <CursorPos X="3" Y="314"/>
<TopLine Value="300"/> <TopLine Value="300"/>
<EditorIndex Value="16"/> <EditorIndex Value="16"/>
<UsageCount Value="19"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit284> </Unit284>
<Unit285> <Unit285>
@ -2057,10 +2057,10 @@
<Filename Value="../../Units/MMLCore/libloader.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="libloader"/> <UnitName Value="libloader"/>
<CursorPos X="30" Y="68"/> <CursorPos X="1" Y="149"/>
<TopLine Value="59"/> <TopLine Value="128"/>
<EditorIndex Value="6"/> <EditorIndex Value="6"/>
<UsageCount Value="22"/> <UsageCount Value="24"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit287> </Unit287>
<Unit288> <Unit288>
@ -2073,124 +2073,124 @@
</Units> </Units>
<JumpHistory Count="30" HistoryIndex="29"> <JumpHistory Count="30" HistoryIndex="29">
<Position1> <Position1>
<Filename Value="../../Units/MMLCore/iomanager.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="254" Column="1" TopLine="237"/> <Caret Line="300" Column="36" TopLine="283"/>
</Position1> </Position1>
<Position2> <Position2>
<Filename Value="../../Units/MMLCore/iomanager.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="255" Column="1" TopLine="238"/> <Caret Line="301" Column="27" TopLine="283"/>
</Position2> </Position2>
<Position3> <Position3>
<Filename Value="../../Units/MMLCore/os_linux.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="325" Column="1" TopLine="308"/> <Caret Line="303" Column="53" TopLine="283"/>
</Position3> </Position3>
<Position4> <Position4>
<Filename Value="testunit.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="1267" Column="31" TopLine="1250"/> <Caret Line="304" Column="41" TopLine="283"/>
</Position4> </Position4>
<Position5> <Position5>
<Filename Value="../../Units/MMLCore/os_linux.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="70" Column="28" TopLine="55"/> <Caret Line="332" Column="30" TopLine="315"/>
</Position5> </Position5>
<Position6> <Position6>
<Filename Value="../../Units/MMLCore/os_windows.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="314" Column="3" TopLine="300"/> <Caret Line="333" Column="54" TopLine="315"/>
</Position6> </Position6>
<Position7> <Position7>
<Filename Value="../../Units/MMLCore/iomanager.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="249" Column="1" TopLine="232"/> <Caret Line="331" Column="59" TopLine="315"/>
</Position7> </Position7>
<Position8> <Position8>
<Filename Value="project1.lpr"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="29" Column="27" TopLine="11"/> <Caret Line="93" Column="43" TopLine="77"/>
</Position8> </Position8>
<Position9> <Position9>
<Filename Value="project1.lpr"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="43" Column="13" TopLine="24"/> <Caret Line="219" Column="34" TopLine="203"/>
</Position9> </Position9>
<Position10> <Position10>
<Filename Value="project1.lpr"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="36" Column="1" TopLine="24"/> <Caret Line="248" Column="33" TopLine="232"/>
</Position10> </Position10>
<Position11> <Position11>
<Filename Value="project1.lpr"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="34" Column="44" TopLine="24"/> <Caret Line="32" Column="42" TopLine="23"/>
</Position11> </Position11>
<Position12> <Position12>
<Filename Value="project1.lpr"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="36" Column="3" TopLine="24"/> <Caret Line="37" Column="14" TopLine="23"/>
</Position12> </Position12>
<Position13> <Position13>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="529" Column="14" TopLine="506"/> <Caret Line="295" Column="29" TopLine="278"/>
</Position13> </Position13>
<Position14> <Position14>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="528" Column="1" TopLine="515"/> <Caret Line="333" Column="31" TopLine="316"/>
</Position14> </Position14>
<Position15> <Position15>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="382" Column="1" TopLine="369"/> <Caret Line="334" Column="41" TopLine="316"/>
</Position15> </Position15>
<Position16> <Position16>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="414" Column="1" TopLine="401"/> <Caret Line="18" Column="42" TopLine="1"/>
</Position16> </Position16>
<Position17> <Position17>
<Filename Value="testunit.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="1667" Column="52" TopLine="1654"/> <Caret Line="37" Column="14" TopLine="20"/>
</Position17> </Position17>
<Position18> <Position18>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="528" Column="8" TopLine="509"/> <Caret Line="295" Column="29" TopLine="278"/>
</Position18> </Position18>
<Position19> <Position19>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="414" Column="30" TopLine="401"/> <Caret Line="333" Column="31" TopLine="316"/>
</Position19> </Position19>
<Position20> <Position20>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="4" Column="91" TopLine="1"/> <Caret Line="334" Column="41" TopLine="316"/>
</Position20> </Position20>
<Position21> <Position21>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="5" Column="2" TopLine="1"/> <Caret Line="149" Column="1" TopLine="128"/>
</Position21> </Position21>
<Position22> <Position22>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="73" Column="36" TopLine="60"/> <Caret Line="150" Column="1" TopLine="128"/>
</Position22> </Position22>
<Position23> <Position23>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="100" Column="28" TopLine="87"/> <Caret Line="151" Column="1" TopLine="128"/>
</Position23> </Position23>
<Position24> <Position24>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="139" Column="43" TopLine="126"/> <Caret Line="152" Column="1" TopLine="128"/>
</Position24> </Position24>
<Position25> <Position25>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/iomanager.pas"/>
<Caret Line="401" Column="14" TopLine="388"/> <Caret Line="543" Column="1" TopLine="526"/>
</Position25> </Position25>
<Position26> <Position26>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="542" Column="5" TopLine="528"/> <Caret Line="149" Column="1" TopLine="128"/>
</Position26> </Position26>
<Position27> <Position27>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="533" Column="26" TopLine="531"/> <Caret Line="150" Column="1" TopLine="128"/>
</Position27> </Position27>
<Position28> <Position28>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="517" Column="33" TopLine="515"/> <Caret Line="151" Column="1" TopLine="128"/>
</Position28> </Position28>
<Position29> <Position29>
<Filename Value="testunit.pas"/> <Filename Value="../../Units/MMLCore/libloader.pas"/>
<Caret Line="1667" Column="1" TopLine="1654"/> <Caret Line="152" Column="1" TopLine="128"/>
</Position29> </Position29>
<Position30> <Position30>
<Filename Value="../../Units/MMLAddon/settings.pas"/> <Filename Value="../../Units/MMLAddon/mmlpsthread.pas"/>
<Caret Line="523" Column="55" TopLine="506"/> <Caret Line="560" Column="43" TopLine="537"/>
</Position30> </Position30>
</JumpHistory> </JumpHistory>
</ProjectOptions> </ProjectOptions>
@ -2219,6 +2219,12 @@
</Other> </Other>
</CompilerOptions> </CompilerOptions>
<Debugging> <Debugging>
<BreakPoints Count="1">
<Item1>
<Source Value="../../Units/MMLCore/libloader.pas"/>
<Line Value="60"/>
</Item1>
</BreakPoints>
<Exceptions Count="3"> <Exceptions Count="3">
<Item1> <Item1>
<Name Value="EAbort"/> <Name Value="EAbort"/>

View File

@ -1,7 +1,7 @@
object Form1: TForm1 object Form1: TForm1
Left = 1040 Left = 1343
Height = 557 Height = 557
Top = 323 Top = 181
Width = 734 Width = 734
ActiveControl = ScriptPanel ActiveControl = ScriptPanel
Caption = 'THA FUKING SIMBA' Caption = 'THA FUKING SIMBA'

View File

@ -1,10 +1,10 @@
{ This is an automatically generated lazarus resource file } { This is an automatically generated lazarus resource file }
LazarusResources.Add('TForm1','FORMDATA',[ LazarusResources.Add('TForm1','FORMDATA',[
'TPF0'#6'TForm1'#5'Form1'#4'Left'#3#16#4#6'Height'#3'-'#2#3'Top'#3'C'#1#5'Wid' 'TPF0'#6'TForm1'#5'Form1'#4'Left'#3'?'#5#6'Height'#3'-'#2#3'Top'#3#181#0#5'Wi'
+'th'#3#222#2#13'ActiveControl'#7#11'ScriptPanel'#7'Caption'#6#16'THA FUKING ' +'dth'#3#222#2#13'ActiveControl'#7#11'ScriptPanel'#7'Caption'#6#16'THA FUKING'
+'SIMBA'#12'ClientHeight'#3#20#2#11'ClientWidth'#3#222#2#10'KeyPreview'#9#4'M' +' SIMBA'#12'ClientHeight'#3#20#2#11'ClientWidth'#3#222#2#10'KeyPreview'#9#4
+'enu'#7#8'MainMenu'#7'OnClose'#7#9'FormClose'#8'OnCreate'#7#10'FormCreate'#9 +'Menu'#7#8'MainMenu'#7'OnClose'#7#9'FormClose'#8'OnCreate'#7#10'FormCreate'#9
+'OnDestroy'#7#11'FormDestroy'#10'OnShortCut'#7#13'FormShortCuts'#8'Position' +'OnDestroy'#7#11'FormDestroy'#10'OnShortCut'#7#13'FormShortCuts'#8'Position'
+#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.29'#7'Visible'#9#0#8'TToolBar'#8 +#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.29'#7'Visible'#9#0#8'TToolBar'#8
+'ToolBar1'#4'Left'#2#0#6'Height'#2#24#3'Top'#2#0#5'Width'#3#222#2#7'Caption' +'ToolBar1'#4'Left'#2#0#6'Height'#2#24#3'Top'#2#0#5'Width'#3#222#2#7'Caption'

View File

@ -551,15 +551,9 @@ begin
if ScriptFile <> '' then if ScriptFile <> '' then
ScriptPath := ExtractFileDir(ScriptFile); ScriptPath := ExtractFileDir(ScriptFile);
if not DirectoryExists(PluginsPath) and not assigned(PluginsGlob) then
begin if DirectoryExists(PluginsPath) then
if FirstRun then PluginsGlob.AddAndLoadPath(PluginsPath);
Writeln('Warning: The plugins directory specified in Settings isn''t valid. Not loading Plugins now.');
end else if not Assigned(PluginsGlob) then
begin
PluginsGlob := TMPlugins.Create;
PluginsGlob.AddAndLoadPath(PluginsPath);
end;
if not DirectoryExists(IncludePath) then if not DirectoryExists(IncludePath) then
if FirstRun then if FirstRun then
Writeln('Warning: The include directory specified in the Settings isn''t valid.'); Writeln('Warning: The include directory specified in the Settings isn''t valid.');

View File

@ -564,12 +564,11 @@ begin
end; end;
{ Include stuff here? } initialization
PluginsGlob := TMPlugins.Create;
//{$I inc/colors.inc} finalization
//{$I inc/bitmaps.inc} //PluginsGlob.Free;
//Its a nice idea, but it will segfault... the program is closing anyway.
end. end.

View File

@ -42,6 +42,7 @@ implementation
if PluginDirs.Find(path,idx) then if PluginDirs.Find(path,idx) then
LoadPluginsDir(idx) LoadPluginsDir(idx)
else begin else begin
writeln('Loading Path: ' + path);
PluginDirs.Add(path); PluginDirs.Add(path);
LoadPluginsDir(PluginDirs.Count-1); LoadPluginsDir(PluginDirs.Count-1);
end; end;