F
fuchisasquatch
Guest
Ok well to get the value of the number in the range 0 to 31 you would do
Code: [Select]
then im not sure about delphi as i havent learnt anything bout that yet but can you reverse it like e.g
Code: [Select]
or something like that... Just muck around with calculations and see what you can come up with.
[/code]
Code: [Select]
Code:
texnum = bmpnum / (255 / 31)
then im not sure about delphi as i havent learnt anything bout that yet but can you reverse it like e.g
Code: [Select]
Code:
r := 10 shr (rgb and $7C00); g := 5 shr (rgb and $3E0); b := (rgb and $1F);
or something like that... Just muck around with calculations and see what you can come up with.
[/code]