shithub: choc

Download patch

ref: 4d13a1330013cfcf70c8bc13f6183ea404bbdbe4
parent: f6ce7dfea99cf32beb2afc8e7b02fb5f19f7544f
author: Russell Rice <[email protected]>
date: Sun Aug 30 00:31:50 EDT 2009

- Add OPL to codeblocks project

Subversion-branch: /branches/opl-branch
Subversion-revision: 1641

--- a/codeblocks/game.cbp
+++ b/codeblocks/game.cbp
@@ -46,6 +46,7 @@
 			<Add directory="..\src" />
 			<Add directory="..\textscreen" />
 			<Add directory="..\pcsound" />
+			<Add directory="..\opl" />
 		</Compiler>
 		<Linker>
 			<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
@@ -55,6 +56,29 @@
 		<Unit filename="game-res.rc">
 			<Option compilerVar="WINDRES" />
 		</Unit>
+		<Unit filename="..\opl\fmopl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\fmopl.h" />
+		<Unit filename="..\opl\opl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\opl.h" />
+		<Unit filename="..\opl\opl_internal.h" />
+		<Unit filename="..\opl\opl_linux.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\opl_queue.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\opl_queue.h" />
+		<Unit filename="..\opl\opl_sdl.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\opl_timer.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\opl\opl_timer.h" />
 		<Unit filename="..\src\am_map.c">
 			<Option compilerVar="CC" />
 		</Unit>
@@ -165,6 +189,9 @@
 		<Unit filename="..\src\i_main.c">
 			<Option compilerVar="CC" />
 		</Unit>
+		<Unit filename="..\src\i_oplmusic.c">
+			<Option compilerVar="CC" />
+		</Unit>
 		<Unit filename="..\src\i_pcsound.c">
 			<Option compilerVar="CC" />
 		</Unit>
@@ -235,6 +262,10 @@
 			<Option compilerVar="CC" />
 		</Unit>
 		<Unit filename="..\src\memio.h" />
+		<Unit filename="..\src\midifile.c">
+			<Option compilerVar="CC" />
+		</Unit>
+		<Unit filename="..\src\midifile.h" />
 		<Unit filename="..\src\mus2mid.c">
 			<Option compilerVar="CC" />
 		</Unit>