1
0
forked from mirrors/0ad
Commit Graph

1164 Commits

Author SHA1 Message Date
historic_bruno 41e3bad341 More build fixes for FreeBSD.
Adds BSD sysdep.
Adds support for MAKE variable, overriding make command in our build
scripts.
Fixes more files not ending with newline.

This was SVN commit r10994.
2012-01-31 00:06:56 +00:00
historic_bruno fc27a5c0ea More FreeBSD build fixes.
Fixes some warnings about files that don't end with newline.

This was SVN commit r10991.
2012-01-30 06:21:11 +00:00
Ykkrosh cc5a0fba4e Use shader API for GUI text.
Flip GUI quads so we don't have to disable back-face culling.

This was SVN commit r10989.
2012-01-30 00:27:23 +00:00
Ykkrosh 04c63a4093 Clean up some text rendering to avoid relying on deprecated GL matrix state.
Use scissor instead of deprecated clip planes for GUI text.
Remove unused support for generic font names.

This was SVN commit r10985.
2012-01-29 20:04:21 +00:00
Ykkrosh 8ca59d418d Partially fix hotloading (see #848)
This was SVN commit r10977.
2012-01-29 01:19:54 +00:00
Ykkrosh d40e4797de Report timer_Resolution via hwdetect
This was SVN commit r10947.
2012-01-22 13:49:09 +00:00
historic_bruno c8bf34948c Fixes no PCH build. Fixes #1113.
This was SVN commit r10914.
2012-01-15 21:48:41 +00:00
Ykkrosh 1389e754de Include *.DELETED files when building archives. See #1110.
This was SVN commit r10907.
2012-01-14 18:46:20 +00:00
historic_bruno 893cb2668e Renames our sdl.h to libsdl.h, to avoid case sensitivity errors when it includes SDL.h.
This was SVN commit r10904.
2012-01-12 23:32:27 +00:00
Ykkrosh 6bb54ee1d4 Fix Windows build
This was SVN commit r10896.
2012-01-11 23:04:33 +00:00
Ykkrosh d07eac218c SDL 1.3 build fixes.
Support SDL_CONFIG environment variable in update-workspaces to pick
non-default sdl-config.
Avoid non-standard use of SDL/ in include paths.

This was SVN commit r10895.
2012-01-11 22:50:39 +00:00
historic_bruno 1e4b950ed1 This was SVN commit r10870. 2012-01-05 03:38:54 +00:00
historic_bruno 29a8f01254 Adds missing attributes when using autostart-random (caused undefined variable warning in saved games list).
This was SVN commit r10869.
2012-01-04 22:48:32 +00:00
Ykkrosh 10527b4551 Fix #1092 (script runtime mismatch when saving games)
This was SVN commit r10868.
2012-01-04 15:28:48 +00:00
Ykkrosh 56bd4b37cd Fix #1064 more
This was SVN commit r10860.
2012-01-03 15:42:03 +00:00
Ykkrosh 0ec4242962 Detect and fix printf signedness errors. Fixes #1086, #1087.
This was SVN commit r10846.
2012-01-01 16:43:10 +00:00
janwas 23308f0259 wsdl: add error checks, add support for bpp in sdl_surface
This was SVN commit r10826.
2011-12-29 09:01:09 +00:00
Ykkrosh c4bb67a1ca Fix #1064 (use ++it instead of it++ for consistency), based on patch by Echelon9
This was SVN commit r10822.
2011-12-29 01:17:03 +00:00
Ykkrosh 52756535f3 Fix crash in GL_EXT_timer_query profiler
This was SVN commit r10819.
2011-12-28 22:00:52 +00:00
janwas 3537ae31d5 sync with work:
x86_x64: update MSR definitions to include model 2F (westmere ex);
update bus clock computation for sandy bridge; remove unused
cpu_Serialize; use namespace, add model names
mahaf: cope with stricter security for services/drivers
ApicId -> GetApicId, move to apic module
aken: add batch file to install driver (optional)

This was SVN commit r10815.
2011-12-27 14:12:31 +00:00
Ykkrosh 4f6f0b7baf Fix tests, and warnings, and non-PCH build
This was SVN commit r10801.
2011-12-23 13:01:29 +00:00
Ykkrosh 6399ec0cd2 # Partial support for saved games with AI.
Support cancelling loads while inside a loader callback.
Fix use of ArchiveReader/Writer since their API changed.
Improve error-detection in deserializer to avoid crashes.
Report deserializer errors to users.
Expand load-error message box to fit message about invalid saved games.

This was SVN commit r10787.
2011-12-22 14:04:32 +00:00
Ykkrosh 5f0d5e4137 Tidy some whitespace
This was SVN commit r10786.
2011-12-22 13:50:11 +00:00
Ykkrosh 0c84a6125b Support larger profiler JSON output
This was SVN commit r10781.
2011-12-21 11:28:24 +00:00
Ykkrosh 0ba908816f Fix line endings
This was SVN commit r10635.
2011-11-29 21:04:38 +00:00
Ykkrosh 8492426a14 Rough support for profiling replay mode and scripts
This was SVN commit r10634.
2011-11-29 20:32:43 +00:00
Ykkrosh e74d6707e4 Avoid calling glGenQueries while a timer query is active (hopefully fixes #1033)
This was SVN commit r10622.
2011-11-27 22:24:05 +00:00
janwas 301854702c add support for removing individual files from VFS and a mechanism for automatically doing so (add filename.extension.DELETED to the same directory/archive), as discussed in meeting.
refactor: split up Invalidate into RemoveFile+RepopulateDirectory
GameSetup: fix: ensure the first mod always overrides game files,
irrespective of timestamp.

This was SVN commit r10610.
2011-11-26 18:37:53 +00:00
Ykkrosh d82b85b8f3 Fix #1025 (add config option to toggle pause on window focus loss), based on patch by markcho.
This was SVN commit r10609.
2011-11-26 15:23:41 +00:00
historic_bruno 39d100c732 Moves camera projection settings to default.cfg.
Changes field of view (FOV) to 45 degrees per discussion. Fixes #941.
Tweaks default camera zoom and rotation accordingly.

This was SVN commit r10548.
2011-11-17 23:34:01 +00:00
Ykkrosh 6b1ce04aad Fix VC2008 compatibility
This was SVN commit r10544.
2011-11-16 17:49:28 +00:00
Ykkrosh ade841efdd Avoid assertion failures on abnormal exit() (e.g. dumpSchema mode)
This was SVN commit r10530.
2011-11-13 21:37:12 +00:00
Ykkrosh fbff0aa98d Fix printf argument types
This was SVN commit r10529.
2011-11-13 18:31:06 +00:00
Ykkrosh 95bd6f874e Fix OS X build by using GL_TIME_ELAPSED consistently
This was SVN commit r10516.
2011-11-12 19:29:48 +00:00
Ykkrosh 70224e7940 Fix missing symbols in old glext
This was SVN commit r10515.
2011-11-11 11:56:51 +00:00
Ykkrosh 3916c25b84 Optimise vertex skinning code with SSE, based on patch by gruby.
Fixes #905.

This was SVN commit r10499.
2011-11-09 23:11:28 +00:00
Ykkrosh 87b3b0856f Fix warning
This was SVN commit r10496.
2011-11-09 22:35:31 +00:00
Ykkrosh 8617dfd0e1 Avoid fatal error on printf overflow in profiler
This was SVN commit r10495.
2011-11-09 18:29:08 +00:00
quantumstate f2ea307507 Moved warning and debug messages to below the top bar.
This stops them obscuring the useful inormation in the bar.

This was SVN commit r10494.
2011-11-09 17:01:57 +00:00
Ykkrosh b090ec48ce Add query counter bits to hwdetect
This was SVN commit r10493.
2011-11-09 13:10:34 +00:00
Ykkrosh cfb79c3062 # Add GPU performance profiling support.
Add some profiler region attributes.
Render events in profile visualiser.
Change profiler from GPL to MIT.

This was SVN commit r10492.
2011-11-09 13:09:01 +00:00
Ykkrosh cb27a680bf Fix profiler shutdown order
This was SVN commit r10483.
2011-11-09 00:09:19 +00:00
Ykkrosh 8f3255f9c8 Fix tests and Atlas with new profiler
This was SVN commit r10471.
2011-11-05 23:09:31 +00:00
Ykkrosh 09a02c96d5 Add initial code annotations for the new profiling tool
This was SVN commit r10466.
2011-11-04 01:35:50 +00:00
Ykkrosh 9965f43067 # Engine support for new profiling tool
This was SVN commit r10465.
2011-11-04 01:33:07 +00:00
Ykkrosh 4ef66a6950 Provide JSON-compatible string escaping
This was SVN commit r10464.
2011-11-04 01:18:34 +00:00
Ykkrosh 7064565ff6 # Allow saving and loading single-player games.
Support writing zip files based on in-memory data.
Fix menu sliding animations to be framerate independent.

This was SVN commit r10454.
2011-10-30 00:07:28 +00:00
Ykkrosh b454ccca79 Fix GUI issues when reconnecting to multiplayer games
This was SVN commit r10452.
2011-10-29 14:53:13 +00:00
Ykkrosh b59e27f678 Fix assertion failure in replay mode
This was SVN commit r10443.
2011-10-27 21:22:41 +00:00
Ykkrosh 6d071123cc Add simple functions for zlib compression with embedded length headers
This was SVN commit r10436.
2011-10-27 14:21:58 +00:00