port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)

split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
This commit is contained in:
Bill Currie 2000-05-21 08:24:45 +00:00
parent e471c785d8
commit af032b8d55
121 changed files with 1055 additions and 3086 deletions

View file

@ -32,7 +32,12 @@
# include <config.h>
#endif
#include "sys.h"
#include "quakedef.h"
#include "draw.h"
#include "vid.h"
#include "d_iface.h"
#include "console.h"
#include "quakefs.h"
#include "sound.h"
typedef struct {
vrect_t rect;
@ -398,7 +403,7 @@ void Draw_Pic (int x, int y, qpic_t *pic)
for (v=0 ; v<pic->height ; v++)
{
Q_memcpy (dest, source, pic->width);
memcpy (dest, source, pic->width);
dest += vid.rowbytes;
source += pic->width;
}
@ -449,7 +454,7 @@ void Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int h
for (v=0 ; v<height ; v++)
{
Q_memcpy (dest, source, width);
memcpy (dest, source, width);
dest += vid.rowbytes;
source += pic->width;
}