1
0
forked from 0ad/0ad
Commit Graph

275 Commits

Author SHA1 Message Date
1e6bd8025e Miscellaneous GCC fixes
This was SVN commit r947.
2004-08-09 16:32:01 +00:00
65ec0b468d Added vsnprintf2, a wrapper around vsnprintf to make it more gcc-like (allowing %lld, %1$d, etc)
This was SVN commit r944.
2004-08-09 15:44:35 +00:00
abfe9faadc New zlib/libpng libraries
This was SVN commit r942.
2004-08-08 18:50:44 +00:00
c248ae93eb Vital whitespace alterations
This was SVN commit r927.
2004-08-06 15:07:01 +00:00
cd8a6aaea8 Added \n to debug_out messages
This was SVN commit r926.
2004-08-06 15:04:47 +00:00
b2afef529c Introducing: The Pre-Game State. The game instance is not created on program load as before, but can be started by JS functions.
This was SVN commit r912.
2004-08-05 13:07:51 +00:00
b51314d34a added flag parameter (default 0). wasn't necessary here, but will allow influencing caching strategy
This was SVN commit r906.
2004-08-05 12:44:29 +00:00
a823a00570 utf16() method for CStr8/W => utf16string conversion
This was SVN commit r904.
2004-08-05 12:15:53 +00:00
notpete
8a77473ef0 Fix for lighting settings not loading from map files.
This was SVN commit r898.
2004-08-04 21:03:53 +00:00
db702310d7 Fixed crash when reading invalid XML files
This was SVN commit r889.
2004-08-03 10:17:08 +00:00
MarkT
2b396ccb57 Minor improvements to some simulation code.
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
4577ad00dc fix include path
This was SVN commit r870.
2004-07-31 19:47:40 +00:00
09f47d6820 Core Classes Reorganization:
- g_Terrain and g_Camera totally eradicated as globals, is now m_Terrain
of CWorld and m_Camera of CGameView
- terrainMain.cpp is almost completely empty with functionality moved
into the relevant core classes
- Miscellaneous global functions moved into Core Classes (mostly
GameView)

