1
0
forked from mirrors/0ad

Commit Graph

  • e57335cd63 init order fix: error reporter requires pageSize, so set that early in case other winit functions fail janwas 2007-05-28 15:44:41 +00:00
  • b879e344f1 make sure winit shutdown actually happens during self-test (fixes leaks and possibly failure to unload driver) janwas 2007-05-28 15:08:33 +00:00
  • 7fe6c3d77f add detours library for API hooking. janwas 2007-05-28 15:01:29 +00:00
  • 29610672f4 fix warnings janwas 2007-05-28 14:25:07 +00:00
  • 52ae284a7e new timer code (esp. HPET) now operational. TSC still disabled pending calibration code. janwas 2007-05-28 09:25:38 +00:00
  • bc519cc671 prevent crash if lib_error association code is called before _cinit (happens if there's a problem with whrt init). janwas 2007-05-28 09:20:55 +00:00
  • 843d849931 This was SVN commit r5103. Mythos_Ruler 2007-05-28 02:37:38 +00:00
  • c9f10be090 acpi and mahaf: now set ModuleInitState to error if something fails (prevents a subsequent init from returning true and allowing its dependent to continue and crash into a wall) janwas 2007-05-26 23:29:20 +00:00
  • 2348f71aea mahaf: don't bring up a warning when starting the driver fails (expected case on non-admin accounts) wcpu: detect values once during init (simplifies code a bit) janwas 2007-05-26 22:42:08 +00:00
  • 8f066e18ee Ignore non-standard mouse buttons, instead of crashing Ykkrosh 2007-05-26 18:38:38 +00:00
  • f1e3c44d1b test_lockfree: eliminate GCC warning lockfree: avoid mem leak caused by no longer necessary shutdown hack janwas 2007-05-26 18:16:13 +00:00
  • 4582c8f276 unbreak lockfree test, add sanity checks and timer init janwas 2007-05-26 17:56:38 +00:00
  • 349d9b9afe add whrt dir, remove winmm delayload and dsound dependency (workspace must be updated) janwas 2007-05-26 17:17:47 +00:00
  • 2fee886a34 Linux compatibility Ykkrosh 2007-05-26 17:10:28 +00:00
  • c45ef68a88 add work-in-progress WHRT (win high res timer). works well enough, but calibration is not yet complete nor is TSC usable. janwas 2007-05-26 16:57:39 +00:00
  • d478e21f2b Linux compatibility Ykkrosh 2007-05-26 16:39:26 +00:00
  • 4d94b4f4aa config: make HAVE_MKDIR 0 on vc7 (fixes autobuilder problem) wsnd: fix typo janwas 2007-05-26 15:45:34 +00:00
  • 452d67f0b7 # vista compat (fixes wsnd issue) and improvements janwas 2007-05-26 15:34:10 +00:00
  • ceee6e00bd dll_ver: move redirection enable/disable to wutil. add LoadLibraryEx to diagnose cause of GetFileVersionInfoSize failure. janwas 2007-05-24 12:31:16 +00:00
  • 1814d9175a dll_ver: don't call Wow64 stuff on 32-bit vista janwas 2007-05-24 02:32:53 +00:00
  • 3386154fe3 This was SVN commit r5087. Mythos_Ruler 2007-05-23 06:13:28 +00:00
  • cded0936c5 # housekeeping janwas 2007-05-21 23:24:56 +00:00
  • b53b75b4fc WIP: driver for HPET timer (useful for WinXP, SMP systems) can successfully read the counter. janwas 2007-05-21 19:27:16 +00:00
  • bd42f083e0 minor cleanup+fixes+additions janwas 2007-05-21 19:22:55 +00:00
  • d088e0840a kernel-mode portion of HPET driver (checked builds for xp64 and xp) janwas 2007-05-21 19:14:44 +00:00
  • 9d2acce9d8 # SwEng/cleanup - deleted most old libraries/headers in codepit to avoid confusion (they are now in SVN anyway). updated required-libraries-linux.txt accordingly - moved rand() into separate file, out of lib.cpp - removed CGUIScrollBarStyle.cpp to avoid empty-file warning - wxwidgets.h: remove redundant #pragma lib and include wxw PCH - move openal-specific stuff to external_libraries/openal.h - cpu, bsd: macosx is-a bsd, so only test OS_BSD janwas 2007-05-18 00:14:26 +00:00
  • 7d4af5979b Fixes for the Mac. olsner 2007-05-17 03:37:49 +00:00
  • b01acce45f macosx compat: separate strdup and wcsdup janwas 2007-05-16 23:56:08 +00:00
  • e64166360e re-add strdup, needed for MacOSX (deja vu! can't find where that was once defined; it was still declared) janwas 2007-05-16 23:49:55 +00:00
  • c8555a708a fix secure_crt (was missing tchar redirection for printf_s and fopen_s) janwas 2007-05-16 22:33:53 +00:00
  • 4083e1ff48 # MacOSX compat config, compiler: remove reliance on HAVE_C99; mention it's only for pure C mode; make a few of the HAVE_ macro defs more clear janwas 2007-05-16 16:32:12 +00:00
  • 160bd14bb0 robustify CPU freq detection and timer code, hopefully solve lockup issue janwas 2007-05-16 15:56:47 +00:00
  • 2e5c530c03 Modified semantics of HEntity's validity check to count handles to units that are destroyed but not deleted as still valid handles. This fixes some previous code that assumed these semantics, such as code for dealing with exhausted gather targets. It looks like the meaning was changed long ago when the entity flags were added. Also added an IsAlive method in HEntity for the old check, in case any code needs to be switched over to that. Matei 2007-05-16 06:58:49 +00:00
  • dcf253714f debug CRT from vc8sp1 janwas 2007-05-15 13:10:12 +00:00
  • 86e6b780ea This was SVN commit r5071. Mythos_Ruler 2007-05-14 00:34:18 +00:00
  • 0e0b995c4f #New more accurate Philip of Macedon armor texture. :) Mythos_Ruler 2007-05-13 20:21:28 +00:00
  • 91e3cc4c0a This was SVN commit r5069. Mythos_Ruler 2007-05-13 20:20:05 +00:00
  • 31a60bf1d8 - debug version of xerces libs and updated headers - update premake for wxw 2.8 and make some required fixes in VideoRecorder.cpp janwas 2007-05-13 10:27:48 +00:00
  • bd2af78d4f hopefully final fix for vc8sp1 breakage janwas 2007-05-13 02:01:08 +00:00
  • 695ba038f1 attempt to resolve SxS versioning issue with vc80sp1 janwas 2007-05-12 19:00:31 +00:00
  • addf1aba46 CRT files from VC8SP1 as a further fix to michael's bug report janwas 2007-05-11 20:10:17 +00:00
  • 0804cf5248 when building with atlas, VC8 embeds a dependency on comctl into the manifest => add that manifest to our app dir janwas 2007-05-11 16:51:11 +00:00
  • 9809d5ace4 #bugfixes janwas 2007-05-11 13:11:25 +00:00
  • d69a0c52bb update OpenAL include/lib from SDK (nothing really changed in the header) add crypto++ to libraries (will later be used for checksums) janwas 2007-05-11 09:41:46 +00:00
  • 45c76ce39d fix self-tests. janwas 2007-05-10 21:33:56 +00:00
  • 80057a82e5 patch, gameview: fix typos, revise according to coding convention improve CPU brand string detection wposix: no more ONCE during init (not thread-safe). also remove redundant round_up fold string_s into secure_crt janwas 2007-05-10 20:47:17 +00:00
  • 6fa68cd957 fixed Shadow culling: second implementation christian 2007-05-10 15:28:59 +00:00
  • a34b759720 . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. janwas 2007-05-09 21:01:11 +00:00
  • 78d950e419 Add some missing file comments in source/lib. janwas 2007-05-08 15:11:53 +00:00
  • f0babca374 add license files that are now referenced from some source files (instead of direct author/copyright/license notices in the source) janwas 2007-05-08 14:02:06 +00:00
  • b755ddefda remove all author/modified by tags. janwas 2007-05-07 16:33:24 +00:00
  • aa425d16ce coding convention: mention and explain the need for omitting author/modified by tags. see http://www.wildfiregames.com/forum/index.php?showtopic=10934 janwas 2007-05-07 11:11:11 +00:00
  • 5cbb0b2fed This was SVN commit r5036. christian 2007-05-06 07:58:16 +00:00
  • 44f5288a1d # SwEng png.h, wxwidgets.h: automatically link against lib files main: document and avoid potential memory leak with args AtlasUI/ErrorReporter: move crashlog_sender.cpp here as per Philip's suggestion. currently disabled via #if 0 stdafx: add missing header apparently required by trigger.h janwas 2007-05-05 17:41:20 +00:00
  • b918fec071 add new directories janwas 2007-05-05 17:36:24 +00:00
  • 97c5da87d4 improve formatting in code snippets janwas 2007-05-05 16:35:09 +00:00
  • 4be0fe18a0 # SwEng . major compat fixes for interoperation with wxw. . add crashlog_sender (modified version of debgrpt wxw sample). compiles but untested, will be changed heavily further improvements: . wposix no longer declares CRT functions. instead, use CRT headers.. but don't allow their (incorrect/non-POSIX) declarations to propagate to users. . split up win.cpp into wstartup, wutil, winit . extern "C" -> EXTERN_C . move sdl.* to lib/external_libraries and add png.h+zlib.h (fixes for and include of the library) janwas 2007-05-04 17:30:32 +00:00
  • a8f8c74ed2 Fixed Linux build (needed an include). Matei 2007-05-04 06:21:21 +00:00
  • 69af5ac8c0 fix self tests after recent renaming janwas 2007-05-03 15:42:43 +00:00
  • 22a01fb3ba unbreak the build :S (apparently screwed up while copying files from dev machine to internet machine) janwas 2007-05-03 08:42:30 +00:00
  • 25b63097cc This was SVN commit r5021. Mythos_Ruler 2007-05-03 05:33:34 +00:00
  • 23610e6753 revise coding conventions as discussed in forum. janwas 2007-05-02 20:51:39 +00:00
  • a9f8a33893 remove sys_alloca (difficult to wrap in a sysdep function) and eliminate the need for it debug: when building error message, use mmap instead of alloca scheduler: remove reference to deleted header janwas 2007-05-02 16:42:27 +00:00
  • d099084dd5 remove apparently no longer used files (contents are empty or commented out) janwas 2007-05-02 12:13:05 +00:00
  • 73683b6109 # SwEng . the massive renaming undertaking: camelCase functions -> PascalCase. . add some cppdoc. . minor additional renaming improvements: e.g. GetIsClosed -> IsClosed . in entity code, replace constructs like "pvec = new vector; return pvec; use *pvec; delete pvec" with a simple stack variable passed as output parameter (avoid unnecessary dynamic allocs) . timer: simpler handling of raw ticks vs normal timer (less #if) janwas 2007-05-02 12:07:08 +00:00
  • b86ea0a1b5 #Scipio Africanus has made an appearance! ;) Mythos_Ruler 2007-05-01 05:48:07 +00:00
  • 5a427440d0 #SwEng fpclassify fix EntityManager: rename getExtant -> GetExtantAsHandles, fix its implementation+call site to avoid dynamic alloc/auto ptr, rename extant -> IsExtant vsnprintf2 -> sys_vsnprintf. remove printf.h (function is declared in sysdep header) use SUS/posix-ish strcasecmp instead of defining that to the windows-only stricmp add cppdoc for ia32/cpu janwas 2007-04-30 19:58:04 +00:00
  • 22ede31161 Added program flow diagram into docs folder, to offer a good reminder of the program modules and their interaction Seth 2007-04-30 19:05:01 +00:00
  • be3f3bdbfb # SwEng / MacOSX compat further cleanup to sysdep.h: avoid pulling in win and ia32; split header up into stl, compiler, and the actual sys_* API. (all but the latter are in PCH). janwas 2007-04-30 14:35:19 +00:00
  • 585673201b This was SVN commit r5007. Mythos_Ruler 2007-04-30 04:32:58 +00:00
  • 9d21b350e1 This was SVN commit r5006. Mythos_Ruler 2007-04-30 03:55:49 +00:00
  • 41834c4013 This was SVN commit r5005. Mythos_Ruler 2007-04-30 00:37:42 +00:00
  • c6649d4d19 Added #if OS_BSD around BSD-specific functions (bsd.cpp). Matei 2007-04-28 16:36:54 +00:00
  • 3c1bcde78f Replaced #include <malloc.h> with #include <stdlib.h> Seth 2007-04-28 16:23:50 +00:00
  • 684dbbe9ba #Preliminary end game conditions; cinematic and trigger fixes pyrolink 2007-04-27 03:05:26 +00:00
  • ab22765232 add new source dir (requires rebuilding workspace) janwas 2007-04-25 18:32:07 +00:00
  • 623e649acb # big refactoring in CPU-specific code, fix for dual core vs. HT detection all cpu-related stuff is now defined in cpu.h (with cpu_ prefix and fully encapsulated). fix quite brittle core/HT unit/package detection. implement mkdir on VC8, where it is deprecated add strdup on MacOSX move ia32 code into separate subdir. functions implemented in asm are called ia32_asm_*. add some unix versions of sysdep functions (cannot test them) timer: fix for amd64 linux janwas 2007-04-25 18:19:35 +00:00
  • cf21949640 Fixed a few issues for Linux build: Matei 2007-04-25 03:10:56 +00:00
  • 104118b7e0 (wasn't committed last time. contains changes related to dir_crete) janwas 2007-04-24 21:49:26 +00:00
  • 1cb5b79098 # Linux fixes Make sure INT64_C is defined (since FFmpeg wants it) Ykkrosh 2007-04-24 21:11:43 +00:00
  • ccf4425f75 # Linux fixes update-workspaces.sh: Ensure 'gcc' directory exists, to avoid confusing errors. extern_libs.lua: Don't use libraries/ (except for cxxtest and fcollada) on Linux. Changed to native EOL. Ykkrosh 2007-04-24 20:41:54 +00:00
  • e8071fa058 Added fancywater line in config file (but it's false). Matei 2007-04-24 16:29:38 +00:00
  • 9b05bc2187 #Grass for the Temperate biome. Mythos_Ruler 2007-04-24 15:37:45 +00:00
  • b631b9bbf0 Made the default map be latium_generated, for tutorial. Matei 2007-04-24 15:02:51 +00:00
  • 58aaff1ff2 explain how/where to build premake janwas 2007-04-23 08:34:16 +00:00
  • 665030adcf Fixed some CStrW's in Technology.cpp for Linux compile. Matei 2007-04-23 03:47:33 +00:00
  • 21862a79ba Resaved all the maps creating errors because of an outdated format triumvir 2007-04-22 22:47:05 +00:00
  • e8a0626248 # improvements to foundation code (merged in from thesis project branch) janwas 2007-04-22 16:43:54 +00:00
  • 853f13bf03 This was SVN commit r4983. Mythos_Ruler 2007-04-22 03:45:49 +00:00
  • 6368342d27 This was SVN commit r4982. Mythos_Ruler 2007-04-22 03:35:02 +00:00
  • e91605150d This was SVN commit r4981. Mythos_Ruler 2007-04-22 03:33:37 +00:00
  • 1fea26a0e9 # Update to technologies. Matei 2007-04-22 01:09:50 +00:00
  • 1fc080f556 #Tweak to "dudette" hair color. Mythos_Ruler 2007-04-21 06:21:08 +00:00
  • fc9eaeaf2b This was SVN commit r4978. Mythos_Ruler 2007-04-21 06:20:36 +00:00
  • 70ba997181 #1 New Hoplite texture and 1 new Pez texture. Mythos_Ruler 2007-04-21 06:20:21 +00:00
  • 6b38836097 This was SVN commit r4976. Mythos_Ruler 2007-04-21 04:55:24 +00:00
  • 526e799847 This was SVN commit r4975. Mythos_Ruler 2007-04-18 05:55:25 +00:00
  • 761fbfd7a8 This was SVN commit r4974. Lord Zorinthrox 2007-04-07 01:08:52 +00:00
  • d3382ee8b2 This was SVN commit r4973. Mythos_Ruler 2007-04-02 01:33:16 +00:00
  • 89ff231faa #2 new Greek female textures, new Spartan Dokana shield texture, and various actor changes. Mythos_Ruler 2007-04-01 02:45:46 +00:00