Commit Graph

3892 Commits

Author SHA1 Message Date
Mythos_Ruler de4d94a685 This was SVN commit r4545. 2006-10-11 18:02:32 +00:00
Matei d36bc3a949 - Fixed a compile error on VS2003.
- Fixed some crashes that could occur when you end a game with units
mouseover'ed or with the building placer active (it tries to render them
after the game world is gone).

This was SVN commit r4543.
2006-10-11 13:37:13 +00:00
Mythos_Ruler 0daed1ed30 This was SVN commit r4542. 2006-10-11 06:03:31 +00:00
Mythos_Ruler ce9b4d9efe This was SVN commit r4541. 2006-10-11 05:45:27 +00:00
Wijitmaker 66f7c81614 #Aleppo Pine Meshes
This was SVN commit r4540.
2006-10-11 04:45:33 +00:00
Matei 78382c14c9 Fixed some potential sources of errors.
This was SVN commit r4539.
2006-10-10 05:21:41 +00:00
Mythos_Ruler e1c888eca0 aleppo pine for Jason
This was SVN commit r4538.
2006-10-10 05:20:32 +00:00
Matei 93bd041bcc Ensure that corpses have bounds.
This was SVN commit r4537.
2006-10-10 05:20:24 +00:00
Wijitmaker f7b64b6e14 restored the gathering animation
This was SVN commit r4536.
2006-10-10 03:34:00 +00:00
Matei ffb62e778b Fixed forage animation lengths (using a smaller length than the simulation tick time causes the animation not to be played).
This was SVN commit r4535.
2006-10-09 18:34:41 +00:00
Mythos_Ruler 5ddb3a9190 This was SVN commit r4534. 2006-10-09 07:50:44 +00:00
Mythos_Ruler 34391d5e67 This was SVN commit r4533. 2006-10-09 07:50:32 +00:00
Matei 4730ed0276 Fixed a bug that could cause corpses to "wiggle" if a unit died while moving.
This was SVN commit r4532.
2006-10-09 04:32:27 +00:00
Matei 4fb0f2ae5d Added CEventTargetExhausted, used by the unit AI for gather and build, as well as GetDistance and GetVisibleEntities JS functions in CEntity that are required by the JS code for these events.
This was SVN commit r4531.
2006-10-09 04:17:15 +00:00
Matei a4582caa0c # Unit AI for gather and build.
JS and XML changes to allow entities to respond to TargetExhausted
events. (They will look around for a new target to build or gather,
depending on the type of the previous action).

This was SVN commit r4530.
2006-10-09 04:16:01 +00:00
Matei 5de9ed7444 # Added elevation bonus to all attacks.
(Before it was melee only).

Fixes #42.

