40bfeb37c1
ogl_tex: max_tex_size -> ogl_max_tex_size
...
assert_dlg, udbg, debug.h: dialog with stack trace is now used in dev
mode for exceptions as well
This was SVN commit r2393.
2005-06-16 21:52:35 +00:00
ae0f4fa731
timer.h: require trailing ; after TIMER
...
wtime.cpp: fix comment
main: reorder includes, remove deadwood, rename a few functions for
consistency, moved config code together into one section, slight change
to system info text file (for new ogl driver detect code), remove
_control87 (see comment)
This was SVN commit r2392.
2005-06-16 21:50:20 +00:00
40b26227d7
singleton.h: use assert2 (avoid trouble in wdbg code)
...
lib.h: reorder error codes (more clear) and add a few
detect.cpp, gfx.h: move gfx_mem (amount of video memory) here from ogl
This was SVN commit r2391.
2005-06-16 21:46:33 +00:00
e43892634b
Trying once more to rename this stuff correctly...
...
This was SVN commit r2389.
2005-06-14 20:46:45 +00:00
79b92f8a16
Renaming new PMDExp
...
This was SVN commit r2388.
2005-06-14 20:42:41 +00:00
982bcf268d
Deleting old PMDExp...
...
This was SVN commit r2387.
2005-06-14 20:39:51 +00:00
5d72244c0c
Minor changes to the new PMDExp code, to make it compile successfully. Removed redundant files.
...
This was SVN commit r2386.
2005-06-14 20:33:50 +00:00
d24fd1b0c9
Use gl*ARB wherever possible. They are mapped onto the core gl* function if the driver's version is high enough, else onto the extension's gl*ARB function.
...
(Just for fun, compressed texture uploads are mapped onto a
decompression function if the user's system doesn't understand S3TC
textures.)
Corrected (unless I'm wrong) GL version identification logic.
This was SVN commit r2384.
2005-06-14 03:33:16 +00:00
dd3c8f6fb5
Use the standard Singleton for CLogger, to fix problems with unordered shutdown
...
This was SVN commit r2383.
2005-06-13 19:31:48 +00:00
64e2234e81
Latest version of pmdexp provided by Rich (though he's not sure if it's in a compileable state or not).
...
This was SVN commit r2381.
2005-06-09 22:43:04 +00:00
08ef5c2b68
Redesigned part of RMS (removed "CenteredPlacer" concept, made createMulti a JavaScript library function).
...
This was SVN commit r2379.
2005-06-07 07:21:55 +00:00
bd53b14f58
More work on RMS:
...
- Created binaries/data/mods/official/maps/random folder to store maps
and also moved rmlibrary.js to maps (though perhaps it should be
somewhere in system?).
- RM generator now uses "logical terrains" that can have units attached
to them in addition to textures, for things like forests.
- Added basic clump placer, avoid constraints, layered painter, and
random terrains (each tile is chosen between several options).
- Misc. infrastructure changes.
This was SVN commit r2378.
2005-06-06 07:46:28 +00:00
dbecf93e82
WIP; fix some internal errors when in release mode: no more div-by-zero, reduced access violations.
...
revised get-crash-location code (very much trial+error, as StackWalk64
doesn't report errors) - it now looks to be bulletproof.
TODO: symbol addresses in release mode appear to be incorrect => value
display is completely worthless.
This was SVN commit r2376.
2005-06-05 05:10:45 +00:00
33a2f16ec3
remove sundry debug remnants
...
This was SVN commit r2375.
2005-06-05 05:07:22 +00:00
121780b733
win_internal: add DataKind (fix for dbghelp.h which left it out)
...
wdbg: work around several dbghelp flaws (most importantly concerning
address of symbol, which was leading to completely wrong display).
refactored sym_dump_*. also further cleanup + dox.
This was SVN commit r2373.
2005-06-04 18:17:56 +00:00
211c8e66d8
win_internal: add DataKind (fix for dbghelp.h which left it out)
...
wdbg: work around several dbghelp flaws (most importantly concerning
address of symbol, which was leading to completely wrong display).
refactored sym_dump_*. also further cleanup + dox.
This was SVN commit r2372.
2005-06-04 18:17:29 +00:00
4c16658a09
Updated autobuilder to maybe work.
...
This was SVN commit r2369.
2005-06-02 18:13:38 +00:00
e583af307f
Updated autobuilder to update ps.pdb.
...
Animation files with filename="" are now ignored.
This was SVN commit r2368.
2005-06-02 18:04:20 +00:00
b657a1cbca
Added CStr and some other things to precompiled.h, to reduce build times.
...
Altered CStr/UniDoubler's macros, to avoid polluting/conflicting/etc.
Fixed headers in non-PCH builds.
Used the _d version of vorbisfile*.lib in Debug builds.
This was SVN commit r2366.
2005-06-01 20:12:45 +00:00
7c099ce3cf
further improvements to stack trace for invalid string pointers, floats, arrays and std::string.
...
asserts now correctly retrieve thread context in release mode (worked
around VC problem with __asm in macros)
added sample code to enable SE_DEBUG_NAME (pending)
This was SVN commit r2361.
2005-05-31 19:00:49 +00:00
bdf84e769c
WIP. significant improvements+cleanup. work continues on stack trace - still fails under some conditions in release builds.
...
This was SVN commit r2358.
2005-05-30 06:11:10 +00:00
e2552b8341
debug.cpp: bugfix in cat_atow
...
lib: add EXTERN_C
win: move get_module_filename here, add to sysdep
wdll: use EXTERN_C
This was SVN commit r2356.
2005-05-30 04:51:47 +00:00
f0cbe8e440
fix several shortcomings noted in the stack trace code. now handles pointers much better; all-round better parsing+formatting and more robust.
...
also moved some utility functions to lib.cpp
This was SVN commit r2352.
2005-05-27 04:40:29 +00:00
MarkT
d6c4bf3302
Changes to actor speed specifications.
...
This was SVN commit r2350.
2005-05-27 00:38:30 +00:00
7179bd893e
debug: fix crashlog output (now platform-independent newlines; BOM written correctly)
...
wdbg: major improvements to exception handler. now catches and displays
C++ exceptions (no small feat). also fixed a few bugs in stack trace;
minor improvements elsewhere.
This was SVN commit r2346.
2005-05-24 07:11:17 +00:00
982e051c54
Changed PSERROR to inherit from std::exception
...
This was SVN commit r2344.
2005-05-24 00:00:40 +00:00
34f599f3d4
Completed the area placement classes (AreaPlacer, AreaPainter and Constraint) and JS equivalents. Now it remains to implement some of the more interesting ones :P.
...
This was SVN commit r2340.
2005-05-23 03:51:37 +00:00
6c7dfedcbf
Repaint ScEd at 2 fps when non-minimised but behind other windows
...
This was SVN commit r2339.
2005-05-23 03:11:04 +00:00
56343ae9c8
Updated ScEd to no longer repaint when minimized and repaint at only 20 FPS normally. The result is much friendlier on your other applications and on your fan.
...
This was SVN commit r2338.
2005-05-23 02:52:37 +00:00
aa027d20ec
Fixed ScEd again - renamed the network system's CCommand to CNetCommand, since ScEd used that name first :-P
...
This was SVN commit r2337.
2005-05-23 02:39:07 +00:00
4d8c1014fb
Fixed ScEd
...
This was SVN commit r2336.
2005-05-23 01:55:30 +00:00
21149d9fd0
Renamed translate() to I18n::translate(), to minimise conflicts
...
This was SVN commit r2334.
2005-05-22 22:58:27 +00:00
641806cc22
zip, lockfree: minor comments
...
debug.*: move crashlog write code here
wdbg: improvements to breakpoint code. major cleanup in exception
handler; de-hackified. mostly done, not yet stress-tested when not
running in debugger
This was SVN commit r2333.
2005-05-22 22:32:58 +00:00
26b1cf5556
Random animations.
...
This was SVN commit r2330.
2005-05-21 01:40:32 +00:00
0331883a86
Temporary fix for mouse input. Improved performance in player-colour model renderer. Also improved performance in lighting, at least in unoptimised builds.
...
This was SVN commit r2328.
2005-05-20 17:09:47 +00:00
409675eb44
Added icons
...
This was SVN commit r2326.
2005-05-20 03:28:37 +00:00
16853b79a9
Actor Editor: drop-down list of materials; event/load in animations; no grey/white stripes in main actor list.
...
Colour Tester: supports drag-and-drop of image files onto program
window.
This was SVN commit r2324.
2005-05-19 05:06:28 +00:00
7f3a74f077
Updated the Atlas-based tools build system, to create several .exes and one .dll. And some other minor changes that I'll try to remember later.
...
This was SVN commit r2323.
2005-05-19 02:46:42 +00:00
f61a5d1c25
Off-by-one bug in the CEntityList Serialize method; was storing the last entity twice
...
This was SVN commit r2320.
2005-05-18 22:03:02 +00:00
f1e9bf6227
Fixed warnings
...
This was SVN commit r2319.
2005-05-18 21:19:56 +00:00
d0f7cb015c
- Linux/GCC (as usual :P)
...
- Ported lockless code to gcc inline assembly
- A few new net messages (gather, attack, add waypoint)
- Support for new messages in network->entity order converter
- Implemented rudimentary JS interface for Interaction
- issueCommand JS API, connected to the network
- Removed Interaction stuff now replaced by JS
- And something in there should probably break VS builds :P
This was SVN commit r2316.
2005-05-18 05:32:09 +00:00
600a55b7d7
Boost Random
...
This was SVN commit r2315.
2005-05-16 15:19:46 +00:00
e41ddc4e77
Added random number functions using Boost as well as a "library.js" file in which the high-level API can be implemented in JS.
...
This was SVN commit r2313.
2005-05-16 07:30:39 +00:00
7054957514
Minimap: Corrected orientation. Also cleaned up a bit, and fixed some inefficiencies.
...
Camera: Corrected code that wasn't doing what it looked like it was
doing, and was crashing JS "new Camera".
This was SVN commit r2302.
2005-05-13 01:15:53 +00:00
08ada296f8
Replaced tabs with 4 spaces each to be consisent.
...
This was SVN commit r2301.
2005-05-13 00:54:10 +00:00
b772559fbe
Added get/setTerrain and get/setHeight functions to the RMS API which allow control of each individual tile, and base height argument to init().
...
This was SVN commit r2300.
2005-05-13 00:39:13 +00:00
c8dc599ab8
Un-hardcoded the rmgen output path since it's not useful when you run it out of binaries/system. You should now type
...
rmgen script.js ../../binaries/data/mods/official/maps/scenarios/map
This was SVN commit r2297.
2005-05-12 21:17:32 +00:00
2063404672
Removed #pragma once's and .ncb file for rmgen, and added binaries/system/rmgen.exe to version control.Made rmgen use js32d.lib instead of js32.lib.
...
This was SVN commit r2296.
2005-05-12 21:02:55 +00:00
bad202f4d0
Removed #pragma once's and .ncb file for rmgen, and added binaries/system/rmgen.exe to version control.
...
This was SVN commit r2295.
2005-05-12 20:59:22 +00:00
304037164b
Initial stub of RM Generator. This will gradually get updated with the algorithms from the ASCII generator.
...
This was SVN commit r2293.
2005-05-12 05:16:59 +00:00
a75bf7fb1e
Updates to texture converter and DDS code: Generates sharpened mipmaps. DDS decompression now identical to NVIDIA PS plugin (and probably most hardware). Compression lossless when possible (e.g. always for DDS->TGA->DDS), and slightly improved in other cases.
...
This was SVN commit r2291.
2005-05-12 03:55:39 +00:00
e4d1454fd8
slight revisions to comments.
...
breakpoint code looks to work, but self-test isn't yet complete.
This was SVN commit r2290.
2005-05-12 02:58:40 +00:00
add0a0aa94
give symbolic names to assert return val
...
wdbg: breakpoint code now compiles, untested
This was SVN commit r2288.
2005-05-11 22:49:01 +00:00
f911bdc4b1
move debug_microlog to debug.cpp, call it debug_wprintf_mem. move MICROLOG define to pyrogenesis.h.
...
major cleanup+documenting in debug.h; added breakpoint interface.
sysdep: moved debug_out definition to udbg.cpp
This was SVN commit r2287.
2005-05-11 22:44:20 +00:00
758251edfd
further debug_out -> debug_printf; (comment) cleanup
...
ogl_tex: minor formatting improvements
This was SVN commit r2286.
2005-05-11 22:40:19 +00:00
fd4eb91e93
debug_out -> debug_printf; MICROLOG moved to ps/Pyrogenesis.h
...
This was SVN commit r2285.
2005-05-11 18:56:30 +00:00
5821ebb629
Tidied up a bit more
...
This was SVN commit r2283.
2005-05-11 05:26:24 +00:00
6034821b4a
Slightly more readable enum naming in mipmap code
...
This was SVN commit r2282.
2005-05-11 04:56:05 +00:00
1ff0d112d2
revise loader return values - nicer interface now.
...
This was SVN commit r2281.
2005-05-11 04:39:21 +00:00
0e4624397a
breakpoint WIP
...
This was SVN commit r2280.
2005-05-11 04:37:05 +00:00
b8532df921
wcpu: improve comments and fix CONTEXT bug in profiler
...
win_internal(+wtime): better names for critical sections (now name of
file)
This was SVN commit r2279.
2005-05-11 04:35:21 +00:00
ab980c1a31
Updated map format, to store lighting information in XML. Also, vital whitespace consistency improvements.
...
This was SVN commit r2276.
2005-05-11 03:07:08 +00:00
1436e919c1
Support reading DDS files with mipmaps
...
This was SVN commit r2273.
2005-05-10 18:29:18 +00:00
bc5122fa08
UTF-8->CStrW conversion; used in saved console history.
...
This was SVN commit r2272.
2005-05-10 18:15:03 +00:00
MarkT
da8d343cb4
Increased projectile gravity.
...
This was SVN commit r2270.
2005-05-10 12:32:16 +00:00
MarkT
86dc351205
Projectile code and updates to some actors that can use it (celt_ijv and hele_iar)
...
This was SVN commit r2266.
2005-05-10 07:13:25 +00:00
28b92f3c43
add error handling: recover and return false if file not found
...
This was SVN commit r2264.
2005-05-09 17:10:52 +00:00
b42d5ab207
gave it a once-over, marked 1 as complete
...
(saved via office 2003, so if it's unreadable, we know why.. :/)
This was SVN commit r2263.
2005-05-09 16:30:01 +00:00
5037da70d0
Fixed memory leak, I think.
...
This was SVN commit r2261.
2005-05-09 04:52:55 +00:00
34352b77af
EntityManager.cpp: safety improvements
...
mmgr: consistent prefix naming
lockfree: split out lock free allocator
This was SVN commit r2260.
2005-05-09 04:41:35 +00:00
229a6b7a16
Loader: reword comment
...
EntityHandles.cpp: 4096 -> MAX_HANDLES
This was SVN commit r2259.
2005-05-09 04:37:36 +00:00
01588f267f
Corrected garbage collection problem
...
This was SVN commit r2255.
2005-05-09 03:26:04 +00:00
bcc4aea8dc
Maybe fixed nasty memory corruption bug.
...
This was SVN commit r2254.
2005-05-09 02:29:33 +00:00
0a5461db73
Recompiled ScEd.
...
This was SVN commit r2252.
2005-05-07 00:17:05 +00:00
d1a66c93b0
fix bug: was calling HeapSetInformation directly, not through function pointer
...
This was SVN commit r2250.
2005-05-06 20:14:40 +00:00
f8f94e02aa
add high-level dox and updated some comments
...
This was SVN commit r2249.
2005-05-06 20:02:00 +00:00
daddeed4bb
fix really stupid bug in ReadFileLines - was always setting first array element
...
This was SVN commit r2246.
2005-05-05 16:41:16 +00:00
410c73cb46
made UnpackMap interruptible (since it takes up to 1900 ms).
...
root cause is slow automatic mipmap gen; philip is working on DDS mipmap
loader that allows them to be baked in.
This was SVN commit r2243.
2005-05-04 23:12:46 +00:00
1bcf156680
added macro that takes care of boilerplate "check for timeout and return progress" code.
...
This was SVN commit r2242.
2005-05-04 23:10:11 +00:00
216eb8d2fe
fix rare corner case where filter would be reset to GL_LINEAR. thanks, Philip!
...
This was SVN commit r2240.
2005-05-04 22:03:00 +00:00
462321f425
More efficient actor-loading. Less fatal response to errors.
...
This was SVN commit r2239.
2005-05-04 21:12:57 +00:00
e2791463a1
heavily revised.
...
ReadXML is now a closure that interrupts itself periodically (so
progress is updated). also split that monster into several sub-functions
and gave better variable names
This was SVN commit r2235.
2005-05-03 21:42:09 +00:00
05a2ec78d3
add default ctors for XMBElement and XMBElementList (required by ReadXML closure)
...
This was SVN commit r2234.
2005-05-03 21:39:51 +00:00
22ee082694
- more accurate progress calculation (avoids accumulating errors)
...
- revised time accounting allows updates during a task that's
interrupted
- cleaned up LDR_NonprogressiveLoad
This was SVN commit r2233.
2005-05-03 21:39:03 +00:00
1f1642bfe3
revise thunks to not free their MemFun_t if the registered function times out
...
This was SVN commit r2232.
2005-05-03 21:37:49 +00:00
f0e311440e
all functions called via delay-load mechanism now return int (allows closures that can interrupt themselves when time is up)
...
This was SVN commit r2231.
2005-05-03 21:36:57 +00:00
f34cd1ee08
more revisions to comments to match dox
...
This was SVN commit r2229.
2005-05-03 16:57:56 +00:00
b8cb80898f
split common error handling code into macro.
...
documented each function (contents from wiki)
This was SVN commit r2228.
2005-05-03 16:41:09 +00:00
bb01b7733c
disable self test for now, since Wijit's dual CPU box is having problems (bug #59 )
...
This was SVN commit r2227.
2005-05-03 16:12:04 +00:00
c79a71ec4d
This was SVN commit r2225.
2005-05-03 05:16:10 +00:00
ee9757b79b
- add usage comment for each function
...
- remove unnecessary vfs_exists
- improve error handling
- <path> is already dir+name
This was SVN commit r2224.
2005-05-03 05:15:18 +00:00
1b202fb0ea
lockfree: very rough beginnings of lockfree allocator
...
wpthread: no longer include lockfree.h (required functions are now in
sysdep/cpu.h)
This was SVN commit r2223.
2005-05-12 17:18:32 +00:00
748e8d50e8
remove suspicious #undef free. if that was due to conflict with mmgr, #include "nommgr.h" instead.
...
This was SVN commit r2222.
2005-05-03 05:06:06 +00:00
c65d966112
moved lock-free primitive (CAS) here; add support functions (memory barrier and instruction serialization)
...
lib: speed up round_up by requiring alignment to be a power of 2
This was SVN commit r2221.
2005-05-03 05:05:16 +00:00
03a3fd6091
update EnumDirEnts docs. disambiguate <path> parameter - it's dir+name
...
This was SVN commit r2220.
2005-05-03 05:03:27 +00:00
MarkT
f50b7c6776
Props no longer play walk anims when their parent is idle.
...
This was SVN commit r2219.
2005-05-03 04:48:12 +00:00
MarkT
c8cd52578a
Put the extra animation event in the struct def, also adding Jan's VFS script wrapper.
...
This was SVN commit r2218.
2005-05-03 04:27:07 +00:00
cab424ce81
Creating playlist sub-window to soon try out file access functions. (Committing in-development stuff to get an auto-build incorporating change to GUI .xml names.)
...
This was SVN commit r2214.
2005-05-02 22:04:29 +00:00
87f4cc2592
This was SVN commit r2212.
2005-05-02 19:47:06 +00:00
MarkT
db168702df
Jason's animation events. Also reworked entity-types system.
...
This was SVN commit r2209.
2005-05-01 19:09:13 +00:00