Inside3D!
     

Quake menu alternatives

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
JasonX



Joined: 21 Apr 2009
Posts: 89

PostPosted: Thu Jul 22, 2010 8:48 pm    Post subject: Quake menu alternatives Reply with quote

I'm curious about how flexible and easy to work is the Quake main menu code. Is there any engine or mod that made significant modifications to it? Also, any vanilla WinQuake with mouse cursor support?
Back to top
View user's profile Send private message
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Thu Jul 22, 2010 8:51 pm    Post subject: Re: Quake menu alternatives Reply with quote

JasonX wrote:
I'm curious about how flexible and easy to work is the Quake main menu code. Is there any engine or mod that made significant modifications to it? Also, any vanilla WinQuake with mouse cursor support?


Working with the menus is about as easy as it gets.

FTEQW has mouse cursor support. For instance, you can select all the menus with the mouse. FTEQW has a software renderer version, of course.
_________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...
Back to top
View user's profile Send private message
reckless



Joined: 24 Jan 2008
Posts: 390
Location: inside tha debugger

PostPosted: Thu Jul 22, 2010 10:16 pm    Post subject: Reply with quote

most advanced i seen was probably the tenenbrae2 menu (resembles the one in half-life2) the menu code used xml2 but suffered from a few buggers and the engine newer reached beta status before it died.

the code is still on there sourceforge page. the engine itself was a hybrid (nope does not play quake) it used quake 3 bsp and shaders.

besides the quake 3 parts the engine was still very much quake 1 with some new stuff tugged on, so should be doable with a minor effort to grab the menu code for use in other quake engines.

downsides with it.

it relies on libxml2.dll and libiconv.dll which are ports from linux.

menu suffers a bit of issues on some cards it flickers and scales wrong.

also theres no example code for the menu besides an alpha test of industry so one would have to write there own.

all that aside it looks quite ok and should be fixable if used to libxml2 syntax. (might also need some code fixes).
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Fri Jul 23, 2010 12:04 am    Post subject: Reply with quote

FTEQW's menus are essentually completely rewritten.
You can create menus from the console. :P
Its object oriented rather than index based, though the server browser cheats.

in a more simplistic form, newselecteditem = (mousey - menutop) / menuelementheight; if ((unsigned)newselecteditem >= currentitemsinmenu) dontchangeselected(); else selecteditem = newselecteditem; simple really.
but you do need to change the input code to update mouse coords instead of view angles when key_dest == key_menu

mneh
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Fri Jul 23, 2010 3:12 am    Post subject: Reply with quote

QMB had a top-of-the-screen one, i forgot if it was mouse driven, but it was highly RTCW inspired.
_________________
Back to top
View user's profile Send private message
reckless



Joined: 24 Jan 2008
Posts: 390
Location: inside tha debugger

PostPosted: Fri Jul 23, 2010 10:58 am    Post subject: Reply with quote

no mouse support but a pretty nice menu in qmb Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group