Commit Graph

5375 Commits (6c1bafbf775276c9ab28f846e7c42e5dc0f52c3c)

Author SHA1 Message Date
Freddie Witherden 0c2180e7c9 Remove the near-useless 'looser gifts' on account that no one has ever actually received them...ever.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6704 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 21:48:42 +00:00
Per Inge Mathisen 7248c712ac Remove dead code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6702 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 21:06:12 +00:00
Buginator cdc704b487 Adds debug() statements to sync code, and ups the sync rate a bit--not that it helps that much.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6699 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 20:11:15 +00:00
Buginator ebbac5e6e9 * Do NOT calculate power when we create a droid on local machine, since we *know* that the droid's creator had enough power to build it in the first place. Instead, we set the player's power at this point.
* Add more debug() clarification comments/lines.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6698 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 20:08:49 +00:00
Buginator b5e8e28001 Fixes Research topic crash
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6697 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 20:06:56 +00:00
Per Inge Mathisen ebd9718aff Put naval propulsion back. Mistakenly removed in r6695.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6696 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 19:50:52 +00:00
Guangcong Luo ae28099a95 Rebalance 0.2.4 - fixes many balance problems. Changes documented on Warzone Guide - currently available at http://guide.wz2100.net/new/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6695 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 18:06:37 +00:00
Buginator 9d868d4c0c Adds LOG_LIFE to track when units are created.
(We already had LOG_DEATH)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6694 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 17:59:57 +00:00
Buginator 33ca3b9ecc Changes a few debug() lines to give better info.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6693 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 17:49:53 +00:00
Buginator 7aec5dd86a Fixes LaSat strikes again.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6692 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-22 17:44:58 +00:00
Gerard Krol 5601741b95 Brace for impact, this is the new terrain renderer!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6682 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 23:35:21 +00:00
Gerard Krol 3fa8a7e4ce The textures for the new terrain renderer. These are committed separately to make reverting the actual code changes easier.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6681 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 23:32:30 +00:00
Buginator 17de0cfaab Fixes issue with picking a 'invalid color flag' (for SP) in a MP game, and then trying to go to the game options screen to change whatever.
Also removes a spamming debug() line

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6680 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 22:54:58 +00:00
Buginator e920507134 Change debug() output from gametime to real time.
In MP games, since gametime can vary so much between machines, needed a more reliable time source to sync up messages between them.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6679 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 22:24:02 +00:00
Buginator 19a76d4320 Blow up the walls as well when a player leaves/drops.
We don't need reminders of their wall building skills.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6678 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 22:16:25 +00:00
Buginator 9e0767ecfd * Fixes memory leak.
* Fixes eventFireCallbackTrigger which was called multiple times.

* LOG_NET is to *only* be used for network traffic, not for sync issues.

* Adds visual display about when player leaves/drops.

* Adds / cleans up debug messages concerning connection issues.

* Adds new message type NET_PLAYER_DROPPED, (as opposed to NET_PLAYER_LEAVING). One is when we lose a connection, the other is when a player quits 'normally'.


Will be adding icons from Ticket #247 done by Zarel soon.

NOTE: please use --debug net if you have connection issues!


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6677 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 22:09:58 +00:00
Buginator 41749efffb Remove the duplicate 'win' & 'loss' message (/ video) from playing on game win/lost.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6675 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 21:43:19 +00:00
Buginator 3c6fb634f0 Adds some checks to detect NULL pointers in these two functions which resulted in crashes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6674 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 21:41:08 +00:00
Buginator 68888ac5a0 Adds a forgotten 'info' response when debug menu is opened.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6673 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 21:37:30 +00:00
Giel van Schijndel 6e1d019403 * Update SQLite stats database
* Fix loading of stats from the SQLite database (utilised in the campaign)

This fixes #276 and #269.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6670 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 21:09:37 +00:00
Freddie Witherden c5f23a0739 Move the modifyResources function into the body of loadPowerGenFunction on account that it is only ever called from there.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6669 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-21 15:58:03 +00:00
Dennis Schridde b3ea581e61 Fix wrong dependency in win32 data creation, and use correct names after dir rename
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6668 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-20 15:25:57 +00:00
Per Inge Mathisen 8e3bd16a4d Remove dead mission code, and doxygenize mission.h a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6667 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 21:37:13 +00:00
Freddie Witherden 8edf7e88e0 Simplify projectile range-clipping using the CLIP macro.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6666 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 21:18:08 +00:00
Per Inge Mathisen ac5170ab5d Remove more dead gateway code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6665 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 21:14:24 +00:00
Freddie Witherden 2f941b931f Remove the (mostly) dead function FeedbackClickedOn, replacing it with FeedbackOrderGiven.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6664 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 21:05:09 +00:00
Freddie Witherden 1d9dd3ea82 Fix a minor indentation issue in clipboard.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6663 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 20:43:42 +00:00
Per Inge Mathisen 3e96bd6b1d Clean up mapLoad(), using physfs to read directly from file instead of casting structs to a memory buffer. Closes ticket:274.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6662 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 20:35:43 +00:00
Per Inge Mathisen f002d651e7 Fix bug #273 - server crashes if more than 6 players join a game. Reviewed by devurandom.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6659 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-19 20:01:10 +00:00
Per Inge Mathisen d073d9cc7c Remove dead gateway<->zone code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6657 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-18 19:35:28 +00:00
Guangcong Luo c74230d192 Commit patch #77 - Anti-aliased full-sized recolored cursors
(It's been months... We really shouldn't sit on patches with no objections for this long...)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6656 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-17 05:57:08 +00:00
Guangcong Luo c378975386 Commit patch #264 - Enable cursors on Mac OS X
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6655 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-17 05:24:15 +00:00
Per Inge Mathisen a95f8e221a Clean out some dead code from map loading.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6654 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-16 22:30:51 +00:00
Buginator 60dbe83260 Updates .diff file on what we changed from the 'clean' 5.4 to the version that we use.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6653 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 22:17:05 +00:00
Buginator e601d071d0 Fixes #267 (and Fixes #268)
"If teams are already set, and host clicks on no alliance, teams are not reset. "

