Difference between revisions of "Q3osc"

From CCRMA Wiki
Jump to: navigation, search
Line 2: Line 2:
 
'''q3osc''' is an attempt to update the manner in which the quake3 gaming engine can be used to export player locations and entity actions outside of the q3 server via OSC.  While q3osc is working from a fresh ioquake3 codebase, the inspiration came from pix + delire's excellent q3apd project, which unfortunately makes use of the string-based FUDI protocol instead of a more flexible proper OSC protocol.  
 
'''q3osc''' is an attempt to update the manner in which the quake3 gaming engine can be used to export player locations and entity actions outside of the q3 server via OSC.  While q3osc is working from a fresh ioquake3 codebase, the inspiration came from pix + delire's excellent q3apd project, which unfortunately makes use of the string-based FUDI protocol instead of a more flexible proper OSC protocol.  
  
===links===
 
 
[http://www.audiomulch.com/~rossb/code/oscpack/ oscpack]<br>
 
[http://www.selectparks.net/archive/q3apd.htm q3apd]<br>
 
[http://ccrma.stanford.edu/~rob/220c original project page]<br>
 
[http://www.chatbear.com/unity2/6079/78,1198798504,2104/1065824/0#1 ChatBear thread]<br>
 
[http://tremulous.net/forum/index.php?topic=7017.0 Tremulous thread]
 
 
[http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html mixing C and C++]<br>
 
[http://developers.sun.com/solaris/articles/mixing.html more c/c++ mixing]
 
  
 
===current status===
 
===current status===
Line 37: Line 27:
 
  "Failed loading /user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so:   
 
  "Failed loading /user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so:   
 
  /user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so: undefined symbol: foo"
 
  /user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so: undefined symbol: foo"
 +
 +
 +
===links===
 +
 +
<div style="width:200px; float:left; margin:0px 10px 50px 0px; border:1px solid #ccc; padding:10px">
 +
[http://www.audiomulch.com/~rossb/code/oscpack/ oscpack]<br>
 +
[http://www.selectparks.net/archive/q3apd.htm q3apd]<br>
 +
[http://ccrma.stanford.edu/~rob/220c original project page]<br>
 +
[http://www.chatbear.com/unity2/6079/78,1198798504,2104/1065824/0#1 ChatBear thread]<br>
 +
[http://tremulous.net/forum/index.php?topic=7017.0 Tremulous thread]
 +
</div>
 +
<div style="width:200px; float:left; margin:0px 10px 0px 0px; border:1px solid #ccc; padding:10px">
 +
[http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html mixing C and C++]<br>
 +
[http://developers.sun.com/solaris/articles/mixing.html more c/c++ mixing]
 +
</div>

Revision as of 19:55, 31 December 2007

about

q3osc is an attempt to update the manner in which the quake3 gaming engine can be used to export player locations and entity actions outside of the q3 server via OSC. While q3osc is working from a fresh ioquake3 codebase, the inspiration came from pix + delire's excellent q3apd project, which unfortunately makes use of the string-based FUDI protocol instead of a more flexible proper OSC protocol.


current status

12/29/07

initial compilation success with test.cpp, thanks to ge's sweet sweet compiler flags:

$(B)/baseq3/qagame$(ARCH).$(SHLIBEXT) : $(Q3GOBJ)
 $(CC) $(SHLIBLDFLAGS) -lstdc++ -o $@ $(Q3GOBJ)
$(B)/baseq3/cgame$(ARCH).$(SHLIBEXT) : $(Q3GOBJ)
 $(CC) $(SHLIBLDFLAGS) -lstdc++ -o $@ $(Q3GOBJ)
DO_CPP=$(CPP) $(BASE_CPPFLAGS) $(SHLIBCFLAGS) -o $@ -c $<

Makefile
Makefile.local

12/07

uber-beta floundering; while test .cpp classes are compiling correctly, something is going screwy in the linking process, which causes qagamei386.so to fail on the foo method call (see below)

Loading dll file qagame.
Sys_LoadDll(/user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so)...
Sys_LoadDll(/user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so) failed:
"Failed loading /user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so:   
/user/r/rob/data/q3/dev/ccrma-kdevelop/build/release-linux-i386/ccrma/qagamei386.so: undefined symbol: foo"


links