1
0
forked from 0ad/0ad
Commit Graph

2732 Commits

Author SHA1 Message Date
501acc65f5 Extension function pointers are renamed from glXyzARB to pglXyzARB
to avoid conflicts with system header files.

This was SVN commit r3054.
2005-10-30 01:18:15 +00:00
5582e4b890 Added resetUpdateVars(), so that selection/property update handler is actually refreshed and so improves performance like it's meant to. ;) Thanks for spotting that, Philip.
This was SVN commit r3053.
2005-10-30 01:06:04 +00:00
875cb3bca1 Add ARB_vertex_shader specific functions to glext_funcs.h
Add an "instancing" model renderer to improve rendering of
non-transparent,
unanimated models. This renderer is used when the vertexshader path is
rendering path is used.

This was SVN commit r3052.
2005-10-30 00:22:22 +00:00
998622ff54 Initialize some previously uninitialized variables.
This was SVN commit r3050.
2005-10-29 22:50:54 +00:00
15d9278af6 tex, mem: fix refcnt issue that is the possible cause of bug#70! huge thanks to philip, who localized the problem to tex_wrap/memory not getting freed.
wdbg_sym: make sure symbol info is initialized even if *resolve() fails;
also fix warnings
renderer: make sure texture array is initialized

This was SVN commit r3049.
2005-10-29 22:29:55 +00:00
a7d6725f45 allocators, config: add CONFIG_OVERRUN_PROTECTION - allows disabling the lengthy work done by OverrunProtector
h_mgr: clarification of fn_store code
mem.cpp: fix recursive taking of a lock

This was SVN commit r3048.
2005-10-29 21:40:41 +00:00
f323726118 allocators: bugfix, unlock mem range before calling dtor
mem: made thread-safe; use OverrunProtector for Ptr2H

This was SVN commit r3047.
2005-10-29 18:30:39 +00:00
bc78557f10 move boilerplate overrun protect code into OverrunProtector
This was SVN commit r3046.
2005-10-29 17:58:26 +00:00
abee717a26 Few more updates for the celt buildings
This was SVN commit r3045.
2005-10-29 09:26:17 +00:00
5d821cc925 wrap placement new in #include "nommgr.h" so that it works with memory tracker enabled
This was SVN commit r3044.
2005-10-29 03:18:27 +00:00
8c437850e6 allocators: add include guard and posix.h (needed for PROT_*)
debug: add debug_is_code_ptr and debug_is_stack_ptr
config: add CONFIG_OMIT_FP (needed for ia32_stackwalk).
h_mgr: hyperparanoid overrun detection straightjacket for key2idx - now
safe to use at any time and any unexpected changes cause access
violation.
ia32: add ia32_get_call_target, which disassembles backwards and checks
for a valid CALL instruction + its target
wdbg_sym: add win-specific walk stack function. it's quite simple and
requires EBP frames (hence CONFIG_OMIT_FP). rationale: dbghelp requires
~30 seconds (!) to start up. recent changes (tracking malloc callers via
debug_get_nth_caller) made this happen on every run, so added a
fast-path stack walker to avoid this.

This was SVN commit r3043.
2005-10-29 02:32:36 +00:00
e8540b29bd Celt Structure updates
This was SVN commit r3042.
2005-10-29 00:27:34 +00:00
b10534d224 Transform normals using the original bone matrix instead of the inverse of the
transpose. This assumes orthogonal transformations (which we have
exclusively,
as far as I can tell), but is significantly faster, because calculating
the
inverse is slow.

