MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000041Soldat Dedicated ServerScripting Corepublic2011-09-17 19:442012-05-24 20:48
ReporterDorkeyDear 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
Platformx86OSWindowsOS Version7
Product Version2.7.0 
Target VersionFixed in Version 
Summary0000041: WriteConsole ignores its color parameter's alpha channel
DescriptionWriteConsole appears to ignore the color's alpha channel in its parameter.
Steps To Reproducefunction 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;
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-09-17 19:44 DorkeyDear New Issue
2011-09-24 23:44 Fryer Assigned To => Fryer
2011-09-24 23:44 Fryer Status new => acknowledged
2011-10-01 19:50 Fryer Status acknowledged => assigned
2012-02-03 15:07 Shoozza Assigned To Fryer =>
2012-02-03 15:07 Shoozza Status assigned => acknowledged
2012-02-29 20:12 Falcon Assigned To => Falcon
2012-02-29 20:12 Falcon Status acknowledged => assigned
2012-05-24 20:48 Falcon Assigned To Falcon =>
2012-05-24 20:48 Falcon Status assigned => confirmed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker