31be9cd0de
Adds building previews that rise during construction, fixes #1174 , refs #21 .
...
Adds scaffold support for foundations, includes two examples for 3x3 and
4x4, fixes #1581 .
Extends CmpVisualActor and CUnit to support random variant seeds.
Fixes bug in actor hotloading.
Fixes serialization failure caused by destroying entities in OnDestroy
handlers.
This was SVN commit r13143.
2013-02-03 02:08:20 +00:00
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
e89193d66d
Fixes serialization test failure from CmpVisualActor not setting initial animation state with graphics disabled, fixes #1812
...
This was SVN commit r13053.
2013-01-06 07:37:22 +00:00
ba94247744
Added unordered map serialization
...
This was SVN commit r13039.
2013-01-03 22:33:04 +00:00
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
8c931bfa52
Add animation override to VisualActor to fix carrying resource animations. Patch by Deiz. Fixes #1260 , #1741 .
...
This was SVN commit r12949.
2012-12-06 19:46:13 +00:00
186224612c
Fixes tests by checking CConfigDB is initialized before using CFG_GET_USER_VAL
...
This was SVN commit r12946.
2012-12-05 18:27:42 +00:00
a923cdd139
Fix serialization failure.
...
This was SVN commit r12941.
2012-12-04 16:59:08 +00:00
eb4805d73d
Adds command-line and config options for OOS log and serialization test modes: -ooslog and -serializationtest
...
This was SVN commit r12930.
2012-12-03 20:06:58 +00:00
5806ed94e1
Fix bug with gather-near-position.
...
Use the max range for attacking.
This was SVN commit r12915.
2012-12-02 17:25:23 +00:00
081c846ff1
Network synchronise the projectile id to prevent out of sync errors. Fixes #1681
...
This was SVN commit r12865.
2012-11-20 23:46:23 +00:00
76676b1e38
Fix a non-fatal GL error, fix me forgetting to commit a file, remove the "3D" waviness setting as it was mostly redundant with HQ.
...
This was SVN commit r12822.
2012-11-05 12:14:04 +00:00
bc1efba1dc
Moves water rendering update to CCmpWaterManager and uses sim time instead of real time. Fixes water not animating in Atlas and incorrectly animating while the game is paused.
...
This was SVN commit r12758.
2012-10-15 19:36:04 +00:00
1fb7889539
Postproc manager
...
This was SVN commit r12755.
2012-10-15 10:34:23 +00:00
772c10801c
Fixes missing Atlas selection rings for decorative actors
...
This was SVN commit r12716.
2012-09-28 19:16:32 +00:00
e72b603cce
Implements Vision/Range tech modification
...
This was SVN commit r12707.
2012-09-24 22:27:32 +00:00
0a0a49eb09
Explicitly store whether whether a unit is moving, as formation members don't finish moving as normal.
...
This was SVN commit r12624.
2012-09-04 03:57:22 +00:00
d805c87249
Send messages when formation members hit fail to find a path or are obstructed.
...
This was SVN commit r12613.
2012-09-03 02:59:15 +00:00
38ea080d25
Increase the AI's js runtime size to 32 MB for the time being.
...
This was SVN commit r12594.
2012-09-02 01:50:16 +00:00
89c8bccbde
Sound system patch by stwf:
...
Fixes sound system to work with archives (use VFS files instead of
POSIX), fixes #1604 .
Improves error handling and logging, refs #1594 .
Allows sound to be disabled with -nosound/-quickstart runtime options or
--without-audio build option, fixes #1609 , #1614 .
Experimentally increases default buffer size to help prevent sound
stoppages.
This was SVN commit r12566.
2012-08-31 19:08:41 +00:00
9fcb7cc738
Fixed formations so switching formation in-place doesn't leave entities in FORMATIONMEMBER.WALKING and short walk orders bring units into proper formation.
...
This was SVN commit r12563.
2012-08-31 08:20:36 +00:00
7e382fc26f
CCmpUnitMotion::MoveToPointRange should ignore unit radius, so it correctly returns false when called repeatedly for large units.
...
This was SVN commit r12511.
2012-08-22 06:13:23 +00:00
66012e2e2c
Destroy dying 'remain' entities and replace them with visually-identical resources. Fixes #1600 .
...
This was SVN commit r12486.
2012-08-20 01:38:39 +00:00
3653fe5d3a
Added support for putting technologies in folders. Fixes #1462 .
...
This was SVN commit r12440.
2012-08-15 22:25:25 +00:00
011ba8255e
New sound system implementation by stwf, refs #1223 , #961 .
...
Enables audio on OS X, refs #685 , #931 .
Fixes music not playing after a game, refs #946 .
This was SVN commit r12428.
2012-08-15 00:10:44 +00:00
613f845095
Improve gate closing behaviour when locked or with no allies nearby. Fixes #1551 .
...
This was SVN commit r12337.
2012-08-09 19:06:01 +00:00
791752c7a4
Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes.
...
This was SVN commit r12315.
2012-08-08 05:18:20 +00:00
648e68e49c
smooth LOS
...
This was SVN commit r12304.
2012-08-06 22:38:42 +00:00
c0f522fd20
Use upper camel case for member variables
...
This was SVN commit r12298.
2012-08-06 16:46:54 +00:00
2c642fc68e
Uninitialized variable was causing nondeterministic weirdness in Atlas.
...
This was SVN commit r12275.
2012-08-04 16:56:09 +00:00
be31d3a9e7
Added a function for finding colliding entities with identical control groups. Refs #1529 .
...
This was SVN commit r12269.
2012-08-03 16:36:40 +00:00
692795e56e
Added engine-side obstruction group sanitizing, saving, and loading. Refs #1566
...
This was SVN commit r12258.
2012-08-01 21:38:13 +00:00
3c0bd23108
Slightly speed up actor rendering; have selectables properly handle fog of war, etc. Refs #1365 .
...
This was SVN commit r12241.
2012-07-30 21:06:54 +00:00
4264166acf
Detect when units aren't in the world and hide their selection rings. Based on patch by dvangennip. Refs #1365 .
...
This was SVN commit r12239.
2012-07-30 04:45:33 +00:00
2c8adb1aea
Adds support for Boost.Filesystem v3, the only option in Boost 1.50. Fixes #1527 . Refs #1360
...
This was SVN commit r12229.
2012-07-29 23:04:22 +00:00
89399e08e6
Implements always visible hero selection rings, based on patch by Deiz/F00. Fixes #1365
...
This was SVN commit r12148.
2012-07-19 04:45:01 +00:00
51b9fa6186
Uses xml attributes instead of elements for obstructions shapes.
...
This was SVN commit r12093.
2012-07-12 20:00:38 +00:00
2c5933912c
Gates. Adds UI buttons, replaces wall section with a gate, defines and create obstruction shapes, detects friendly units and eventually disable door's "block movement" flag, allows us to lock / unlock the door by disabling "block pathfinding" flag. Needs icons, play sound, animations. Fixes #1385 , refs #619 .
...
This was SVN commit r12081.
2012-07-08 16:25:33 +00:00
99d04e93bb
Implements global tech modification function. Fixes #1358 , refs #1520 .
...
Applies tech modifications to template data returned by GuiInterface.
Extends engine to load arbitrary global scripts, separates this from RNG
replacement. Refs #1193 .
Loads global scripts for most script contexts for consistency.
Adds simulation tests for global scripts.
This was SVN commit r12056.
2012-07-03 02:16:45 +00:00
ebe5b66ba3
Fix test failure caused by f660f834bf
.
...
This was SVN commit r12014.
2012-06-24 21:03:46 +00:00
f660f834bf
Added default, arbitrary-sized Footprint component to actor entities. Makes their selection outlines show up in Atlas. Fixes #1477 .
...
This was SVN commit r11997.
2012-06-23 21:12:51 +00:00
8dc36bed4e
Fixes error in actor viewer caused by 962da61f12
. Fixes #1499
...
This was SVN commit r11973.
2012-06-14 22:47:57 +00:00
637c09b204
Add support for OpenBSD. Fixes #1463 .
...
Backport os_getversion from premake4.4-beta4 and extend it to support
POSIX-compilant systems.
Add some missing newlines at the end of file as these cause warnings on
OpenBSD.
Update the config paths.
This was SVN commit r11970.
2012-06-13 20:43:56 +00:00
4ac52a3c47
Fixes bug in percentage map explored calculation. Refs #1334
...
This was SVN commit r11957.
2012-06-09 23:04:27 +00:00
2243f699fc
Fix test failure.
...
Fix entity placement on Phoenician Levant.
This was SVN commit r11951.
2012-06-08 19:17:31 +00:00
962da61f12
Adds shared LOS for allied players, based on patch by Deiz/F00. Fixes #1334 .
...
This was SVN commit r11949.
2012-06-08 04:41:39 +00:00
6b50a660b9
Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824 . Refs #824 .
...
This was SVN commit r11944.
2012-06-06 19:37:03 +00:00
137b6dd338
Queued orders for rally points. Fixes #1053 and #1211 .
...
This was SVN commit r11909.
2012-05-24 18:25:31 +00:00
c4d6019599
Add garrison order sound and remove the old garrison sound.
...
Fix some map errors, tabs in templates and update docs.
This was SVN commit r11891.
2012-05-20 15:44:57 +00:00
f72d820cd4
Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18 .
...
This was SVN commit r11886.
2012-05-19 23:07:41 +00:00
d67d2e2370
Updated some documentation in CmpObstructionManager
...
This was SVN commit r11766.
2012-05-05 23:10:25 +00:00
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
32d2927449
Adds UTF-8 support for JavaScript files.
...
This was SVN commit r11750.
2012-05-04 21:48:46 +00:00
da4c1c8f2b
Fixes handling of UTF-8 encoded JSON files (stripping BOM if necessary). Fixes #1375 .
...
This was SVN commit r11739.
2012-05-04 03:46:05 +00:00
58836c624a
Read formations from civ JSON files. Fixes #1234 , #601 .
...
This was SVN commit r11735.
2012-05-03 23:32:10 +00:00
6f06d7e69e
...
...
This was SVN commit r11714.
2012-05-01 23:01:40 +00:00
9173f3c81f
This was SVN commit r11713.
2012-05-01 22:54:02 +00:00
030771907e
This was SVN commit r11712.
2012-05-01 22:52:24 +00:00
fc47098743
Implements TerritoryInfluence/Radius tech modification. Adds C++ interface for TechnologyManager. Renames its message to MT_TechnologyModification defined in TypeList.h. Refs #1357 .
...
This was SVN commit r11711.
2012-05-01 22:44:27 +00:00
61fad4a2b5
Fixed strange selection ring fadeout on unit deselection in Atlas
...
This was SVN commit r11634.
2012-04-22 17:49:43 +00:00
34fc883317
Pretty unit selection overlay rings. Fixes #824 .
...
This was SVN commit r11623.
2012-04-22 04:04:02 +00:00
4c372aa6d8
Remove some unused component setters
...
This was SVN commit r11602.
2012-04-21 13:12:36 +00:00
755e407aeb
Technologies. Refs #3 . Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
...
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00
54fb33841e
Fix some issues.
...
This was SVN commit r11537.
2012-04-17 20:44:18 +00:00
c56f96040e
Implement healing. Fixes #999 .
...
This was SVN commit r11536.
2012-04-17 20:22:13 +00:00
f3617822e0
Make AlwaysVisible objects always visible in shader mode. Fixes #908 .
...
This was SVN commit r11454.
2012-04-08 16:36:23 +00:00
8680c6ce06
Delete rally point marker entity when entity is destroyed. Fixes #1254 .
...
This was SVN commit r11409.
2012-03-28 23:09:05 +00:00
d0fc32af4c
Fix failure in replay mode
...
This was SVN commit r11402.
2012-03-26 22:11:30 +00:00
d7128572ae
Removed logger output for XML token node tests
...
This was SVN commit r11360.
2012-03-17 23:03:02 +00:00
2207786c05
Missed a bit of indentation in previous commit
...
This was SVN commit r11343.
2012-03-15 22:58:25 +00:00
31da0a746b
Fixes crash when removing non-existent tokens from XML 'token' nodes
...
This was SVN commit r11342.
2012-03-15 22:57:08 +00:00
c393732939
Adds slightly more helpful error message when failing to validate an entity template.
...
This was SVN commit r11273.
2012-03-08 05:13:35 +00:00
3c677ee425
Prevent unnecessary work, especially on maps with many actors
...
This was SVN commit r11267.
2012-03-07 19:54:54 +00:00
26efdaf216
Try to improve ambiguous bit descriptions
...
This was SVN commit r11249.
2012-03-05 16:09:47 +00:00
7fa6afac37
Corrects some Doxygen comments and adds a few others of interest.
...
This was SVN commit r11209.
2012-03-01 03:55:05 +00:00
a01e1cd46a
Fixes incorrect use of jschar (broke Linux builds)
...
This was SVN commit r11207.
2012-02-29 23:41:23 +00:00
366cd7f15a
Fixes broken selections in saved games (CmpSelectable needed to call Init on deserialization).
...
Adds function name to log output when serializer fails on functions, to
aid in debugging.
This was SVN commit r11199.
2012-02-28 22:12:30 +00:00
b8e8602e39
Fixed test failure in test_CmpTemplateManager.h after atlas selection improvement
...
This was SVN commit r11182.
2012-02-27 19:10:49 +00:00
7d9e98b00e
Adds multiple entity selection to Atlas (including move/delete). Fixes #678 .
...
Makes all actors selectable in Atlas and gives them selection rings (an
EditorOnly flag is used in the template for Atlas-only selectables).
Adds player colors to Atlas selection rings.
Fixes decal selection by falling back to old-style AABBs. Refs #1032 .
Replaces UnitManager selections with EntitySelection helpers.
Adds DrawOverlays to Atlas views, for Atlas-specific rendering.
Fixes bug where selection rings conflicted with Move/rotate tool in
Atlas simulation test.
This was SVN commit r11177.
2012-02-27 05:32:35 +00:00
b7e848de23
Avoid unused parameter warnings due to safe bool operators.
...
This was SVN commit r11142.
2012-02-25 06:24:24 +00:00
590228804e
Fixed rally line attachment point for circular buildings (refs #1172 )
...
This was SVN commit r11106.
2012-02-20 00:13:46 +00:00
5a4aa790ad
Fix spelling and whitespace and add rationale
...
This was SVN commit r11088.
2012-02-17 14:34:44 +00:00
4f5a02acc4
Changes CCmpProjectileManager's culling to use recursive world bounds. Fixes instantly-disappearing smoke trails on projectiles going off-screen.
...
This was SVN commit r11062.
2012-02-13 20:06:57 +00:00
08bd07ddd6
Adds safe bool operator to ICmpPtr, replacing the null() method, based on patch by leper. Also changes bool operator in AtSmartPtr to safe bool. Fixes #1077 .
...
Changes some CmpPtr variable names for consistency.
This was SVN commit r11036.
2012-02-08 02:46:15 +00:00
275e5b9620
Fixes signed/unsigned comparison warnings in GCC.
...
This was SVN commit r11014.
2012-02-04 06:17:17 +00:00
fc27a5c0ea
More FreeBSD build fixes.
...
Fixes some warnings about files that don't end with newline.
This was SVN commit r10991.
2012-01-30 06:21:11 +00:00
91652bdf6e
Implemented nested territory boundaries. Fixes #918 .
...
Fixed out of bounds memory access in Atlas due to always using global
terrain in TerrainOverlay
Fixed wrong player ID calculation in TerritoryOverlay
This was SVN commit r10929.
2012-01-18 21:22:58 +00:00
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
6f2eec3c2e
Fix warnings
...
This was SVN commit r10867.
2012-01-04 13:19:38 +00:00
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
a4e1f3c292
This was SVN commit r10853.
2012-01-02 21:46:09 +00:00
0ec4242962
Detect and fix printf signedness errors. Fixes #1086 , #1087 .
...
This was SVN commit r10846.
2012-01-01 16:43:10 +00:00
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
1f38526444
Fix test failures on Windows
...
This was SVN commit r10802.
2011-12-23 13:37:11 +00:00
4f6f0b7baf
Fix tests, and warnings, and non-PCH build
...
This was SVN commit r10801.
2011-12-23 13:01:29 +00:00
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
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
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
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
46a09ced71
Fixed some compilation warnings
...
This was SVN commit r10710.
2011-12-11 02:11:05 +00:00