summaryrefslogtreecommitdiff
path: root/src/tool
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-08-30 16:16:25 -0700
committerBen Longbons <b.r.longbons@gmail.com>2012-08-30 17:03:31 -0700
commit41974ae5265fbc23a06f276f9e008d5dad020e0b (patch)
tree9d595215172e87e2d83b74f7bf3430b3040e780e /src/tool
parent21742909143df9159b2401c3e2a39cc0b2bad620 (diff)
downloadtmwa-41974ae5265fbc23a06f276f9e008d5dad020e0b.tar.gz
tmwa-41974ae5265fbc23a06f276f9e008d5dad020e0b.tar.bz2
tmwa-41974ae5265fbc23a06f276f9e008d5dad020e0b.tar.xz
tmwa-41974ae5265fbc23a06f276f9e008d5dad020e0b.zip
Rename files for C++ conversion. Does not compile.
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h
Diffstat (limited to 'src/tool')
-rw-r--r--src/tool/adduser.cpp (renamed from src/tool/adduser.c)0
-rw-r--r--src/tool/convert.cpp (renamed from src/tool/convert.c)0
-rw-r--r--src/tool/eathena-monitor.cpp (renamed from src/tool/eathena-monitor.c)0
-rw-r--r--src/tool/itemfrob.cpp (renamed from src/tool/itemfrob.c)4
-rw-r--r--src/tool/mapfrob.cpp (renamed from src/tool/mapfrob.c)4
-rw-r--r--src/tool/marriage-info.cpp (renamed from src/tool/marriage-info.c)6
-rw-r--r--src/tool/moneycount/athena_text.cpp4
-rw-r--r--src/tool/moneycount/athena_text.hpp (renamed from src/tool/moneycount/athena_text.h)6
-rw-r--r--src/tool/moneycount/main.cpp4
-rw-r--r--src/tool/moneycount/mmo.hpp (renamed from src/tool/moneycount/mmo.h)6
-rw-r--r--src/tool/skillfrob.cpp (renamed from src/tool/skillfrob.c)4
11 files changed, 19 insertions, 19 deletions
diff --git a/src/tool/adduser.c b/src/tool/adduser.cpp
index 1954b66..1954b66 100644
--- a/src/tool/adduser.c
+++ b/src/tool/adduser.cpp
diff --git a/src/tool/convert.c b/src/tool/convert.cpp
index e256fc9..e256fc9 100644
--- a/src/tool/convert.c
+++ b/src/tool/convert.cpp
diff --git a/src/tool/eathena-monitor.c b/src/tool/eathena-monitor.cpp
index 1b1abd5..1b1abd5 100644
--- a/src/tool/eathena-monitor.c
+++ b/src/tool/eathena-monitor.cpp
diff --git a/src/tool/itemfrob.c b/src/tool/itemfrob.cpp
index 4651452..81638eb 100644
--- a/src/tool/itemfrob.c
+++ b/src/tool/itemfrob.cpp
@@ -3,9 +3,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../common/mmo.h"
+#include "../common/mmo.hpp"
// Yes, this is intentional
-#include "../char/char.c"
+#include "../char/char.cpp"
// Well, this is not terribly elegant, but I don't have that much time.
#define MAX_ITEM_ID 65535
diff --git a/src/tool/mapfrob.c b/src/tool/mapfrob.cpp
index 9dc1a5b..8663ae0 100644
--- a/src/tool/mapfrob.c
+++ b/src/tool/mapfrob.cpp
@@ -3,9 +3,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../common/mmo.h"
+#include "../common/mmo.hpp"
// Yes, this is intentional
-#include "../char/char.c"
+#include "../char/char.cpp"
// Well, this is not terribly elegant, but I don't have that much time.
#define MAX_MAP 1024
diff --git a/src/tool/marriage-info.c b/src/tool/marriage-info.cpp
index 4d7cbc3..3552a9b 100644
--- a/src/tool/marriage-info.c
+++ b/src/tool/marriage-info.cpp
@@ -7,10 +7,10 @@ src/char/int_party.o src/char/int_storage.o src/char/inter.o
#include <stdio.h>
#include <stdlib.h>
-#include "../login/login.h"
-#include "../common/mmo.h"
+#include "../login/login.hpp"
+#include "../common/mmo.hpp"
// Yes, this is intentional
-#include "../char/char.c"
+#include "../char/char.cpp"
int mode;
#define MODE_MARRIED 0
diff --git a/src/tool/moneycount/athena_text.cpp b/src/tool/moneycount/athena_text.cpp
index 59269fa..8cf5457 100644
--- a/src/tool/moneycount/athena_text.cpp
+++ b/src/tool/moneycount/athena_text.cpp
@@ -1,10 +1,10 @@
-#include "athena_text.h"
+#include "athena_text.hpp"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include "mmo.h"
+#include "mmo.hpp"
//-------------------------------------------------------------------------
// Function to set the character from the line (at read of characters file)
diff --git a/src/tool/moneycount/athena_text.h b/src/tool/moneycount/athena_text.hpp
index 705c979..e4b7025 100644
--- a/src/tool/moneycount/athena_text.h
+++ b/src/tool/moneycount/athena_text.hpp
@@ -1,6 +1,6 @@
-#ifndef ATHENA_TEXT_H
-#define ATHENA_TEXT_H
-#include "mmo.h"
+#ifndef ATHENA_TEXT_HPP
+#define ATHENA_TEXT_HPP
+#include "mmo.hpp"
int mmo_char_fromstr (char *str, struct mmo_charstatus *p);
diff --git a/src/tool/moneycount/main.cpp b/src/tool/moneycount/main.cpp
index d15f223..2c3d56c 100644
--- a/src/tool/moneycount/main.cpp
+++ b/src/tool/moneycount/main.cpp
@@ -7,8 +7,8 @@
#include <algorithm>
#include <cmath>
-#include "mmo.h"
-#include "athena_text.h"
+#include "mmo.hpp"
+#include "athena_text.hpp"
#include "inf.hpp"
#define ATHENA_FILE "save/athena.txt"
diff --git a/src/tool/moneycount/mmo.h b/src/tool/moneycount/mmo.hpp
index bd62b49..beb29c5 100644
--- a/src/tool/moneycount/mmo.h
+++ b/src/tool/moneycount/mmo.hpp
@@ -1,8 +1,8 @@
// $Id: mmo.h,v 1.3 2004/09/25 20:12:25 PoW Exp $
// Original : mmo.h 2003/03/14 12:07:02 Rev.1.7
-#ifndef _MMO_H_
-#define _MMO_H_
+#ifndef MMO_HPP
+#define MMO_HPP
#include <time.h>
@@ -305,5 +305,5 @@ enum
};
-#endif // _MMO_H_
+#endif // MMO_HPP
diff --git a/src/tool/skillfrob.c b/src/tool/skillfrob.cpp
index 44855ac..901f765 100644
--- a/src/tool/skillfrob.c
+++ b/src/tool/skillfrob.cpp
@@ -3,8 +3,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "../common/mmo.h"
-#include "../char/char.c"
+#include "../common/mmo.hpp"
+#include "../char/char.cpp"
unsigned char skills[MAX_SKILL];