9090d25ef8
Force some byte-order functions to be inline.
...
Allow aggressive inlining of MD5 buffer updates (particularly for
fixed-size updates).
Make UTF-8 conversion a little faster.
This was SVN commit r7581.
2010-05-25 18:47:11 +00:00
5ce9acc263
MSVC warning fixes
...
This was SVN commit r7580.
2010-05-25 18:44:33 +00:00
47a03c3397
Replace JS_Enumerate with manual enumeration, to avoid its memory allocations.
...
Use LookupProperty to avoid having to check for getters.
Add a quicker method of rooting many script values.
This was SVN commit r7579.
2010-05-25 18:24:12 +00:00
121d1ead20
Avoid some redundant HasProperty calls.
...
This was SVN commit r7578.
2010-05-25 18:18:32 +00:00
6fdb947ff0
Convert CCmpTemplateManager to use ASCII strings internally, to save memory and serialisation cost.
...
This was SVN commit r7577.
2010-05-25 18:17:12 +00:00
a9963dee56
Serialize JS strings as UTF-16(ish), to avoid the cost of UTF-8 conversion.
...
This was SVN commit r7576.
2010-05-25 18:07:41 +00:00
fd1f864cde
Avoid unreliable float conversions when loading old maps.
...
Use debug_printf in performance test, to work better on Windows.
This was SVN commit r7575.
2010-05-25 17:55:41 +00:00
64a610baab
Add some code for rough testing of state hashing performance.
...
Simplify the code needed for tests based on real maps.
This was SVN commit r7574.
2010-05-25 17:28:26 +00:00
be4e355ef3
VC2005 build fix
...
This was SVN commit r7572.
2010-05-22 23:12:12 +00:00
5c3a59234c
Fix OOS errors when placing buildings.
...
Allow script components to supply custom serialization objects.
This was SVN commit r7571.
2010-05-22 23:02:07 +00:00
57b7822539
Add a rough fixed-point parser, to fix OOS problems when loading maps
...
This was SVN commit r7570.
2010-05-22 16:59:15 +00:00
0fa4bc9b21
Add some (disabled) code to help debug OOS
...
This was SVN commit r7569.
2010-05-22 16:58:08 +00:00
1e228d8c17
Fix typo that breaks network after OOS
...
This was SVN commit r7568.
2010-05-22 15:46:12 +00:00
739b25dc22
Fix script error when audio is disabled
...
This was SVN commit r7567.
2010-05-22 14:29:55 +00:00
f902803af2
Windows build fixes
...
This was SVN commit r7566.
2010-05-22 14:27:53 +00:00
94e5d88169
# Add out-of-sync multiplayer checks.
...
Change CStr8 serialization to allow \0 in strings.
This was SVN commit r7565.
2010-05-22 14:05:56 +00:00
4e661a205d
Serialize RNG state
...
This was SVN commit r7564.
2010-05-22 01:32:11 +00:00
386f322b1c
Make Math.random() more deterministic
...
This was SVN commit r7563.
2010-05-22 00:38:33 +00:00
1fc75e7605
Expand the culling frustum to reduce shadow popping (see #504 ). Based on patch from Zoomastigophora.
...
This was SVN commit r7562.
2010-05-21 18:31:47 +00:00
2f421082cd
Improve accuracy of fixed sqrt
...
This was SVN commit r7561.
2010-05-21 15:26:17 +00:00
ab7c9a9879
Generic ambience
...
This was SVN commit r7560.
2010-05-21 15:15:34 +00:00
4f13623099
Implementation of basic ambient sounds
...
This was SVN commit r7559.
2010-05-21 15:13:35 +00:00
6e6ae573e4
Delete old session GUI files.
...
This was SVN commit r7558.
2010-05-20 20:17:46 +00:00
cf85004f61
Windows build fixes.
...
Remove unused function.
This was SVN commit r7557.
2010-05-20 20:05:38 +00:00
80229cdea7
Remove unused DCDT library
...
This was SVN commit r7556.
2010-05-20 18:32:03 +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
08e383235b
Fix message serialisation to be 64-bit-safe and more efficient
...
This was SVN commit r7553.
2010-05-20 17:46:07 +00:00
605e5c75bb
Windows build fix
...
This was SVN commit r7552.
2010-05-20 16:02:20 +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
8c1a3f7c8a
Protect against missing globals when loading GUI in unusual ways
...
This was SVN commit r7550.
2010-05-20 00:57:03 +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
cdcee291cf
Convert all remaining entity template data to new file format.
...
Add dummy component implementations for new data.
Partly support multiple weapons for a single unit.
This was SVN commit r7547.
2010-05-15 21:07:52 +00:00
ae08adc55d
# Fix possible GC crash bugs
...
This was SVN commit r7546.
2010-05-15 11:21:40 +00:00
a6600185ff
fix delete vs delete[]
...
This was SVN commit r7545.
2010-05-14 21:28:16 +00:00
f0c2479309
avoid non-utf8 encoded characters being passed to main() on windows
...
refs #503
This was SVN commit r7544.
2010-05-14 21:15:33 +00:00
3a13204879
Avoid crash when selecting units in Atlas
...
This was SVN commit r7543.
2010-05-13 19:14:10 +00:00
202b13d557
Fix the calling conventions properly this time (I hope)
...
This was SVN commit r7542.
2010-05-13 16:22:07 +00:00
f728050b3f
Use correct calling convention on x86-64 OS X
...
This was SVN commit r7541.
2010-05-13 15:31:49 +00:00
f95eb6ca85
Fix accidental include
...
This was SVN commit r7540.
2010-05-12 13:09:11 +00:00
91522c6f58
This was SVN commit r7539.
2010-05-12 04:42:32 +00:00
22a7a6396b
Revert deletion of compile flag that apparently is actually needed (see #424 ).
...
This was SVN commit r7538.
2010-05-11 13:56:04 +00:00
4a4bc50ff8
Fix non-PCH compiles
...
This was SVN commit r7537.
2010-05-11 13:24:25 +00:00
434248167b
Fix warnings in tests
...
This was SVN commit r7535.
2010-05-10 09:52:35 +00:00
ecccf4c0d7
Added <soundgroup> for cavalry steps XML and added Run to infnatry
...
This was SVN commit r7534.
2010-05-10 00:17:24 +00:00
86d117d623
Introduced a infantry "run" XML file
...
This was SVN commit r7533.
2010-05-10 00:15:29 +00:00
afe29fdadf
Fix errors and inconsistencies in entity template XML files
...
This was SVN commit r7532.
2010-05-09 21:46:41 +00:00
c0a0e0bdbd
Make the session GUI slightly more resilient to broken data files
...
This was SVN commit r7531.
2010-05-09 21:43:24 +00:00
ba7d237d9a
Fix triggering of "buffer too small" error during some stack dumps.
...
Remove dlopen's debug_assert, for POSIX compatibility and because it
causes very ugly problems when dumping the stack if the Collada DLL is
missing.
This was SVN commit r7530.
2010-05-09 19:52:13 +00:00
549ff09c8b
Added XML for generic animal death and fixed horse death xml
...
This was SVN commit r7529.
2010-05-09 18:34:40 +00:00