English
Source / code snippets

pack of cards

 

Frank
Abbing


or
Declare cards&, x&, y&, Text$, a&
Def GetSysColor(1) !USER32,GetSysColor
Def cdtInit(2) ! cards,cdtInit
Def cdtDraw(6) ! cards,cdtDraw
Def cdtTerm(0) ! cards,cdtTerm
cards&=UseDll(cards.dll)
Randomize
Cls GetSysColor(15)
cdtInit(Addr(x&),Addr(y&))
a&=8

Whileloop 4

    Whileloop 24

        If Rnd(5)

            cdtDraw(%hdc,((&loop-1)*24),a&,Rnd(52),0,0)

        Else

            cdtDraw(%hdc,((&loop-1)*24),a&,1,3,GetSysColor(15))

        EndIf

    EndWhile

    a&=a&+y&+8

EndWhile

While 1

    WaitInput
    Case %key=2:Break

Endwhile

cdtTerm()
FreeDll cards&
End
 
09/08/08  
 



nice hehe!
 
09/08/08  
 



...

And then there yet The Cards Include-row:  [...] 
 
11/18/08  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.378 Views

Untitledvor 0 min.
Gast.0815 vor 27 Tagen
Member 862464105/13/24
RudiB.04/20/21
Frank04/16/21
More...

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
Frank Abbing (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie