mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix warnings and compilation (and possible crashes on 64 bit due to wrong protyping messing up the stack).
git-svn-id: https://svn.eduke32.com/eduke32@1175 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5f7dfc27b7
commit
2e18686daa
3 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
//High-level (easy) picture loading function:
|
||||
extern void kpzload (const char *, int *, intptr_t *, int *, int *);
|
||||
extern void kpzload (const char *, intptr_t *, int *, int *, int *);
|
||||
//Low-level PNG/JPG functions:
|
||||
extern void kpgetdim (const char *, int, int *, int *);
|
||||
extern int kprender (const char *, int, intptr_t, int, int, int, int, int);
|
||||
|
|
|
@ -18,4 +18,5 @@ void genericmultifunction(int other, char *bufptr, int messleng, int command);
|
|||
|
||||
extern int natfree;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -16,14 +16,14 @@ extern short bunchfirst[MAXWALLSB], bunchlast[MAXWALLSB];
|
|||
extern short maskwall[MAXWALLSB], maskwallcnt;
|
||||
extern spritetype *tspriteptr[MAXSPRITESONSCREEN];
|
||||
extern int xdimen, xdimenrecip, halfxdimen, xdimenscale, xdimscale, ydimen;
|
||||
extern int frameoffset;
|
||||
extern intptr_t frameoffset;
|
||||
extern int globalposx, globalposy, globalposz, globalhoriz;
|
||||
extern short globalang, globalcursectnum;
|
||||
extern int globalpal, cosglobalang, singlobalang;
|
||||
extern int cosviewingrangeglobalang, sinviewingrangeglobalang;
|
||||
extern int globalvisibility;
|
||||
extern int xyaspect;
|
||||
extern int asm1, asm2, asm3, asm4;
|
||||
extern intptr_t asm1, asm2, asm3, asm4;
|
||||
extern int globalshade;
|
||||
extern short globalpicnum;
|
||||
extern int globalx1, globaly2;
|
||||
|
|
Loading…
Reference in a new issue