Ykkrosh
ce67dfd333
Rename CELL_SIZE to TERRAIN_TILE_SIZE, to free up the term "cell" for other concepts.
...
This was SVN commit r10902.
2012-01-12 12:51:10 +00:00
Ykkrosh
6f2eec3c2e
Fix warnings
...
This was SVN commit r10867.
2012-01-04 13:19:38 +00:00
quantumstate
fa37c9b441
Reverted some of bad commit (10853) because I hit the wrong button
...
This was SVN commit r10854.
2012-01-02 22:15:21 +00:00
quantumstate
a4e1f3c292
This was SVN commit r10853.
2012-01-02 21:46:09 +00:00
Ykkrosh
0ec4242962
Detect and fix printf signedness errors. Fixes #1086 , #1087 .
...
This was SVN commit r10846.
2012-01-01 16:43:10 +00:00
Ykkrosh
c4bb67a1ca
Fix #1064 (use ++it instead of it++ for consistency), based on patch by Echelon9
...
This was SVN commit r10822.
2011-12-29 01:17:03 +00:00
Ykkrosh
1f38526444
Fix test failures on Windows
...
This was SVN commit r10802.
2011-12-23 13:37:11 +00:00
Ykkrosh
4f6f0b7baf
Fix tests, and warnings, and non-PCH build
...
This was SVN commit r10801.
2011-12-23 13:01:29 +00:00
Ykkrosh
c989f52c46
Use heap-based queue in pathfinder to improve worst-case performance (in exchange for terrible VS2008 debug-mode performance)
...
This was SVN commit r10790.
2011-12-22 16:58:03 +00:00
Ykkrosh
6399ec0cd2
# Partial support for saved games with AI.
...
Support cancelling loads while inside a loader callback.
Fix use of ArchiveReader/Writer since their API changed.
Improve error-detection in deserializer to avoid crashes.
Report deserializer errors to users.
Expand load-error message box to fit message about invalid saved games.
This was SVN commit r10787.
2011-12-22 14:04:32 +00:00
vts
292ed1d9e0
Allocated rally point flag entity on-demand instead of at initialization time. Fixes #1042 .
...
This was SVN commit r10722.
2011-12-13 14:14:41 +00:00
vts
6156fa7c9a
Changed default idle animation speed to 1 so that waypoint flags will animate properly
...
This was SVN commit r10712.
2011-12-11 13:35:51 +00:00
vts
46a09ced71
Fixed some compilation warnings
...
This was SVN commit r10710.
2011-12-11 02:11:05 +00:00
vts
db864f10c3
Rendering marker lines between buildings and rally points
...
Added command button to focus on rally point
(implements #524 )
This was SVN commit r10704.
2011-12-10 07:07:04 +00:00
vts
fbb0e3995f
Added prop point axes markers to Atlas' Actor Viewer panel
...
This was SVN commit r10703.
2011-12-10 05:11:25 +00:00
vts
1c19e905b1
Added prop points to Atlas' Actor Viewer
...
This was SVN commit r10696.
2011-12-09 10:49:08 +00:00
Ykkrosh
4da8bf001f
Add pathfinders to new profiler
...
This was SVN commit r10633.
2011-11-29 20:29:50 +00:00
janwas
301854702c
add support for removing individual files from VFS and a mechanism for automatically doing so (add filename.extension.DELETED to the same directory/archive), as discussed in meeting.
...
refactor: split up Invalidate into RemoveFile+RepopulateDirectory
GameSetup: fix: ensure the first mod always overrides game files,
irrespective of timestamp.
This was SVN commit r10610.
2011-11-26 18:37:53 +00:00
vts
85186c98b2
Better selection boxes. Closes #914 , #295 , #810 .
...
This was SVN commit r10593.
2011-11-25 06:36:13 +00:00
fcxSanya
8cbab40137
Barter. Closes #23 .
...
This was SVN commit r10588.
2011-11-24 15:43:32 +00:00
historic_bruno
8d977e4818
Allows building in fog of war. Fixes #958 .
...
This was SVN commit r10584.
2011-11-24 00:58:34 +00:00
Ykkrosh
2878102ed7
Avoid some code duplication
...
This was SVN commit r10583.
2011-11-23 21:26:14 +00:00
Ykkrosh
ab88151ed0
Fix uninitialised value
...
This was SVN commit r10582.
2011-11-23 21:24:41 +00:00
Ykkrosh
f66a3e726f
Avoid overflow identified by /RTCc warning
...
This was SVN commit r10537.
2011-11-14 22:22:38 +00:00
Ykkrosh
fbff0aa98d
Fix printf argument types
...
This was SVN commit r10529.
2011-11-13 18:31:06 +00:00
Ykkrosh
f0f81827f3
Fix build with old GCCs
...
This was SVN commit r10522.
2011-11-13 01:04:40 +00:00
Ykkrosh
cfb79c3062
# Add GPU performance profiling support.
...
Add some profiler region attributes.
Render events in profile visualiser.
Change profiler from GPL to MIT.
This was SVN commit r10492.
2011-11-09 13:09:01 +00:00
Ykkrosh
09a02c96d5
Add initial code annotations for the new profiling tool
...
This was SVN commit r10466.
2011-11-04 01:35:50 +00:00
Ykkrosh
21c6141cdc
Preserve player colours and animations when serializing models
...
This was SVN commit r10453.
2011-10-29 15:30:46 +00:00
Ykkrosh
23ae535a1e
Minor enhancements to serialization test mode
...
This was SVN commit r10449.
2011-10-28 13:18:16 +00:00
Ykkrosh
f31a8f7181
Fix warning
...
This was SVN commit r10448.
2011-10-28 13:16:53 +00:00
Ykkrosh
959b5a505c
Fix bug in incremental LOS computation
...
This was SVN commit r10446.
2011-10-28 13:15:33 +00:00
Ykkrosh
d57bb00ece
Fix sparse array serialization
...
This was SVN commit r10442.
2011-10-27 20:56:32 +00:00
Ykkrosh
a739b8f309
Fix some saved-game OOS errors
...
This was SVN commit r10441.
2011-10-27 20:12:00 +00:00
Ykkrosh
4c561dc3f9
Improve debugging of binary serialization
...
This was SVN commit r10440.
2011-10-27 20:10:53 +00:00
Ykkrosh
18e595a5a6
Fix OOS-log paths to work on Windows
...
This was SVN commit r10434.
2011-10-27 14:17:39 +00:00
Ykkrosh
29e4f633f1
Add initial serialization test mode.
...
Reduce some dependencies on CSimulation2 to provide more flexibility.
This was SVN commit r10426.
2011-10-24 14:31:05 +00:00
Ykkrosh
0f3119e36a
Fix deserialization of actor components
...
This was SVN commit r10425.
2011-10-24 12:24:04 +00:00
Ykkrosh
f4ed019c46
Avoid hypotf
...
This was SVN commit r10421.
2011-10-23 12:27:34 +00:00
janwas
8af8326563
replace old pool_allocator/RawPoolAllocator with ProxyAllocator that draws upon the new-style Arena (more efficient, avoids slow VirtualAlloc)
...
This was SVN commit r10410.
2011-10-16 10:37:21 +00:00
historic_bruno
1c081135ad
Adds territory map to AI GameState, based on patch from quantumstate. Fixes #969 .
...
Updates testbot and Jubot to support basic build restrictions.
This was SVN commit r10408.
2011-10-16 02:55:58 +00:00
Ykkrosh
cb7a4f8b1a
Hopefully fix replay mode
...
This was SVN commit r10175.
2011-09-02 23:47:26 +00:00
historic_bruno
27e5581d27
Fixes Atlas player panel getting out of sync with simulation. Fixes #927 .
...
Fixes object panel not being notified of map loading.
Fixes bug where opening a new map before using the player panel
prevented default player data being displayed for new players.
Fixes wxGTK 2.8 bug: wxChoicebook control doesn't update the choice
control when adding/removing pages.
Notifies player that deleting player in Atlas will delete all their
objects (and gives them the option).
Changes DeleteObject to DeleteObjects to support multiple selections.
Implements undo for map resize (experimental).
Removes annoying debug message from attempted undo of map settings.
Tweaks a few Atlas UI controls.
This was SVN commit r10064.
2011-08-22 21:45:39 +00:00
historic_bruno
730a89152c
Fixes typecast performance warning in MSVC.
...
This was SVN commit r10045.
2011-08-21 00:09:28 +00:00
Ykkrosh
49af1880f8
Fix tests
...
This was SVN commit r10035.
2011-08-18 21:12:15 +00:00
Ykkrosh
308cb26dd4
# Health decay for buildings not in a civ center's territory.
...
This was SVN commit r10034.
2011-08-18 20:28:53 +00:00
historic_bruno
7bd2f1c925
Temp fix for autobuild: VC2008 doesn't define hypotf.
...
This was SVN commit r10021.
2011-08-17 04:34:20 +00:00
Ykkrosh
609f1643d5
Fix -Wconversion warnings in simulation code.
...
Cast to smaller integer types explicitly.
Generally avoid platform-dependent types (size_t) in simulation code.
Use float versions of math.h functions, not double.
This was SVN commit r10017.
2011-08-16 11:18:32 +00:00
historic_bruno
1b8471da1f
Changes shore definition to distance on land (all water included) for better dock placement.
...
Updates build passability classes.
Fixes tile expansion in CheckBuildingPlacement (don't use FromFloat).
Changes dock rotation snapping to search outward.
This was SVN commit r10007.
2011-08-14 23:36:13 +00:00
historic_bruno
f378e2e651
Implements building restrictions (by terrain, territory, category, and distance). See #41 . Fixes #804 , #287 .
...
Implements build limits. See #687 .
Implements autorotation for dock placement.
Fixes unit spawning to consider terrain passability. See #893 .
Adds new passability criteria based on distance from shore.
Updates build restrictions on some templates.
Changes unit spawning search to 4 tiles away from foundation.
Changes garrison/training spawn failure to nicer UI notification.
This was SVN commit r9970.
2011-08-06 08:11:05 +00:00