1
0
forked from 0ad/0ad
Commit Graph

8148 Commits

Author SHA1 Message Date
791ecee26b Build fixes
This was SVN commit r9365.
2011-04-30 13:55:55 +00:00
5ca66fc757 cleanup: move ADTs into lib/adts (separate files). fix definition of ASSERT
This was SVN commit r9364.
2011-04-30 13:35:36 +00:00
0720025073 cleanup
reduce dependency on PCH. move KiB constants to alignment, ARRAY_SIZE to
code_annotation.h.
move glext_funcs.h to external_libraries/glext_funcs.h, move part of
ogl.h to external_libraries/opengl.h
remove unused saturating arithmetic functions

This was SVN commit r9363.
2011-04-30 13:22:46 +00:00
4663ac0fe7 split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)

This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
6c915291cc cleanup (requires update-workspaces):
major refactor of wfilesystem - remove gotos and workaround for FAT file
times
replace more round_up of constants with Align<>
remove old unused allocators (STL aligned, matrix, some shared_ptr)
move allocator utils into separate headers.
remove lockfree, wterminal
avoid testing __cplusplus

This was SVN commit r9361.
2011-04-30 12:34:28 +00:00
188c020ae0 Fix reading outside buffer, when terrain alpha maps are 8-bit.
Change alpha map composite texture to 8-bit to avoid wasting memory.
Warn about non-square alpha maps.

This was SVN commit r9360.
2011-04-30 11:46:23 +00:00
1dcbb02958 This fixes the error messages at game start, makes a few final weaks to training queues, and changes the first base strategy to a small raid rather than the huge 3-prong assault.
This was SVN commit r9359.
2011-04-30 11:26:32 +00:00
9bdb54bc76 fix failure to preallocate disk space on Windows by always rounding up the file size regardless of the io::Parameters
This was SVN commit r9358.
2011-04-30 09:13:10 +00:00
0b46d58ae8 A couple updated desert terrains. Updated Necropolis map.
This was SVN commit r9357.
2011-04-30 07:39:41 +00:00
e292c55e94 Delete warning-prone unused unusable event recording code
This was SVN commit r9355.
2011-04-30 00:06:30 +00:00
f22e40b64c Fix warning
This was SVN commit r9354.
2011-04-29 23:55:47 +00:00
335e7db6be Fix build more
This was SVN commit r9353.
2011-04-29 23:30:29 +00:00
34ba390a0d build fix for pre-C++0x compilers.
archive_zip, stream: work around possibly missing support for
std/tr1::bind in GCC by defining a functor manually
also renamed RVREF to RVALUE_REF and ensured RVALUE can convert from
both lvalue and rvalue.
io: avoid dodgy constants and possible overflow by using blockSize=0 to
indicate "don't split"

This was SVN commit r9352.
2011-04-29 22:55:35 +00:00
1139124451 Fix some build errors and warnings
This was SVN commit r9351.
2011-04-29 20:38:13 +00:00
2374caac3e major refactor of file/io and alignment code. requires update-workspaces
. completely rewrite waio - use IOCP, add several hardcore
optimizations. now outperforms the
  AS SSD and ATTO benchmarks when writing
. refactor file interface - use LIO_READ instead of 'r', allow access to
file descriptor.
. completely rewrite the IO wrapper. now much more simple, less CPU
overhead, adds
  support for pre-issue/post-completion hooks and preallocation.
  io::Run defaults to simple synchronous IO; use io::Parameters to get
asynchronous.
. add alignment.h with constants and Align() function template (more
efficient than
  round_up for compile-time constants)
. add UniqueRange - similar to C++0x unique_ptr (emulated for C++03),
plus a
  built-in size. avoids expensive thread-safe reference counting in
shared_ptr.

cleanup:
- move fat_time functions into archive_zip
- remove no longer needed io_align and block_cache
- reduce dependencies in sysdep/compiler (move parts to
code_annotation.h)
- move IOCP into separate file (reused by waio)

This was SVN commit r9350.
2011-04-29 19:10:34 +00:00
7ed6a164ba Idle worker button now cycles through Worker, Trade, and CitizenSoldier classes in that order (then by increasing entity ID). Fixes #209.
This was SVN commit r9349.
2011-04-29 18:09:07 +00:00
d2e06ecdbb Fix some obstruction shapes.
Fixes #808.

This was SVN commit r9348.
2011-04-29 17:51:27 +00:00
cb380a9b1c Simplify profile report code. Bump version number to make it easily distinguishable.
This was SVN commit r9347.
2011-04-29 17:32:35 +00:00
d96fefd4a4 Fix linker errors with GCC 4.6, and some warnings.
This was SVN commit r9346.
2011-04-29 16:32:58 +00:00
8af82baf67 # Minor particle system fixes.
Support emitters that are fully running as soon as the game starts.
Fix particle clumping when moving from off-screen to on-screen, by
computing updates more incrementally.
Fix overzealous culling of models with particle emitters.
Add particles to renderer stats.