This was SVN commit r4529.
2006-10-08 23:41:17 +00:00
Matei fa229121ec Bug fixes and more game setup options.
- Added "Screenshot Mode" and "Fog of War" game attributes. (Screenshot
Mode causes units to be initialized to Hold stance instead of Aggress
and also forces LOS to be All Visible. Atlas turn on Screenshot Mode by
default so units don't try to kill each other in there.)
- Modified LOSManager to allow disabling fog of war.
- Removed some debug message spam.
- Enabled line antialiasing for aura rendering and fixed some bugs that
caused strange effects (color was not set properly for the center point,
and when a unit was both mouseover'ed and selected, the aura was drawn
twice).
- Modified Stand stance to allow retaliation on attacks (normally Stand
will attack any enemy in LOS, but this is useful if a neutral unit is in
LOS).
- Modified pathfinder to not take into account terrain slope, which is
an expensive calculation - we'll eventually take into account terrain
type instead.

This was SVN commit r4527.
2006-10-08 17:39:46 +00:00
Matei 0a6c4ae103 # Bug fixes and more game setup options.
- Added "Screenshot Mode" checkbox on game setup screen, which will set
units to Hold stance by default (normally, they'll be in aggress).
- Made the "Fog of War" checkbox actually work.
- Fixed a bug where repairing a building could cause you to reach
negative resources.
- Increased ranged unit LOS so they can pursue things that go out of
attack range.
- Made visibility permanent for Settlements.
- Removed a stray "s" in template_unit_cavalry_melee.xml.

This was SVN commit r4526.
2006-10-08 17:34:46 +00:00
Matei db958867ea Bug fix: Entities had infinite LOS by default, which caused a significant slowdown.
This was SVN commit r4525.
2006-10-08 15:29:29 +00:00
Mythos_Ruler d5375f68cf This was SVN commit r4524. 2006-10-08 11:48:21 +00:00
Matei 985a4cc6d5 # Bug fixes.
- Fixed shutdown order so the console is shut down after the simulation
(fixes #152).
- Fixed CPlayer::JSI_GetColour to not create a copy of the colour
object, since that caused problems when the copy went out of scope and
the corresponding JSObject was deleted.

This was SVN commit r4522.
2006-10-08 04:56:30 +00:00
Matei 12f0720f31 More minimap fixes on game restart (recalculate everything because the map size might have changed).
This was SVN commit r4520.
2006-10-08 03:28:22 +00:00
Matei ba4d30d149 Fixed a crash in snd_mgr.cpp that sometimes happen on fade(), although no function should really be calling it with hvs=0. Also made the minimap reupdate its texture when the game is restarted.
This was SVN commit r4519.
2006-10-08 03:07:54 +00:00
Matei 35d6805010 # Added return-to-menu hotkey.
This was SVN commit r4518.
2006-10-08 02:51:16 +00:00
Mythos_Ruler 4d9e292b4e This was SVN commit r4517. 2006-10-08 01:52:32 +00:00
Mythos_Ruler 048dcf01a1 This was SVN commit r4516. 2006-10-08 01:51:43 +00:00
Mythos_Ruler 2a8f534f4a This was SVN commit r4515. 2006-10-08 01:50:36 +00:00
Mythos_Ruler c701876588 This was SVN commit r4513. 2006-10-08 01:48:01 +00:00
Mythos_Ruler 583d775356 This was SVN commit r4512. 2006-10-08 01:45:44 +00:00
Mythos_Ruler 7e64718949 This was SVN commit r4511. 2006-10-08 01:45:29 +00:00
Mythos_Ruler a34dab13f2 This was SVN commit r4510. 2006-10-08 01:45:00 +00:00
Mythos_Ruler 8765f3773b This was SVN commit r4509. 2006-10-08 01:44:46 +00:00
Mythos_Ruler 60b6b67780 #Roman Female Citizen
This was SVN commit r4508.
2006-10-08 01:44:20 +00:00
Mythos_Ruler 90faa7f6d2 This was SVN commit r4507. 2006-10-08 01:43:33 +00:00
Mythos_Ruler 24a08c8c50 This was SVN commit r4506. 2006-10-08 01:43:15 +00:00
Mythos_Ruler 2cf878a138 This was SVN commit r4505. 2006-10-08 01:42:52 +00:00
Mythos_Ruler 23b1acfb78 #Roman Basic Equites cavalry unit.
This was SVN commit r4504.
2006-10-08 01:42:35 +00:00
Matei 629e88068e # Tweaked water shaders to make lighting effects more pronounced.
This was SVN commit r4502.
2006-10-07 17:59:56 +00:00
Matei 3c74758f5c Modified default water parameters.
This was SVN commit r4501.
2006-10-07 17:59:06 +00:00
Matei 395f7ecf54 Fix to female citizens building.
This was SVN commit r4500.
2006-10-06 19:11:42 +00:00
Matei 6a3c817997 Hellenes and Celt barracks can now train things, and female citizens can build.
This was SVN commit r4499.
2006-10-06 19:10:49 +00:00
Matei cbb65769e0 Fix to construction resource check.
This was SVN commit r4498.
2006-10-06 14:21:56 +00:00
Matei 2337cb203a # Order queueing for construction.
This was SVN commit r4497.
2006-10-06 14:21:16 +00:00
Matei 0df95f3e8f Things without a death animation will now disappear when killed.
Also removed some debug info and added some checks for passability in
pathfinding to avoid long searches when the source or destination is
impassable.

This was SVN commit r4495.
2006-10-06 05:38:57 +00:00
Mythos_Ruler 500483ef2c This was SVN commit r4494. 2006-10-05 10:38:12 +00:00
Mythos_Ruler 7e965291ff This was SVN commit r4493. 2006-10-05 05:01:36 +00:00
Mythos_Ruler f48dce611f This was SVN commit r4492. 2006-10-05 04:52:43 +00:00
Mythos_Ruler 963baacf77 #Fixed actors; added ratios and variation names.
This was SVN commit r4491.
2006-10-05 04:51:55 +00:00
Mythos_Ruler be92a04ec2 This was SVN commit r4490. 2006-10-05 04:27:40 +00:00
Mythos_Ruler 162c943073 Complete Mediterranean Biome terrains.
This was SVN commit r4489.
2006-10-05 04:24:45 +00:00