8e31f44249
This is what the explicit "this->" before accesses of members of a
...
template base class needs to look like. More will surely follow.
This was SVN commit r2772.
2005-09-26 23:37:37 +00:00
9f9ab188e1
Add missing ret from ia32_control87 ;)
...
This was SVN commit r2771.
2005-09-26 23:36:43 +00:00
6c7759700f
More explicit %ls instead of %s for wide strings.
...
This was SVN commit r2770.
2005-09-26 23:36:17 +00:00
3c61029ff1
Some changes to how wchar_t strings are handled to make wchar debug messages
...
appear on stdout.
This was SVN commit r2769.
2005-09-26 23:20:04 +00:00
a88915825f
Various GUI fixes (and probably some breakages ;D).
...
This was SVN commit r2768.
2005-09-26 23:08:06 +00:00
a7e0c3d0ac
fix for the underscore problem in the assembler symbols
...
This was SVN commit r2766.
2005-09-26 05:39:58 +00:00
ee35659dc7
udbg fixes and a fix for the underscore problem in the assembler symbols
...
This was SVN commit r2765.
2005-09-26 05:38:40 +00:00
1c71c72e74
Fix for Linux build:
...
Header filenames in #include are case sensitive
This was SVN commit r2764.
2005-09-25 21:17:35 +00:00
75b291931d
Actor reorganisation
...
This was SVN commit r2763.
2005-09-23 03:54:51 +00:00
de6d43c290
Actor reorganisation
...
This was SVN commit r2762.
2005-09-23 03:31:41 +00:00
37e9fc0388
- update load times
...
- config: add proper HAVE_ macro for string_s functions rather than
checking MSC ver directly
- string_s: disable parts of the self-test that trigger errors if not
using the string_s.cpp implementation
This was SVN commit r2760.
2005-09-21 16:42:56 +00:00
d6f31e4157
ogl_tex: documented and cleaned up.
...
h_mgr: add h_get_refcnt; saw h_alloc was a mess and split it up
mem: remove obsolete 'scope'
This was SVN commit r2759.
2005-09-21 16:11:43 +00:00
8ba42d5a3c
ia32.asm: add explicit init function (simplifies other code)
...
memcpy no longer requires SSE yet is still efficient (clever trick,
hehe)
This was SVN commit r2757.
2005-09-20 04:05:23 +00:00
2a8953452d
inlined bits and bit_mask for efficiency (as suggested by philip - thanks!)
...
add sanity check for struct Tex
This was SVN commit r2755.
2005-09-19 23:40:33 +00:00
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
173b060668
Changed entity script to to allow Gaia units to be attacked (gather will still be higher priority though).
...
This was SVN commit r2753.
2005-09-19 01:20:23 +00:00
a3967624af
add 64-bit endian-safe read; also bit_mask
...
work continues on DDS decode. endian-safe; supports dxt1a; now fairly
efficient and cleaned up.
This was SVN commit r2751.
2005-09-18 18:10:23 +00:00
603c475cf0
This was SVN commit r2749.
2005-09-18 06:28:23 +00:00
e5dea3e5a1
Water source code :|.
...
This was SVN commit r2746.
2005-09-18 03:47:15 +00:00
bc3949db1a
Added a fairly primitive water plane. This includes several things:
...
- Hotkeys Q, A, Z to toggle, raise and lower the water plane
respectively.
- A unit trait, named anchor, that says whether it attaches to the
terrain or the water.
- Small changes to rendering code.
This was SVN commit r2744.
2005-09-18 03:16:12 +00:00
2b69209fcd
bits() param clarification
...
dds: serious cleanup of DDS decoder
This was SVN commit r2741.
2005-09-17 15:47:00 +00:00
a98ee94af9
A ship for testing purposes.
...
This was SVN commit r2740.
2005-09-17 11:18:45 +00:00
6b10e4b010
tex codecs: fix some warnings (remove unnecessary locals)
...
ia32: fix register clobbering bug (thanks to philip for reporting it)
This was SVN commit r2738.
2005-09-16 19:19:14 +00:00
3ecdefe973
Atlas: Allow VFS reloading
...
This was SVN commit r2736.
2005-09-16 06:07:04 +00:00
f0885bde69
Atlas: Simple (and ugly and unreliable) interface to rmgen
...
This was SVN commit r2735.
2005-09-16 05:29:40 +00:00
599452af85
Atlas: Camera controls.
...
Elsewhere: Quaternion stuff.
This was SVN commit r2734.
2005-09-15 05:31:49 +00:00
6f90dec78f
Added Neareastern Badlands map.
...
This was SVN commit r2733.
2005-09-15 02:57:09 +00:00
99127e2458
This was SVN commit r2732.
2005-09-15 02:56:24 +00:00
0d11643032
Fixed a bug that was causing the original resource values to be strings instead of numbers, resulting in string concatenation when you gathered a resource.
...
This was SVN commit r2731.
2005-09-15 02:03:01 +00:00
27539d25e8
improvements to memcpy; cleaned up the whole thing and ia32 is now done (knock on wood)
...
executive summary: memcpy2 aka. ia32_memcpy is a drop-in replacement
that is much faster than memcpy (7% on small buffers, 300% on 192K
buffers)
This was SVN commit r2729.
2005-09-15 00:51:59 +00:00
82f663e5a2
Renamed output files in the generated GNU makefiles so that e.g. ia32.asm and ia32.cpp don't generate the same object file
...
This was SVN commit r2728.
2005-09-14 23:55:56 +00:00
58fbafbbdd
Command buttons can finally invoke the building painter or train units. Still plenty of glitches (particularly click-fest issues ... still an issue when updating the buttons directly rather than via hack, so it's probably due to constant onPress refresh). I've also had to disable the progress bar until I can make it work properly, but if you can get a unit in the queue it should eventually spawn. :)
...
This was SVN commit r2727.
2005-09-14 22:47:51 +00:00
ff35050d37
This was SVN commit r2725.
2005-09-14 19:43:16 +00:00
2aca87419f
This was SVN commit r2724.
2005-09-14 19:42:58 +00:00
c50505f54c
read intel doc on multicore, realized it'd break our #cpu detect (which is actually critical because it determines safety of TSC). wrote new CPU detect code which should fix it (wasn't easy, grr); cannot test for lack of Pentium EE hardware ;p
...
This was SVN commit r2722.
2005-09-14 16:58:10 +00:00
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
a2622cdef7
hotfix for bug in ia32 (code path where ebx was clobbered due to cpuid; incorrect ptr arithmetic passing cpu_type to ia32_cpuid)
...
+ manual Release build that fixes it
This was SVN commit r2718.
2005-09-14 04:08:23 +00:00
f8ed148370
cpuid -> ia32_cpuid
...
considerable continued cleanup in ia32
came across article detailing HT detect on multicore systems. that
requires new code, working on it.
pthread: while reading, came across idea of wrapping thread trampoline
in __except -> more reliable exception handling
This was SVN commit r2716.
2005-09-14 01:34:16 +00:00
4ab25c7274
* Fixed the "can't interact with the world" glitch. Turns out it was my fault. :)
...
* Restored the resource pool (and cleaned up the JS interface to it ...
array and counters are updated in one spot (wrapper functions to
add/deduct/define), without need for constant refresh).
* Added crude boxes in game setup to enter initial resource value.
* The command buttons still don't work when clicked (and clicking
continues to be erratic, only triggering if hammering the mouse button
... I think it's related to the return function() hack Philip set up),
but that's next on the list. :)
* Oh, and the command buttons don't currently realign to the different
corners with Alt+G, but all the rest should.
This was SVN commit r2715.
2005-09-14 00:50:25 +00:00
093e5c2519
Enanced the Cantabrian Highlands map some more, and added a few more comments and utility functions to rmgen and JS API.
...
This was SVN commit r2714.
2005-09-13 23:00:56 +00:00
2766242181
This was SVN commit r2713.
2005-09-13 22:58:54 +00:00
fd3437d181
lib: add CPU error code.
...
ia32: replace get_cur_processor_id with cpuid(0); move cpuid(func, regs)
to asm - it takes care of detecting cpuid.
This was SVN commit r2710.
2005-09-13 21:12:29 +00:00
2ab9584840
snd.cpp: initialize listener orientation and position (my OpenAL drivers complained about the old random values)
...
premake stuff: call assembler objects *.asm.obj instead of *.obj (so
that ia32.asm doesn't collide with ia32.cpp)
ia32.asm: use .text section for proper linkage
This was SVN commit r2709.
2005-09-13 20:42:01 +00:00
d8da47bd0a
quick fix to alleviate breakage until build system accepts .asm files
...
This was SVN commit r2707.
2005-09-13 04:27:08 +00:00
808a0f7cbe
config: additional macro is checked
...
lib: add bits() function (actually moved it from zip.cpp)
ia32: start moving code out to external asm file (will use NASM in
pre-build step; avoids needing MSC and GCC-specific inline code). move
memcpy test code out to other file
This was SVN commit r2706.
2005-09-13 04:00:41 +00:00
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
35591f4d24
Premake support for assemblying .asm-files with nasm (now also on windows!)
...
This was SVN commit r2704.
2005-09-13 03:51:48 +00:00
884418aed9
Linux support for including nasm in the build process
...
This was SVN commit r2703.
2005-09-13 00:16:47 +00:00
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
3fdf41bd54
misused SVN to transfer from laptop. fixed a compile error that was in there
...
This was SVN commit r2701.
2005-09-12 22:58:55 +00:00