faaee7d1b5
Atlas: Terrain painting
...
This was SVN commit r3092.
2005-11-05 04:59:54 +00:00
a679206ca1
Atlas: Use sem_msgwait_np
...
This was SVN commit r3090.
2005-11-04 00:02:43 +00:00
9e2ec6aa3e
Wide to Multi-byte conversion needs some hinting.
...
This was SVN commit r3089.
2005-11-03 22:51:14 +00:00
5f5d19cac4
Compile fixes and cleanup
...
This was SVN commit r3088.
2005-11-03 22:21:44 +00:00
668794e61d
add sem_msgwait_np for philip/use with atlas. add API fail reporting for sem_*
...
networkInternal - remove E* error codes; rely on system <errno.h> header
wposix: add all SUSv3 error codes; value = that of CRT (where
available), otherwise the linux value
This was SVN commit r3087.
2005-11-03 07:26:38 +00:00
7bfe647366
Atlas: Initial terrain-selection panel.
...
TextureManager: Skip *.jbf too.
This was SVN commit r3085.
2005-11-03 03:49:57 +00:00
e527c66fda
document DynArray and add self-test. fix 2 tiny little bugs.
...
This was SVN commit r3083.
2005-11-03 00:42:37 +00:00
d3441f3f48
This was SVN commit r3082.
2005-11-03 00:07:13 +00:00
62c0dc6fc2
Another grass texture. Should be one of my last for a while. I think e now have a good variety of grasses to fill out most biomes.
...
This was SVN commit r3081.
2005-11-03 00:06:30 +00:00
aa70714a9f
huge dehackification: moribund key input code (featuring static buffer and goto) now uses queue and is much simpler. use message crackers to simplify wndproc and delegate responsibility. grouped keyboard/mouse/app activation code together.
...
This was SVN commit r3080.
2005-11-02 19:10:44 +00:00
3a5969f126
boil 5 state indicator flags down to 3, and store them as flags instead of bitfield
...
This was SVN commit r3078.
2005-11-02 06:35:34 +00:00
32ee913936
Gallic Fortress
...
This was SVN commit r3077.
2005-11-02 02:04:10 +00:00
ab0afbb299
Celt special building
...
This was SVN commit r3076.
2005-11-01 10:33:09 +00:00
d41283ab52
This was SVN commit r3075.
2005-11-01 06:26:14 +00:00
f1877c0493
First draft of the celt turf wall - deletion of some old unused celt meshes.
...
This was SVN commit r3074.
2005-11-01 04:41:50 +00:00
9f7de4bd3a
Celt wall entities
...
This was SVN commit r3073.
2005-11-01 04:43:35 +00:00
74bf76d523
fix bug #71 - was a double-free (both ~CRenderer and UnloadResources were calling UnloadWaterTextures)
...
This was SVN commit r3071.
2005-10-31 18:57:03 +00:00
6af5888866
replace g_active with more clear g_app_has_focus and g_app_minimized
...
reinstate g_keys - realized that atlas mode cannot call SDL_GetKeyState
main: use g_app_minimized etc. to use up less CPU time when app isn't
active (makes debugging more bearable)
This was SVN commit r3070.
2005-10-31 18:36:36 +00:00
8c76dc34af
g_keys[] has been made redundant by SDL's key array; use SDL_GetKeyState instead to get address of new keys array
...
fix W4 warnings (unused param and type conversion mostly)
This was SVN commit r3068.
2005-10-31 16:26:51 +00:00
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
2452e29f0d
remove key- and mouse-state-clear code (previously called after alt+tab out). wsdl now takes care of this: by maintaining its own key array+sending up events for all currently down keys; and by capturing the mouse on each click.
...
-- this fixes "cursor keys require ctrl" bug reported by jason
wdbg_sym: fix warning
wsdl: as above and also better SDL_ACTIVEEVENT handling
mmgr: 500µs -> 500s -> 500us :)
This was SVN commit r3065.
2005-10-31 01:15:49 +00:00
be44dc842e
Fix memory leaks in the new model code.
...
This was SVN commit r3063.
2005-10-30 21:31:10 +00:00
f2b88d7792
GameSetup: "-autostart=mapname" command-line parameter, for faster testing.
...
Misc: Don't catch(...)
Atlas: Removed old project files; adjusted include paths.
This was SVN commit r3062.
2005-10-30 21:30:52 +00:00
416c7fe4ba
Get rid of errors (selection can have size 0).
...
This was SVN commit r3061.
2005-10-30 21:09:27 +00:00
695d966788
ia32_memcpy now returns the destination pointer just like the standard
...
library version does.
Fixed improper non-use of delete[] in the new model code.
This was SVN commit r3060.
2005-10-30 21:01:42 +00:00
dd031d5367
Force proper target file name in automatically generated dependency file.
...
Distributed compiles via Icecream should now really work with proper
dependency
file generation.
This was SVN commit r3059.
2005-10-30 20:58:12 +00:00
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
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
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