Commit graph

18 commits

Author SHA1 Message Date
tankefugl
d995257c31 Initial script engine implementation.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@282 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:26:04 +00:00
tankefugl
877b337309 Mantis 0001075:
o Fixed bug that made items on the popupmenu be disabled for aliens in classic games

The bug was in AvHPlayer::UpdateTechNodes(), where the techs would not be set to researchable once flagged as unresearchable, causing them all to be unresearchable from the start of the game, and disallowing lifeforms after gestating to them.

I also added a check so that the menu states won't be updated every frame for the client unless the menu is active.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@262 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-12 12:31:21 +00:00
tankefugl
7652448e28 Mantis 0001070:
o Added new option to the Advanced menu: "Enable gamma ramp". The cvar for it is cl_gammaramp which defaults to 1. Setting it to 0 will disable the forced gamma ramp changes.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@206 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-22 12:27:50 +00:00
puzl
ad8010a47b Mantis: 1066
o Minimap now reloads upon map change

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@204 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-21 12:26:08 +00:00
tankefugl
dcf57ac40e Mantis 0001016:
o End game notifications now display in the center of the screen for 10 seconds + 2 seconds fadeout. The text has been reworked to "The TSA Marines have exterminated the alien infestation" and "The alien Kharaa have eradicated the human presence".

I did some changes to AvHPlayer::SendMessage to allow a message to be sent either as a tooltip or a centered message.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@157 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 20:50:02 +00:00
tankefugl
f042408387 Mantis 0001054:
o Fixed bug where the order popup would display upon order completion.

Added a check to inOrder.GetOrderActive() so that the order would only be displayed when flagged active, not upon completion.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@155 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-01 11:51:47 +00:00
puzl
d5b42e9508 Mantis: 1050
o An essential byte was being ignored by the SetOrder message handler.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@136 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 20:29:55 +00:00
tankefugl
58c50b1399 Mantis 0001052:
o Fixed bug where order notifications sometimes would display for a commander exiting the CC. Added a check so that a commander will never display nor queue order notifications.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@134 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-25 19:29:41 +00:00
tankefugl
9d01ef9484 Mantis 1047:
o Fixed a bug that caused the commander and gorge drop icons to disappear.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@124 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:29:21 +00:00
tankefugl
848e73f17b Mantis 0000989:
o Moved text chat a bit up to allow commanders to see the text.
o Resource label is no longer obfuscated by the text chat.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@123 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-19 17:13:08 +00:00
tankefugl
fae8e99a33 o Merge with ns/dev/tankefugl:
- Merged source dir

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@97 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-06 14:04:51 +00:00
XP-Cagey
b918c731aa Bugfixes for mantis #1008, #1009
Rewrote WeaponsResource code so that uninitialized slots are no longer returned as valid weapons
Removed upp_* from command constants and console commands
Removed commented out entry from hl_baseentity.cpp
Shift in map data position is now performed by the network layer instead of at the time of creation
Deleted obsolete Util.vcproj
Replaced calls to fmax with calls to max in AvHEntities.cpp (Win32 compiler wasn't finding fmax command without explicit include)
Began implementation of client-to-server tunnel for Nexus


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@94 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-05 15:20:23 +00:00
tankefugl
000a0cd73e Mantis 0001007:
o Fixed bug where HUD notification of structure placements wouldn't show the icon.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@80 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-14 21:37:04 +00:00
tankefugl
cbd7e95495 Reverted changes to revision 45.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@76 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-13 22:50:14 +00:00
tankefugl
aeb2514103 Mantis 0000971:
o Implemented teammate orders/query icons

Mantis 0000992:
o Implemented teammate order popups

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@50 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 19:59:14 +00:00
XP-Cagey
587d3a5d92 Fixed Mantis #0001004 - the blip list message was never cleared on refresh.
Also fixed unreported bug in NetMsg_BlipList (friendly status was backward and not reset properly between evaluations, which effectively caused random bogus blips on screen since it affects message size)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@41 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-08 12:12:32 +00:00
XP-Cagey
60007652a3 The big merge...
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@21 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-01 03:04:57 +00:00
Karl
8552ac617c Import from old repository
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-09 01:31:56 +00:00