diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-01-27 23:16:38 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-01-27 23:16:38 +0100 |
commit | c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8 (patch) | |
tree | b7badc730f4d775b0ede2555faf562770b71580b /src/save/Date.h | |
parent | fix var names (diff) | |
download | re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar.gz re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar.bz2 re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar.lz re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar.xz re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.tar.zst re3-c6b6e9d0df11d408a14e7ea7bbe114e4726e23b8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/save/Date.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/save/Date.h b/src/save/Date.h new file mode 100644 index 00000000..3e022d09 --- /dev/null +++ b/src/save/Date.h @@ -0,0 +1,18 @@ +#pragma once
+
+class CDate
+{
+public:
+ int m_nSecond;
+ int m_nMinute;
+ int m_nHour;
+ int m_nDay;
+ int m_nMonth;
+ int m_nYear;
+
+ CDate();
+ bool operator>(const CDate &right);
+ bool operator<(const CDate &right);
+ bool operator==(const CDate &right);
+ void PopulateDateFields(int8 &second, int8 &minute, int8 &hour, int8 &day, int8 &month, int16 year);
+};
\ No newline at end of file |