Commit Graph

389 Commits

Author SHA1 Message Date
Ykkrosh fe92d524d6 Fix JS_THREADSAFE redefinitions (it's defined by the build system now)
This was SVN commit r7231.
2009-12-28 17:07:29 +00:00
Ykkrosh f0d9806b3f # Restructured GUI implementation
CGUI now represents a single 'page'. CGUIManager maintains multiple
pages and switches between them.
Split the XML files into pregame, loading, session and messagebox pages.
Added hotloading of GUI pages.
Minor GUI cleanups.
(Merge from hg 81862d33780c)

This was SVN commit r7214.
2009-12-03 20:17:22 +00:00
janwas 6cc0b1649a robustified GetPatch / GetTile:
- clarify the meaning of mapSize (patchesPerSide)
- use a single ClampCoordToMap function for clamping
- add annotations to all call sites when it is sure they will succeed
- otherwise, ensure return value is checked or at least add debug_assert
fixes #311 (successfully built house and dock at top of latium map)
thanks to Heron for tracking down the cause!

This was SVN commit r7183.
2009-11-08 16:49:52 +00:00
Ykkrosh 3334c83ce0 Fix build and tests on Linux
This was SVN commit r7174.
2009-11-06 18:35:32 +00:00
janwas 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
janwas 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
Ykkrosh 724418b1d6 Use extended regexps instead of advanced, for portability
This was SVN commit r7140.
2009-09-11 16:41:18 +00:00
Ykkrosh 5c8861adf4 Remove redundant -L linker arguments on non-Windows.
Fix some compiler warnings.
Fix missing non-PCH headers.

This was SVN commit r7083.
2009-08-07 17:22:05 +00:00
Ykkrosh 5294821694 Attempt to fix type ambiguity (http://www.wildfiregames.com/forum/index.php?showtopic=12546)
This was SVN commit r7068.
2009-08-03 09:50:23 +00:00
Ykkrosh 008d894dd7 Fix some GCC warnings
This was SVN commit r7048.
2009-07-28 16:59:19 +00:00
Ykkrosh cdfb58a62f Fix some more GCC warnings
This was SVN commit r7045.
2009-07-28 09:27:56 +00:00
Ykkrosh cd0554c6bc Fix Linux build warnings
This was SVN commit r7034.
2009-07-25 20:35:48 +00:00
Ykkrosh 21b3d13c64 Avoid calling unnecessary inline functions, to work around GCC visibility issues (see #281)
This was SVN commit r7030.
2009-07-22 16:37:40 +00:00
olsner 7a942d29e7 Only try to use valgrind stuff if --with-valgrind is given to update-workspaces.sh
This was SVN commit r7018.
2009-07-18 02:06:42 +00:00
Ykkrosh 6525cfd39e Patch from #259: [FreeBSD compat] portability fixes
This was SVN commit r7002.
2009-07-16 16:57:59 +00:00
Ykkrosh 9e3b4276f9 Fixed build on Windows
This was SVN commit r6938.
2009-07-02 14:04:59 +00:00
Ykkrosh 98fe150d1e Atlas C++/JS editing tool bridge
This was SVN commit r6937.
2009-07-02 13:41:41 +00:00
Ykkrosh 4d4dc98bb5 # Integrated Actor Viewer tool into the Scenario Editor
and rewrote its UI in JS, but lost a few features (which could be added
back later)

This was SVN commit r6936.
2009-07-02 12:58:51 +00:00
Ykkrosh cc572d26c7 Fixed wxJS GetKeyState. Fixed crash when manipulating a destroyed button.
This was SVN commit r6935.
2009-07-02 11:47:32 +00:00
Ykkrosh 34d0f012e8 # Converted Atlas's object-settings UI into JavaScript.
(Note: This breaks the Actor Viewer, hopefully temporarily.)

This was SVN commit r6932.
2009-06-26 22:43:49 +00:00
Ykkrosh 9a977c9962 Fixed Linux build issue
This was SVN commit r6931.
2009-06-26 21:49:46 +00:00
Ykkrosh b7802901c5 Added wxSizer::clear to wxJS
This was SVN commit r6930.
2009-06-26 21:45:37 +00:00
Ykkrosh 0e9169a158 Avoid boolean ambiguity
This was SVN commit r6929.
2009-06-26 21:44:54 +00:00
Ykkrosh a56bd4b2c1 Add GPL header to Atlas code
This was SVN commit r6910.
2009-06-20 16:13:29 +00:00
Ykkrosh 43ba574b85 Set svn:eol-style=native
This was SVN commit r6909.
2009-06-20 16:11:53 +00:00
Ykkrosh bc78e877be Add a script that I forgot to commit earlier
This was SVN commit r6908.
2009-06-20 14:57:02 +00:00
Ykkrosh 37dbdf4969 Expose wxGetKeyState via wxJS
This was SVN commit r6907.
2009-06-20 14:53:38 +00:00
Ykkrosh 8c175a7f29 Test XML attribute value encoding
This was SVN commit r6820.
2009-04-13 17:50:26 +00:00
Ykkrosh 2d15c81313 # Updated autobuilder to build Atlas
(and also Collada), via options in the admin UI

This was SVN commit r6792.
2009-03-27 01:19:55 +00:00
Ykkrosh 435177434b More autobuilder WIP
This was SVN commit r6789.
2009-03-27 00:40:18 +00:00
Ykkrosh 0b139cbd99 Autobuilder update (WIP)
This was SVN commit r6788.
2009-03-26 23:46:52 +00:00
Ykkrosh 433c34cd94 Fix warnings on Windows
This was SVN commit r6776.
2009-03-24 23:07:48 +00:00
Ykkrosh 079d9032ac Fix memory leak
This was SVN commit r6769.
2009-03-24 00:28:24 +00:00
Ykkrosh fd20cda5b6 # More XML stuff
Added some tests for Xeromyces. Refactored it a bit to make it testable.

This was SVN commit r6768.
2009-03-23 21:53:17 +00:00
Ykkrosh f74f772a41 # More libxml2
Use libxml2 for parsing in Atlas. Plus some tests for it.

This was SVN commit r6764.
2009-03-23 01:07:08 +00:00
Ykkrosh 7610d4361c # Started using libxml2
This was SVN commit r6763.
2009-03-22 20:51:35 +00:00
Ykkrosh 6768858cf1 Fix some GCC warnings
This was SVN commit r6762.
2009-03-22 20:47:43 +00:00
Ykkrosh ed65cf33d0 Removed unnecessary debug output from autobuilder
This was SVN commit r6715.
2009-02-28 18:46:37 +00:00
Ykkrosh 43f91d0d0b Make the autobuilder write svn_revision.txt
This was SVN commit r6704.
2009-02-24 15:43:34 +00:00
Ykkrosh 6a7fdd8315 # Updated autobuilder
Also added the autobuild manager scripts

This was SVN commit r6697.
2009-02-19 22:25:31 +00:00
Ykkrosh 778ab75cfe Updating build script to help with testing the autobuilder
This was SVN commit r6692.
2009-02-19 00:26:50 +00:00
Ykkrosh b51353ae0b Use NONCOPYABLE macro, to avoid ICC warnings
This was SVN commit r6589.
2009-01-03 18:40:28 +00:00
Ykkrosh 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
Ykkrosh b7585c1cd4 Attempt to fix some startup problem
This was SVN commit r6572.
2009-01-02 02:35:22 +00:00
Ykkrosh 702450526b # Added some tools to automatically build the game from the source code
Various scripts and stuff that run on the build server

This was SVN commit r6571.
2009-01-01 23:00:46 +00:00
Ykkrosh 1b5adf3cb1 Autobuilder startup service code (basically just VC2008's default service project plus four lines of code in startupserviceWinService.h)
This was SVN commit r6569.
2009-01-01 22:45:56 +00:00
Ykkrosh 2bfa84aef5 Changes to public SVN log's HTML output format, from last weekend
This was SVN commit r6525.
2008-11-28 22:30:50 +00:00
Ykkrosh d6469ea112 Testing SVN logger again...
This was SVN commit r6499.
2008-11-22 15:09:24 +00:00
Ykkrosh 62444bf359 Testing SVN logger again...
This was SVN commit r6498.
2008-11-22 15:08:27 +00:00
Ykkrosh a2ae80239a # Updated public SVN logger
Mostly just changes to work in the new server location

This was SVN commit r6497.
2008-11-22 15:05:41 +00:00