0f611042b1
# Support alt+enter to toggle fullscreen mode. Make game window resizable.
...
Refactor the video mode setting logic to cope better with dynamic
changes.
This was SVN commit r7606.
2010-06-03 19:07:59 +00:00
56bb858802
# Delete a lot of obsolete simulation code.
...
This was SVN commit r7555.
2010-05-20 18:09:23 +00:00
a78e6dbe26
# Delete a lot of obsolete networking code.
...
Remove the -sim1 flag since it no longer works.
This was SVN commit r7554.
2010-05-20 17:58:37 +00:00
c684c211a2
# Basic experimental multiplayer integration with new simulation system.
...
Add new turn manager that should be more correct and potentially more
efficient.
Remove evil CNetServer/CNetClient multiple inheritance of CTurnManager.
Add multiplayer autostart.
Various minor cleanups.
This was SVN commit r7551.
2010-05-20 00:59:01 +00:00
78ccac427d
Remove -fixedframe mode since it doesn't work at all
...
This was SVN commit r7549.
2010-05-20 00:55:02 +00:00
3a13204879
Avoid crash when selecting units in Atlas
...
This was SVN commit r7543.
2010-05-13 19:14:10 +00:00
4a4bc50ff8
Fix non-PCH compiles
...
This was SVN commit r7537.
2010-05-11 13:24:25 +00:00
4981af4a57
OS X build/warning/test fixes
...
This was SVN commit r7512.
2010-05-07 20:55:23 +00:00
0547757a30
Make CUnit::GetModel return a reference so it's clear it can never be NULL.
...
This was SVN commit r7464.
2010-04-17 11:44:08 +00:00
6a9de50692
# Use the correct projectile models.
...
Fixes #470 .
Make CUnit::GetObject return a reference so it's clear it can never be
NULL.
This was SVN commit r7463.
2010-04-17 11:34:40 +00:00
c02771fef2
Remove CSoundGroupMgr, since it is unnecessary and broken and leaks memory
...
This was SVN commit r7442.
2010-04-06 15:17:06 +00:00
4c0d47707b
# Fix animation syncing.
...
Make animations trigger sound effects.
Adjust attack animation timings to match simulation.
Simplify the animation speed settings.
This was SVN commit r7438.
2010-04-05 23:09:34 +00:00
1ebebc4338
Avoid -Wnon-virtual-dtor warnings
...
This was SVN commit r7416.
2010-03-31 08:36:46 +00:00
9ad4b210dc
Fix #479 (water animation in new simulation system)
...
This was SVN commit r7407.
2010-03-27 17:19:00 +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
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
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
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
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
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
cd6a926c14
Fix #293 (Lots of printf format string errors), based on patch from Cygal
...
This was SVN commit r7113.
2009-08-14 18:42:39 +00:00
5b302658a3
# fix permissions of created directories
...
also took the opportunity to move file_system_posix to file_system since
a further FS abstraction layer = YAGNI. also namespaced
file_system_util.
This was SVN commit r7074.
2009-08-04 19:57:53 +00:00
6714d80fba
Fix memory leak, Valgrind warnings
...
This was SVN commit r7051.
2009-07-28 20:13:26 +00:00
008d894dd7
Fix some GCC warnings
...
This was SVN commit r7048.
2009-07-28 16:59:19 +00:00
cdfb58a62f
Fix some more GCC warnings
...
This was SVN commit r7045.
2009-07-28 09:27:56 +00:00
f5f1d47aed
Fix some GCC -Wextra warnings
...
This was SVN commit r7043.
2009-07-27 18:32:59 +00:00
df36e937f0
Patch from #258 : [FreeBSD compat] add some missing includes
...
This was SVN commit r7001.
2009-07-16 16:53:55 +00:00
af7f2a2300
Add includes of ScriptableComplex.inl to fix link errors in release config
...
This was SVN commit r6988.
2009-07-14 15:11:05 +00:00
c9fa7f13d9
Add GPL header
...
This was SVN commit r6830.
2009-04-18 17:00:33 +00:00
1e3cd00c72
Set svn:eol-style=native
...
This was SVN commit r6816.
2009-04-11 17:00:39 +00:00
eaede77cce
# Fix crash when dragging corpses in Atlas
...
This was SVN commit r6785.
2009-03-26 20:30:24 +00:00
433c34cd94
Fix warnings on Windows
...
This was SVN commit r6776.
2009-03-24 23:07:48 +00:00
6426777e61
# Disable non-Free pathfinding library
...
(All the code is still there, it's just #ifdef'd out by default)
This was SVN commit r6775.
2009-03-24 21:40:10 +00:00
b51353ae0b
Use NONCOPYABLE macro, to avoid ICC warnings
...
This was SVN commit r6589.
2009-01-03 18:40:28 +00:00
5228800b73
# Fixed Linux build
...
Use noncopyable instead of boost::noncopyable. (But maybe this should be
changed to the NONCOPYABLE macro instead?)
Use boost::filesystem::wpath::file_string instead of
external_file_string, since the latter varies between std::string on
Linux and std::wstring on Windows.
Use wcstombs instead of wcstombs_s.
Use rtl_AllocateAligned instead of _mm_malloc.
This was SVN commit r6574.
2009-01-02 21:19:41 +00:00
cc2f2e46c8
Adding the m_base check.
...
This was SVN commit r6522.
2008-11-25 00:03:24 +00:00
0cea78e462
crash fix in void CEntity::UpdateXZOrientation()
...
This was SVN commit r6506.
2008-11-22 18:14:51 +00:00
213743b73d
# improve robustness of simulation and EntityManager code
...
also const-correctness fixes in EntityFormation
+build
This was SVN commit r6502.
2008-11-22 16:50:03 +00:00
6267e13760
IsEntityRefd now checks the entity pointer as well (avoids null pointer dereference in some cases - encountered during MP game).
...
Simulation.cpp: hoist retrieval of simulation pointer out of loop
This was SVN commit r6482.
2008-11-15 22:38:04 +00:00
cb257dd020
Null pointer fix.
...
This was SVN commit r6481.
2008-11-15 20:08:41 +00:00
cfc4f47105
This was SVN commit r6422.
2008-10-13 21:06:15 +00:00
5d35f6bfe0
Increase turn length to 300ms to work better with lag.
...
This was SVN commit r6318.
2008-08-08 05:57:10 +00:00
98dd1a1bb4
Refactored "generic" order to just call it "contact action", and added support for intercepting targets if performing a contact action while moving.
...
This was SVN commit r6290.
2008-07-29 08:22:56 +00:00
d0c6805725
Fixed bug that was causing population to go negative. It was due to a unit being killed by multiple enemies in the same frame, which led to multiple calls of the death event handler. The fix is twofold: First, kill() only calls the event handler the first time the unit is killed. Second, damage() (in JS), which apart from killing things also loots them, makes sure that the unit is not already being destroyed. This latter fix is to ensure that we don't get a huge amount of loot by simply attacking a low-HP unit with many soldiers simultaneously, so they kill it in the same frame.
...
This was SVN commit r6276.
2008-07-24 05:50:45 +00:00
75a9b2f357
Made stance-setting work with multiplayer.
...
This was SVN commit r6274.
2008-07-24 05:25:14 +00:00
0f9294ce17
Fixed some strict aliasing warnings
...
This was SVN commit r6252.
2008-07-19 00:36:42 +00:00
fe6370aff8
more dehydra. disabled lockfree module (not in use).
...
This was SVN commit r6240.
2008-07-17 17:00:00 +00:00
9025056ffd
Made rally point setting net-safe.
...
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00
36b18f646f
Added shouldRun parameter to order(ORDER_GENERIC) calls from scripts.
...
This was SVN commit r6224.
2008-07-13 16:31:03 +00:00
e4966f6f1b
Added running support to GENERIC orders through a field that can be sent across the network (previous implementation used to be by setting properties on the entity itself).
...
This was SVN commit r6223.
2008-07-13 06:24:50 +00:00