This was SVN commit r865.
2004-07-31 15:57:18 +00:00
fa4fc7f4ee change CVFSFile header path
This was SVN commit r855.
2004-07-31 11:38:13 +00:00
363fba9b94 moved from lib/res/ to ps/
This was SVN commit r854.
2004-07-31 11:36:44 +00:00
e71a29faf0 CStr::UpperCase now returns uppercase, not lowercase
This was SVN commit r849.
2004-07-31 10:59:27 +00:00
5f810002c7 Changed error handling in Xeromyces
This was SVN commit r845.
2004-07-29 16:17:21 +00:00
36c502713b Used mem_free_h on the Handle returned by vfs_load
This was SVN commit r842.
2004-07-29 16:12:27 +00:00
d2070837d2 Global variables are nasty. Hacked g_Terrain into a pointer so that it doesn't crash when automatically destructing, although it ought to be handled in a nicer way.
This was SVN commit r839.
2004-07-28 19:27:35 +00:00
00420a8815 fix some minor warnings
This was SVN commit r834.
2004-07-28 15:07:54 +00:00
7cd447826c add PLAYMUSIC hotkey
This was SVN commit r832.
2004-07-28 12:07:48 +00:00
415662c4cd First set of Core Classes changes! w00t :P
This was SVN commit r823.
2004-07-27 21:00:53 +00:00
8ae3658f84 Fixed endless loop after closed socket connection
This was SVN commit r822.
2004-07-27 20:59:46 +00:00
386900c0fc Linux/GCC Compat
This was SVN commit r819.
2004-07-27 00:26:51 +00:00
fe1bee706b Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
046aee9750 Avoid potential endianness conflicts in XMB files
This was SVN commit r812.
2004-07-23 19:03:40 +00:00
MarkT
befae8627d Changed hotkey handling for groups and bookmarks; small pathfinding fixes.
This was SVN commit r809.
2004-07-23 10:56:52 +00:00
MarkT
5470eff53c Fixed (probably) degenerate case stalling the heightfield tracer.
This was SVN commit r807.
2004-07-22 17:00:43 +00:00
MarkT
1e719e9262 Scripting interface to currently selected entities; plus initial code to support GUI patrol button
This was SVN commit r805.
2004-07-22 16:19:37 +00:00
MarkT
6d8b9e33ef Minor additions: Added hotkeys to GUI buttons, camera bookmarking (not sure if this system will stay), shoring up some JS error checking, moved a bunch of constants into the config file and added a new rotation mode.
This was SVN commit r804.
2004-07-22 16:18:12 +00:00
MarkT
c3cc7d1c13 no message
This was SVN commit r799.
2004-07-21 17:04:10 +00:00
MarkT
b63df21a49 Added hotkey-processor source
This was SVN commit r797.
2004-07-21 16:51:21 +00:00
MarkT
f02eab8aba Added configurable hotkey-cooker
This was SVN commit r795.
2004-07-21 16:34:07 +00:00
f171a2faf0 Fixed something that looked a bit like a bug. Added controlled crashing when VBO creation fails (though it doesn't seem to help at all).
This was SVN commit r791.
2004-07-21 11:50:23 +00:00
MarkT
194fdf9b4b Unit selection and ordering, setTimeout, scheduler, fixed timestep code, various fixes and reinforcement of the JS<->Native code.
This was SVN commit r783.
2004-07-20 19:30:35 +00:00
b61b1e805c Better error handling! Wow!
This was SVN commit r778.
2004-07-19 19:05:34 +00:00
56e41b3003 Yet more fun with errors
This was SVN commit r771.
2004-07-18 11:51:15 +00:00
1e40ed1543 More attempted error handling
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
NoMonkey
3bf8a5255b no message
This was SVN commit r766.
2004-07-17 06:14:23 +00:00
8684287360 Linux fixes
This was SVN commit r763.
2004-07-15 19:59:27 +00:00
f2cc629ca9 Exception classes to allow hierarchical catching and to work reasonably nicely with the crash log
This was SVN commit r759.
2004-07-15 19:10:33 +00:00
370e328e89 no change
This was SVN commit r756.
2004-07-15 02:37:41 +00:00
8edbcc3f61 removed assert2 (surgeons leaving their tools inside the patient, tsk tsk ;))
This was SVN commit r752.
2004-07-14 03:24:19 +00:00
d895d9c10f Turn text upside down
This was SVN commit r743.
2004-07-13 22:44:20 +00:00
98224f4a9e add support for pasting from clipboard; move activation logic to input handler (more clear)
This was SVN commit r737.
2004-07-13 21:09:55 +00:00
ec63db7967 Make XMB files store line numbers, so XML inline scripts can be debugged easily
This was SVN commit r723.
2004-07-12 15:50:12 +00:00
5ff1299595 Provide utf16_t and utf16stringstream under MSVC
This was SVN commit r722.
2004-07-12 15:24:16 +00:00
4b87f4bbca Avoid some potential crashes
This was SVN commit r716.
2004-07-12 12:25:27 +00:00
ca5b760310 Linux/GCC: Changed a whole bunch of wide character format strings... In VC++,
the wide printf functions default %s to be a wide string. GCC defaults
it to
a narrow string. Everything I could find uses %ls or %hs as appropriate
now.

This was SVN commit r715.
2004-07-11 22:30:08 +00:00
c62940201f Removed trailing newlines in log messages
This was SVN commit r705.
2004-07-11 16:05:58 +00:00
f2dc64e75d Send log messages to the console
This was SVN commit r704.
2004-07-11 16:03:26 +00:00
9cead7eab8 Handle \n in inserted messages
This was SVN commit r703.
2004-07-11 15:07:38 +00:00
7bef7160ca gcc warning fixes
This was SVN commit r702.
2004-07-11 12:49:44 +00:00
d38ed70623 Realised why putting utf16string into std is a silly idea
This was SVN commit r700.
2004-07-11 11:51:27 +00:00
b780be8bde wchar_t/etc fixes
This was SVN commit r693.
2004-07-10 21:21:20 +00:00
0eecb81bac wchar_t/etc fixes
This was SVN commit r692.
2004-07-10 20:56:15 +00:00
2dbaa2129f wchar_t/etc fixes
This was SVN commit r691.
2004-07-10 20:44:28 +00:00
970685e82c wchar_t/etc fixes
This was SVN commit r690.
2004-07-10 20:33:42 +00:00
c3c0f5194e CStr16 => CStrW. CStr16 is a deprecated name
This was SVN commit r686.
2004-07-10 18:58:09 +00:00
027d18a8b5 Linux/GCC compat
This was SVN commit r685.
2004-07-10 18:57:13 +00:00
cdd3317ded utf16string defines a basic_string specialization for UTF-16 strings stored in
uint16_t's

This was SVN commit r684.
2004-07-10 18:47:19 +00:00
127edbd271 pass FILE_NO_AIO to vfs_store instead of calling uncached_* (which ended up duplicating code)
This was SVN commit r676.
2004-07-09 19:59:19 +00:00
a8f48ff7e0 XMB
This was SVN commit r665.
2004-07-08 15:22:09 +00:00
2a26d9f506 - Implemented WriteFile to write config files back to disk
- JS Interface for all operations supported by the C++ Interface

