MantisBT - Soldat Dedicated Server
View Issue Details
0000041Soldat Dedicated ServerScripting Corepublic2011-09-17 19:442012-05-24 20:48
DorkeyDear 
 
lowminoralways
confirmedopen 
x86Windows7
2.7.0 
 
0000041: WriteConsole ignores its color parameter's alpha channel
WriteConsole appears to ignore the color's alpha channel in its parameter.
function ARGB(const a, r, g, b: longint): longint;
begin
    Result := (a shl 24) or (r shl 16) or (g shl 8) or b;
end;

procedure OnPlayerSpeak(const Id: byte; const Text: string);
var
    i: integer;
begin

for i := 1 to 10 do
    WriteConsole(0, '######## i = ' + InttoStr(i) + '; A = ' + InttoStr(i * 25), ARGB(i * 25, 255, 255, 255));


end;
No tags attached.
Issue History
2011-09-17 19:44DorkeyDearNew Issue
2011-09-24 23:44FryerAssigned To => Fryer
2011-09-24 23:44FryerStatusnew => acknowledged
2011-10-01 19:50FryerStatusacknowledged => assigned
2012-02-03 15:07ShoozzaAssigned ToFryer =>
2012-02-03 15:07ShoozzaStatusassigned => acknowledged
2012-02-29 20:12FalconAssigned To => Falcon
2012-02-29 20:12FalconStatusacknowledged => assigned
2012-05-24 20:48FalconAssigned ToFalcon =>
2012-05-24 20:48FalconStatusassigned => confirmed

There are no notes attached to this issue.