helapordo
1.4.23
Toggle main menu visibility
Loading...
Searching...
No Matches
game_log.h
Go to the documentation of this file.
1
// jgabaut @ github.com/jgabaut
2
// SPDX-License-Identifier: GPL-3.0-only
3
/*
4
Copyright (C) 2022-2026 jgabaut
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, version 3 of the License.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef GAME_LOG_H
20
#define GAME_LOG_H
21
#include "
game_core.h
"
22
#include "
game_strings.h
"
23
//#include "game_strings.h"
24
#ifdef _WIN32
25
void
log_Win_EnvVars(
void
);
26
#endif
// _WIN32
27
void
log_tag
(
char
*filename,
char
*header,
const
char
*format, ...);
28
void
log_OP
(
turnOption_OP
op);
29
void
hlpd_reset_logfile
(
void
);
30
#endif
// GAME_LOG_H
game_core.h
turnOption_OP
turnOption_OP
The different kinds of turnOption_OP.
Definition
game_core.h:1994
hlpd_reset_logfile
void hlpd_reset_logfile(void)
Definition
game_log.c:116
log_tag
void log_tag(char *filename, char *header, const char *format,...)
Takes a filename string, a string headear and a format string.
Definition
game_log.c:54
log_OP
void log_OP(turnOption_OP op)
Logs a turnOption_OP to "$STATICDIR/OPS_log.txt".
Definition
game_log.c:108
game_strings.h
src
core
game_log.h
Generated by
1.18.0