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
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
12b8dd2d9b
Fixed warning when exiting from non-Atlas game
...
This was SVN commit r3211.
2005-12-08 20:25:17 +00:00
c16227df06
slight tweak to asm code - improve alignment and remove temp R..R/W..W memcpy interleaving
...
This was SVN commit r3209.
2005-12-08 17:26:08 +00:00
895d717c06
This was SVN commit r3208.
2005-12-08 03:33:14 +00:00
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
Aeros
ce3bd33d76
grass clumps
...
This was SVN commit r3206.
2005-12-07 07:51:19 +00:00
b242eafd02
various small fixes; some changes as in previous rev (which was only the files in lib/)
...
split a part of win.cpp up into wsysdep
GameSetup: bugfix for incorrect window title text
This was SVN commit r3204.
2005-12-07 03:44:17 +00:00
e2f25f4598
- self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier)
...
- config: add CONFIG_TRACE
- display_error_impl->sys_display_error
- cleaned up sysdep; add sys_ prefix everywhere and document everything
- add to vfs_load dox
- cursor: sys_cursor_load -> sys_cursor_create. sysdep code is no longer
dependent on tex; instead of calling tex_load, the caller passes a BGRA
texture in.
memcpy: huge kick in the pants for accompanying paper; now even faster.
- on_each_cpu -> sys_on_each_cpu (removed manager function also)
- wsdl: explain PeekMessage CPU usage issue
This was SVN commit r3203.
2005-12-07 03:38:39 +00:00
a5d1968a8c
ProfileViewer: Fixed char* vs wchar_t*.
...
Quaternion: Removed operator- since it doesn't seem geometrically
sensible for rotation-quaternions. Added ToAxisAngle but don't actually
use it anywhere.
GameView: Changed unit-view to look slightly more correct.
This was SVN commit r3201.
2005-12-06 20:16:50 +00:00
pyrolink
300ff4578b
Added camera enhancements and cinematic suppport
...
This was SVN commit r3199.
2005-12-06 06:58:30 +00:00
pyrolink
8199091425
Incomplete cinematic functions. (Are committed to keep CGameView compatible, which uses an instance of CCinemaManager). Atlas components will be committed once Atlas is up and running.
...
This was SVN commit r3198.
2005-12-06 06:52:24 +00:00
pyrolink
483917fbc8
Quaternion subtraction.
...
This was SVN commit r3197.
2005-12-06 06:49:55 +00:00
pyrolink
609140b7b5
Hotkeys for camera enhancements.
...
This was SVN commit r3196.
2005-12-06 06:47:17 +00:00
pyrolink
1c656821bf
Changes for camera enhancements (first person view and following a unit).
...
This was SVN commit r3195.
2005-12-06 06:46:16 +00:00
pyrolink
f174796540
Added fresnel effect for water.
...
This was SVN commit r3194.
2005-12-06 06:42:49 +00:00
pyrolink
74f8d8c213
Bug correction for heal action.
...
This was SVN commit r3193.
2005-12-06 06:41:47 +00:00
9b1da42678
Atlas: Better toolbar.
...
This was SVN commit r3192.
2005-12-05 20:17:10 +00:00
Aeros
15ce055695
This was SVN commit r3191.
2005-12-03 11:05:00 +00:00
036a8d3246
Atlas: Toolbar.
...
This was SVN commit r3190.
2005-12-03 06:35:31 +00:00
48ef5c0a32
Greek Ships!
...
This was SVN commit r3189.
2005-12-03 00:50:19 +00:00
547293ee49
Atlas: Vaguely usable object placement code. Bug fixes.
...
This was SVN commit r3186.
2005-12-02 21:08:10 +00:00
0a252de08c
Atlas: Incomplete object (entity+actor) placement code. +/- keys for zooming.
...
This was SVN commit r3184.
2005-12-02 07:37:57 +00:00
8f976e4b8a
glext_funcs: Added gDEBugger-specific extension.
...
Interact: Answered comment. Fixed calculation of map edge.
Renderer: Fixed unloading of water textures. Removed some redundant
state-setting in water renderer. Avoided potential problems with
floating point accuracy.
This was SVN commit r3182.
2005-12-02 02:08:26 +00:00
e0aa4feb99
Fixed a few issues in Cantabrian Highlands.
...
This was SVN commit r3181.
2005-11-27 01:27:44 +00:00
b4e50e24ba
This was SVN commit r3180.
2005-11-27 01:17:09 +00:00
e92c36bc36
Added new cantabrian_generated.
...
This was SVN commit r3178.
2005-11-27 01:10:10 +00:00
67e253544d
Fixed ScEd loading/saving
...
This was SVN commit r3176.
2005-11-26 23:12:32 +00:00
78c835a590
Put opened drop-down lists on top of most other GUI controls (by increasing their z value)
...
This was SVN commit r3175.
2005-11-26 22:42:51 +00:00
f942ea15e6
More DevIL library things
...
This was SVN commit r3172.
2005-11-26 03:46:21 +00:00
Aeros
760b915d54
bobby - added large oaks and tweaked scale on normal oaks
...
This was SVN commit r3169.
2005-11-22 07:22:09 +00:00
fd7af9481a
Siege wagons for the packed versions of the siege weapons
...
This was SVN commit r3168.
2005-11-21 10:40:26 +00:00
9be309d4c7
editordata: use tex_load to load the heightmap - don't need the ogl_tex functionality and this avoids the POT check (which would fail)
...
ogl_tex: remove POT-check-avoidance hack
This was SVN commit r3166.
2005-11-20 14:35:52 +00:00
b417951ef8
(Oops, committed inconsistent code)
...
This was SVN commit r3164.
2005-11-20 00:52:41 +00:00
41ae0f9a44
Various hacks to make ScEd work. Should be removed once ScEd is no longer needed.
...
This was SVN commit r3162.
2005-11-20 00:41:45 +00:00
efbe061214
rename lib/errors.* to lib/lib_errors.* due to conflict with ps/errors.*
...
also add sys_error_description_r backend for unix
This was SVN commit r3160.
2005-11-19 22:59:16 +00:00
0491a7980d
ScEd: add mathutil header (seems to be required now, no longer included automatically); update to ogl_tex API (they have long been renamed in ps); fix issue with PS_CRect vs CRect
...
ogl_tex: add diagnostic code to track down ScEd crash
This was SVN commit r3159.
2005-11-19 22:27:53 +00:00
59f9e37930
lib error codes moved to errors.h and made X macros. this allows adding a corresponding text message, which is now output by debug_warn_err.
...
vfs_path, tex, tex_codec: small tweaks to error-related code.
This was SVN commit r3158.
2005-11-19 18:12:16 +00:00
5c9501830c
Fix some more warnings.
...
This was SVN commit r3156.
2005-11-19 16:43:20 +00:00
71f1d3ed68
Consistently declare CRendererInternals as a struct, not a class.
...
This was SVN commit r3155.
2005-11-19 16:37:50 +00:00
5087732fe3
Refactor ProfileViewer into a singleton that uses AbstractProfileTable as
...
data model.
Profile.cpp implements AbstractProfileTable so the original
functionality
of the profiling display remains.
CRenderer also contains an AbstractProfileTable implementation that
displays
the rendering stats. Switch through different profile views using F11.
This was SVN commit r3154.
2005-11-19 16:15:34 +00:00
560e4d5077
Greek Siege Weapons
...
This was SVN commit r3153.
2005-11-19 11:22:57 +00:00
76c7f96833
add safety check to get_slot (this appears to be part of the error andrew is getting - possibly the victim of mem corruption)
...
This was SVN commit r3151.
2005-11-19 04:13:37 +00:00
ae7303cce4
removal of the last of the .png files (except what is left over in your local screenshot folders)
...
This was SVN commit r3150.
2005-11-18 22:50:37 +00:00
d5d6e4052e
lib: only debug_warn in UNREACHABLE in paranoia builds - avoids lots of warnings in debug mode
...
cursor: fix definition of ALLOW_SYS_CURSOR and use DDS instead of PNG
ogl_tex: add ogl_tex_transform_to for convenience
tex: fix issue with transform code (might not flip image if it was DDS)
win: decompress cursor texture if it was DDS
renderer: use DDS instead of PNG for alpha maps
This was SVN commit r3148.
2005-11-18 16:23:39 +00:00
c2b3157b8d
test objects for the renderer
...
This was SVN commit r3147.
2005-11-18 12:57:31 +00:00
eee7fca2d3
move atomic_add and CAS_ into pure asm.
...
this is good in general (less dependence on compiler) and is intended to
work around a bug andrew has been seeing. apparently VC generates
invalid code for the parameters + ASSERT, which causes infinite
recursion on the <location> validation.
This was SVN commit r3142.
2005-11-18 05:16:43 +00:00
78af045795
Removing last remaining .png files
...
This was SVN commit r3140.
2005-11-18 04:15:31 +00:00
Aeros
bd7078161c
Bobby - Forest Oak trees added and fixed the messed up poplar prop point that was giving people telephone poles. Moved the old oaks (since we already had an oak.xml) to oak_old.xml
...
This was SVN commit r3139.
2005-11-16 09:05:29 +00:00
f21b06e36a
add DLLs from VC8 so that applications with manifests enabled run on systems without VC8 installed
...
This was SVN commit r3138.
2005-11-15 16:22:15 +00:00