This was SVN commit r644.
2004-07-07 18:06:02 +00:00
44ad38830c made c_str() const
This was SVN commit r643.
2004-07-07 18:03:42 +00:00
ab1190ef55 Added JSCLASS_HAS_PRIVATE
This was SVN commit r641.
2004-07-07 10:57:36 +00:00
b5bd1b82ec Fixed handling of paths without leading ..'s, now relative paths starting in the same directory (i.e. subdir/file.dtd) and absolute paths (/art/actors/object.dtd) work as one would think they should
This was SVN commit r635.
2004-07-07 01:44:54 +00:00
2914b616c7 Fix for debug builds using the static xerces lib
This was SVN commit r625.
2004-07-04 15:45:49 +00:00
6559b5c8a6 Updates for PCH Compat, and other misc. revisions
This was SVN commit r623.
2004-07-04 15:41:17 +00:00
1fc404a12a - JavaScript Interface
- Slightly relaxed config file syntax

This was SVN commit r621.
2004-07-04 15:36:48 +00:00
e0fab05437 Make errors more noticeable when debugging
This was SVN commit r610.
2004-06-28 15:30:15 +00:00
c23d7830fd Minor improvements
This was SVN commit r605.
2004-06-26 12:58:35 +00:00
43c52335ae Added delete/home/end keys to console
This was SVN commit r604.
2004-06-26 12:45:54 +00:00
608e481398 fix event handler return value
This was SVN commit r603.
2004-06-25 22:22:05 +00:00
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
1514075c9f fixed last vestige of ascii-specific stuff (tolower)
This was SVN commit r569.
2004-06-19 21:35:00 +00:00
df821a7a1c don't mandate static xerces lib yet, still some problems (warnings due to missing debug info, and conflicting CRT heaps?!)
This was SVN commit r555.
2004-06-19 14:41:54 +00:00
32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
6eadce8d1d added history, following mark's example :)
This was SVN commit r532.
2004-06-18 13:33:06 +00:00
b09211c4a3 remove *tot - non-portable and inefficient. replaced with stringstream
This was SVN commit r529.
2004-06-18 13:22:26 +00:00
f8247f56e0 Uses Unicode internally
This was SVN commit r521.
2004-06-16 15:42:48 +00:00
ea68626ec1 Remove new new (Xerces doesn't like it)
This was SVN commit r516.
2004-06-15 21:08:05 +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
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
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
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
MarkT
e4fe4ed602 JS Interface to entities. It even partially works now.
This was SVN commit r469.
2004-06-10 22:24:03 +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
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
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
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
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +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
d759a8ef82 Conventience functions and VFS Wrappers for Xerces
This was SVN commit r380.
2004-06-03 13:00:19 +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
af05b758c6 animation: console scrolls in from top of screen
This was SVN commit r374.
2004-06-03 00:19:22 +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
a2c508ff1a Log XML errors to mainlog.html
This was SVN commit r355.
2004-06-02 15:38:31 +00:00
c0d33d3330 Linux/GCC compat, a few newlines at end of file, minor changes
This was SVN commit r353.
2004-06-02 15:31:55 +00:00
3abf9ac4b5 lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
bf846be6f5 removed obsoleted _int etc. typedefs
This was SVN commit r332.
2004-06-01 16:51:37 +00:00
1eaadd38aa ran everything though mark's newline stomper.
This was SVN commit r322.
2004-05-30 00:46:58 +00:00
notpete
591a9ff13f Moved MathUtil files to maths directory.
This was SVN commit r312.
2004-05-29 21:06:30 +00:00
notpete
5b45b032e5 Fixed #includes.
This was SVN commit r301.
2004-05-29 20:50:23 +00:00
notpete
59c96b8d6a Evil hack workaround for duplicate MFC/Prometheus CSize class name; fixed #includes.
This was SVN commit r300.
2004-05-29 20:50:03 +00:00
notpete
48ded3ab46 Font pathname change; force font texture load on creation.
This was SVN commit r299.
2004-05-29 20:49:04 +00:00
notpete
7468989b4f Moved from "Terrain" directory to somewhere more applicable.
This was SVN commit r298.
2004-05-29 20:48:08 +00:00
0f02c697c4 fixed path to log file
This was SVN commit r295.
2004-05-29 16:36:28 +00:00
Gee
1343010185 Some functions made const
This was SVN commit r289.
2004-05-29 03:53:38 +00:00
Gee
97441efac6 CPos, CRect, CSize
This was SVN commit r288.
2004-05-29 03:53:12 +00:00
Gee
2954ec7997 no message
This was SVN commit r287.
2004-05-29 03:50:37 +00:00
MarkT
ac082709cd Added some pathfinding code. (SparsePath)
This was SVN commit r284.
2004-05-29 03:32:33 +00:00
MarkT
880e6287a8 Missing file.
This was SVN commit r273.
2004-05-26 21:18:29 +00:00
MarkT
6ef97a6e9a Yet more warnings resolved; SDL gamma option added to command line.
This was SVN commit r261.
2004-05-24 21:28:49 +00:00
df6fceba62 fixed some signed/unsigned warnings; added gamma control via SDL
This was SVN commit r258.
2004-05-24 20:25:48 +00:00
MarkT
6d5afc10ff Added PASAP entity systems
This was SVN commit r246.
2004-05-21 23:46:16 +00:00
notpete
99b785b75e *** empty log message ***
This was SVN commit r232.
2004-05-15 17:57:41 +00:00
notpete
02cd011c19 Placeholder code required for font rendering in ScEd.
This was SVN commit r231.
2004-05-15 17:50:27 +00:00
notpete
e1d7bd4173 Added workaround for duplicate CStr in 3DSMAX.
This was SVN commit r230.
2004-05-15 17:48:39 +00:00
5b5726ed4d merge of (work in progress) VFS code with new dir layout
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
bf67d07b8f Include CLogger.h
This was SVN commit r208.
2004-04-14 21:56:41 +00:00
d736ac7026 CLogger Initial Commit
This was SVN commit r206.
2004-04-14 21:52:59 +00:00
23e35513d3 - Naming Convention\n- Documentation\n- Cleanup
This was SVN commit r187.
2004-03-08 02:11:41 +00:00
f2de345f5e - Naming Convention changes
- windows compat

This was SVN commit r186.
2004-03-08 02:10:37 +00:00
f0bd3c597e - Naming Convention\n- Cleanup
This was SVN commit r185.
2004-03-08 02:08:12 +00:00
c7e551a82b Fixed a bug with integer deserialization, where the network size is less
than the code size

This was SVN commit r184.
2004-03-08 02:07:31 +00:00
65c5e0d6b0 Naming Convention changes
This was SVN commit r183.
2004-03-08 02:06:38 +00:00
c5a3087464 - Naming Convention changes
- Proper message-based operation of CMessageSocket (error message,
connect complete message, close request message)

This was SVN commit r182.
2004-03-08 02:06:06 +00:00
9cb0a192d6 Naming convention changes
This was SVN commit r181.
2004-03-08 02:04:34 +00:00
048f14120b - Array Support
- NetMessageType => ENetMessageType
- Some general message types

This was SVN commit r180.
2004-03-08 02:03:24 +00:00
1b0012d231 [gcc Compat]
- include stmt case
- friend declarations without class keyword

This was SVN commit r176.
2004-03-07 02:04:21 +00:00
838efe149e - CMutex
- Added calls to pthread_mutex_destroy
- Added macros for mutex tracing

This was SVN commit r170.
2004-03-04 20:32:15 +00:00
12cea7849a c_str() and _long=>size_t
This was SVN commit r169.
2004-03-04 20:27:37 +00:00
fa5b7546f6 no message
This was SVN commit r162.
2004-03-03 00:35:51 +00:00
91cb7f7138 minor changes (mainly header rename) for lib overhaul
This was SVN commit r157.
2004-03-02 23:54:51 +00:00
MarkT
ef68499bd3 [Entities and Events] Still incomplete, but compiles cleanly. Replaces version accidentally commited that didn't.
This was SVN commit r152.
2004-01-21 02:08:09 +00:00
mreiland
2dfcb652f7 changed all instances of the class keyword with the typename keyword
This was SVN commit r151.
2004-01-20 03:41:02 +00:00
MarkT
8536a35c8c [CVS Testing] Adding entity-base files.
This was SVN commit r147.
2004-01-20 01:51:06 +00:00
Gee
8feff097c4 Moved from gui/ to ps/
This was SVN commit r139.
2003-12-27 06:22:28 +00:00
73771118b7 IPv6 Compatability (DLL-detection aware), added GetString() and GetPort() to SocketAddress, Documentation
This was SVN commit r138.
2003-12-10 19:39:22 +00:00
50ad3a0e42 Cleanup, WSAAsyncSelect moved to win.h
This was SVN commit r137.
2003-12-10 19:34:39 +00:00
95b082e6e1 linux compat, uint seems to be a define
This was SVN commit r136.
2003-12-10 19:33:42 +00:00