MantisBT - VCMI
View Issue Details
0000750VCMIGUI - Battlespublic2011-06-18 05:012014-05-30 17:40
Warmonger 
beegee 
normaltweakalways
closedfixed 
PCWindows 7vanillia
0.85 
0.860.86 
0000750: Catapult projectile does not take into account high resolution set
It looks like in 1440x900 the projectile is completely out of focus. I guess it's about resolution, as it's very common mistake.

Also, according to code, the trajectory is described with cubic function, while as far as I know it should be parabolic?
No tags attached.
Issue History
2011-06-18 05:01WarmongerNew Issue
2011-06-18 05:01WarmongerStatusnew => assigned
2011-06-18 05:01WarmongerAssigned To => beegee
2011-06-18 09:11majaczekNote Added: 0001800
2011-06-26 10:24beegeeNote Added: 0001819
2011-06-26 10:24beegeeStatusassigned => resolved
2011-06-26 10:24beegeeFixed in Version => 0.89
2011-06-26 10:24beegeeResolutionopen => fixed
2014-05-30 17:40beegeeStatusresolved => closed

Notes
(0001800)
majaczek   
2011-06-18 09:11   
cubic function is a function with look like y=a*x*x+b*x+c
all those function (except the one a=0) draws a parabolic line on diagram

and if you mean the square root function it have a parabolic line on diagram but rotated by 90 degrees to the one i showed upway

but not working on higher resolution is a problem. i believe it has to be scaled for other resolution or counted as whole screen is 1 and multiplying the size with resolution...
wait! our battlescreen is always 800x600 in the window, do you mean the offset is wrong? (so drawing the projectile out of the window)
(0001819)
beegee   
2011-06-26 10:24   
Fixed in Rev2217.