0d6882dad2
# Fix the actor viewer in Atlas.
...
Delete the old standalone actor viewer.
Import some terrain textures that are useful for tools.
Fixes #483 .
This was SVN commit r7428.
2010-04-03 11:07:42 +00:00
13302cc133
Disable visible warnings when gamma-setting fails. Fixes #480 .
...
This was SVN commit r7410.
2010-03-28 18:33:35 +00:00
53744640ec
Fix non-PCH builds
...
This was SVN commit r7409.
2010-03-28 18:21:48 +00:00
49eb176b25
Fix MSVC compiler warnings (replace most M_PI with (float)M_PI)
...
This was SVN commit r7404.
2010-03-26 19:04:40 +00:00
ccbc8d534a
Show DRI S3TC message on all platforms that probably use Mesa. See #313 .
...
This was SVN commit r7402.
2010-03-26 17:22:13 +00:00
00e18e4ea8
Report S3TC non-support with an in-game GUI message box.
...
Fixes #313 .
This was SVN commit r7390.
2010-03-23 22:45:07 +00:00
248749c1aa
Fix console history loading
...
This was SVN commit r7383.
2010-03-20 22:01:39 +00:00
a8b3cc4812
add both the (potentially) read-only data from SVN and the appdata path to the config/ search path
...
(fixes #450 )
This was SVN commit r7382.
2010-03-20 21:37:14 +00:00
bf444a8aa1
Load libraries from rpath=$ORIGIN instead of from cwd. Fixes #288
...
This was SVN commit r7381.
2010-03-20 20:55:54 +00:00
0bbb99c3cd
move M_PI etc. to wposix.h to ensure they're always present on Windows (previously required MathUtil.h)
...
use M_PI instead of nonstandard PI
This was SVN commit r7380.
2010-03-20 20:54:03 +00:00
4059826759
when mounting a mod, don't attempt to create the directories (it's reasonable to assume the mod must exist, there is no value in creating a dummy mod directory - unlike the screenshots/logs etc. mounts)
...
this fixes write errors because mods/internal doesn't exist in public
SVN checkouts and the default mount logic tries to mount internal anyway
(and now just fails that operation silently)
fixes #458
This was SVN commit r7375.
2010-03-20 18:12:48 +00:00
73f67a2272
set crashlog location as soon as it is known to avoid writing to the default location (system/binaries), which might not be writable.
...
fixes #403
This was SVN commit r7373.
2010-03-20 17:20:23 +00:00
06928f7694
# Basic bandbox selection of units in new simulation system
...
This was SVN commit r7349.
2010-03-11 20:01:16 +00:00
a7484933e7
wchar.h -> utf8.h (see previous change)
...
This was SVN commit r7341.
2010-03-01 14:55:34 +00:00
5bb14c7a59
Misc. unity fixes (missing includes, undefs, and other things that could be considered generic cleanup)
...
This was SVN commit r7328.
2010-02-18 00:06:50 +00:00
02253f82f0
Add/rename header guards
...
This was SVN commit r7326.
2010-02-17 23:21:49 +00:00
02ffe82ab7
Optimised pathfinder, particularly to avoid slow MSVC debug STL.
...
Added rough pathfinder test system.
MapReader: support loading maps into a minimal non-graphical environment
(for tests).
This was SVN commit r7317.
2010-02-08 22:05:05 +00:00
d609a9f81c
# Basic animation support in new simulation system.
...
Movement speed.
Improved accuracy of walking.
This was SVN commit r7313.
2010-02-07 20:06:16 +00:00
bd4cd244cf
Make -autostart=mapname more useful with new sim system
...
This was SVN commit r7306.
2010-02-03 20:46:05 +00:00
707539ad69
Don't scroll the game view when the mouse is outside the window
...
This was SVN commit r7283.
2010-01-23 20:40:15 +00:00
4fed9b8242
# Added initial support for players and population counters in new simulation system, plus various infrastructure improvements.
...
Merge from 22b478ffed8d.
Pure scripted interface definitions.
Entity creation from scripts.
Improved messaging system.
Messages on entity deletion.
Basic player entities.
Player ownership.
Bug fixes.
This was SVN commit r7281.
2010-01-22 20:03:14 +00:00
3e7c87c7b0
# Improved memory profiling on Linux
...
Try yet again to make the malloc overrides less unreliable, and simplify
a bit
This was SVN commit r7278.
2010-01-22 11:22:26 +00:00
58e9176ef0
Fix malloc overrides to work better with a certain combination of glibc and libopenal
...
This was SVN commit r7274.
2010-01-13 23:15:47 +00:00
7c2e9027c2
# Rewrite of the game's simulation system
...
Giant merge from
http://svn.wildfiregames.com/hg-source/file/5fb522019d5e
Infrastructure is largely complete, gameplay is largely missing
Disabled by default; use command-line flag "-sim2"
(Second attempt at commit...)
This was SVN commit r7259.
2010-01-09 19:20:14 +00:00
797c9e1644
Use a more thread-safe way of counting glibc memory allocations in the profiler
...
This was SVN commit r7257.
2010-01-07 19:20:40 +00:00
48f0c9b5d7
Set svn:eol-style=native
...
This was SVN commit r7252.
2010-01-07 17:42:56 +00:00
aafe575445
Fix buffer overflow in logger. Add tests for it. Make this kind of error harder to miss.
...
This was SVN commit r7244.
2010-01-05 19:55:09 +00:00
97db62c944
fix handling of non-CP1252 characters in paths
...
(added wide-character versions of posix opendir etc. - on Windows, we
must not convert to UTF8)
This was SVN commit r7243.
2010-01-05 19:44:30 +00:00
03726c0b54
ICC build fixes
...
warning fixes
get rid of SAFE_WCSCPY and SAFE_STRCPY
This was SVN commit r7239.
2010-01-01 15:33:07 +00:00
b3d2f665d3
Fix ConfigDB storing invalid values (with LSB set) in JS privates
...
This was SVN commit r7227.
2009-12-28 14:49:31 +00:00
f0d9806b3f
# Restructured GUI implementation
...
CGUI now represents a single 'page'. CGUIManager maintains multiple
pages and switches between them.
Split the XML files into pregame, loading, session and messagebox pages.
Added hotloading of GUI pages.
Minor GUI cleanups.
(Merge from hg 81862d33780c)
This was SVN commit r7214.
2009-12-03 20:17:22 +00:00
455137afed
Fix broken tests
...
This was SVN commit r7211.
2009-11-24 15:36:08 +00:00
781538313c
use lib/wchar.h for UTF8 conversion (avoid duplication, more aware of wchar_t differences and surrogate pairs)
...
fixes #400
This was SVN commit r7201.
2009-11-16 20:05:03 +00:00
ff15c522fe
implement changes suggested by Philip:
...
- add self-test
- allow decoding UTF8 values beyond BMP (and replace them later)
- quietly replace invalid bytes
This was SVN commit r7187.
2009-11-09 20:53:48 +00:00
450da0aaf7
rename [w]string_to_[w]string UTF8
...
add safer/more portable/less dependent on locale implementation of
wchar_t <-> UTF8
This was SVN commit r7185.
2009-11-09 14:52:51 +00:00
43e26aa3f6
2 more dehydra fixes
...
This was SVN commit r7180.
2009-11-07 12:31:18 +00:00
f432d9d18b
fix dehydra warnings (some of which were dangerous pass-user-string-as-format-string vulnerabilities)
...
This was SVN commit r7177.
2009-11-07 09:32:19 +00:00
378bd89c1d
Annotate some more printf-style functions, for type checking
...
This was SVN commit r7176.
2009-11-06 23:06:50 +00:00
3334c83ce0
Fix build and tests on Linux
...
This was SVN commit r7174.
2009-11-06 18:35:32 +00:00
607ea6f8b4
chip away at gcc errors/warnings
...
This was SVN commit r7172.
2009-11-06 16:15:09 +00:00
6ec9128e78
refactor: move reload functionality into ps/Filesystem to allow reloading non-resource files (e.g. scripts); VFS is now responsible for returning VirtualPath and invalidating the changed file/directory
...
This was SVN commit r7171.
2009-11-06 11:50:04 +00:00
9662666403
more string drudgery
...
- sprintf, snprintf -> sprintf_s (ensures 0-termination of result)
- use %s instead of %hs with sprintf_s to avoid GCC warnings
- convert h_mgr's to_string to unicode
This was SVN commit r7170.
2009-11-06 10:59:10 +00:00
25717ef768
add VirtualPath API to VFS in preparation for moving hotload logic out of library code and into the game. also rename GetRealPath -> RealPath + some cleanup/documentation
...
This was SVN commit r7169.
2009-11-06 01:30:16 +00:00
8fefedb5ae
fix: native and vfs directory paths should end with '/' (more code cares about this now)
...
refactor: simplify dir_watch_Poll interface (returns vector)
wdir_watch: major refactor: use shared_ptr for reference-counting shared
watch state
remove no longer needed path_util functions
This was SVN commit r7168.
2009-11-05 20:46:15 +00:00
b48e877f5b
VFS fixes+refactoring
...
- fix: archive_zip: avoid crash if zip file contains empty filenames
- real_directory: enable dir watch
- refactor vfs_tree interface (move recursive calls into VFS)
- VFS: return text representation instead of only printing it
This was SVN commit r7165.
2009-11-04 17:26:54 +00:00
77d2c67ada
misc. string fixes
...
convert remaining %s to %hs or %ls
use WPRINTF_ARGS on unicode printf functions
fix: __func__ can't be widened via preprocessor (-> revert to char*)
convert remaining external_[directory|file_string to string()
Util: don't mix fwprintf and fprintf
Formation: fix dangling pointer (storing result of c_str())
This was SVN commit r7164.
2009-11-04 15:29:28 +00:00
da3030cfe6
more unicode/string cleanup:
...
- swprintf -> swprintf_s
- use secure_crt's _wfopen_s instead of conversion+fopen
- centralize all MBS <-> WCS conversion in new wchar.cpp (requires
workspace rebuild)
- remove no longer needed os_path
- remove unnecessary fs::wpath / VfsPath constructor casts
- fixed buffer size parameters -> ARRAY_SIZE
This was SVN commit r7162.
2009-11-03 22:27:25 +00:00
8a52113e60
huge cleanup and conversion of most string handling (especially paths) to unicode
...
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*
This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
e257bef5da
Fix even more 64-bit warnings
...
This was SVN commit r7152.
2009-10-05 16:15:51 +00:00
92637c1041
refactoring all PS_RESULT in GUI to PSRETURN/PSERROR
...
closes #128
This was SVN commit r7147.
2009-09-27 15:04:46 +00:00