project-navigation
News
Download
Forum
Contribute
Media
FAQ
About
Contact
Personal tools
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New board
Home
Help
Search
Login
Register
UFO:Alien Invasion
»
Development
»
Coding
»
Patch to fix broken grenade prediction
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Patch to fix broken grenade prediction (Read 5665 times)
tomshackell
Guest
Patch to fix broken grenade prediction
«
on:
September 27, 2006, 03:13:38 am »
I noticed the grenade prediction code was a bit buggy (in particular it really didn't work if you tried to fire at something that was below you) so I rewrote it.
The code's pretty simple but the maths is rather involved so I've included a very long comment describing how it all works, should anyone need to understand it.
The patch is to the SVN revision most current at the time of writing (revision 3845) and is available at:
http://www-users.cs.york.ac.uk/~shackell/files/fix-grenade-trajectories.patch
thanks
Tom
Logged
Mattn
Administrator
PHALANX Commander
Posts: 4831
https://github.com/mgerhardy/vengi
Patch to fix broken grenade prediction
«
Reply #1 on:
September 27, 2006, 08:11:48 am »
i applied your patch to trunk now - thank you
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
UFO:Alien Invasion
»
Development
»
Coding
»
Patch to fix broken grenade prediction