annotate src/libmlk-adventure/adventure/adventure_p.h @ 320:8f9937403749

misc: improve loading of data
author David Demelier <markand@malikania.fr>
date Fri, 01 Oct 2021 20:30:00 +0200
parents libmlk-adventure/adventure/adventure_p.h@d01e83210ca2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
243
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 /*
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 * adventure_p.h -- libmlk-adventure private definitions
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 *
314
d01e83210ca2 misc: update years
David Demelier <markand@malikania.fr>
parents: 301
diff changeset
4 * Copyright (c) 2020-2021 David Demelier <markand@malikania.fr>
243
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 *
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 * Permission to use, copy, modify, and/or distribute this software for any
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 * purpose with or without fee is hereby granted, provided that the above
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 * copyright notice and this permission notice appear in all copies.
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 *
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 */
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 #ifndef MOLKO_ADVENTURE_ADVENTURE_P_H
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 #define MOLKO_ADVENTURE_ADVENTURE_P_H
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
21
301
f04b4ee04db3 make: switch to GNU make
David Demelier <markand@malikania.fr>
parents: 286
diff changeset
22 #include "config.h"
243
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
23
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
24 #if defined(MOLKO_WITH_NLS)
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 # include <libintl.h>
286
3991779aaba9 adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents: 262
diff changeset
26 # define _(s) dgettext("libmlk-adventure", s)
3991779aaba9 adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents: 262
diff changeset
27 # define N_(s) s
243
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 #else
286
3991779aaba9 adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents: 262
diff changeset
29 # define _(s) s
3991779aaba9 adventure: initial test of spawn
David Demelier <markand@malikania.fr>
parents: 262
diff changeset
30 # define N_(s) s
243
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
31 #endif
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
32
71b3b7036de7 misc: lot of cleanups,
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 #endif /* !MOLKO_ADVENTURE_ADVENTURE_P_H */