Commit Graph

568 Commits

Author SHA1 Message Date
952ec353fb fix overflow problem if timer res is low; cleaned up in general; use RingBuf for averaging
This was SVN commit r508.
2004-06-14 13:29:23 +00:00
7fb1f4892e adapted ringbug operator[] for timer's needs
This was SVN commit r507.
2004-06-14 13:27:33 +00:00
e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
17fb3238c7 fixed some unfreed XMLString::transcode's
This was SVN commit r505.
2004-06-13 23:37:37 +00:00
a5c221fe16 fixed some unfreed XMLString::transcode's - I think I stomped them all
This was SVN commit r504.
2004-06-13 23:36:16 +00:00
70b53d90ef Avoid problems when get_time() frequently returns the same value twice
This was SVN commit r503.
2004-06-13 19:48:04 +00:00
e61f416e0d Changes to make the numpad minus (and other keys) be recognised in KEYDOWN correctly
This was SVN commit r502.
2004-06-13 19:42:48 +00:00
ade1ee19cc re-enable exceptions (wasn't necessary to strip them)
This was SVN commit r501.
2004-06-13 19:41:42 +00:00
2efcfa9145 Added left+right click/drag to rotate
Made W and H work
Made numpad plus/minus work

This was SVN commit r500.
2004-06-13 19:35:04 +00:00
0fb2ec31fc fix LONG_PTR VC6 error reported by stuart
This was SVN commit r499.
2004-06-13 19:23:37 +00:00
3c7826ca27 comment out delete g_ScriptingHost - avoids crash within js32
This was SVN commit r498.
2004-06-13 19:22:08 +00:00
ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
da1e6df5f0 uhoh, yet another problem. quick fix so others aren't impacted; investigating
This was SVN commit r496.
2004-06-13 17:15:38 +00:00
3893d1597d fixed loophole in mount path handling (cannot now mount parent dir of a previous mounting)
This was SVN commit r495.
2004-06-13 16:58:22 +00:00
d7992dc50d no longer need delayimp.lib - source is included in lib/sysdep/win
This was SVN commit r493.
2004-06-13 16:17:20 +00:00
b58d3c15fe add unload linker flag (for delay loading)
This was SVN commit r492.
2004-06-13 16:16:42 +00:00
f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
475d4ed509 snazzy new module init/shutdown hook mechanism
This was SVN commit r490.
2004-06-13 16:06:23 +00:00
0cce0ea5bc handles details of delay loading and implements the helper function (=> extra lib no longer needed)
This was SVN commit r489.
2004-06-13 16:05:38 +00:00
7975657f0b variable name change for clarity
This was SVN commit r488.
2004-06-13 16:04:11 +00:00
3d984d042c re-allow debug version of xerces (since we will link against msvcrtd in future)
This was SVN commit r487.
2004-06-13 16:03:12 +00:00
96cb1d0596 removed fmod dependency; free g_ConfigDB at exit
This was SVN commit r486.
2004-06-13 15:35:08 +00:00
641ad1e382 moved fmod shutdown here from main - this module is responsible for that.
This was SVN commit r485.
2004-06-13 15:32:34 +00:00
2442f558a2 added delayimp fix for VC6 compiler hybrid
This was SVN commit r484.
2004-06-11 18:35:33 +00:00
b5f4478bcb add another checkpoint for timing; remove GetSingletonPtr (now uses the singleton's #define)
This was SVN commit r483.
2004-06-11 18:02:57 +00:00
c5bd66b528 no longer use debug xerces dll - heap conflict! (it links against msvcrtd)
This was SVN commit r482.
2004-06-11 17:58:04 +00:00
f9625ecd00 make possible DLL CRT (declare CRT funcs as _CRTIMP)
This was SVN commit r481.
2004-06-11 17:55:24 +00:00
Ben
1887a82873 First commit of APE files
This was SVN commit r480.
2004-06-11 04:07:28 +00:00
Ben
434888d7f1 First commit of APE files
This was SVN commit r479.
2004-06-11 03:24:25 +00:00
Ben
101e6d4fa0 First commit of APE files
This was SVN commit r478.
2004-06-11 03:11:26 +00:00
5276a527ae Added the UniDoubler; this means that code can use CStr or CStr8 for 8-bit ascii strings, as well as CStr16 for wchar_t strings (magic! :-P)
This was SVN commit r477.
2004-06-11 02:55:09 +00:00
6593bc959b CStr namespace de-pollution; added namespace qualifiers
This was SVN commit r476.
2004-06-11 02:23:00 +00:00
0983fdcf9c CStr namespace de-pollution; added using namespace to source
This was SVN commit r475.
2004-06-11 02:20:59 +00:00
112139371b UniDoubler.h initial commit
This was SVN commit r474.
2004-06-11 02:18:11 +00:00
15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
041e60f6ab delay-load dlls
This was SVN commit r472.
2004-06-11 02:12:09 +00:00
362405d470 removed pause
This was SVN commit r471.
2004-06-11 02:08:12 +00:00
MarkT
e4fe4ed602 JS Interface to entities. It even partially works now.
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
663f25f6b6 Added two new camera movement system (change the #define to select between them)
This was SVN commit r468.
2004-06-10 09:58:33 +00:00
a06bff04b6 Added VK_CONTROL/_ALT/_MENU mappings onto SDLK_LCTRL/etc (I can't find an non-positional SDL CTRL key)
This was SVN commit r467.
2004-06-10 09:57:03 +00:00
797f660ef0 take two.. the typedefs should match now - hopefully on both VC++ and GCC
This was SVN commit r466.
2004-06-09 22:47:02 +00:00
a30a82469e some toe-stepping that evidently resulted in two prot variables :P
This was SVN commit r465.
2004-06-09 22:38:37 +00:00
ca1994892e main now displays g_CameraZoom
This was SVN commit r464.
2004-06-09 18:02:33 +00:00
5a59c28e95 now includes wglext for "proper" definition of win-specific funcs
This was SVN commit r463.
2004-06-09 17:59:01 +00:00
0997ca4c19 added xerces headers (speeds up build a bit)
This was SVN commit r462.
2004-06-09 17:56:28 +00:00
2521765276 added hack to CEntity::processGotoNoPathing - avoids BC warning in the case where delta -> 0
This was SVN commit r461.
2004-06-09 17:56:03 +00:00
bb1a9bad7d fail file_map requests for empty files (avoids bc warning)
This was SVN commit r460.
2004-06-09 16:10:23 +00:00
25d2a41c64 glprintf: ignore empty strings (avoids bc warning)
This was SVN commit r459.
2004-06-09 16:09:07 +00:00
a0a9276b21 not freeing dll after manual import; allows delay load
This was SVN commit r458.
2004-06-09 15:52:15 +00:00
f197601cbb clean up test delayload hook. very tricky - automagically calls WSAStartup on first sockets call
This was SVN commit r457.
2004-06-09 15:50:38 +00:00
1c5c3da703 some fixes to coexist with windows.h, if included from win-specific code (i.e. wsdl)
This was SVN commit r456.
2004-06-09 15:48:47 +00:00
0409f4d9d3 support for delay loading
This was SVN commit r455.
2004-06-09 15:45:47 +00:00
40b2cbcba3 fix bc warnings (RDC params)
This was SVN commit r454.
2004-06-09 15:45:15 +00:00
69fb0064b4 remove winmm dependency (timeSetEvent -> thread)
This was SVN commit r453.
2004-06-09 15:44:44 +00:00
131573f7c4 fix boundschecker warning (was resetting gamma ramp after shutdown)
This was SVN commit r452.
2004-06-09 15:43:59 +00:00
7e410dffcb line-reader loop without strtok_r (which doesn't exist on windows)
#include precompiled.h

This was SVN commit r451.
2004-06-09 14:58:33 +00:00
a6246b9045 read_le16/32 can't be inline in source and extern in header - gcc won't export them
This was SVN commit r450.
2004-06-09 14:11:35 +00:00
5366bafe3f Moved -xres and -yres into ParseArgs, added ConfigDB init (and ParseArgs uses ConfigDB for x/yres handling - just a demo ;-P )
This was SVN commit r449.
2004-06-09 14:10:31 +00:00
d044898294 Added libfam to linux link options
This was SVN commit r448.
2004-06-09 14:03:48 +00:00
609d519d3d GCC/linux compat (required extern qualifier, int/JSInt32 conversion)
This was SVN commit r447.
2004-06-09 14:02:40 +00:00
b520430cb5 Added correct XML String conversion - was leaking memory, and added logging for Warnings
This was SVN commit r446.
2004-06-09 14:01:09 +00:00
4efc41cb30 XMLTranscode param change (CStr => const char * - handle both types of strings)
This was SVN commit r445.
2004-06-09 13:56:29 +00:00
ac894d0886 GCC/linux compat
This was SVN commit r444.
2004-06-09 13:55:01 +00:00
8b617e732b Config Database, initial commit
This was SVN commit r443.
2004-06-09 13:53:32 +00:00
ca523e9f3c GCC compat (init skipped by goto)
This was SVN commit r442.
2004-06-09 13:49:32 +00:00
5d440712f2 GCC compat
This was SVN commit r441.
2004-06-09 13:48:49 +00:00
d022ac51f8 _WIN32 ifdefs around wglext.h include
This was SVN commit r440.
2004-06-09 13:46:39 +00:00
d455ac90ef Linux/unix debug macros
This was SVN commit r439.
2004-06-09 13:46:06 +00:00
5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
8002f5fe6e str[n]icmp => str[n]casecmp on non-windows
This was SVN commit r437.
2004-06-09 13:43:25 +00:00
b824eac403 Entity resolver cleanup (relative paths kludge)
This was SVN commit r436.
2004-06-09 13:41:11 +00:00
264a0a9b86 fixed for loop variable, delete-ing malloc-ed memory, several memory leaks
Trim and ToLower are now in-place

This was SVN commit r435.
2004-06-09 13:35:20 +00:00
9c9af2ab75 moved all xerces includes into XML.h
(rationale: they're in the PCH - speeds up the build)

This was SVN commit r434.
2004-06-09 12:45:42 +00:00
48ad93ad34 added instrumentation for startup time - hack
This was SVN commit r432.
2004-06-08 20:41:28 +00:00
770845d823 investigating delay loading; mess
This was SVN commit r431.
2004-06-08 20:37:15 +00:00
921463e55a added timestamp to measure startup time
This was SVN commit r430.
2004-06-08 20:36:17 +00:00
3c220be8ef added getcwd
This was SVN commit r429.
2004-06-08 20:35:46 +00:00
notpete
c61144cc84 Redundant; removed.
This was SVN commit r428.
2004-06-08 18:50:58 +00:00
53425fa4b5 implementation complete, hopefully :P
This was SVN commit r427.
2004-06-08 15:22:40 +00:00
825289242a added vfs_get_path (bad name) - returns the VFS path to a given real dir
(used by res.cpp to translate paths from WFAM)

This was SVN commit r426.
2004-06-08 15:21:42 +00:00
d7dbf08bc2 auto-reload finished (last remaining problem: translating OS paths to VFS)
This was SVN commit r425.
2004-06-08 15:18:01 +00:00
78fa30be94 export path conversion function for res.cpp interaction with FAM
This was SVN commit r424.
2004-06-08 15:16:50 +00:00
8d52add5ea ran newline stomper; no real changes
This was SVN commit r423.
2004-06-08 12:10:51 +00:00
fec51baee5 fixed undefined label and type conversion warnings (cast to uint and ptrdiff_t to long)
This was SVN commit r422.
2004-06-08 12:00:39 +00:00
e4378ffbdc added precompiled.h. these need to be newline-fixed also!
This was SVN commit r421.
2004-06-08 11:50:52 +00:00
notpete
69f0a99f9a Fixed some assumptions PATCH_SIZE is 16.
This was SVN commit r420.
2004-06-07 20:12:22 +00:00
notpete
a93418e353 Moved "res" directory; updated ScEd source to accomodate engine changes.
This was SVN commit r419.
2004-06-07 20:07:11 +00:00
notpete
5b3be293ca Removed Xerces initialisation; added some prop-related logging for errors.
This was SVN commit r418.
2004-06-07 20:03:10 +00:00
notpete
e8f2611b9c Constructor added to CObjectEntry::Anim.
This was SVN commit r417.
2004-06-07 20:01:46 +00:00
notpete
178e5a1c47 Modified to calculate bone transformation matrices in world space, rather than object space.
This was SVN commit r416.
2004-06-07 20:00:56 +00:00
notpete
97b7efab20 Fixed some assumptions PATCH_SIZE is 16.
This was SVN commit r415.
2004-06-07 19:59:20 +00:00
notpete
71d74e9121 Minor change for modified CTextureEntry interface.
This was SVN commit r414.
2004-06-07 19:57:59 +00:00
notpete
05ae51351c Minor change to support on-demand texture loading; fixed backwards orientation issue.
This was SVN commit r413.
2004-06-07 19:57:19 +00:00
notpete
6caf7c7466 Support for loading texture data on data, rather than loading all known textures on startup.
This was SVN commit r412.
2004-06-07 19:56:26 +00:00
notpete
a7d0c194ad Reworked model and terrain rendering to use new VertexBuffer classes; many other smaller changes.
This was SVN commit r411.
2004-06-07 19:53:58 +00:00
notpete
4f8ce4b1d4 Initial revision.
This was SVN commit r410.
2004-06-07 19:52:37 +00:00
notpete
bd0d3e1c36 Moved Xerces initialisation out of CObjectEntry to here (still need to moved GUI and entity XML code at some point). Added simple fixed camera view for basic profiling.
This was SVN commit r409.
2004-06-07 19:51:52 +00:00
9210297729 Unix/Linux update script
This was SVN commit r408.
2004-06-07 10:45:48 +00:00
f9ad314f5a fix empty-statement warning (i.e. comment out - that spot isn't implemented yet)
This was SVN commit r407.
2004-06-07 00:04:37 +00:00
815e177beb now responsible for watching mountings for changes via FAM
This was SVN commit r406.
2004-06-07 00:04:02 +00:00
6380ff781f written against new res.cpp reload interface
This was SVN commit r405.
2004-06-06 23:59:57 +00:00
092fa131ff more faithfully emulating the real FAM now (keeping track of watches by request number). not finished
This was SVN commit r404.
2004-06-06 23:58:52 +00:00
916ddc8c02 fixed ICC warning about func decl
This was SVN commit r403.
2004-06-06 23:58:03 +00:00
94941af636 removed FOV zoom hack (harking back to terrain demo) - rich has written the real thing
This was SVN commit r402.
2004-06-06 23:57:07 +00:00
2dcb0d8056 more header fixes
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
7b9e881039 initial code using FAM API. unfinished; one problem remaining is how to convert absolute paths to their VFS equivalent
This was SVN commit r400.
2004-06-04 17:44:56 +00:00
0ca334ed39 now emulates FAM API so other code can use one interface. implemented but untested.
This was SVN commit r399.
2004-06-04 17:44:17 +00:00
cd3755b935 added headers (needed if !HAVE_PCH)
This was SVN commit r398.
2004-06-04 17:23:39 +00:00
9dcd2a0c12 re-enabled HAVE_PCH (disabled for testing - oops)
This was SVN commit r397.
2004-06-04 16:06:31 +00:00
0dc6007fbd (re)added headers so it'll work without HAVE_PCH
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
0bd696a27d now supports PCH (see announcements)
This was SVN commit r395.
2004-06-04 02:19:42 +00:00
kezz
8eedf2f505 kezz - added fmod initialisation code to main.cpp
This was SVN commit r394.
2004-06-03 19:43:19 +00:00
df4b9df830 fixed reference to since removed hrt.h
This was SVN commit r393.
2004-06-03 18:46:21 +00:00
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
5747fe33b0 new: windows-specific opengl header (included by ogl.h)
This was SVN commit r391.
2004-06-03 18:37:07 +00:00
8e6e179187 cleanup
This was SVN commit r390.
2004-06-03 18:36:48 +00:00
520e2a1ff6 rename hrt -> wtime; emulate POSIX routine with HRT (simplifies timer code)
This was SVN commit r389.
2004-06-03 18:36:35 +00:00
d6e6dd72e9 \ handling for vfs entity resolver.. ugly as hell, but works :P
This was SVN commit r388.
2004-06-03 17:34:49 +00:00
c15300446e fix stupid mmap bug reported by simon
This was SVN commit r387.
2004-06-03 14:20:09 +00:00
0b3d0c9e5c small interface changes to bring in line with vfs and file
This was SVN commit r386.
2004-06-03 13:57:36 +00:00
cb75497412 documentation! w00t
This was SVN commit r385.
2004-06-03 13:57:00 +00:00
d9b1daf2e4 restored fminf
This was SVN commit r384.
2004-06-03 13:35:39 +00:00
9a9c0055dc Use the VFS wrapper instead of Xerces' local file input source
This was SVN commit r383.
2004-06-03 13:27:01 +00:00
2c2b9ab71a Removed mods/official/ prefix now that ObjectEntry is VFS aware
This was SVN commit r382.
2004-06-03 13:22:19 +00:00
831defdf07 Use the VFS Wrapper instead of Xerces' local file input. Use XMLCh/CStr
conversion functions from XML.h/XMLUtils.cpp

This was SVN commit r381.
2004-06-03 13:20:36 +00:00
d759a8ef82 Conventience functions and VFS Wrappers for Xerces
This was SVN commit r380.
2004-06-03 13:00:19 +00:00
MarkT
d32be2011f Pathfinding tweaks; coldet fixes.
This was SVN commit r379.
2004-06-03 02:20:48 +00:00
4daa183dd3 stripped some headers from deprecated prometheus.h => huge rearrange
This was SVN commit r378.
2004-06-03 01:43:33 +00:00
a5938f5e13 tiny bit of dox
This was SVN commit r377.
2004-06-03 01:42:40 +00:00
2339389870 implemented refcount for mmap
This was SVN commit r376.
2004-06-03 00:27:50 +00:00
6782c17105 fixed a few warnings; updated vfs file enum code
This was SVN commit r375.
2004-06-03 00:20:20 +00:00
af05b758c6 animation: console scrolls in from top of screen
This was SVN commit r374.
2004-06-03 00:19:22 +00:00
2d51e32878 some bulletproofing; completed+documented mmap
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
f84bc36ca3 moved fminf+fmaxf to sysdep
This was SVN commit r372.
2004-06-02 21:50:50 +00:00
af3949ab7a updated file mapping (was partially unimplemented)
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
8b91bbc27a integrated console with some changes (added input handler and update mechanism)
This was SVN commit r370.
2004-06-02 20:40:07 +00:00
62b8deb03d integrated console
This was SVN commit r369.
2004-06-02 20:39:21 +00:00
b82d4dd4b3 removed misc.h - name tells me it isn't necessary ;) everything moved into lib.h
This was SVN commit r368.
2004-06-02 19:02:12 +00:00
06c8a2ca90 Linux Changes
This was SVN commit r367.
2004-06-02 17:44:30 +00:00
d94c41fe9c fixed incorrect endian detect macro
This was SVN commit r366.
2004-06-02 17:40:43 +00:00
0ce04bf73f no message
This was SVN commit r364.
2004-06-02 16:59:12 +00:00
7c86e3459e fixed usage of vfs_next_dirent
This was SVN commit r363.
2004-06-02 16:58:55 +00:00
f8dafe455d CVS dirs are skipped when mounting
This was SVN commit r362.
2004-06-02 16:58:35 +00:00
719b8f1074 fixed *nix libpng include fix
This was SVN commit r361.
2004-06-02 16:33:59 +00:00
72ad0e5d79 Removed the non-windows fallback initialization now that CTextureManager
is converted to VFS directory enumeration

This was SVN commit r360.
2004-06-02 16:29:26 +00:00
c09ab35453 Extended the hash_map kludge to detect gcc
This was SVN commit r359.
2004-06-02 16:28:12 +00:00
4ba7fc3b7c yet more tree_lookup fixes for bug pointed out by simon
This was SVN commit r358.
2004-06-02 16:12:13 +00:00
df501b11ac - Minor GCC compat changes
- return( [CLASS]() ); generates a parse error (GCC Bug)

This was SVN commit r357.
2004-06-02 16:11:32 +00:00
a1fb048fe5 Converted to VFS enumeration
This was SVN commit r356.
2004-06-02 16:06:19 +00:00
a2c508ff1a Log XML errors to mainlog.html
This was SVN commit r355.
2004-06-02 15:38:31 +00:00