This was SVN commit r3041.
2005-10-28 19:25:47 +00:00
b5c489e1d5 This was SVN commit r3040. 2005-10-28 06:00:02 +00:00
900cb559e1 Trying out some different stone textures.
This was SVN commit r3039.
2005-10-28 05:15:51 +00:00
271b66965d This was SVN commit r3038. 2005-10-28 05:14:44 +00:00
813738c295 add debug_warn_err analogous to debug_assert_failed that reports an error code for use with CHECK_ERR et al. (as discussed in bug#70)
This was SVN commit r3037.
2005-10-28 02:56:35 +00:00
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
e3b0f20d4e change requested by philip: debug_printf "tags" are now followed by '|' instead of ':' because something like "func: i am blowing up" is rather common.
This was SVN commit r3035.
2005-10-27 16:53:41 +00:00
e56f8341dc This was SVN commit r3034. 2005-10-27 08:46:46 +00:00
b155861284 Made some new parched grass textures and actors
This was SVN commit r3033.
2005-10-27 08:45:59 +00:00
7fa2770203 tex_dds now supports uncompressed images. also armor-plated the loader and split up decompression vs dds format code.
This was SVN commit r3032.
2005-10-27 00:51:30 +00:00
ae87ca51aa Celtic Fortress, and scale fix for the Celtic tower (to match the other towers in height)
This was SVN commit r3031.
2005-10-26 09:55:49 +00:00
582a8cceed This was SVN commit r3030. 2005-10-26 07:15:06 +00:00
95fb49053e This was SVN commit r3029. 2005-10-26 07:14:32 +00:00
65abf65da0 Deletion of the UI backup art - it has been moved to the ~art/guibackup now if needed
(down with the .png files!)

This was SVN commit r3028.
2005-10-26 02:32:11 +00:00
3ad3d32a82 Fortress fix for odd prop problem
This was SVN commit r3027.
2005-10-26 02:25:42 +00:00
8d6d6a1a1e Wireframe hotkey (default = Alt+W) cycles through wireframe modes
for terrain and models now.

This was SVN commit r3026.
2005-10-26 01:43:49 +00:00
a357c7334e Props remember who they're attached to and other mostly bone matrix related
things that should fix the heads-detached-from-bodies problem.

This was SVN commit r3025.
2005-10-26 01:03:28 +00:00
2842098a49 portrait updates for the Celts and Greeks
This was SVN commit r3024.
2005-10-25 08:46:18 +00:00
409443d678 oops, wrong helmet
This was SVN commit r3023.
2005-10-25 07:02:14 +00:00
3548e09076 Themistocles update from Michaels request
This was SVN commit r3022.
2005-10-25 06:55:40 +00:00
2f341f5210 Sharpened up Themistocles' shield a bit.
This was SVN commit r3021.
2005-10-25 06:37:23 +00:00
724d072b1f This was SVN commit r3020. 2005-10-25 05:36:26 +00:00
4574c24a3a This was SVN commit r3019. 2005-10-25 05:15:09 +00:00
40e3ffa490 This was SVN commit r3018. 2005-10-25 05:13:50 +00:00
404dc10d6a This was SVN commit r3017. 2005-10-25 05:13:15 +00:00
7355310011 This was SVN commit r3016. 2005-10-25 05:12:40 +00:00
84ec0ac4a4 This was SVN commit r3015. 2005-10-25 05:11:50 +00:00
777fc4b7b5 The things CheeZy and I threw together for the Pond Battle screenshot.
This was SVN commit r3014.
2005-10-25 05:11:07 +00:00
b7df6f7fbf Do not sort transparent models by default.
This was SVN commit r3012.
2005-10-25 02:22:22 +00:00
d977bc27dc Eek.. apparently, I committed in the wrong subdirectory.
Also, fixed a stupid bug that caused transparent objects to be
retransformed
all the time.

This was SVN commit r3011.
2005-10-25 02:00:09 +00:00
11d6b08360 GUI updates converting from .png to .dds
This was SVN commit r3010.
2005-10-25 01:29:42 +00:00
82ee484821 Massive rewrite/refactoring of the model rendering system.
Performance impact:
+ Player color rendered models are batched like normal models
- Transparent sorted models never use the vertex shader path

This was SVN commit r3009.
2005-10-25 01:43:07 +00:00
d17e48ad99 Updated to fix .png to .dds changes
This was SVN commit r3008.
2005-10-25 01:12:59 +00:00
178ad741b9 DevIL: Improved quality of DXT5 alpha compression.
textureconv: Made -(no)mipmaps work. Defaulted to DXT5 for alpha
textures (since DXT3 almost never seems any good). Recompiled with new
DevIL code.
GUIRenderer: Removed complaints about 0-sized objects (e.g. hitpoint
bars).
Atlas: Added forgotten files.

This was SVN commit r3006.
2005-10-24 23:45:52 +00:00
0a202da843 also add code here to reset buttons when alt+tabbing out, analogous to CGUI (thanks to Philip for mentioning the problem)
This was SVN commit r3004.
2005-10-24 21:43:39 +00:00
0d6dd7836d fix assumption that SDL_BUTTON < 3
add ClearMouseState to reset buttons when alt+tabbing out (thanks to
Philip for mentioning the problem and Gustav for telling me how to fix
it :D)

This was SVN commit r3003.
2005-10-24 21:10:45 +00:00
d49dd25385 ogl, h_mgr: tag-ified debug_printf string for use with new filter
debug: filter mechanism now usable. added docs

This was SVN commit r3001.
2005-10-24 17:38:22 +00:00
7cb003f18c Greek shield changes - yet again
This was SVN commit r3000.
2005-10-24 10:17:26 +00:00