This was SVN commit r9345.
2011-04-29 12:26:31 +00:00
96eb76f860 This was SVN commit r9344. 2011-04-29 03:11:02 +00:00
5f634930e2 This was SVN commit r9343. 2011-04-29 03:04:52 +00:00
affea0f2ce #Updated Iberian unit stats and balance.
This was SVN commit r9342.
2011-04-29 02:33:11 +00:00
17ee62bc0b Iberian and Celt outpost garrison flags
This was SVN commit r9341.
2011-04-28 22:51:38 +00:00
67ca7461cd Adds Skip method to SGUIMessage which works more or less like wxEvent.Skip: GUI objects can allow other event handlers to process an input event after they finish.
Allows hotkey handling of mousewheel events after minimap. Fixes #673.
Adds SendEvent to GUI objects, used in place of separate calls to
HandleMessage and ScriptEvent.

This was SVN commit r9340.
2011-04-28 20:42:11 +00:00
9d5539a215 fix runtime check error - see http://www.wildfiregames.com/forum/index.php?showtopic=14656&pid=218675&st=0&#entry218675
thanks to Yves for reporting this + suggesting the fix.

This was SVN commit r9339.
2011-04-28 17:13:55 +00:00
f69c013d68 Beginnings of balancing Iberian units.
This was SVN commit r9338.
2011-04-28 05:35:52 +00:00
587b41016f Fixed the scale of the decal.
This was SVN commit r9337.
2011-04-28 03:09:03 +00:00
fb411d3f39 Fixes slightly broken game attributes and setup.
Includes random map size and seed in reportPerformance. Fixes #793.
Fixes loading screen to use actual map names.

This was SVN commit r9336.
2011-04-28 01:21:02 +00:00
fbfecbf802 fortress_briton garrison flag
This was SVN commit r9335.
2011-04-27 22:04:16 +00:00
24a1d91feb iber_fortress garrison flag added
This was SVN commit r9334.
2011-04-27 21:35:29 +00:00
4e74798585 Be more robust to visibility checks outside the map. Fixes #765.
This was SVN commit r9333.
2011-04-27 21:03:08 +00:00
6da0027b32 fortress_gallic garrison flag added
This was SVN commit r9332.
2011-04-27 21:02:01 +00:00
e4b530fb1a Clean up some GL state explicitly
This was SVN commit r9331.
2011-04-27 20:12:58 +00:00
e9e0f0035f This was SVN commit r9330. 2011-04-27 17:07:52 +00:00
88f6633b22 Tweaked the Median Oasis map a bit. Slowed down the slinger projectile a little bit so we can see it in-flight. :)
This was SVN commit r9329.
2011-04-27 14:38:02 +00:00
6e2bfa0f07 This was SVN commit r9328. 2011-04-27 12:12:01 +00:00
a872e4a6ad Attempt to fix reported GL error
This was SVN commit r9327.
2011-04-27 09:41:28 +00:00
9759362b62 New celt temple. celt_struct texture changes. Renaming old temples to stone monuments
This was SVN commit r9326.
2011-04-26 22:40:08 +00:00
51c7a6d193 This was SVN commit r9325. 2011-04-26 22:03:21 +00:00
baabff617d Iberian Spearman animation line fixed. It was calling an empty animation line in the actor.
This was SVN commit r9324.
2011-04-26 21:55:58 +00:00
7a0b545286 New Acropolis map called "Necropolis."
This was SVN commit r9323.
2011-04-26 21:48:50 +00:00
8e20c00dd3 # Add numbered unit selection groups, based on patch from Badmadblacksad.
Fixes #773.

This was SVN commit r9322.
2011-04-26 18:19:16 +00:00
0a66f8a188 Larger siege texture.
This was SVN commit r9321.
2011-04-25 07:07:25 +00:00
b3ec9b35a5 #3 new Loading Tips.
This was SVN commit r9320.
2011-04-25 02:19:28 +00:00
1272587a3e #5 new Loading Tips.
Map tweaks and updates.

This was SVN commit r9319.
2011-04-25 01:04:51 +00:00
0a1313a9ff #New tips images.
This was SVN commit r9318.
2011-04-24 18:49:54 +00:00
6468bfa2c4 Name fix.
This was SVN commit r9317.
2011-04-24 16:52:02 +00:00
3698b9acd4 This was SVN commit r9316. 2011-04-24 05:58:05 +00:00
4f3fe0f64c Updated some Iberian unit animations.
This was SVN commit r9315.
2011-04-24 05:55:29 +00:00