- Some cleanups in UArt.pas
- Changed the console command for the cedserver project
This commit is contained in:
parent
7e86c7400c
commit
c20a160543
|
@ -21,7 +21,7 @@
|
||||||
<RunParams>
|
<RunParams>
|
||||||
<local>
|
<local>
|
||||||
<FormatVersion Value="1"/>
|
<FormatVersion Value="1"/>
|
||||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
<LaunchingApplication Use="True" PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||||
</local>
|
</local>
|
||||||
</RunParams>
|
</RunParams>
|
||||||
<RequiredPackages Count="1">
|
<RequiredPackages Count="1">
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* CDDL HEADER END
|
* CDDL HEADER END
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Portions Copyright 2007 Andreas Schneider
|
* Portions Copyright 2009 Andreas Schneider
|
||||||
*)
|
*)
|
||||||
unit UArt;
|
unit UArt;
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ begin
|
||||||
FBuffer := TMemoryStream.Create;
|
FBuffer := TMemoryStream.Create;
|
||||||
FArtType := AArtType;
|
FArtType := AArtType;
|
||||||
AArtColor := AArtColor or $8000; //set alpha bit on background
|
AArtColor := AArtColor or $8000; //set alpha bit on background
|
||||||
if Assigned(AData) and (AIndex.Lookup <> LongInt($FFFFFFFF)) then
|
if Assigned(AData) and (AIndex.Lookup > -1) then
|
||||||
begin
|
begin
|
||||||
AData.Position := AIndex.Lookup;
|
AData.Position := AIndex.Lookup;
|
||||||
block := TMemoryStream.Create;
|
block := TMemoryStream.Create;
|
||||||
|
|
Loading…
Reference in New Issue