Originally Posted by
Akira13
I honestly have no idea how we got onto this particular tangent about APIs/ZenGL/C++/e.t.c to begin with, but I certainly agree with what AthenaOfDelphi Also, your redefinition of all the keyboard codes is both utterly pointless and incredibly inconvenient. Just use the "VKs"!
written by those people into our own projects!
I like Being able to use a single case statement for keyboard or mouse input but I don't believe that is possible with VKs
Code:
case vMessage.Input.CombineButton of
CK_CONTROL or CK_MOUSE1 :begin
end;
CK_CONTROL or CK_Alt or CK_MOUSE1:begin
end;
CK_MOUSE2 :begin
end;
end;
Code:
case vMessage.Input.CombineKey of
CK_Alt or CK_S :begin
end;
CK_Shift or CK_S :begin
end;
end;
also BGRABitmap is one of those reinvented wheels that you so greatly discourage. and kind of a bulky solution just to get a texture into video memory
Bookmarks