Commit 82883df5 authored by Steven Fuller's avatar Steven Fuller

Misc cleanups, added some credits

parent bcd61803
...@@ -65,3 +65,9 @@ Specific: ...@@ -65,3 +65,9 @@ Specific:
- Unable to find, doubtful if released - Unable to find, doubtful if released
* spanish code goes * spanish code goes
- Unable to find, doubtful if released - Unable to find, doubtful if released
* no piracy message goes
- I think it's a bit useless, and anyone can remove it
* copy protection goes
- Who needs a manual to look at the source?
* time verification code goes
- The contest was killed before it was started.
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
static struct timeval t0; static struct timeval t0;
static long tc0; static long tc0;
/* From David Haslam -- dch@sirius.demon.co.uk */
void set_TimeCount(unsigned long t) void set_TimeCount(unsigned long t)
{ {
tc0 = t; tc0 = t;
......
...@@ -1024,7 +1024,7 @@ void SpawnPatrol (enemy_t which, int tilex, int tiley, int dir) ...@@ -1024,7 +1024,7 @@ void SpawnPatrol (enemy_t which, int tilex, int tiley, int dir)
new->obclass = guardobj+which; new->obclass = guardobj+which;
new->dir = dir*2; new->dir = dir*2;
new->hitpoints = starthitpoints[gamestate.difficulty][which]; new->hitpoints = starthitpoints[gamestate.difficulty][which];
new->distance = tileglobal; new->distance = TILEGLOBAL;
new->flags |= FL_SHOOTABLE; new->flags |= FL_SHOOTABLE;
new->active = true; new->active = true;
......
...@@ -2,19 +2,18 @@ ...@@ -2,19 +2,18 @@
#include "wl_def.h" #include "wl_def.h"
/* Originally from David Haslam -- dch@sirius.demon.co.uk */
// the door is the last picture before the sprites // the door is the last picture before the sprites
#define DOORWALL (PMSpriteStart-8) #define DOORWALL (PMSpriteStart-8)
#define ACTORSIZE 0x4000 #define ACTORSIZE 0x4000
long lasttimecount; long lasttimecount;
long frameon; long frameon;
unsigned wallheight[MAXVIEWWIDTH]; unsigned wallheight[MAXVIEWWIDTH];
fixed tileglobal = TILEGLOBAL;
#define mindist MINDIST #define mindist MINDIST
// //
......
...@@ -1685,4 +1685,3 @@ void CopyProtection(void) ...@@ -1685,4 +1685,3 @@ void CopyProtection(void)
#endif // SPEARDEMO #endif // SPEARDEMO
#endif // SPEAR #endif // SPEAR
//===========================================================================
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
#include "wl_def.h" #include "wl_def.h"
/* Originally from David Haslam -- dch@sirius.demon.co.uk */
extern unsigned xoffset, yoffset; extern unsigned xoffset, yoffset;
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment