Mercurial
Mercurial
>
hedgewars-draft
/ file revisions
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
file
| revisions |
annotate
|
diff
|
comparison
|
rss
|
help
(0)
-100
-30
-10
-3
tip
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
hedgewars/uLand.pas
Thu, 01 Jul 2010 23:41:10 -0400
nemo
Revert prior attempted optimisation. Gridding the land pays in some situations, but not all. Restricting to an upper bound might help, but overall, seems too fuzzy to be worth it. On one side is increased cost of Add/Delete + extra test on collision check, on the other is skipping the list iteration. Perhaps for large lists.
file
|
diff
|
annotate
Thu, 01 Jul 2010 19:05:29 -0400
nemo
Initialise to 0
file
|
diff
|
annotate
Thu, 01 Jul 2010 17:00:14 -0400
nemo
Grid the landscape, and shortcircuit checks on the collision array if there are no nearby checked in collisions to be collided with. This is a big win for fire's ammoshove in particular. Also add a +2 that seemed missing in the check, and update fire accordingly.
file
|
diff
|
annotate
less
more
(0)
-100
-30
-10
-3
tip