So I reset them back to default.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6652 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 21:04:08 +00:00
Buginator a8be3ee501 LOG_NET should not be used for reporting sync issues. Use LOG_SYNC for that.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6651 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 19:30:51 +00:00
Giel van Schijndel 4d150cfcc8 Remove testing code which is no longer needed (because src/stats-db2.* serves the same purpose now)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6650 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 13:05:19 +00:00
Giel van Schijndel d862f39362 Don't add a separating comma if we've already printed the last column definition
This was done when we'd have a C-only-field.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6649 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:46:45 +00:00
Giel van Schijndel 99d6bf1529 Bring stats-db2.data.sql in sync with the stats
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6648 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:46:42 +00:00
Giel van Schijndel 4d7cb371e7 iAudioFireID and iAudioImpactID aren't stored in the CSV files, so don't store them in the database either (for now)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6647 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:32:40 +00:00
Giel van Schijndel 57de43c140 * Generate CREATE VIEW statements in the SQL schema
* Use these VIEWs instead of rather complicated SELECT statements in the C SQLite loading code

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6646 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 12:32:29 +00:00
Guangcong Luo 3da7593492 spelling corrections
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6645 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 08:18:25 +00:00
Buginator 46cac4d64b Fixes #169
Reset team status on new map picks.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6644 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 06:37:30 +00:00
Buginator 1b5f3fafca Fixes #258
Updates cheat routines to cover all possible cheat functions, so they are all now reported.



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6643 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 06:29:54 +00:00
Buginator e2cfc4cc32 This fixes version 5.4 of GLee so that it compiles cleanly on gcc again.
We need to change the Glee.diff file as well.

Closes ticket #262

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6642 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 06:17:47 +00:00
Buginator 2b350ea649 Updates GLee to 5.4
**NOTE**: this will break gcc compiles.  The fix is in the next commit, so we can get a clean diff from the "clean" 5.4 to the modified version that we require.

Change log:

    * OpenGL 3.0 support, and 41 new extensions.
    * 5.4 : fixes for GL_NV_gpu_program4, GL_EXT_shader_program4.
    * 5.4 : Added 5 new extensions :
          o GL_EXT_texture_swizzle
          o GL_NV_explicit_multisample
          o GL_NV_transform_feedback2
          o WGL_NV_gpu_affinity
          o GLX_ARB_create_context
    * 5.4 : Various dead/dummy extensions have been removed, including :
          o GL_NV_geometry_program4 (merged with GL_NV_gpu_program4)
          o GL_NV_vertex_program4 (merged with GL_NV_gpu_program4)
          o GL_NV_fragment_program4 (merged with GL_NV_gpu_program4)
          o WGL_NV_video_out (renamed to WGL_NV_video_output)
    * 5.33 : fixes some GCC warnings
    * 5.33 : fixes some conflicts with glext.h on OS X
    * 5.33 : fixes an issue where 2 extensions could go missing on some platforms
    * 5.32 : fixes a potential access violation in __GLeeGetExtensions - thanks to Jacques Beaurain for spotting this bug.
    * 5.31 : fixes a GLX compile error
    * 5.30 : Better Linux/Mac OS support


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6641 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 06:14:38 +00:00
Buginator ac9a882f07 Fixes #257
Can compile OK with MSVC once again.

Frame.h must be included before default system header #includes, so we don't have linker redefinitions & conflicts with the non C99 compliant routines that MSVC uses.
Or in other words, we want our C99 compliant routines to override the default routines that MSVC uses.



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6640 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 06:09:24 +00:00
Guangcong Luo 1f5ab803ed Updated MinGW32 makefiles; fix "multiple half-tracks" bug.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6639 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 05:49:09 +00:00
Buginator af112296c6 Updated MSVC project & solution file(s).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6638 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 05:46:13 +00:00
Buginator 55d3044f15 Updated MSVC project & solution file(s).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6637 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-15 05:42:09 +00:00