1
0
forked from mirrors/0ad
Commit Graph

218 Commits

Author SHA1 Message Date
Ykkrosh 5df205084f Made JSString->wstring conversion slightly easier
This was SVN commit r1134.
2004-09-06 11:28:04 +00:00
Ykkrosh 13974087c3 Fixed memory leak
This was SVN commit r1133.
2004-09-06 11:18:47 +00:00
Ykkrosh 0dc2f34676 GCC whine avoidance: newlines at ends of files
This was SVN commit r1132.
2004-09-06 11:18:22 +00:00
Ykkrosh 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
Ykkrosh 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
Ykkrosh 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
Ykkrosh 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
Ykkrosh 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
Ykkrosh 29e0bfea5b Added CStr constructor for non-NULL-terminated char*s
This was SVN commit r1095.
2004-09-01 19:48:51 +00:00
Ykkrosh 18fea5478f Updated i18n code
This was SVN commit r1094.
2004-09-01 19:48:03 +00:00
Ykkrosh 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
Ykkrosh 9280aa15a7 Adjusted error handling minorly
This was SVN commit r1073.
2004-08-27 21:14:23 +00:00
Ykkrosh 880b768abd Noticed "Engine exited successfully on " << __DATE__
This was SVN commit r1069.
2004-08-27 18:47:14 +00:00
Ykkrosh 405d5c476f Made ThrowError(code) visible
This was SVN commit r1068.
2004-08-27 17:43:04 +00:00
Ykkrosh 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
Ykkrosh 4041b7880e Made missing textures non-fatal
This was SVN commit r1059.
2004-08-26 10:31:34 +00:00
janwas 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
Ykkrosh f0e6936b94 Updated
This was SVN commit r1044.
2004-08-24 11:42:44 +00:00
Ykkrosh 83fb95dbde Removed hard-coded filenames
This was SVN commit r1042.
2004-08-24 11:29:40 +00:00
Ykkrosh 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
Ykkrosh 9fa5e3b57a Better Unicode support in the console
This was SVN commit r1038.
2004-08-24 11:07:50 +00:00
Ykkrosh 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
Ykkrosh 6873de4ed0 GCC fixes: string.c_str() in LOG
This was SVN commit r1034.
2004-08-21 12:55:43 +00:00
Ykkrosh 0e55379b36 Initial i18n integration
This was SVN commit r1029.
2004-08-21 11:45:01 +00:00
Ykkrosh 6e9c7dd532 Fixed minor type-conversion warnings
This was SVN commit r1026.
2004-08-20 14:03:49 +00:00
janwas 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
janwas 589106ae1c increase memory buffer size (due to boundschecker overrun warning)
This was SVN commit r1012.
2004-08-18 01:32:05 +00:00
Ykkrosh fdaa535fc2 Removed memory leak
This was SVN commit r1008.
2004-08-17 12:34:07 +00:00
olsner 4d9c7684df w00t! first batch of actual network support!
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
Ykkrosh d41cdc4dff Allow NULL categories, and make them very interesting
This was SVN commit r996.
2004-08-15 21:10:49 +00:00
Ykkrosh 9cd4cab693 A few log categories
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
Ykkrosh 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
Ykkrosh 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
Ykkrosh 00a70deafd Fixed the console's border
This was SVN commit r989.
2004-08-14 11:40:40 +00:00
janwas 436e45daee now uses vfs_load.
This was SVN commit r970.
2004-08-11 20:18:49 +00:00
janwas 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
Ykkrosh b09896a62b Documented the console cursor character's magic number (U+FE33)
This was SVN commit r966.
2004-08-11 14:48:36 +00:00
Ykkrosh 4d202beb5b Less ambiguous cursor in console
This was SVN commit r965.
2004-08-10 17:16:46 +00:00
Ykkrosh 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
Ykkrosh 1768ccded3 Miscellaneous GCC fixes
This was SVN commit r948.
2004-08-09 16:44:08 +00:00
Ykkrosh 1e6bd8025e Miscellaneous GCC fixes
This was SVN commit r947.
2004-08-09 16:32:01 +00:00
Ykkrosh 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
Ykkrosh abfe9faadc New zlib/libpng libraries
This was SVN commit r942.
2004-08-08 18:50:44 +00:00
Ykkrosh c248ae93eb Vital whitespace alterations
This was SVN commit r927.
2004-08-06 15:07:01 +00:00
Ykkrosh cd8a6aaea8 Added \n to debug_out messages
This was SVN commit r926.
2004-08-06 15:04:47 +00:00
olsner 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
janwas 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