Italia
Fonte/ Codesnippets

Kartenspiel

 

Frank
Abbing


oder
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
 
08.09.2008  
 



Nett hehe!
 
08.09.2008  
 



...

Und dann gibt es noch die Cards Include-Reihe:  [...] 
 
18.11.2008  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

Kein Systemprofil angelegt. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Bitte anmelden um einen Beitrag zu verfassen.
 

Topic-Options

6.384 Views

Untitledvor 0 min.
Gast.0815 vor 27 Tagen
Member 862464113.05.2024
RudiB.20.04.2021
Frank16.04.2021
Di più...

Themeninformationen

Dieses Thema hat 2 subscriber:

iF (2x)
Frank Abbing (1x)


Admins  |  AGB  |  Applications  |  Autori  |  Chat  |  Informativa sulla privacy  |  Download  |  Entrance  |  Aiuto  |  Merchantportal  |  Impronta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Giochi  |  Cerca  |  Support

Ein Projekt aller XProfaner, die es gibt!


Il mio XProfan
Private Notizie
Eigenes Ablageforum
Argomenti-Merkliste
Eigene Beiträge
Eigene Argomenti
Zwischenablage
Annullare
 Deutsch English Français Español Italia
Traduzioni

Informativa sulla privacy


Wir verwenden Cookies nur als Session-Cookies wegen der technischen Notwendigkeit und bei uns gibt es keine Cookies von Drittanbietern.

Wenn du hier auf unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung von Informationen in unseren Cookies auf XProfan.Net zu.

Weitere Informationen zu unseren Cookies und dazu, wie du die Kontrolle darüber behältst, findest du in unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Ich möchte keinen Cookie