mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
Port of Duke Nukem 3D
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
This commit is contained in:
parent
01c6dcf6c7
commit
a855d62025
994 changed files with 336924 additions and 15 deletions
33
apps/plugins/sdl/progs/duke3d/Engine/src/network.h
Normal file
33
apps/plugins/sdl/progs/duke3d/Engine/src/network.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//
|
||||
// network.h
|
||||
// Duke3D
|
||||
//
|
||||
// Created by fabien sanglard on 12-12-22.
|
||||
// Copyright (c) 2012 fabien sanglard. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef Duke3D_network_h
|
||||
#define Duke3D_network_h
|
||||
|
||||
#include "platform.h"
|
||||
|
||||
void Setup_UnstableNetworking();
|
||||
void Setup_StableNetworking();
|
||||
|
||||
void callcommit(void);
|
||||
void initcrc(void);
|
||||
int32_t getcrc(uint8_t *buffer, short bufleng);
|
||||
void initmultiplayers(uint8_t damultioption, uint8_t dacomrateoption, uint8_t dapriority);
|
||||
void sendpacket(int32_t other, uint8_t *bufptr, int32_t messleng);
|
||||
void setpackettimeout(int32_t datimeoutcount, int32_t daresendagaincount);
|
||||
void uninitmultiplayers(void);
|
||||
void sendlogon(void);
|
||||
void sendlogoff(void);
|
||||
int getoutputcirclesize(void);
|
||||
void setsocket(short newsocket);
|
||||
short getpacket(short *other, uint8_t *bufptr);
|
||||
void flushpackets(void);
|
||||
void genericmultifunction(int32_t other, char *bufptr, int32_t messleng, int32_t command);
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue