mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Tweak Draw_MakePic to be a little more usable.
This commit is contained in:
parent
d6ddbe4efe
commit
14c0e22494
3 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ bi_Draw_MakePic (progs_t *pr)
|
|||
draw_resources_t *res = PR_Resources_Find (pr, "Draw");
|
||||
int width = P_INT (pr, 0);
|
||||
int height = P_INT (pr, 1);
|
||||
byte *data = (byte *) P_GPOINTER (pr, 2);
|
||||
byte *data = (byte *) P_GSTRING (pr, 2);
|
||||
qpic_t *pic;
|
||||
qpic_res_t *qp;
|
||||
bi_qpic_t *bq;
|
||||
|
|
|
@ -11,7 +11,7 @@ struct _qpic_t {
|
|||
typedef struct _qpic_t *qpic_t;
|
||||
|
||||
@extern void Draw_FreePic (qpic_t pic);
|
||||
@extern qpic_t Draw_MakePic (int width, int heiight, void *data);
|
||||
@extern qpic_t Draw_MakePic (int width, int heiight, string data);
|
||||
@extern qpic_t Draw_CachePic (string name, int alpha);
|
||||
|
||||
@extern void Draw_Pic (int x, int y, qpic_t pic);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "draw.h"
|
||||
|
||||
void Draw_FreePic (qpic_t pic) = #0;
|
||||
qpic_t Draw_MakePic (int width, int heiight, void *data) = #0;
|
||||
qpic_t Draw_MakePic (int width, int heiight, string data) = #0;
|
||||
qpic_t (string name, int alpha) Draw_CachePic = #0;
|
||||
|
||||
void (int x, int y, qpic_t pic) Draw_Pic = #0;
|
||||
|
|
Loading…
Reference in a new issue