alpha123
041855e547
Allow building walls along the shore. Patch by sanderd17. Fix #1610 .
...
This was SVN commit r13542.
2013-07-07 22:44:47 +00:00
historic_bruno
49b3b0ee9a
Reverts interpolation changes from a7bc7ab50c, 71ae5a19d8, 1778e685ac, c6043779f6, 8777f68aa0, 21f13f9683. Refs #1846 , #1858 , #1865 , #1906
...
This was SVN commit r13500.
2013-06-25 01:09:43 +00:00
historic_bruno
ce8457e195
Fixes map name in pathfinder performance test
...
This was SVN commit r13497.
2013-06-23 00:50:24 +00:00
historic_bruno
a7bc7ab50c
Fixes units not rotating correctly during e.g. attacks, patch by sbte, fixes #1906
...
This was SVN commit r13489.
2013-06-18 03:42:06 +00:00
stwf
36dec0e789
add restricted flag to SoundGroup xml for sounds thatonly the owning player should hear
...
This was SVN commit r13486.
2013-06-17 02:30:40 +00:00
historic_bruno
5f90371a1c
Cleans up some float constants and math from #1921
...
This was SVN commit r13482.
2013-06-15 00:42:07 +00:00
alpha123
9d27cccbcd
Fix Visual Studio build issues.
...
This was SVN commit r13481.
2013-06-15 00:20:40 +00:00
alpha123
98cac1a10f
Improve ship sinking. Patch by wraitii. Fix #1921
...
This was SVN commit r13478.
2013-06-14 19:19:13 +00:00
stwf
bcf99e2a13
make sound code return faster, code cleaner
...
This was SVN commit r13476.
2013-06-14 16:05:57 +00:00
stwf
da17e4329b
cleanup SOundManaer component
...
This was SVN commit r13475.
2013-06-14 00:24:51 +00:00
stwf
26dbac8d57
fixes to SoundManager external interface, clean up ifdef situation, and SoundGroup playin
...
This was SVN commit r13474.
2013-06-13 12:12:44 +00:00
historic_bruno
b3653cfe16
Updates bundled Valgrind headers to 3.8.1 and fixes test build, patch by Markus, fixes #1971
...
This was SVN commit r13473.
2013-06-12 03:38:37 +00:00
leper
b3391ebe39
Fix build warnings. Patch by Markus. Refs #1851 .
...
This was SVN commit r13469.
2013-06-11 00:05:57 +00:00
leper
29549561e1
Add flag to VisualActor for entities that should only be visible in Atlas. Patch by KareemErgawy. Fixes #1411 .
...
This was SVN commit r13465.
2013-06-09 23:18:21 +00:00
stwf
71b25d5bd4
big SoundManager checkin,futureproof javascript interface, isolate external calls to remove OpenAL references
...
This was SVN commit r13455.
2013-06-06 11:13:57 +00:00
historic_bruno
d2b0d25457
Fixes macro redefinition of FACILITY_VISUALCPP in VC2012 (it's defined in winerror.h).
...
Removes obsolete hack for old Boost and VC2005 (broke VC2005 build with
modern Boost).
This was SVN commit r13433.
2013-05-28 01:14:41 +00:00
historic_bruno
88c4e5bdd0
Extends binary serializer to support some standard JS classes: Number, String, Boolean. Fixes #406 .
...
Extends binary serializer to support typed arrays.
Extends binary serializer to support custom JS prototype objects in AIs,
fixes #407 .
Allows full serialization of AIs (not yet implemented). Refs #1089 ,
#1886
Increases binary serializer script backref arena from 8 MB to 16 MB,
refs #1842
This was SVN commit r13429.
2013-05-26 21:57:24 +00:00
leper
3f00d4d997
Change some size() > 0 to Based on patches by kuranes and Markus. Refs #1852 , #1923 .
...
This was SVN commit r13413.
2013-05-21 22:11:47 +00:00
leper
0d09f290d9
Allow setting rally points for foundations. Patch by Josh. Fixes #902 .
...
This was SVN commit r13390.
2013-05-02 20:29:22 +00:00
wraitii
4233acfa36
Slight clean up of the water code. Uses vertex data instead of a texture for foam. Should be faster to generate and render. Still no Atlas support.
...
This was SVN commit r13374.
2013-04-27 12:20:42 +00:00
historic_bruno
c2ca0209fa
Fixes multiplayer crash when host disconnects while clients are still loading.
...
Improves client disconnect handling slightly.
This was SVN commit r13327.
2013-03-25 05:01:36 +00:00
wraitii
475c722327
Fix serialization issues with Aegis.
...
This was SVN commit r13326.
2013-03-24 09:10:32 +00:00
historic_bruno
71ae5a19d8
Fixes visual actor interpolation, handling position changes more cleanly, based on patch by sbte.
...
Fixes rally point lines not updating, fixes #1865
This was SVN commit r13323.
2013-03-23 17:59:54 +00:00
wraitii
25293ce0cc
Many small bugfixes for AIs. Adds support for difficulty (and along with that, some behind-the-door architecture for a handicap system).
...
Adds -autostart-aidiff to set the difficulty from the command line from
testing.
This was SVN commit r13278.
2013-03-13 20:44:48 +00:00
wraitii
9b1b8cc8fd
A few bugfixes, slight change in logic for smoother play. Makes Aegis gather with cavalry. Allows it to send chat messages to warn about attacks.
...
This was SVN commit r13266.
2013-03-11 19:58:29 +00:00
wraitii
eda2802f6d
Simplify construction of the transformation matrix in GetInterpolatedTransform. Patch by sbte. Fixes #1854
...
This was SVN commit r13252.
2013-03-10 20:31:53 +00:00
wraitii
1778e685ac
Improve detection of when a component needs to be interpolated. Patch by sbte. Fixes #1858 .
...
This was SVN commit r13251.
2013-03-10 20:28:01 +00:00
wraitii
2c17ab70ac
Add support for -autostart-civ to set civilizations when quickstarting.
...
Put the AI memory heap back to 32 MB to avoid OOM errors with numerous
AIs in late game.
Fix a bug that made ProductionQueue not broadcast progress.
Fix many issues with Aegis in defense, pathfinding, foundation
construction, training building choice, strength calculations, building
placement and mostly attack. Aegis should be much more aggressive.
This was SVN commit r13247.
2013-03-09 14:09:06 +00:00
quantumstate
c6043779f6
Better fix for the angle interolation issue. Thanks sbte for spotting it. Refs #1846 .
...
This was SVN commit r13244.
2013-03-08 20:01:12 +00:00
quantumstate
8777f68aa0
Fix rotation interpolation. Refs #1846 .
...
This was SVN commit r13243.
2013-03-08 19:34:55 +00:00
wraitii
081721c679
Fix the build and stops the AI from creating tons of AI dump images for no good reason.
...
This was SVN commit r13231.
2013-03-06 14:33:15 +00:00
wraitii
a45a926aeb
Fix an issue that caused a crash on serialization. Prepare the AI manager a little more for serialization.
...
Fix bugs with tests. Fix some other issues in the AI (attack plans deal
with walls better, choose better paths, target selection is better. Dock
building won't be tried hundreds of times if it fails.)
Changes the Oasis random map to only put a path in the middle 50% of the
time.
This was SVN commit r13230.
2013-03-06 11:52:41 +00:00
wraitii
e33d4a52e9
AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI.
...
This was SVN commit r13225.
2013-03-05 22:52:48 +00:00
quantumstate
21f13f9683
Only use interpolation for moving objects in VisualActor. Patch by sbte. Fixes #1846 .
...
This was SVN commit r13223.
2013-03-05 20:02:16 +00:00
stwf
e4a9312c46
newest soundmanager patch, should give better battle sequences, and handle low resource situations correctly.
...
This was SVN commit r13209.
2013-03-01 14:22:28 +00:00
historic_bruno
e283e75d84
Updates example component documentation
...
This was SVN commit r13203.
2013-02-26 19:58:51 +00:00
historic_bruno
ca92e50048
Adds notification tooltips for building placement, fixes #921 .
...
Tweaks info tooltip borders and padding to improve readability.
This was SVN commit r13191.
2013-02-24 00:12:41 +00:00
historic_bruno
92fdbb49b6
Moves particle interpolation to its own simulation component.
...
Fixes inconsistency between Atlas and in-game particle rendering during
pauses.
Fixes some issues related to Atlas simulation test and map loading.
This was SVN commit r13184.
2013-02-22 23:20:59 +00:00
historic_bruno
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
Ykkrosh
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
historic_bruno
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
quantumstate
ba94247744
Added unordered map serialization
...
This was SVN commit r13039.
2013-01-03 22:33:04 +00:00
leper
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
leper
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
historic_bruno
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
leper
a923cdd139
Fix serialization failure.
...
This was SVN commit r12941.
2012-12-04 16:59:08 +00:00
historic_bruno
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
leper
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
quantumstate
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
wraitii
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
historic_bruno
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
myconid
1fb7889539
Postproc manager
...
This was SVN commit r12755.
2012-10-15 10:34:23 +00:00
historic_bruno
772c10801c
Fixes missing Atlas selection rings for decorative actors
...
This was SVN commit r12716.
2012-09-28 19:16:32 +00:00
historic_bruno
e72b603cce
Implements Vision/Range tech modification
...
This was SVN commit r12707.
2012-09-24 22:27:32 +00:00
Deiz
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
Deiz
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
Deiz
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
historic_bruno
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
Deiz
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
Deiz
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
Deiz
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
quantumstate
3653fe5d3a
Added support for putting technologies in folders. Fixes #1462 .
...
This was SVN commit r12440.
2012-08-15 22:25:25 +00:00
historic_bruno
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
Deiz
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
Deiz
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
myconid
648e68e49c
smooth LOS
...
This was SVN commit r12304.
2012-08-06 22:38:42 +00:00
historic_bruno
c0f522fd20
Use upper camel case for member variables
...
This was SVN commit r12298.
2012-08-06 16:46:54 +00:00
Deiz
2c642fc68e
Uninitialized variable was causing nondeterministic weirdness in Atlas.
...
This was SVN commit r12275.
2012-08-04 16:56:09 +00:00
Deiz
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
Deiz
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
Deiz
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
Deiz
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
historic_bruno
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
historic_bruno
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
Badmadblacksad
51b9fa6186
Uses xml attributes instead of elements for obstructions shapes.
...
This was SVN commit r12093.
2012-07-12 20:00:38 +00:00
Badmadblacksad
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
historic_bruno
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
leper
ebe5b66ba3
Fix test failure caused by f660f834bf.
...
This was SVN commit r12014.
2012-06-24 21:03:46 +00:00
vts
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
historic_bruno
8dc36bed4e
Fixes error in actor viewer caused by 962da61f12. Fixes #1499
...
This was SVN commit r11973.
2012-06-14 22:47:57 +00:00
leper
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
historic_bruno
4ac52a3c47
Fixes bug in percentage map explored calculation. Refs #1334
...
This was SVN commit r11957.
2012-06-09 23:04:27 +00:00
leper
2243f699fc
Fix test failure.
...
Fix entity placement on Phoenician Levant.
This was SVN commit r11951.
2012-06-08 19:17:31 +00:00
historic_bruno
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
vts
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
leper
137b6dd338
Queued orders for rally points. Fixes #1053 and #1211 .
...
This was SVN commit r11909.
2012-05-24 18:25:31 +00:00
leper
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
quantumstate
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
vts
d67d2e2370
Updated some documentation in CmpObstructionManager
...
This was SVN commit r11766.
2012-05-05 23:10:25 +00:00
vts
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
historic_bruno
32d2927449
Adds UTF-8 support for JavaScript files.
...
This was SVN commit r11750.
2012-05-04 21:48:46 +00:00
historic_bruno
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
leper
58836c624a
Read formations from civ JSON files. Fixes #1234 , #601 .
...
This was SVN commit r11735.
2012-05-03 23:32:10 +00:00
historic_bruno
6f06d7e69e
...
...
This was SVN commit r11714.
2012-05-01 23:01:40 +00:00
historic_bruno
9173f3c81f
This was SVN commit r11713.
2012-05-01 22:54:02 +00:00
historic_bruno
030771907e
This was SVN commit r11712.
2012-05-01 22:52:24 +00:00
historic_bruno
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
vts
61fad4a2b5
Fixed strange selection ring fadeout on unit deselection in Atlas
...
This was SVN commit r11634.
2012-04-22 17:49:43 +00:00
vts
34fc883317
Pretty unit selection overlay rings. Fixes #824 .
...
This was SVN commit r11623.
2012-04-22 04:04:02 +00:00
Ykkrosh
4c372aa6d8
Remove some unused component setters
...
This was SVN commit r11602.
2012-04-21 13:12:36 +00:00
quantumstate
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
leper
54fb33841e
Fix some issues.
...
This was SVN commit r11537.
2012-04-17 20:44:18 +00:00
leper
c56f96040e
Implement healing. Fixes #999 .
...
This was SVN commit r11536.
2012-04-17 20:22:13 +00:00
Ykkrosh
f3617822e0
Make AlwaysVisible objects always visible in shader mode. Fixes #908 .
...
This was SVN commit r11454.
2012-04-08 16:36:23 +00:00
vts
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
Ykkrosh
d0fc32af4c
Fix failure in replay mode
...
This was SVN commit r11402.
2012-03-26 22:11:30 +00:00
vts
d7128572ae
Removed logger output for XML token node tests
...
This was SVN commit r11360.
2012-03-17 23:03:02 +00:00
vts
2207786c05
Missed a bit of indentation in previous commit
...
This was SVN commit r11343.
2012-03-15 22:58:25 +00:00
vts
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
historic_bruno
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
vts
3c677ee425
Prevent unnecessary work, especially on maps with many actors
...
This was SVN commit r11267.
2012-03-07 19:54:54 +00:00
Ykkrosh
26efdaf216
Try to improve ambiguous bit descriptions
...
This was SVN commit r11249.
2012-03-05 16:09:47 +00:00
historic_bruno
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
historic_bruno
a01e1cd46a
Fixes incorrect use of jschar (broke Linux builds)
...
This was SVN commit r11207.
2012-02-29 23:41:23 +00:00
historic_bruno
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
vts
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
historic_bruno
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
historic_bruno
b7e848de23
Avoid unused parameter warnings due to safe bool operators.
...
This was SVN commit r11142.
2012-02-25 06:24:24 +00:00
vts
590228804e
Fixed rally line attachment point for circular buildings (refs #1172 )
...
This was SVN commit r11106.
2012-02-20 00:13:46 +00:00
Ykkrosh
5a4aa790ad
Fix spelling and whitespace and add rationale
...
This was SVN commit r11088.
2012-02-17 14:34:44 +00:00
vts
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
historic_bruno
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
historic_bruno
275e5b9620
Fixes signed/unsigned comparison warnings in GCC.
...
This was SVN commit r11014.
2012-02-04 06:17:17 +00:00
historic_bruno
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
vts
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
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
janwas
22191bfcc6
Windows fix (smaller type conversion)
...
This was SVN commit r9960.
2011-08-04 15:31:01 +00:00
Ykkrosh
6aeb5c64de
# Remove SoD inside territories.
...
Fix some serialisation issues.
This was SVN commit r9951.
2011-08-01 21:25:12 +00:00
Ykkrosh
9430de3d85
Support TerrainChanged messages in scripts, and report use of unsupported messages
...
This was SVN commit r9950.
2011-08-01 21:01:06 +00:00
Ykkrosh
8fee3d8ef8
# New territory border rendering.
...
Add textured line overlay rendering.
Change terrain height calculations to be triangulation-dependent for
improved accuracy.
Add triangulation-dependent terrain normal function.
Support separate S/T wrap modes for textures.
Rename CVector2D_Maths since it no longer conflicts with simulation
CVector2D.
Coalesce freed chunks in vertex buffers, to avoid excessive
fragmentation.
Add some things to help debug vertex buffer allocation a little.
This was SVN commit r9929.
2011-07-30 00:56:45 +00:00
Ykkrosh
955f94976e
# New dynamic territories design
...
This was SVN commit r9906.
2011-07-24 11:42:35 +00:00
Ykkrosh
f9d7c1246d
# Initial support for territories
...
This was SVN commit r9889.
2011-07-20 19:48:06 +00:00
Ykkrosh
2f0bd8d8b0
Upgrade to SpiderMonkey 1.8.5 ( fixes #734 )
...
This was SVN commit r9852.
2011-07-16 23:24:14 +00:00
Ykkrosh
b6d04004b6
Avoid errors when using planes in formations, by not allowing them to join formations
...
This was SVN commit r9776.
2011-07-07 17:05:22 +00:00
Ykkrosh
996a32125c
Add per-player LOS-reveal flag.
...
Reveal LOS for Gaia and AI players (fixes #879 ).
Use player_id_t slightly more consistently in interfaces.
This was SVN commit r9720.
2011-06-28 23:24:42 +00:00
Chakakhan
293adad0ba
Fix #829 - Stuck units bug
...
This was SVN commit r9713.
2011-06-28 07:27:03 +00:00
Chakakhan
df2e499efc
Post code review version - previous commit was pre code review version.
...
This was SVN commit r9666.
2011-06-26 07:47:03 +00:00
Chakakhan
2aedf48304
#788 Eliminate delay in path finding (and therefore moving)
...
This was SVN commit r9665.
2011-06-26 07:03:08 +00:00
Ykkrosh
92fcb737cd
Attempt minor improvements to stances code (see #865 ).
...
Don't chase units that are no longer visible, beyond where they were
last seen (fixes #595 ).
This was SVN commit r9657.
2011-06-24 12:35:15 +00:00
Badmadblacksad
71a6775b92
Stances draft, refs #865
...
This was SVN commit r9631.
2011-06-17 22:13:39 +00:00
historic_bruno
3be43ede41
Adds rotation to starting camera (currently unused)
...
This was SVN commit r9623.
2011-06-16 21:21:33 +00:00
historic_bruno
3e4d74480d
Adds AI control to Atlas player panel
...
Adds camera control to Atlas player panel
Changes map reader to handle per-player starting camera position. See
#55
Adds entity name filter to Atlas object panel
Fixes bug in Atlas map settings (caused crash when object panel was not
loaded)
This was SVN commit r9617.
2011-06-13 23:32:41 +00:00
historic_bruno
0c803f99e8
This was SVN commit r9609.
2011-06-09 23:47:20 +00:00
Ykkrosh
2c58b07223
# Add experimental fighter planes.
...
This was SVN commit r9605.
2011-06-09 19:44:40 +00:00
Badmadblacksad
24cca252e3
Ranged units always face their targets when attacking. fixes #831
...
This was SVN commit r9595.
2011-06-06 22:08:26 +00:00
Ykkrosh
dc2035efc9
Move Atlas map settings from JS to C++.
...
Replace New dialog box with separate tools for resizing maps and
replacing terrain textures, to provide more power and to simplify the
problem of initialising map settings.
Fix engine to cope with dynamic map resizing.
Add JSON support to AtObj, to let C++ interact with JSON more easily.
This was SVN commit r9566.
2011-05-29 15:02:02 +00:00
janwas
34186dd017
refactor file interface. requires workspace update
...
- separate file_system_util into vfs functions (-> vfs/vfs_util) and
file_system (avoids ugly fs_util namespace prefix)
- get rid of non-portable O_BINARY_NP etc. flags
- use standard O_WRONLY etc. flags instead of LIO_WRITE; but avoid the
need for specifying O_CREAT|O_TRUNC
- only open files for aio when O_DIRECT is specified (which 0ad does
not) - avoids wasting time and security issues
- return file descriptor directly instead of via output param
- waio: safer FCB mechanism that avoids mixing descriptors between lowio
and aio
This was SVN commit r9550.
2011-05-25 10:39:13 +00:00
Ykkrosh
1075e206f7
Fix some format string errors
...
This was SVN commit r9534.
2011-05-18 19:10:36 +00:00
Ykkrosh
edd8ef2bf2
Fix units in formation blocking construction and not moving out of the way (see #779 ).
...
Make non-movement-blocking buildings (e.g. farms) not require units to
move out of the way.
This was SVN commit r9510.
2011-05-13 20:32:41 +00:00
Ykkrosh
1420a229ff
Fix various position-related errors with garrisoned units.
...
Fix some formatting consistency.
This was SVN commit r9494.
2011-05-09 02:02:00 +00:00
Ykkrosh
cd7abda9f1
Handle triple-click selections a bit more efficiently
...
This was SVN commit r9467.
2011-05-06 22:22:56 +00:00
Ykkrosh
b2bf04c5ae
Reduce projectile decay time
...
This was SVN commit r9466.
2011-05-06 21:53:33 +00:00
Ykkrosh
e90470020b
Try to make the pathfinder less likely to get stuck
...
This was SVN commit r9465.
2011-05-06 21:52:15 +00:00
janwas
f608b44d1d
fix self-test and map load on Windows (avoid mixing dir separators).
...
add more specific error codes (used at work)
This was SVN commit r9462.
2011-05-06 18:45:30 +00:00
historic_bruno
a8c087d46b
Missing files
...
This was SVN commit r9451.
2011-05-05 20:07:51 +00:00
historic_bruno
508f56d2dd
Fixes bug in triple-click unit selection for units without a SelectionGroupName defined. In this case, triple-click will behave the same as double-click.
...
This was SVN commit r9444.
2011-05-05 02:06:53 +00:00
historic_bruno
26de01cdd1
Adjusts unit selection behavior to account for ranks. Triple-click now selects units regardless of their rank.
...
Adds modifier hotkey to select units offscreen.
Fixes #826 .
This was SVN commit r9443.
2011-05-05 01:27:49 +00:00
historic_bruno
fffcdbbf21
Balances random map resources.
...
Attempts to avoid "invalid argument" errors in typed arrays by forcing
them to integer (see #658 ).
Removes script preloading from map generator (VFS is thread-safe now)
Removes thread checking from ScriptInterface file loading functions.
Adjusts starting entities in civ data.
This was SVN commit r9435.
2011-05-04 21:24:25 +00:00
janwas
cccd6849a7
cleanup (requires update-workspaces)
...
lib_errors.cpp: replace with status.cpp, adapt to needs at work
wutil: fix runtime warning reported via feedback box
config: merge CONFIG_PARANOIA and !CONFIG_FINAL into
CONFIG_ENABLE_CHECKS
add openmp, pointer_typedefs.h
This was SVN commit r9410.
2011-05-03 12:38:42 +00:00
janwas
0720025073
cleanup
...
reduce dependency on PCH. move KiB constants to alignment, ARRAY_SIZE to
code_annotation.h.
move glext_funcs.h to external_libraries/glext_funcs.h, move part of
ogl.h to external_libraries/opengl.h
remove unused saturating arithmetic functions
This was SVN commit r9363.
2011-04-30 13:22:46 +00:00
janwas
4663ac0fe7
split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
...
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)
This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
janwas
2374caac3e
major refactor of file/io and alignment code. requires update-workspaces
...
. completely rewrite waio - use IOCP, add several hardcore
optimizations. now outperforms the
AS SSD and ATTO benchmarks when writing
. refactor file interface - use LIO_READ instead of 'r', allow access to
file descriptor.
. completely rewrite the IO wrapper. now much more simple, less CPU
overhead, adds
support for pre-issue/post-completion hooks and preallocation.
io::Run defaults to simple synchronous IO; use io::Parameters to get
asynchronous.
. add alignment.h with constants and Align() function template (more
efficient than
round_up for compile-time constants)
. add UniqueRange - similar to C++0x unique_ptr (emulated for C++03),
plus a
built-in size. avoids expensive thread-safe reference counting in
shared_ptr.
cleanup:
- move fat_time functions into archive_zip
- remove no longer needed io_align and block_cache
- reduce dependencies in sysdep/compiler (move parts to
code_annotation.h)
- move IOCP into separate file (reused by waio)
This was SVN commit r9350.
2011-04-29 19:10:34 +00:00
Ykkrosh
8af82baf67
# Minor particle system fixes.
...
Support emitters that are fully running as soon as the game starts.
Fix particle clumping when moving from off-screen to on-screen, by
computing updates more incrementally.
Fix overzealous culling of models with particle emitters.
Add particles to renderer stats.
This was SVN commit r9345.
2011-04-29 12:26:31 +00:00
Ykkrosh
4e74798585
Be more robust to visibility checks outside the map. Fixes #765 .
...
This was SVN commit r9333.
2011-04-27 21:03:08 +00:00
Ykkrosh
6d946cc58d
Fix badly-named variable
...
This was SVN commit r9285.
2011-04-20 00:02:59 +00:00
historic_bruno
ad6f305359
Integrates random maps with Atlas. Fixes #460 .
...
Adds various map controls to Atlas.
Adds New Map dialog to Atlas.
Removes a few references to old simulation header files.
This was SVN commit r9247.
2011-04-14 04:01:59 +00:00
Ykkrosh
8f6fda9626
Deallocate expired projectiles properly
...
This was SVN commit r9205.
2011-04-08 00:11:27 +00:00
Ykkrosh
a122f55bde
Avoid hardcoding the actor entity template details.
...
This was SVN commit r9183.
2011-04-06 21:01:00 +00:00
Ykkrosh
3fb9d9e5f6
Fix tests
...
This was SVN commit r9178.
2011-04-06 00:53:35 +00:00
Ykkrosh
d03559f2c9
Add dust particles on under-construction buildings, varying based on number of active builders.
...
This was SVN commit r9175.
2011-04-06 00:11:40 +00:00
Ykkrosh
29dd635d3b
Fix decals and LOS texture in Actor Viewer, by slightly reducing use of globals.
...
Fix particles in Actor Viewer.
Expand terrain in Actor Viewer.
Change background to black so it blends with the LOS texture more
nicely.
This was SVN commit r9172.
2011-04-05 20:32:03 +00:00
Ykkrosh
823e63a93b
# Initial version of new particle system.
...
This was SVN commit r9151.
2011-04-03 19:15:15 +00:00
Ykkrosh
1a072a3f37
Use a predictable RNG seed for random actor variations, so they are consistent between runs of the game.
...
This was SVN commit r9143.
2011-04-02 12:51:42 +00:00
Ykkrosh
97c934ad1c
Apply unit shading colour in shader renderpath.
...
Don't adjust the shading colour of units in FoW (the shading comes from
the LOS texture instead).
This was SVN commit r9142.
2011-04-02 12:04:19 +00:00
Ykkrosh
d295dacb9b
# Add new renderer mode based on GL_ARB_fragment_program.
...
Change lighting model for new maps to allow better overbrightness.
Cache player colours instead of loading from scripts every time the
renderer wants them.
This was SVN commit r9123.
2011-03-26 20:17:21 +00:00
janwas
588bfa11bf
remove unnecessary utf8 includes
...
This was SVN commit r9110.
2011-03-23 16:32:44 +00:00
janwas
dcd192cb60
refactor path interface:
...
- use wrapper class instead of std::wstring (reduces mixing of
strings/paths; allows safe+easy join via operator/ and convenient
case-insensitive comparison via operator==, avoids NativePathFromString,
similar to boost::filesystem)
- NativePath -> OsPath
- add hash and To/FromJSVal for Path
- add TS_ASSERT_PATH_EQUALS
- replace _wfopen_s with sys_OpenFile
- remove obsolete SortFiles/Directories
This was SVN commit r9107.
2011-03-23 13:36:20 +00:00
historic_bruno
f618605477
Changes default random map sizes.
...
Tweaks random map resources.
Adds support for circular maps to rmgen library.
Various fixes in map generator.
On Miletus map, change player 2 civ, as Romans are not fully implemented
(fixes #758 )
This was SVN commit r9104.
2011-03-23 08:12:04 +00:00
Ykkrosh
c0a105432e
Use path types and conversions more consistently.
...
This was SVN commit r9094.
2011-03-21 22:59:00 +00:00
janwas
c3405e6f50
path improvements/fixes:
...
- replace more std::wstring with Native or VfsPath; wstring_from_utf8 ->
NativePathFromString
- replace sequences of Join(Path(), Basename+extension) with
ChangeExtension in wsdl, CacheLoader
- add Path::IsDirectory to replace .empty() / path_is_dir_sep(.back()).
also changed behavior to reflect the fact that "" is the VFS root
_directory_
- Path::Join now allows 2 identical path types (e.g. VfsPath) or one
char* literal (prevents inadvertently introducing non-safe characters).
to convert from wstring or wchar_t, use an explicit ctor (e.g.
VfsPath(wchar_t_string))
This was SVN commit r9091.
2011-03-21 19:54:08 +00:00
janwas
6d25329412
# towards locale-independent pathnames on Linux
...
c.f.
http://www.wildfiregames.com/forum/index.php?showtopic=14541&st=0&p=217250&#entry217250
and 2011-03-19 meeting
This was SVN commit r9090.
2011-03-21 17:53:13 +00:00
Ykkrosh
25524dc99f
Fix tests
...
This was SVN commit r9080.
2011-03-18 19:35:31 +00:00
Ykkrosh
d805e764c5
# Render unit silhouettes when behind buildings.
...
Fixes #144 .
Start using stencil buffer.
Simplify materials a little.
This was SVN commit r9076.
2011-03-18 16:57:54 +00:00
Ykkrosh
d24c93237c
# Initial version of terrain decal textures.
...
Rejig CModel to support non-mesh-based props.
Avoid redundant recomputation for non-moving CRenderableObjects.
This was SVN commit r9055.
2011-03-13 19:22:05 +00:00
Ykkrosh
6f9da85d9f
Improve performance of full state hash computation, by skipping script components that are known to have no data.
...
Switch to much quicker (and less comprehensive) per-turn hashing in
multiplayer games.
This was SVN commit r9036.
2011-03-05 22:30:32 +00:00
Ykkrosh
18cdbd9eab
Increase tile-based pathfinder maximum search range, so it's at least enough to reach from one side of Acropolis to the other
...
This was SVN commit r9026.
2011-03-05 14:38:08 +00:00
Ykkrosh
e608d9269a
Load entity templates for the AI via the progressive loader.
...
Display message while loading the map list for the setup screen.
This was SVN commit r9019.
2011-03-05 01:56:59 +00:00
Ykkrosh
bec4c6437b
Make non-combat units flee when under melee attack, and not attack enemies automatically.
...
Fixes #703 .
This was SVN commit r9010.
2011-03-04 14:36:41 +00:00
Ykkrosh
2ef1b9a867
Make projectiles that miss their target continue until hitting the terrain.
...
Fixes #706 .
This was SVN commit r9008.
2011-03-04 00:43:48 +00:00
Ykkrosh
16a4eb36dd
Various minor optimisations.
...
Enable SpiderMonkey method JIT in Release mode.
Add Engine.ProfileStart/Engine.ProfileStop functions for scripts.
Fix AI to clone initial entity data and shared metadata.
This was SVN commit r9003.
2011-03-03 00:16:14 +00:00
Ykkrosh
dbc6d27411
Optimise obstruction grid updates in the common case when terrain hasn't changed
...
This was SVN commit r9001.
2011-02-28 01:24:12 +00:00
Ykkrosh
794584ea11
Optimise tile-based pathfinder, particularly for large maps.
...
This was SVN commit r9000.
2011-02-28 00:35:53 +00:00
janwas
d805ef356e
FileExists -> VfsFileExists (see next commit)
...
scriptInterface: fix bool cast warning
This was SVN commit r8984.
2011-02-25 16:30:55 +00:00
Ykkrosh
f4f36af852
Block new buildings being placed on top of existing not-yet-started foundations. Fixes #740 .
...
This was SVN commit r8980.
2011-02-24 21:49:24 +00:00
Ykkrosh
f6c1d98c9a
Fix #739 (test failures).
...
Use JSON in debug serializer output unless it fails due to e.g. cyclic
values, in which case use toSource.
Disable file stats code by default, since its output isn't used.
This was SVN commit r8975.
2011-02-24 00:32:38 +00:00
Ykkrosh
b24396740c
Disable XML validation when loading templates for AI, to save startup time
...
This was SVN commit r8959.
2011-02-20 20:45:39 +00:00
Ykkrosh
6ba12dd2ff
Pretty-print JS values in debug serializer
...
This was SVN commit r8958.
2011-02-20 20:44:36 +00:00
Ykkrosh
720bb3c87d
Remove unnecessary rooting
...
This was SVN commit r8957.
2011-02-20 20:44:13 +00:00
janwas
1b1230ca3e
wgl compile fix: add types required by new wglext.h
...
wutsname fix (noticed by Philip from hwdetect information, thanks!):
uname.release wasn't always set.
BinarySerializer.h: warning fix
This was SVN commit r8940.
2011-02-19 18:00:09 +00:00
Ykkrosh
f3372bf11d
Add some rough performance reporting.
...
Make the profiler converge a bit faster.
This was SVN commit r8939.
2011-02-19 03:14:37 +00:00
Ykkrosh
3e13c300cc
Fix non-PCH build error
...
This was SVN commit r8938.
2011-02-19 00:46:14 +00:00