You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB
HTML

<!menue>
<!h2a=Streamtypen,Streamtypen,streamtypes>
<!ul=
<wD>LLFILE_STREAM_STDIO<br>Stream liest aus dem Filesystem\
<wD>LLFILE_STREAM_ZIP<br>Stream liest aus einem Zipfile\
<wD>LLFILE_STREAM_FTP<br>Stream liest von einem FTP Server\
<wV>LLFILE_STREAM_RES<br>Stream liest aus dem Exe Resourcen\
<wV>LLFILE_STREAM_TCP<br>Stream liest von einem TCP Socket\
<wV>LLFILE_STREAM_UDP<br>Stream liest von einem UDP Socket\
<wV>LLFILE_STREAM_MEM,<br>Stream liest aus dem Speicher\
<wD>LLFILE_STREAM_USER<br>User Stream
=ul>
Die grauen sind noch nicht aktiv.
<!h2a=Zipstream öffnen,Zipstream öffnen,openstreamzip>
<wV>llfile_cur_stream = <wF>llfile_OpenStream( <wD>LLFILE_STREAM_ZIP, "data.zip" );
Wenn das Öffnen des Zipfiles fehlschlägt, wird der Standardstream LLFILE_STREAM_STDIO zurückgegeben.
Wenn das Öffnen funktioniert hat, wird jeder llfile_LoadToMem Befehl über dieses Zip laden.
llgfx_LoadGfx,llsound_LoadSnd benutzen llfile_cur_stream beim laden.
<!h2a=FtpStream,FTP Stream öffnen,openftpstream>
FTPCONNECTSTRING = "127.0.0.1:username:pw";
FTPCONNECTSTRING = "localhost:username:pw";
m_ftp_stream = llfile_OpenStream( LLFILE_STREAM_FTP, FTPCONNECTSTRING);
<!h2a=HttpStream,HTTP Stream öffnen,openhttpstream>
Stream öffnen mit:
<wV>llfile_current_stream = <wF>llfile_OpenStream(<wD>LLFILE_STREAM_HTTP, "www.l-e-v-e-l-o-n-e.com");
Optional einen Basispfad senden:
<wF>llfile_IoCtlStream( <wV>llfile_current_stream, "BASEPATH", (void*) "img");
Download starten mit:
llfile_LoadToMem( "remotefile" );
llgfx_LoadGfx( "gfxfile" );
llsound_LoadSnd( "sndfile" );
llgfx_LoadTileMap( "tilemap" );
llgfx_LoadFont( "font" );