소스 검색

Follow up to 958b6cd

Fixed compilation on linux, since those constants were only defined on windows.
Lemongrass3110 9 년 전
부모
커밋
76725b436d
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      src/map/script.h

+ 15 - 0
src/map/script.h

@@ -348,6 +348,21 @@ enum questinfo_types {
 	QTYPE_NONE = 9999
 };
 
+#ifndef WIN32
+	// These are declared in wingdi.h
+	/* Font Weights */
+	#define FW_DONTCARE         0
+	#define FW_THIN             100
+	#define FW_EXTRALIGHT       200
+	#define FW_LIGHT            300
+	#define FW_NORMAL           400
+	#define FW_MEDIUM           500
+	#define FW_SEMIBOLD         600
+	#define FW_BOLD             700
+	#define FW_EXTRABOLD        800
+	#define FW_HEAVY            900
+#endif
+
 enum unitdata_mobtypes {
 	UMOB_SIZE = 0,
 	UMOB_LEVEL,