Mercurial > hg > early-roguelike
comparison urogue/verify.c @ 256:c495a4f288c6
Import UltraRogue from the Roguelike Restoration Project (r1490)
author | John "Elwin" Edwards |
---|---|
date | Tue, 31 Jan 2017 19:56:04 -0500 |
parents | |
children | 13b482bd9e66 |
comparison
equal
deleted
inserted
replaced
253:d9badb9c0179 | 256:c495a4f288c6 |
---|---|
1 /* | |
2 verify.c - exiting functions | |
3 | |
4 UltraRogue: The Ultimate Adventure in the Dungeons of Doom | |
5 Copyright (C) 1995 Herb Chong | |
6 All rights reserved. | |
7 */ | |
8 | |
9 static char sccsid[] = "%W% %G%"; | |
10 | |
11 #include "rogue.h" | |
12 | |
13 void verify_function(const char *file, const int line) | |
14 { | |
15 char s[80]; | |
16 | |
17 sprintf(s, "Verify failure in %s at line %d\n", file, line); | |
18 fatal(s); | |
19 } |