1
0
forked from mirrors/0ad
Commit Graph

6403 Commits

Author SHA1 Message Date
feneur c0e915fd5d # Added more resources to the techdemo-mp.pmp (multiplayer testing map) to make testing more fun (also added some underwater/shoreline texture)
This was SVN commit r7734.
2010-07-10 23:35:48 +00:00
janwas e6dec4b4b4 (vc2010) warning fixes
This was SVN commit r7733.
2010-07-10 18:24:02 +00:00
janwas 5030706314 more ACPI fixes (acpi_Init removed => callers must be prepared for acpi_GetTable to return 0)
This was SVN commit r7731.
2010-07-10 17:42:54 +00:00
WhiteTreePaladin 27512039a7 Made units attack enemy foundations instead of trying to build them
This was SVN commit r7730.
2010-07-10 17:28:32 +00:00
janwas c538d483bc fix overzealous assert (if windows doesn't provide the ACPI routines, the returned list of tables will of course be empty)
see
http://www.wildfiregames.com/forum/index.php?showtopic=12669&st=250&p=207927&#

This was SVN commit r7728.
2010-07-10 16:44:34 +00:00
WhiteTreePaladin 9b88e46fce Code cleanup
This was SVN commit r7727.
2010-07-09 00:19:36 +00:00
WhiteTreePaladin c50f2d6d40 If any units in a selection have the ability to perform a task, then that task will be available even if some of the units cannot perform it. Units that cannot, will simply move to the target.
This was SVN commit r7726.
2010-07-08 22:47:57 +00:00
janwas fad4383a23 fix: wasn't checking function pointers => crash on older windows versions
This was SVN commit r7724.
2010-07-08 21:07:46 +00:00
Ykkrosh 778af99416 Fix NaNs when gathering from unsupported resource types.
Fall back to walking to the target when unable to perform the specified
command on it.

This was SVN commit r7723.
2010-07-08 20:08:08 +00:00
Ykkrosh 56e1802b81 Show message box when opening URL, since it might take a while to launch the browser
This was SVN commit r7721.
2010-07-08 18:46:39 +00:00
Ykkrosh a761cbdb6e Fix URL opener on OS X
This was SVN commit r7720.
2010-07-08 18:35:02 +00:00
janwas fdf92bee98 warning fixes
This was SVN commit r7719.
2010-07-08 10:58:24 +00:00
janwas b2c4a8597e enable use of ACPI without the mahaf driver (required for NUMA SRAT access at work). also use new DLL import macros.
This was SVN commit r7718.
2010-07-08 10:33:38 +00:00
janwas 8c1bd05ab9 fixes+improvements from work (overhaul wutil, add convenience macros for DLL imports)
This was SVN commit r7717.
2010-07-08 10:18:42 +00:00
janwas 0c149cf447 fix SxS failure when vc2008 is installed but not patched vc2005 (similar to #510)
some of our libraries are compiled with an outdated vc2005, which causes
a manifest dependency on msvcr80d v762, while our manifest and DLLs have
been updated to 4053. finally bit the bullet and added a redirection
from 762 to 4053 to fix this nightmare.
references:
http://blogs.msdn.com/b/dsvc/archive/2010/02/22/adding-a-configuration-file-for-a-vc-dll.aspx
http://stackoverflow.com/questions/1347713/per-application-config-file-bindingredirect-doesnt-apply-to-dlls

This was SVN commit r7716.
2010-07-08 10:14:05 +00:00
Ykkrosh 88f25849b3 Windows fixes
This was SVN commit r7715.
2010-07-07 22:23:18 +00:00
Ykkrosh 4b06ebd52d Add basic help page into the main menu.
Add buttons to open the web site and IRC.
Tentatively allow Atlas to be launched from the menu.
Add some shutdown functions to support relaunching into Atlas without
having to restart the whole process.

This was SVN commit r7714.
2010-07-07 21:47:31 +00:00
WhiteTreePaladin db8dda7bda Used Hele portrait sheet for units that begin with "camp"
Made button layout ever so slightly more efficient
Fixed some more Hellene animation speeds

This was SVN commit r7713.
2010-07-07 13:28:37 +00:00
Ykkrosh 7a58980ad6 Remove unneeded genericity
This was SVN commit r7712.
2010-07-07 10:47:20 +00:00
Ykkrosh 1eb64ebb26 Fix non-PCH builds
This was SVN commit r7711.
2010-07-07 10:39:41 +00:00
Ykkrosh 8d9fa66b67 Fix warning
This was SVN commit r7710.
2010-07-07 10:39:12 +00:00
Ykkrosh 6bd38c1e5d Report errors when hosting/joining fails
This was SVN commit r7709.
2010-07-06 20:51:45 +00:00
Ykkrosh 5d5cb02b21 Disable visible logging of network messages
This was SVN commit r7708.
2010-07-06 20:31:05 +00:00
Ykkrosh dc5a78af30 Fix simulation test
This was SVN commit r7707.
2010-07-06 20:30:22 +00:00
Ykkrosh 31699e830d Handle disconnections better.
Remove local sessions (just use ENet for everything instead) because
they add far too much complexity.
Fix memory leaks.

This was SVN commit r7706.
2010-07-06 19:54:17 +00:00
Ykkrosh 32933c501a Fix uninitialised value in logger.
This was SVN commit r7705.
2010-07-06 19:53:08 +00:00
Ykkrosh b539188810 Prevent ugly output from logger when vswprintf fails before filling the buffer (triggered by Unicode characters on OS X).
This was SVN commit r7704.
2010-07-06 11:06:17 +00:00
Ykkrosh a46612d51e GCC 4.0 build fix
This was SVN commit r7703.
2010-07-06 10:43:06 +00:00
WhiteTreePaladin 1bfb913a69 Fixed attempt to perform a string operation on a template instead of the template name
Worked on Hellene actor animation speeds
(They will still need some more tweaking)

This was SVN commit r7702.
2010-07-06 01:23:50 +00:00
WhiteTreePaladin 5be1052ad0 Fixed a GUI selection display bug where the final element of a large selection was wrapping around and replacing the first selection group.
Added and removed some utility functions in session.js

This was SVN commit r7701.
2010-07-05 23:04:38 +00:00
Ykkrosh 76a099f626 Reserve space for minimap units. Saves approximately 0.01ms per frame.
This was SVN commit r7700.
2010-07-05 19:18:40 +00:00
Ykkrosh b5c5467c88 Fix errors when compiling with _GLIBCXX_PROFILE
This was SVN commit r7699.
2010-07-05 19:13:22 +00:00
Ykkrosh 65f4f2f0f2 Fix houses increasing pop limit before construction has finished
This was SVN commit r7698.
2010-07-05 18:28:19 +00:00
WhiteTreePaladin 669b230522 Re-enabled "remove from training queue" buttons since they work now
This was SVN commit r7697.
2010-07-05 16:56:30 +00:00
WhiteTreePaladin 5d224bbeb6 Added tooltip to rank icon
Some code cleanup / rework
Minor fixes

This was SVN commit r7696.
2010-07-05 16:50:06 +00:00
Ykkrosh 98a2a887c8 Warning fix
This was SVN commit r7695.
2010-07-05 08:55:09 +00:00
Ykkrosh 9b9e4fa1b4 Support Unicode reliably in logger, via explicit conversion to UTF-8.
Expand date buffer to avoid Y10K bug, Y100K bug, etc.

This was SVN commit r7694.
2010-07-05 00:03:10 +00:00
Ykkrosh 018f3d71d9 Partially fix network tests
This was SVN commit r7693.
2010-07-04 19:59:05 +00:00
Ykkrosh 586ba51e4a Fix lossy fixed<->jsval conversion.
(Hopefully this will really fix the OOS errors.)

This was SVN commit r7692.
2010-07-04 19:47:31 +00:00
Ykkrosh dff694f0f0 Fix units spawning on top of each other.
Add type-safety to prevent that kind of bug happening again.

This was SVN commit r7691.
2010-07-04 17:19:38 +00:00
Ykkrosh e8b264835a Add fixed-point sin/cos, to fix OOS errors
This was SVN commit r7690.
2010-07-04 17:15:57 +00:00
Ykkrosh f6081101e7 Use more precision in debug serialization, to help debugging of OOS errors
This was SVN commit r7689.
2010-07-04 17:03:45 +00:00
Ykkrosh 7cef282d06 Fix some printf string formatting
This was SVN commit r7688.
2010-07-04 16:52:14 +00:00
janwas 6d3930ace7 fix: don't generate spurious resize events in fullscreen mode when interacting with another topmost window
fix: don't store a PIVFS reference in HDATA, because those aren't freed
due to caching (fixes memory leak)

This was SVN commit r7687.
2010-07-04 11:12:50 +00:00
janwas d2cf6ceb88 less global variables: make most uses of g_VFS explicit (required for another app that has two VFSes), g_yres is no longer required by cursor module
This was SVN commit r7686.
2010-07-04 10:15:53 +00:00
WhiteTreePaladin d764473844 Fixed resource quantities not showing for player owned units
This was SVN commit r7685.
2010-07-04 03:49:58 +00:00
WhiteTreePaladin 22d7f871ed Entities that have 0 resources remaining are now removed
This was SVN commit r7684.
2010-07-04 02:36:30 +00:00
WhiteTreePaladin 3af3cbe99a Fixed the GUI selection issue where killed units were not being removed from the selection or the selection display
This was SVN commit r7683.
2010-07-04 01:03:14 +00:00
Ykkrosh 56b836f58d Call enet_initialize (see previous commit message). Fixes #509.
This was SVN commit r7681.
2010-07-03 19:31:14 +00:00
janwas 3ff0ccc1fa we noticed that vcbuild somehow excludes winit function pointers from components that don't contain externals referenced by the main EXE (i.e. wposix, wnuma, wsock). the solution will include calling enet_initialize (to replace or coexist with wsock), removing wposix (see below) and ignoring wnuma (because apps that use it will need to call its functions).
wposix's sysconf is no longer used because OS X doesn't support some of
the POSIX names, so we had to add os_cpu routines that supplant the use
of sysconf. am now removing the no-longer needed sysconf emulation,
which also gets rid of wposix_Init.

This was SVN commit r7680.
2010-07-03 19:08:18 +00:00