f791e5f665
Altered the automatic CStr8/CStrW conversion -- it seems to work now
...
This was SVN commit r1131.
2004-09-06 11:15:43 +00:00
Gee
6e07632775
Changed a function that the GUI uses to Unicode.
...
This was SVN commit r1127.
2004-09-06 02:24:34 +00:00
3a3a5b6c34
Added getFPS(), so the GUI can draw the FPS counter. Also added getLanguageID(), so it knows what language it's using
...
This was SVN commit r1122.
2004-09-05 11:28:59 +00:00
4da6db92d2
Fixed typo in complex mathematical equation (center = "top+bottom/2.f")
...
This was SVN commit r1117.
2004-09-04 18:30:12 +00:00
3ef7b1b67b
Corrected JS_AddRoot usage (it wants a JSObject**/JSString**/jsval*/etc)
...
This was SVN commit r1116.
2004-09-04 14:43:23 +00:00
03ae01c44a
Replaced all CStr16 with CStrW, because its name was too confusing
...
This was SVN commit r1109.
2004-09-03 14:08:12 +00:00
Gee
d42de50280
Updated everything that's related to screen position to use floats
...
This was SVN commit r1107.
2004-09-03 05:48:47 +00:00
Gee
6b384432e0
no message
...
This was SVN commit r1101.
2004-09-02 03:05:16 +00:00
29e0bfea5b
Added CStr constructor for non-NULL-terminated char*s
...
This was SVN commit r1095.
2004-09-01 19:48:51 +00:00
18fea5478f
Updated i18n code
...
This was SVN commit r1094.
2004-09-01 19:48:03 +00:00
70d84beab2
Altered font handling -- now uses CFont in preference to unifont_* (yay, pointless OO) and allows font mapping ("default"=>"palatino12", etc) using .cfg files
...
This was SVN commit r1074.
2004-08-27 22:08:30 +00:00
9280aa15a7
Adjusted error handling minorly
...
This was SVN commit r1073.
2004-08-27 21:14:23 +00:00
880b768abd
Noticed "Engine exited successfully on " << __DATE__
...
This was SVN commit r1069.
2004-08-27 18:47:14 +00:00
405d5c476f
Made ThrowError(code) visible
...
This was SVN commit r1068.
2004-08-27 17:43:04 +00:00
97777fe688
LOG_ONCE, to avoid flooding the log with the same message every frame
...
This was SVN commit r1067.
2004-08-27 17:41:02 +00:00
4041b7880e
Made missing textures non-fatal
...
This was SVN commit r1059.
2004-08-26 10:31:34 +00:00
49e284ae5e
now uses vfs_load instead of vfs_map (faster, doesn't break if the files are in an archive and compressed)
...
This was SVN commit r1048.
2004-08-24 17:26:35 +00:00
f0e6936b94
Updated
...
This was SVN commit r1044.
2004-08-24 11:42:44 +00:00
83fb95dbde
Removed hard-coded filenames
...
This was SVN commit r1042.
2004-08-24 11:29:40 +00:00
49b5c5c2b8
Trivial wrapper around vfs_next_dirent, to make some other code a little tidier
...
This was SVN commit r1040.
2004-08-24 11:26:32 +00:00
9fa5e3b57a
Better Unicode support in the console
...
This was SVN commit r1038.
2004-08-24 11:07:50 +00:00
506b283844
Now actually uses IsInitialised() correctly, to avoid crashing when logging messages before the config DB is loaded
...
This was SVN commit r1037.
2004-08-24 11:05:41 +00:00
6873de4ed0
GCC fixes: string.c_str() in LOG
...
This was SVN commit r1034.
2004-08-21 12:55:43 +00:00
0e55379b36
Initial i18n integration
...
This was SVN commit r1029.
2004-08-21 11:45:01 +00:00
6e9c7dd532
Fixed minor type-conversion warnings
...
This was SVN commit r1026.
2004-08-20 14:03:49 +00:00
ac8cfef8d0
bugfix: was memsetting the memory log /stream/, not buffer. while at it, we just alloc via calloc
...
This was SVN commit r1013.
2004-08-18 01:51:23 +00:00
589106ae1c
increase memory buffer size (due to boundschecker overrun warning)
...
This was SVN commit r1012.
2004-08-18 01:32:05 +00:00
fdaa535fc2
Removed memory leak
...
This was SVN commit r1008.
2004-08-17 12:34:07 +00:00
4d9c7684df
w00t! first batch of actual network support!
...
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
d41cdc4dff
Allow NULL categories, and make them very interesting
...
This was SVN commit r996.
2004-08-15 21:10:49 +00:00
9cd4cab693
A few log categories
...
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
0037a0c6c0
Now allows categorised logging with user-configurable interest levels. By default, all errors and warnings are 'interesting' (reported in interestinglog.html and the console), and system.cfg lets you alter your interest in particular categories.
...
This was SVN commit r993.
2004-08-15 20:57:04 +00:00
98a4cea133
IsInitialised() on singletons, for when you need to know whether certain things (e.g. the config database) exist yet
...
This was SVN commit r992.
2004-08-15 20:47:25 +00:00
00a70deafd
Fixed the console's border
...
This was SVN commit r989.
2004-08-14 11:40:40 +00:00
436e45daee
now uses vfs_load.
...
This was SVN commit r970.
2004-08-11 20:18:49 +00:00
6fa44006e8
remove mods/official from pathname (since Unpacker now uses the VFS)
...
This was SVN commit r969.
2004-08-11 20:18:30 +00:00
b09896a62b
Documented the console cursor character's magic number (U+FE33)
...
This was SVN commit r966.
2004-08-11 14:48:36 +00:00
4d202beb5b
Less ambiguous cursor in console
...
This was SVN commit r965.
2004-08-10 17:16:46 +00:00
230731c69d
Allow the standard Windows PrtSc action (i.e. copy to clipboard) if HOTKEY_SCREENSHOT has been redefined
...
This was SVN commit r951.
2004-08-09 20:58:32 +00:00
1768ccded3
Miscellaneous GCC fixes
...
This was SVN commit r948.
2004-08-09 16:44:08 +00:00
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