Ykkrosh
ccc8055226
Fail more nicely with invalid actors
...
This was SVN commit r3669.
2006-03-19 22:37:56 +00:00
Ykkrosh
d3f57744d9
Refactored actor variation system, and added support for entity-level selections (controlled by the current animation).
...
Avoided tooltip error message.
Avoided noisy warnings when textures fail to load.
This was SVN commit r3653.
2006-03-17 03:59:49 +00:00
Ykkrosh
ed38414b41
Texture converter, DevIL: ABGR DDS support.
...
Textures: converted ARGB to ABGR.
Misc: warning fixes, etc.
This was SVN commit r3631.
2006-03-14 21:29:19 +00:00
Matei
cff5dfae07
Preliminary version of player selection for Atlas. You can press any key 0-8 while the place object tool is active to place an object for that player, though the preview object will always be shown in white (Gaia) until I can figure out how to cleanly update its colour.
...
This was SVN commit r3444.
2006-01-29 23:38:19 +00:00
Ykkrosh
5ac92a3302
Advance water in sync with simulation and unit animations (so it stops when the game is paused).
...
Other miscellaneous tidyings.
This was SVN commit r3386.
2006-01-21 23:27:42 +00:00
prefect
acbd00188e
Explicit cast to CStr() to fix Linux build.
...
This was SVN commit r3282.
2005-12-23 01:24:07 +00:00
Ykkrosh
ed7c2fe3d6
Atlas: Allow placement of actors.
...
This was SVN commit r3275.
2005-12-22 04:20:16 +00:00
prefect
3ea5fa5b46
Lots of fixes for the Linux build:
...
- renamed sysdep/unix/ functions where necessary
- more int -> LibError conversions in the sysdep/unix/ part
- added some explicit #include statements where necessary
- moved enum LibError/ErrorReaction declarations
(gcc doesn't support forward enum declarations)
This was SVN commit r3267.
2005-12-17 22:00:54 +00:00
Ykkrosh
2eac4af3a4
Added unit IDs, so Atlas can store references to units without just using pointers and without crashing.
...
This was SVN commit r3214.
2005-12-09 03:15:00 +00:00
Ykkrosh
bd2c1d73a3
Terrain, Interact, LOSManager, Atlas, etc: Fixed some off-by-one and off-by-FLT_EPSILON problems with objects near/off the edge of the map. Also changed some model.GetBounds().GetCentre() into model.GetTransform().GetTranslation() to fix off-by-centre-of-bounds-minus-position problems. Thus, you can no longer make units in Atlas disappear off the edge and never be seen or selected again. Also changed out-of-bounds LOS value to make them visible if they somehow escape anyway. Also fixed out-of-bounds access of terrain heightmap.
...
MapReader: Tidied usage of Xeromyces.
Projectile: Avoided warnings.
This was SVN commit r3212.
2005-12-09 01:08:08 +00:00
Ykkrosh
12b8dd2d9b
Fixed warning when exiting from non-Atlas game
...
This was SVN commit r3211.
2005-12-08 20:25:17 +00:00
Ykkrosh
5250814397
Atlas: Fixed entities-don't-move-when-terrain-is-altered. Unbroke and fixed entity memory management. Added flatten tool. Added object movement/rotation/deletion tool - but not yet finished, since 'redo' usually crashes (for known reasons).
...
This was SVN commit r3207.
2005-12-08 02:50:55 +00:00
Ykkrosh
547293ee49
Atlas: Vaguely usable object placement code. Bug fixes.
...
This was SVN commit r3186.
2005-12-02 21:08:10 +00:00
Ykkrosh
0a252de08c
Atlas: Incomplete object (entity+actor) placement code. +/- keys for zooming.
...
This was SVN commit r3184.
2005-12-02 07:37:57 +00:00
Ykkrosh
124f7171bd
More reliable texture blending. Resource unloading. Minor fixes.
...
This was SVN commit r3106.
2005-11-06 05:05:07 +00:00
janwas
6668ad6e1c
CTerrain, Brushes: made CalcFromPosition static and added float x,y overload
...
minimap, PatchRData, renderer: fix ELOSState comparison vs & and use
SAFE_DELETE
ia32: add rounding control constants (for FISTP)
premake: set /QIfist compiler setting which causes float->int casts to
go through FISTP instruction instead of _ftol2() (much faster, but
requires CPU state to have been set)
LOSManager.cpp: cache m_TilesPerSize; use MIN/MAX; use
CTerrain::CalcFromPosition; clean up GetUnitState a bit. now runs at
203ns, down from 222
This was SVN commit r3099.
2005-11-06 01:33:16 +00:00
prefect
fb115d19b9
Fix compilation with g++
...
This was SVN commit r3094.
2005-11-05 23:03:55 +00:00
Ykkrosh
faaee7d1b5
Atlas: Terrain painting
...
This was SVN commit r3092.
2005-11-05 04:59:54 +00:00
Ykkrosh
a679206ca1
Atlas: Use sem_msgwait_np
...
This was SVN commit r3090.
2005-11-04 00:02:43 +00:00
prefect
9e2ec6aa3e
Wide to Multi-byte conversion needs some hinting.
...
This was SVN commit r3089.
2005-11-03 22:51:14 +00:00
prefect
5f5d19cac4
Compile fixes and cleanup
...
This was SVN commit r3088.
2005-11-03 22:21:44 +00:00
Ykkrosh
7bfe647366
Atlas: Initial terrain-selection panel.
...
TextureManager: Skip *.jbf too.
This was SVN commit r3085.
2005-11-03 03:49:57 +00:00
Ykkrosh
7078279ca2
Atlas: Altered some terminology (command vs message etc). Allowed information to pass from engine to UI.
...
This was SVN commit r3067.
2005-10-31 03:36:50 +00:00
janwas
20d038efda
profiling indicates memcpy is a bottleneck, so globally replace all of them with memcpy2 (hand-optimized). depending on transfer size, this is 10%..300% faster. also made memcpy2 into a macro instead of thunk function because vc7 was still generating a jump.
...
This was SVN commit r3057.
2005-10-30 16:19:20 +00:00
prefect
252bd478c4
Fix wgl extension function pointers (I hope). Thanks for pointing it out, Philipp.
...
This was SVN commit r3055.
2005-10-30 01:51:16 +00:00
Ykkrosh
bbda296289
TerrainProperties: Use CTerrainPropertiesPtr (boost::shared_ptr) instead of CTerrainProperties*, to fix (slightly inelegantly) memory leaks.
...
Renderer: Initialise pointers when HW lighting is unavailable.
Atlas: Avoid strange VS2005 iterator complaint.
This was SVN commit r3036.
2005-10-28 01:43:16 +00:00
Ykkrosh
52a8793450
Atlas: Bits of tool-related code.
...
Game: Large screenshots (with ctrl+alt+F2).
This was SVN commit r2994.
2005-10-24 01:53:03 +00:00
janwas
26d2fc71ad
loaders: increase timeout interval (less time wasted in main loop during loading)
...
vfs: move public functions into vfs.cpp to avoid confusion (except
vfs_mount in vfs_mount.cpp, but that's obvious)
h_mgr: fix bug in filename display causing dir names to be truncated
main/gamesetup: replace 2 bools with flags; remove Atlas trampoline
functions (clutters up main.cpp)
atlas: use GameSetup.h instead of extern ..
This was SVN commit r2983.
2005-10-21 18:01:21 +00:00
Ykkrosh
f2b662d12d
Build: generate Atlas project files (with "update-workspaces --atlas") (for VS2003 only).
...
Premake: allow slight separation of files' locations on disk vs in the
project tree.
Atlas: require fewer include directories.
This was SVN commit r2956.
2005-10-17 01:11:12 +00:00
Matei
faa6a78304
Added LOS setting to GameAttributes. Also fixed a small bug with LOS rendering (the patch's render data wasn't updated for LOS until the second frame after it became visible, displaying it in black for 1 frame).
...
This was SVN commit r2887.
2005-10-10 03:35:32 +00:00
Ykkrosh
aa1348b6a8
Atlas: Disable LOS when editing. Set up initial terrain data before starting CGame (since initialisation of LOS (and probably other things in the future) wants to know about the terrain).
...
World: Deallocate LOSManager.
This was SVN commit r2877.
2005-10-09 04:29:58 +00:00
Ykkrosh
7ebdefec4b
Atlas: improved brushes
...
This was SVN commit r2875.
2005-10-09 03:26:16 +00:00
Ykkrosh
8bc8bcb740
Atlas: more flexible brushes
...
This was SVN commit r2868.
2005-10-08 03:55:21 +00:00
Ykkrosh
29d6f420fd
GameView: removed unused ancient camera code.
...
Terrain: nicer handling of negative map coordinates (mainly for Atlas
brush previews that fall over the edge).
Misc: reverted seconds->microseconds.
This was SVN commit r2866.
2005-10-07 21:09:29 +00:00
prefect
04650efe7a
Lots of gcc -Wall fixes. The common ones:
...
- switch() statements don't handle all values in an enum
- missing \n at end of file
- non-virtual destructors in classes containing virtual functions
- order of initializers in constructor initializer lists
... some other stuff (signedness, nested comments, unused variables) as
well.
This was SVN commit r2864.
2005-10-07 15:24:29 +00:00
Ykkrosh
721f6e4a1e
Atlas: [very] primitive brushes
...
This was SVN commit r2843.
2005-10-04 02:50:59 +00:00
prefect
19b66bf0ff
Use BOOST_PP_CAT to delay token pasting until arguments are fully evaluated.
...
Fixes compile error on g++-3.3
This was SVN commit r2819.
2005-09-30 15:16:03 +00:00
Ykkrosh
2790981eae
CVSROOT: doesn't seem particularly useful now
...
ObjectBase: removed support for old actor format
Various: reduced sometimes-unnecessary header inclusions
Atlas: slightly nicer tool and message systems
This was SVN commit r2816.
2005-09-30 00:59:42 +00:00
janwas
13501cf58b
hook up emulate_glCompressedTexImage2D to new tex transform code (which takes care of DDS unpack)
...
to that end, provide support for "wrapping" existing textures so that
tex_* and ogl_tex* calls may be used.
also have renderer use ogl_tex for its created-on-the-fly composite
alpha texture
also named atlas's thread (for fun+profit during debugging)
This was SVN commit r2754.
2005-09-19 22:48:20 +00:00
Ykkrosh
3ecdefe973
Atlas: Allow VFS reloading
...
This was SVN commit r2736.
2005-09-16 06:07:04 +00:00
Ykkrosh
599452af85
Atlas: Camera controls.
...
Elsewhere: Quaternion stuff.
This was SVN commit r2734.
2005-09-15 05:31:49 +00:00
Ykkrosh
4a7d0e9038
Config: Changed -e to -entgraph (to avoid conflicts with -editor).
...
Premake: Don't compile Atlas when compiling ScEd, though I can't
remember why.
Atlas: Load existing maps.
This was SVN commit r2720.
2005-09-14 05:37:52 +00:00
Ykkrosh
0b72d0f86c
Atlas: More portable GL context usage. Smoother and more responsive terrain editing.
...
This was SVN commit r2705.
2005-09-13 03:57:34 +00:00
olsner
a0a01e7a7d
Linux/GCC Compat, added some includes, ported inline assembly stuff to gnu syntax (and misc. cleanup in ia32.cpp)
...
This was SVN commit r2702.
2005-09-12 23:37:52 +00:00
Ykkrosh
aa118403bb
Terrain: CalcFromPosition, to convert world-space to tile-space.
...
ScEd: Compilation fixes.
Atlas: Screen-space to world-space conversion when editing terrain.
Wireframe option. Minor wxWidgets 2.6.1 fixes. AoE3Ed.
This was SVN commit r2698.
2005-09-12 20:04:26 +00:00
Ykkrosh
1039e9f2a2
Atlas: Removed compile-time linking
...
This was SVN commit r2629.
2005-08-20 18:05:25 +00:00
Ykkrosh
ccb813119e
Atlas: Slightly better undo system (with merging of 'continuous' commands)
...
This was SVN commit r2628.
2005-08-20 17:37:48 +00:00
Ykkrosh
5d62c3f3f7
Atlas: Simple undo system
...
This was SVN commit r2627.
2005-08-20 15:44:50 +00:00
Ykkrosh
549150fe38
Atlas: simple camera control and terrain editing.
...
Terrain: added terrain-editing code to CTerrain, for better
encapsulation or something.
Console: simplified screen resizing.
Game/etc: removed some unnecessary header file inclusions.
This was SVN commit r2459.
2005-07-03 16:25:48 +00:00
Ykkrosh
cf37e9cbe6
Atlas: Added a button. Reorganised game<->UI communication system.
...
main.cpp: Allowed correct operation when not calling Init/Shutdown.
Game.cpp: Stopped complaint when starting game with no GUI.
This was SVN commit r2446.
2005-06-27 23:04:34 +00:00
Ykkrosh
5c4d41fd0f
Initial parts of Atlas integration
...
This was SVN commit r2435.
2005-06-25 02:21:26 +00:00