Free Hero Mesh

Check-in [e345d1a7d7]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Add "FATAL" to fatal error messages
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e345d1a7d718e405f90d38abf63bed254b470d1f
User & Date: user on 2018-04-09 16:36:59
Other Links: manifest | tags
Context
2018-04-13
21:19
Add the "sqlFile" resource, and correct the gamma correction check-in: a4882ad0b9 user: user tags: trunk
2018-04-09
16:36
Add "FATAL" to fatal error messages check-in: e345d1a7d7 user: user tags: trunk
04:15
Faster key bindings, and testing for key bindings check-in: c8eb0a9e48 user: user tags: trunk
Changes

Modified heromesh.h from [25255b4793] to [e948800055].

1
2
3
4
5
6
7

8
9
10
11
12
13
14
1
2
3
4
5
6

7
8
9
10
11
12
13
14






-
+







/*
  This file is part of Free Hero Mesh and is public domain.
*/

// == main ==

#define fatal(...) do{ fprintf(stderr,__VA_ARGS__); exit(1); }while(0)
#define fatal(...) do{ fprintf(stderr,"FATAL: " __VA_ARGS__); exit(1); }while(0)
#define boolxrm(a,b) (*a=='1'||*a=='y'||*a=='t'||*a=='Y'||*a=='T'?1:*a=='0'||*a=='n'||*a=='f'||*a=='N'||*a=='F'?0:b)

#define TY_NUMBER 0
#define TY_CLASS 1
#define TY_MESSAGE 2
#define TY_SOUND 3
#define TY_USOUND 4