Some progess in merging:http://www.youtube.com/watch?v=0d_Sxknqd3khttp://www.youtube.com/watch?v=RwcH1n_2Pzs
(The speed of the second video is a bit strange at the first half. This is only the video capturing software.)
Some more technical notes, also some open for discussion: (Text copied from what I wrote in OLX-mailinglist.)
LX maps with Gus mods: Pixelflags needs either to be merged (in that
case get rid of old flags and use Gusanos flags) or write some small
on-the-fly-Gus-flags-creator when loading a LX map (second case may work
fine for now and means much less work).
Comboing: Gusanos people really hate that. When playing Gus in OLX, it
is anyway not supported because we use the original Gus input code right
now. I think it would be better in the end to have an option for this,
so you could also play LX without comboing - or Gus with comboing.
Ninjarope attached to worm is not supported by Gus. Add that and make it
optional, also for original LX? (Similar situation as comboing.)
(Ninjarope class is also seperated yet.)
Bots movement is buggy (probably the input wrapping code). Either more
merging or some more fixes there.
Weapons are independent. Things like weapon reselection are not working
because of that. Weapon selection is also handled fully by Gus (but
that's ok and should be like that because mods may handle that - some
mods may have fixed weapons, they also control the amount of weapons and
they also control the weapon selection itself, i.e. the menu).
Gus drawing is currently a bit slow. Perhaps some merging between the
sizefactor-code and Gus could make it faster, would also solve crashes
when using a sizefactor>1.
Gus worm drawing uses only the Gusanos worm skin, not the LX one.
LX mod with Gusanos map: The Gusanos drawing code is used in that case.
Worm drawing need to be fixed for that case, LX-ninjarope and projectile
Gus-drawing code need to be implemented. (Gus-drawing is different from
LX-drawing: everything scaled half.)
Sound playing code must reset the listener position when not using the
Gusanos sound playing functions. (Otherwise it just remembers the last
position and sound volume seems random.)
We also could enable the LX-3D-sound code now.
Still haven't done any network code for Gus.
Gusanos input is still active even when gameover-screen shows up or when
console is shown.
Gusanos map/mod loading is buggy in some cases. For example, once you
loaded a non-default mod and try to reload the default (Gus) mod, it
doesn't work and you still have the non-default mod. Seems it doesn't
unload the old stuff correctly. It seem to get slower and slower also,
so it really may not correctly free some resources. In some other cases
though, it seem to free some resources twice, i.e. it crashes because of
that. Also many related Gus errors on console.
Gusanos worms doesn't have lives (I think). As I anyway cannot
understand how anybody could set limited lives in a game, I don't really
care about this. And Gus will ignore the LX setting for limited lives
(except when you hit gameover because OLX still handles when the game is
Gus has its own respawning function for worms. (Reason also why it
ignores LX-worm-lives.) They differ somewhat, not sure if it would be a
good idea to merge it with the LX-spawn-function (you easily may break
Gus mods if you change it).
In general: Don't change any Gus functions! Most of it can be called by
Gus scripts and if you change them, it will change how Gus mods behave,
maybe even totally break some Gus mods.
For each respawn in Gusanos, you need to hit the jump button to get back
into the game (similar to games like Quake3). Not sure if we should make
it configureable or change that. I kind of like that way more than the
Bots are to stupid yet to understand the primary/secondary weapon fire.
Right now, if bShoot==false -> bShoot==true, I was triggering a Gus
Fire-start-event and if bShoot==true -> bShoot==false, I was triggering
a Gus Fire-stop-event. This is wrong for a lot of Gusanos weapons where
you need to wait a while until the Fire-stop-event. (Just play a bit the
Doom mod or so and you will see what I mean.)
Gusanos supports changeable ninjarope length. No idea if it is worth to
add that to OLX (in that case make it optional).