Commit Graph

3756 Commits

Author SHA1 Message Date
Mythos_Ruler 7dececbc5f This was SVN commit r4397. 2006-09-28 00:22:44 +00:00
Mythos_Ruler 95b21acfec This was SVN commit r4396. 2006-09-27 20:28:33 +00:00
Ykkrosh b6c1022566 # Improved actor-viewer tool (more viewing controls, support for random actor variations)
Also right-click-and-drag to rotate the camera vertically.
Fixed LookAt code (the algorithm in the gluLookAt man page seems to be
wrong).

This was SVN commit r4394.
2006-09-27 16:54:23 +00:00
Ykkrosh 2f53eea71a Actor Viewer: Added controls for wireframe, background colour, move-when-walking. Reduced CPU usage when 'playing' things with no animation.
Color: Moved SColor* structs into SColor.h, so they can be used without
indirectly including CVector[34]D.
Terrain: Added 'base colour', for the Actor Viewer to be able to
modulate the colour of normally-white terrain.
Removed some "using namespace std" (because it doesn't make the code
easier to read, and it defeats the point of namespaces, and the rest of
the code doesn't do it).

This was SVN commit r4392.
2006-09-26 01:44:20 +00:00
Matei 39c7143a1d Changed cavalry conformance to only the X axis.
This was SVN commit r4391.
2006-09-26 00:33:58 +00:00
Ykkrosh 76e957ed78 Fixed compilation errors.
Slightly tidied Atlas code.
Removed old unused ScEd code.

This was SVN commit r4389.
2006-09-24 15:59:33 +00:00
prefect ac47d2d028 Cleanup: Remove unused COverlay class
This was SVN commit r4388.
2006-09-24 12:06:36 +00:00
prefect c47d1cc663 CRenderer: Cleanup some remnants of object types for which the Submit() method has been removed.
This was SVN commit r4387.
2006-09-24 11:56:11 +00:00
prefect 119f1452bf # Fix a crash during exit.
Refs #152

The issue was that the JSInterface_Console would attempt to write a
message on the console even after the g_Console object was deleted. Work
around this by:
1. resetting the g_Console pointer to 0 after deletion and
2. adding a null-pointer check

This was SVN commit r4386.
2006-09-24 11:48:24 +00:00
prefect c14765989e # Introduce a Scene abstraction that allows the renderer to query visibility from multiple virtual camera positions.
This is the first step towards fixing #142

This was SVN commit r4385.
2006-09-24 11:25:11 +00:00
Mythos_Ruler d1188604c4 This was SVN commit r4384. 2006-09-23 18:51:08 +00:00
prefect a63f49e582 Add gameView.culling and renderer.skipSubmit for debugging purposes.
This was SVN commit r4382.
2006-09-23 16:04:54 +00:00
prefect e0b68b7f9f Use AddLocalProperty in CRenderer.
This gets rid of lots of boiler-plate code in JSI_* functions.

This was SVN commit r4380.
2006-09-23 12:48:06 +00:00
Ykkrosh 714e436e3c Made AT_STARTUP use an unnamed namespace, to avoid collisions between structs in different files that happen to have the same name (which sometimes causes the constructors to get mixed up by the linker)
This was SVN commit r4378.
2006-09-23 00:01:00 +00:00
Ykkrosh a1a7dac59c # Integrated Actor Viewer and Actor Editor tools
ObjectManager: Removed ObjectTypes because it hasn't been used for
years.
Atlas: Fixed leak when saving with Xerces. Changed range of water
shininess slider.
Actor Editor: Relabelled "Freq" to "Ratio". Made modal dialogs use the
correct parent.

This was SVN commit r4376.
2006-09-22 17:43:00 +00:00
janwas 871cdb6ef9 # SwEng (reduce full recompiles by splitting up master error header)
- error codes now accessed as ERR::NO_MEM, INFO::OK etc.
- no more X-macros => the above are now recognized by visual assist
- error codes are defined by the module originating them (lib_errors has
some generic ones)
  => no full rebuild when adding some
- error descriptions are now in C++ files => can be changed without full
rebuild

added AT_STARTUP in lib.h.

This was SVN commit r4374.
2006-09-22 13:19:40 +00:00
janwas 05aadf1f12 # SwEng: remove X-macros from app_hooks (confused static code analysis)
This was SVN commit r4372.
2006-09-21 12:06:56 +00:00
janwas d34ae19788 # cleanup JS
fix tabs and indenting

This was SVN commit r4371.
2006-09-21 11:30:40 +00:00
Mythos_Ruler 054cbaf644 This was SVN commit r4370. 2006-09-20 22:46:15 +00:00
Mythos_Ruler 0c0c0c1450 This was SVN commit r4369. 2006-09-20 22:16:15 +00:00
Mythos_Ruler 7f50e5b726 This was SVN commit r4368. 2006-09-20 22:15:17 +00:00
Mythos_Ruler 56670403ea This was SVN commit r4367. 2006-09-20 22:13:15 +00:00
Mythos_Ruler b12ee2e4ee This was SVN commit r4366. 2006-09-20 21:56:37 +00:00
Mythos_Ruler acdf2efbc0 This was SVN commit r4365. 2006-09-20 21:51:51 +00:00
Mythos_Ruler fa7320981c This was SVN commit r4364. 2006-09-20 21:44:24 +00:00
Mythos_Ruler d90771caf8 #Fixed tree "actors" for more random Gaia goodness.
This was SVN commit r4363.
2006-09-20 21:42:53 +00:00
Mythos_Ruler 2e05d4f386 This was SVN commit r4362. 2006-09-20 21:41:42 +00:00
Mythos_Ruler 2c5e11722c This was SVN commit r4361. 2006-09-20 21:40:16 +00:00
Mythos_Ruler df36e3db0d #Artichoke Plants for Mediterranean Maps.
This was SVN commit r4360.
2006-09-20 21:39:46 +00:00
Ykkrosh 7ce31a1544 Hopefully fixing VS2003 (autobuilder) error ("'operator &&' is ambiguous - could be 'built-in C++ operator&&(bool, bool)' or 'built-in C++ operator&&(bool, CEntity *)' while trying to match the argument list '(bool, HEntity)'")
This was SVN commit r4358.
2006-09-18 18:38:29 +00:00
Ykkrosh bfae07a0bc # Added more control for water shader
(Murkiness, colour, tint, reflection tint, reflection tint strength)

This was SVN commit r4357.
2006-09-18 18:09:07 +00:00
Mythos_Ruler 87598ebf40 This was SVN commit r4356. 2006-09-17 22:14:34 +00:00
Mythos_Ruler ff5a9bb5c4 This was SVN commit r4355. 2006-09-17 22:14:16 +00:00
Mythos_Ruler 40a8d05386 This was SVN commit r4354. 2006-09-17 21:49:58 +00:00
Mythos_Ruler 2774fd9167 This was SVN commit r4353. 2006-09-17 21:49:24 +00:00
Mythos_Ruler 2736bda0c2 This was SVN commit r4352. 2006-09-17 21:48:57 +00:00
Mythos_Ruler b626abfda9 #New Oak tree leaf textures
This was SVN commit r4351.
2006-09-17 20:59:49 +00:00
Mythos_Ruler 512e5bbd80 This was SVN commit r4350. 2006-09-17 20:06:03 +00:00
Matei 5e28c4bebf - Fixed a bug with aura rendering that was causing a crash when rendering auras that were added to a unit after its creation (initAuraData was not called on subsequent AddAura calls). This caused objects like Settlements, Mills, Farmsteads and Temples to crash when you mouseover them since they do not gain the aura until construction is complete.
- When the map contains no territories, ignore territory-related
building placement rules.

Fixes #149.

This was SVN commit r4349.
2006-09-17 02:49:29 +00:00
Matei e4bcc1c6a3 Gameplay fixes:
- Set the default rally point to be right on top of each building
(rather than (0,0)).
- issueCommand used to send 2 copies of a command, which caused for
example units to be trained in twos (it added some entities twice to
msgEntities).

This was SVN commit r4348.
2006-09-17 02:20:20 +00:00
Matei 88474be519 Fixed a missing break statement that caused a research event to also be generated when you try to train something.
This was SVN commit r4347.
2006-09-17 02:18:50 +00:00
Matei 6b73ba0296 - Terrain conformance should now work in Atlas as well.
- Renamed Passive stance to Hold (which is what it's called in the
design doc and GUI).

This was SVN commit r4345.
2006-09-16 21:30:23 +00:00
Mythos_Ruler 58c159faa0 texture tweaks
This was SVN commit r4344.
2006-09-16 20:30:29 +00:00
Mythos_Ruler d370aa226c This was SVN commit r4343. 2006-09-16 20:29:46 +00:00
Mythos_Ruler bb649c2d4c This was SVN commit r4342. 2006-09-16 20:29:05 +00:00
Mythos_Ruler 0484a50f4a This was SVN commit r4341. 2006-09-16 20:28:28 +00:00
Matei 04b9809e0b Made CTerrain::getSlopeAngleFace even more "continous" at places where the slope changes rapidly (before, it only checked elevation forward and right, now it also looks left and up).
This was SVN commit r4340.
2006-09-16 20:16:42 +00:00
Matei 0baca62d61 # Fixes to terrain conformance and movement speed bonus.
- Simplified CTerrain::getSlopeAngleFace and made it work correctly in
all cases (before, it sometimes returned NAN and used an overly
complicated method based on 8 angle sectors instead of a "continuous"
method).
- Removed the EntityMovement event - instead, movement speed modifier is
calculated in C++ for performance.

This was SVN commit r4339.
2006-09-16 20:13:40 +00:00
Matei cd792eeb8e XML/JS fixes to movement and terrain conformance.
This was SVN commit r4338.
2006-09-16 20:11:42 +00:00
Matei b0e7085fb9 Changed default stance to Hold so units don't look like they're attacking each other in Atlas (eventually we can make this be "aggress" in the game but hold in Atlas).
This was SVN commit r4337.
2006-09-15 18:59:44 +00:00