summaryrefslogtreecommitdiff
path: root/src/map/date.h
blob: e7d06f29d2e887d40d70c26c034046086eddfe97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef MAP_DATE_H
#define MAP_DATE_H

#include "common/cbasetypes.h"

#ifdef HERCULES_CORE
// TODO: Interface
int date_get_year(void);
int date_get_month(void);
int date_get_day(void);
int date_get_hour(void);
int date_get_min(void);
int date_get_sec(void);

bool is_day_of_sun(void);
bool is_day_of_moon(void);
bool is_day_of_star(void);
#endif // HERCULES_CORE

#endif /* MAP_DATE_H */