
I've hacked through (senselessly) the various compilation errors (I think they were all related to GLfloat vs. Float, etc.) Frag now compiles and works, but I think I may have introduced some bugs (the weapon doesn't appear on the screen?) Unfortunately, I did the whole job on an unpacked cabal package from hackage, and also I've never used darcs. So here's the resulting package tree (excluding the big files). If anyone knows how to turn it into a darcs working copy and create a patch from it, please do!

I've hacked through (senselessly) the various compilation errors (I think they were all related to GLfloat vs. Float, etc.) Frag now compiles and works, but I think I may have introduced some bugs (the weapon doesn't appear on the screen?) Unfortunately, I did the whole job on an unpacked cabal package from hackage, and also I've never used darcs. So here's the resulting package tree (excluding the big files). If anyone knows how to turn it into a darcs working copy and create a patch from it, please do! (The attachment is available at http://www.haskell.org/pipermail/haskell-cafe/attachments/20091028/884ff469/... )

So here's the resulting package tree. If anyone knows how to turn it into a darcs working copy and create a patch from it, please do!
It's easy (and I recommend you do it yourself). * darcs get http://...blah/blah/foo * cp -R /my/hacked/copy/of/foo/* foo * cd foo * darcs record * darcs send --help That is, just copy your version of the source tree on top of a darcs repository of the original source tree, then record the changes. Regards, Malcolm

Ok, thanks - done. I also fixed the gun problem thanks to Henk-Jan van Tuyl. On Thu, Oct 29, 2009 at 11:52 AM, Malcolm Wallace < malcolm.wallace@cs.york.ac.uk> wrote:
So here's the resulting package tree. If anyone knows how to turn it into a
darcs working copy and create a patch from it, please do!
It's easy (and I recommend you do it yourself).
* darcs get http://...blah/blah/foo * cp -R /my/hacked/copy/of/foo/* foo * cd foo * darcs record * darcs send --help
That is, just copy your version of the source tree on top of a darcs repository of the original source tree, then record the changes.
Regards, Malcolm

On Wed, 28 Oct 2009 23:12:00 +0100, Phil Jones
I've hacked through (senselessly) the various compilation errors (I think they were all related to GLfloat vs. Float, etc.)
Frag now compiles and works, but I think I may have introduced some bugs (the weapon doesn't appear on the screen?)
Unfortunately, I did the whole job on an unpacked cabal package from hackage, and also I've never used darcs. So here's the resulting package tree (excluding the big files). If anyone knows how to turn it into a darcs working copy and create a patch from it, please do!
There was something missing at line 137 in Render.hs, I changed: translate ((vector3' x y z) :: Vector3 GLdouble) to: translate ((vector3' x (y + 30) z) :: Vector3 GLdouble) I have attached the file. After copying directory tga and file leveleg.bsp to frag-1.1.2b, I was able to compile and install frag. However, when I try to run it, I get a message that the entrypoint of procedure glutCreateWindow cannot be found in glut32.dll. Does anyone a solution for this? Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ --
participants (3)
-
Henk-Jan van Tuyl
-
Malcolm Wallace
-
Phil Jones