Author Topic: qmenu.c/.h missing from alpha source  (Read 1370 times)

Derrek

  • Stingray
  • Posts: 72
qmenu.c/.h missing from alpha source
« on: January 20, 2004, 10:54:28 PM »
Am I missing something?  client\qmenu.c and client\qmenu.h are missing from the alpha 7 source zip file.

I tried to copy the qmenu files from alpha 6, but I am just getting a error on VID_MenuInit.

can you point me to the files?

thanks,

-Derrek

Derrek

  • Stingray
  • Posts: 72
Re: qmenu.c/.h missing from alpha source
« Reply #1 on: January 20, 2004, 11:23:38 PM »
ok, found the qmenu files on http://cvs.sourceforge.net/viewcvs.py/paintball2/paintball2/
(thx for the pointer xile)

getting an error on compilation:

Compiling...
qmenu.c
vid_menu.c
C:\Windows\Desktop\pb2-src\paintball2_src\win32\vid_menu.c(83) : warning C4013: 'VID_MenuInit' undefined; assuming extern returning int
C:\Windows\Desktop\pb2-src\paintball2_src\win32\vid_menu.c(135) : error C2371: 'VID_MenuInit' : redefinition; different basic types
Error executing cl.exe.

paintball2.exe - 1 error(s), 1 warning(s)


Any clue?


Thanks,

-Derrek

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: qmenu.c/.h missing from alpha source
« Reply #2 on: January 21, 2004, 11:12:18 AM »
qmenu.c/h isn't needed anymore.  It should compile without them.  Are you using the visual studio 6 project file?  That hasn't been updated.  Just delete the qmenu files from the project and it should compile.  All you need is menu.c and menu.h.

Derrek

  • Stingray
  • Posts: 72
Re: qmenu.c/.h missing from alpha source
« Reply #3 on: January 21, 2004, 08:57:48 PM »
ok...that works, but I still get the save error for VID_MenuInit.   Looking at the files in the root directory, looks like you are useing vc++ v7?  I have v6....:(

Will have to locate some iso's soon.....

Thanks!
-Derrek

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: qmenu.c/.h missing from alpha source
« Reply #4 on: January 21, 2004, 11:30:20 PM »
VID_MenuInit should never be used.  I have it commented out everywhere.

Derrek

  • Stingray
  • Posts: 72
Re: qmenu.c/.h missing from alpha source
« Reply #5 on: January 22, 2004, 08:25:49 PM »
You might want to check the source in the files page....i d/l it twice, and unzipped it into different directories 3 times...and it is not commented out there.....

Also, check out qmenu.c in the CVS at http://cvs.sourceforge.net/viewcvs.py/paintball2/paintball2/ ....it says it is build007 updated this month.....

Im starting to think one of us is smoking crack....;)

thanks,

-Derrek

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: qmenu.c/.h missing from alpha source
« Reply #6 on: January 23, 2004, 10:26:37 PM »
I guess I sould update the VS6 project file.

Fryth

  • VM-68
  • Posts: 242
Re: qmenu.c/.h missing from alpha source
« Reply #7 on: January 29, 2004, 08:35:31 PM »
jit got 0wn3d.