[Warzone-commits] r611 - in /trunk: lib/framework/ lib/ivis_common/ lib/ivis_opengl/ src/
Author: muggenhor Date: Mon Jan 8 00:50:30 2007 New Revision: 611 URL: http://svn.gna.org/viewcvs/warzone?rev=611&view=rev Log: enabled some more code to compile with a C++ compiler without -fpermissive (i.e. there should be *less* compile-time errors now) * moved several #defines to the enums where they belong * changed some datatypes on declaration * prepended casts to malloc calls (using typeof() style) * changed some (void*) casts to (void**) where required * removed several #defines and there instances and then replaced them with their corresponding values from an enum Modified: trunk/lib/framework/input.h trunk/lib/ivis_common/ivisdef.h trunk/lib/ivis_opengl/rendmode.c trunk/src/arrow.c trunk/src/configuration.c trunk/src/csnap.c trunk/src/functiondef.h trunk/src/game.c trunk/src/init.c trunk/src/init.h trunk/src/keybind.c trunk/src/keyedit.c trunk/src/keymap.c trunk/src/keymap.h trunk/src/levels.c trunk/src/levels.h trunk/src/lighting.h trunk/src/map.c trunk/src/mapgrid.c trunk/src/message.c trunk/src/message.h trunk/src/multiint.c trunk/src/multilimit.c trunk/src/multiopt.c trunk/src/multistat.c trunk/src/radar.c trunk/src/scores.c trunk/src/scriptai.c trunk/src/scriptfuncs.c trunk/src/scriptvals.c trunk/src/seqdisp.c trunk/src/stats.c trunk/src/stats.h trunk/src/statsdef.h trunk/src/texture.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r610 - in /trunk/src: multimenu.c scriptfuncs.c
Author: troman Date: Sun Jan 7 21:15:07 2007 New Revision: 610 URL: http://svn.gna.org/viewcvs/warzone?rev=610&view=rev Log: -fixed assert and debug message Modified: trunk/src/multimenu.c trunk/src/scriptfuncs.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r609 - in /trunk/data/multiplay/skirmish: player0.slo player0.vlo player1.slo player1.vlo player2.slo player2.vlo player3.slo player3.vlo player4.slo player4.vlo player5.slo player5.
Author: troman Date: Sun Jan 7 21:11:50 2007 New Revision: 609 URL: http://svn.gna.org/viewcvs/warzone?rev=609&view=rev Log: AI update: -AI can now request help using chat messages when in trouble. -AI can recognize other players (Humans or AIs) asking for help and react accordingly by sending units to help ally - indicate position on the map with a beacon (Alt+H) and send a chat message requesting help. Example: "Help" Addresses all players sender communicates with. Certain AIs can be addressed directly: "Black, Red and SantaClaus help me!!!" -"i'm fine" or similar forms understood by lexical parser will notify AIs to send its units back. Modified: trunk/data/multiplay/skirmish/player0.slo trunk/data/multiplay/skirmish/player0.vlo trunk/data/multiplay/skirmish/player1.slo trunk/data/multiplay/skirmish/player1.vlo trunk/data/multiplay/skirmish/player2.slo trunk/data/multiplay/skirmish/player2.vlo trunk/data/multiplay/skirmish/player3.slo trunk/data/multiplay/skirmish/player3.vlo trunk/data/multiplay/skirmish/player4.slo trunk/data/multiplay/skirmish/player4.vlo trunk/data/multiplay/skirmish/player5.slo trunk/data/multiplay/skirmish/player5.vlo trunk/data/multiplay/skirmish/player6.slo trunk/data/multiplay/skirmish/player6.vlo trunk/data/multiplay/skirmish/player7.slo trunk/data/multiplay/skirmish/player7.vlo ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r608 - in /trunk/lib/script: chat_lexer.l chat_parser.y
Author: troman Date: Sun Jan 7 20:44:04 2007 New Revision: 608 URL: http://svn.gna.org/viewcvs/warzone?rev=608&view=rev Log: Lexical parser update: -Fixed endless recursion in one of the lexical parser rules. -Disabled log warnings when no meaningful information could be extracted form a player chat message. -Small update to the lexical chat parser rules. Modified: trunk/lib/script/chat_lexer.l trunk/lib/script/chat_parser.y ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r607 - /trunk/src/message.c
Author: troman Date: Sun Jan 7 20:36:58 2007 New Revision: 607 URL: http://svn.gna.org/viewcvs/warzone?rev=607&view=rev Log: Disabled ability to click on help blips - this seem to cause ugly GFX artefacts sometimes, text could not be manually set by players anyway. Modified: trunk/src/message.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r606 - in /trunk: lib/sound/ src/
Author: devurandom Date: Sun Jan 7 20:29:26 2007 New Revision: 606 URL: http://svn.gna.org/viewcvs/warzone?rev=606&view=rev Log: - Expand DISP_HEIGTH/DISP_WIDTH - Remove an unused function Modified: trunk/lib/sound/aud.h trunk/src/aud.c trunk/src/bucket3d.c trunk/src/console.c trunk/src/console.h trunk/src/disp2d.c trunk/src/disp2d.h trunk/src/display.c trunk/src/display3d.c trunk/src/displaydef.h trunk/src/edit2d.c trunk/src/frontend.c trunk/src/geometry.c trunk/src/hci.c trunk/src/hci.h trunk/src/init.c trunk/src/keybind.c trunk/src/multisync.c trunk/src/scores.c trunk/src/seqdisp.c trunk/src/warcam.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r605 - /trunk/src/component.c
Author: troman Date: Sun Jan 7 20:08:23 2007 New Revision: 605 URL: http://svn.gna.org/viewcvs/warzone?rev=605&view=rev Log: Fixed a crash when a cyborg mechanic gets destroyed. Modified: trunk/src/component.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r604 - /trunk/lib/sound/openal_track.c
Author: muggenhor Date: Sun Jan 7 17:28:54 2007 New Revision: 604 URL: http://svn.gna.org/viewcvs/warzone?rev=604&view=rev Log: soundsystem fixes/improvements * remove file-global var `ALfloat listenerPos[3]` and replaced with function calls to alListener{Get}{n}{fi}{v}( AL_POSITION, ... ) * modified sound_SetObjectPosition() to be better human-readable (removed some unnecessary temporary vars) * modified sound_SetPlayerOrientation() to a more verbose writing (+Doxygen comment) Modified: trunk/lib/sound/openal_track.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits
[Warzone-commits] r603 - in /trunk/src: display3d.c warzoneconfig.c
Author: devurandom Date: Sun Jan 7 14:16:02 2007 New Revision: 603 URL: http://svn.gna.org/viewcvs/warzone?rev=603&view=rev Log: Patch by Shurcool: Selection Box: 1) [FIX/ADDITION] the selection box is now filled in with a translucent shade of grey, like Pumpkin Studios intended it, but it wasn't working due to a bug. Can be disabled with the --noTranslucent command line parameter (theoretically along with all other transparency effects, but in practice it doesn't seem to affect anything else because the check for war_GetTranslucent() is not used anywhere else). 2) [FIX] the selection box now always pulses consistently inwards, no matter in which orientation you drag it (ie. from top-left to bottom-right, from bottom-left to top-right, etc.) 3) [FIX] the selection box doesn't flash/disappear momentarily sometimes when the mouse cursor is positioned at the very edge of the screen anymore Modified: trunk/src/display3d.c trunk/src/warzoneconfig.c ___ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits