|
Post by emeraldtiger on Mar 21, 2011 21:50:42 GMT -5
I`m mainly from the Q3 / QL community, though I have Q2 installed as well and I have some interest in modding for SP for it. Basically I was wanting to make my own weapons / enemies but unfortunately, my knowledge of C is little to none, and I doubt I`ll have the time to become an expert in it. (what code does q2 use btw, just in case?)
Is there any kind of program that I can use to create new enemies or weapons with a user-friendly interface? Basically, I was thinking of a window with a bunch of settings. In the case of weapons, you could specify the .md2 to use for the weapon when it is not picked up (g_) and when it is in use (v_), as well as being able to set the speed, damage, knockback, splash damage, projectile model, as well as other things.
If such a utility does not exist, but someone is interested in the idea, I am willing to provide conceptualized pictures of what I had in mind. I`ll also see if I can offer something in return, maybe an exclusive map or something.
Thanks in advance.
|
|
Mikemc
Quake 2 Mapping Club
Reminiscing this & that & having such a good time
Posts: 344
|
Post by Mikemc on Mar 22, 2011 7:10:06 GMT -5
I thought LeRay released a mod that used C++ or something to help add new content to the game?
|
|
|
Post by emeraldtiger on Mar 22, 2011 11:33:31 GMT -5
Ahh, I forgot. I discovered Paril`s Clean Code and will try to look into it a bit.
For my first weapon I was thinking of building a speargun-like weapon which does a high amount of knockback. I modified cc_rocketlauncher.cpp from CleanCode for this since it functions most like what I want. Mainly I want to take the RL, but get rid of the splash and increase it`s knockback, and also use a new ammo type. I can .pm my new file, cc_perforator.cpp to see if there is anything that I have done wrong.
My main issue is that in the .cpp file I can`t find anything on how to affect it`s knockback. Does this require a rewrite?
|
|
|
Post by emeraldtiger on Mar 22, 2011 17:39:58 GMT -5
Okay I just followed a tutorial found here: tastyspleen.net/quake/forums/index.php?topic=12705.0 and I got it to compile, but the gamex86 file is compiled as gamex86.intermediate.manifest instead of a normal .dll. Anybody know why? I followed his instructions exactly. Man this is frustrating, I wish things would work for me for once.
|
|
|
Post by emeraldtiger on Mar 22, 2011 20:55:52 GMT -5
Well, I managed to get that out of the way, I found where the .dll was, it was created just looking in the wrong place. However my .dll refuses to compile anymore, it fails and does not generate a file, here is my report:
1>------ Rebuild All started: Project: game, Configuration: Release Win32 ------ 1>Deleting intermediate and output files for project 'game', configuration 'Release|Win32' 1>Compiling... 1>q_shared.c 1>.\q_shared.c(266) : warning C4100: 'f' : unreferenced formal parameter 1>.\q_shared.c(418) : warning C4100: 'p' : unreferenced formal parameter 1>.\q_shared.c(418) : warning C4100: 'emaxs' : unreferenced formal parameter 1>.\q_shared.c(418) : warning C4100: 'emins' : unreferenced formal parameter 1>.\q_shared.c(876) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\q_shared.c(897) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\q_shared.c(923) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\q_shared.c(1056) : warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'vsprintf' 1>.\q_shared.c(1112) : warning C4127: conditional expression is constant 1>.\q_shared.c(1230) : warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'vsprintf' 1>.\q_shared.c(1234) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\q_shared.c(1264) : warning C4127: conditional expression is constant 1>.\q_shared.c(1308) : warning C4127: conditional expression is constant 1>.\q_shared.c(1334) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>p_weapon.c 1>.\p_weapon.c(1398) : warning C4013: 'fire_perforator' undefined; assuming extern returning int 1>p_view.c 1>.\p_view.c(42) : warning C4100: 'angles' : unreferenced formal parameter 1>p_trail.c 1>p_hud.c 1>.\p_hud.c(234) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\p_hud.c(245) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>p_client.c 1>.\p_client.c(46) : warning C4127: conditional expression is constant 1>.\p_client.c(70) : warning C4100: 'self' : unreferenced formal parameter 1>.\p_client.c(179) : warning C4100: 'damage' : unreferenced formal parameter 1>.\p_client.c(179) : warning C4100: 'kick' : unreferenced formal parameter 1>.\p_client.c(179) : warning C4100: 'other' : unreferenced formal parameter 1>.\p_client.c(179) : warning C4100: 'self' : unreferenced formal parameter 1>.\p_client.c(211) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\p_client.c(504) : warning C4100: 'point' : unreferenced formal parameter 1>.\p_client.c(849) : warning C4127: conditional expression is constant 1>.\p_client.c(934) : warning C4100: 'point' : unreferenced formal parameter 1>.\p_client.c(934) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\p_client.c(934) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\p_client.c(1382) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\p_client.c(1387) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\p_client.c(1427) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>m_tank.c 1>.\m_tank.c(49) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_tank.c(288) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_tank.c(288) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_tank.c(753) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_tank.c(753) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_tank.c(753) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_supertank.c 1>.\m_supertank.c(452) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_supertank.c(452) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_supertank.c(657) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_supertank.c(657) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_supertank.c(657) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_supertank.c(657) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_soldier.c 1>.\m_soldier.c(409) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_soldier.c(409) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_soldier.c(409) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_soldier.c(792) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_soldier.c(1144) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_soldier.c(1144) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_parasite.c 1>.\m_parasite.c(65) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_parasite.c(275) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_parasite.c(275) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_parasite.c(275) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_parasite.c(471) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_parasite.c(471) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_parasite.c(471) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_mutant.c 1>.\m_mutant.c(62) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_mutant.c(308) : warning C4100: 'surf' : unreferenced formal parameter 1>.\m_mutant.c(308) : warning C4100: 'plane' : unreferenced formal parameter 1>.\m_mutant.c(496) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_mutant.c(496) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_mutant.c(496) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_mutant.c(574) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_mutant.c(574) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_mutant.c(574) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_move.c 1>m_medic.c 1>.\m_medic.c(116) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_medic.c(317) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_medic.c(317) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_medic.c(317) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_medic.c(413) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_medic.c(413) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_medic.c(413) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\m_medic.c(494) : warning C4100: 'eta' : unreferenced formal parameter 1>m_insane.c 1>.\m_insane.c(477) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_insane.c(477) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_insane.c(477) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_insane.c(581) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_insane.c(581) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_insane.c(581) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_infantry.c 1>.\m_infantry.c(215) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_infantry.c(215) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_infantry.c(215) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_infantry.c(299) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_infantry.c(386) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_infantry.c(386) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_infantry.c(386) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\m_infantry.c(466) : warning C4100: 'eta' : unreferenced formal parameter 1>m_hover.c 1>.\m_hover.c(43) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_hover.c(487) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_hover.c(487) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_hover.c(541) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_hover.c(541) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_hover.c(541) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_gunner.c 1>.\m_gunner.c(46) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_gunner.c(283) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_gunner.c(283) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_gunner.c(335) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_gunner.c(335) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_gunner.c(335) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\m_gunner.c(409) : warning C4100: 'eta' : unreferenced formal parameter 1>m_gladiator.c 1>.\m_gladiator.c(49) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_gladiator.c(240) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_gladiator.c(240) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_gladiator.c(240) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_gladiator.c(308) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_gladiator.c(308) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_gladiator.c(308) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_flyer.c 1>.\m_flyer.c(52) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_flyer.c(531) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_flyer.c(531) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_flyer.c(531) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_flyer.c(564) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_flyer.c(564) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_flyer.c(564) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_flyer.c(564) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_float.c 1>.\m_float.c(41) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_float.c(566) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_float.c(566) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_float.c(566) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_float.c(603) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_float.c(603) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_float.c(603) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_float.c(603) : warning C4100: 'inflictor' : unreferenced formal parameter 1>Generating Code... 1>f:\quake 2 folder\source code\quake2-3.21\game\p_hud.c(423) : warning C4701: potentially uninitialized local variable 'cells' used 1>Compiling... 1>m_flipper.c 1>.\m_flipper.c(223) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_flipper.c(223) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_flipper.c(223) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_flipper.c(327) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_flipper.c(332) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_flipper.c(332) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_flipper.c(332) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_flash.c 1>m_chick.c 1>.\m_chick.c(266) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_chick.c(266) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_chick.c(353) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_chick.c(353) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_chick.c(353) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\m_chick.c(430) : warning C4100: 'eta' : unreferenced formal parameter 1>.\m_chick.c(619) : warning C4100: 'other' : unreferenced formal parameter 1>m_brain.c 1>.\m_brain.c(48) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_brain.c(542) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_brain.c(542) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_brain.c(542) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_brain.c(586) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_brain.c(586) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_brain.c(586) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_boss32.c 1>.\m_boss32.c(555) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_boss32.c(555) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_boss32.c(601) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_boss32.c(673) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_boss32.c(673) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_boss32.c(673) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_boss31.c 1>.\m_boss31.c(31) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int 1>.\m_boss31.c(416) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_boss31.c(416) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_boss31.c(560) : warning C4100: 'self' : unreferenced formal parameter 1>.\m_boss31.c(589) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_boss31.c(589) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_boss31.c(589) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_boss31.c(589) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_boss3.c 1>.\m_boss3.c(31) : warning C4100: 'activator' : unreferenced formal parameter 1>.\m_boss3.c(31) : warning C4100: 'other' : unreferenced formal parameter 1>m_boss2.c 1>.\m_boss2.c(470) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_boss2.c(470) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_boss2.c(507) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_boss2.c(507) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_boss2.c(507) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_boss2.c(507) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_berserk.c 1>.\m_berserk.c(39) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_berserk.c(222) : warning C4100: 'self' : unreferenced formal parameter 1>.\m_berserk.c(315) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_berserk.c(315) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_berserk.c(381) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_berserk.c(381) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_berserk.c(381) : warning C4100: 'inflictor' : unreferenced formal parameter 1>m_actor.c 1>.\m_actor.c(230) : warning C4100: 'damage' : unreferenced formal parameter 1>.\m_actor.c(230) : warning C4100: 'kick' : unreferenced formal parameter 1>.\m_actor.c(339) : warning C4100: 'point' : unreferenced formal parameter 1>.\m_actor.c(339) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\m_actor.c(339) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\m_actor.c(401) : warning C4100: 'activator' : unreferenced formal parameter 1>.\m_actor.c(401) : warning C4100: 'other' : unreferenced formal parameter 1>.\m_actor.c(496) : warning C4100: 'surf' : unreferenced formal parameter 1>.\m_actor.c(496) : warning C4100: 'plane' : unreferenced formal parameter 1>g_weapon.c 1>.\g_weapon.c(455) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_weapon.c(845) : warning C4127: conditional expression is constant 1>.\g_weapon.c(963) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(963) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(963) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(963) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(963) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(963) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(972) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(972) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(972) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(972) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(972) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(972) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'end' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(974) : error C2065: 'start' : undeclared identifier 1>.\g_weapon.c(974) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(976) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(976) : warning C4047: 'function' : 'vec_t *' differs in levels of indirection from 'int' 1>.\g_weapon.c(976) : warning C4024: 'VectorScale' : different types for formal and actual parameter 1 1>.\g_weapon.c(976) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(976) : warning C4047: 'function' : 'vec_t *' differs in levels of indirection from 'int' 1>.\g_weapon.c(976) : warning C4024: 'VectorScale' : different types for formal and actual parameter 3 1>.\g_weapon.c(977) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(977) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(977) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(977) : error C2109: subscript requires array or pointer type 1>.\g_weapon.c(977) : error C2065: 'dir' : undeclared identifier 1>.\g_weapon.c(977) : error C2109: subscript requires array or pointer type 1>g_utils.c 1>.\g_utils.c(130) : warning C4127: conditional expression is constant 1>.\g_utils.c(396) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_utils.c(553) : warning C4127: conditional expression is constant 1>g_turret.c 1>.\g_turret.c(278) : warning C4100: 'point' : unreferenced formal parameter 1>g_trigger.c 1>.\g_trigger.c(66) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(72) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_trigger.c(72) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_trigger.c(111) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_trigger.c(111) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(189) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(212) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(326) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(394) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_trigger.c(394) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_trigger.c(455) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_trigger.c(455) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_trigger.c(468) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_trigger.c(468) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_trigger.c(532) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_trigger.c(532) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_trigger.c(566) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_trigger.c(566) : warning C4100: 'plane' : unreferenced formal parameter 1>g_target.c 1>.\g_target.c(26) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(26) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(58) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(58) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(93) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_target.c(121) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_target.c(123) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_target.c(118) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(118) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(154) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(189) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(244) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(338) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(380) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(380) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(416) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(416) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(451) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(451) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(523) : warning C4127: conditional expression is constant 1>.\g_target.c(576) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(687) : warning C4127: conditional expression is constant 1>.\g_target.c(679) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_target.c(679) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_target.c(785) : warning C4100: 'other' : unreferenced formal parameter 1>g_svcmds.c 1>.\g_svcmds.c(249) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf' 1>.\g_svcmds.c(251) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf' 1>.\g_svcmds.c(255) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen' 1>g_spawn.c 1>.\g_spawn.c(380) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(324) : see declaration of 'sscanf' 1>.\g_spawn.c(424) : warning C4127: conditional expression is constant 1>.\g_spawn.c(433) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_spawn.c(543) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_spawn.c(544) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_spawn.c(554) : warning C4127: conditional expression is constant 1>.\g_spawn.c(812) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_spawn.c(819) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>.\g_spawn.c(822) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(157) : see declaration of 'strncpy' 1>g_save.c 1>.\g_save.c(281) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(void)' to data pointer 'byte *' 1>.\g_save.c(227) : warning C4100: 'f' : unreferenced formal parameter 1>.\g_save.c(378) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(void)' to data pointer 'byte *' 1>.\g_save.c(470) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen' 1>.\g_save.c(475) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_save.c(496) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen' 1>.\g_save.c(636) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen' 1>.\g_save.c(645) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(void)' to data pointer 'void *' 1>.\g_save.c(691) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(237) : see declaration of 'fopen' 1>.\g_save.c(714) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(void)' to data pointer 'void *' 1>.\g_save.c(727) : warning C4127: conditional expression is constant 1>g_phys.c 1>g_monster.c 1>.\g_monster.c(91) : warning C4100: 'kick' : unreferenced formal parameter 1>.\g_monster.c(440) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_monster.c(483) : warning C4100: 'other' : unreferenced formal parameter 1>Generating Code... 1>f:\quake 2 folder\source code\quake2-3.21\game\g_utils.c(215) : warning C4706: assignment within conditional expression 1>f:\quake 2 folder\source code\quake2-3.21\game\g_utils.c(232) : warning C4706: assignment within conditional expression 1>Compiling... 1>g_misc.c 1>.\g_misc.c(31) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(31) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(104) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(104) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(130) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_misc.c(130) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_misc.c(130) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\g_misc.c(130) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_misc.c(281) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_misc.c(281) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_misc.c(281) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\g_misc.c(281) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_misc.c(342) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(342) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_misc.c(422) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(422) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_misc.c(545) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(545) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(593) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(593) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(665) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(683) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(683) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(745) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_misc.c(745) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_misc.c(809) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(814) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(814) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(873) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(873) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_misc.c(966) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_misc.c(966) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_misc.c(966) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_misc.c(1021) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(1021) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1157) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(1157) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1217) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_misc.c(1217) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\g_misc.c(1217) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_misc.c(1330) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(1330) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_misc.c(1330) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1358) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1452) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(1452) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1577) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_misc.c(1577) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1700) : warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\time.inl(114) : see declaration of 'localtime' 1>.\g_misc.c(1740) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_misc.c(1783) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_misc.c(1783) : warning C4100: 'plane' : unreferenced formal parameter 1>g_main.c 1>.\g_main.c(149) : warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'vsprintf' 1>.\g_main.c(161) : warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'vsprintf' 1>.\g_main.c(234) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(207) : see declaration of 'strdup' 1>.\g_main.c(236) : warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(166) : see declaration of 'strtok' 1>.\g_main.c(240) : warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(166) : see declaration of 'strtok' 1>.\g_main.c(253) : warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\string.h(166) : see declaration of 'strtok' 1>g_items.c 1>.\g_items.c(44) : warning C4211: nonstandard extension used : redefined extern to static 1>.\g_items.c(45) : warning C4211: nonstandard extension used : redefined extern to static 1>.\g_items.c(46) : warning C4211: nonstandard extension used : redefined extern to static 1>.\g_items.c(706) : warning C4100: 'item' : unreferenced formal parameter 1>.\g_items.c(762) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_items.c(762) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_items.c(893) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_items.c(893) : warning C4100: 'other' : unreferenced formal parameter 1>g_func.c 1>.\g_func.c(428) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(428) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(436) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_func.c(436) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_func.c(600) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_func.c(600) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_func.c(606) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(606) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(737) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(743) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_func.c(743) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_func.c(755) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_func.c(755) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_func.c(755) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_func.c(949) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(980) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_func.c(980) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_func.c(1113) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_func.c(1113) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_func.c(1113) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_func.c(1125) : warning C4100: 'surf' : unreferenced formal parameter 1>.\g_func.c(1125) : warning C4100: 'plane' : unreferenced formal parameter 1>.\g_func.c(1633) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(1699) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(1777) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(1825) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(1825) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(1886) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(1886) : warning C4100: 'other' : unreferenced formal parameter 1>.\g_func.c(1960) : warning C4100: 'point' : unreferenced formal parameter 1>.\g_func.c(1960) : warning C4100: 'damage' : unreferenced formal parameter 1>.\g_func.c(1960) : warning C4100: 'inflictor' : unreferenced formal parameter 1>.\g_func.c(2037) : warning C4100: 'activator' : unreferenced formal parameter 1>.\g_func.c(2037) : warning C4100: 'other' : unreferenced formal parameter 1>g_combat.c 1>.\g_combat.c(370) : warning C4100: 'attacker' : unreferenced formal parameter 1>.\g_combat.c(370) : warning C4100: 'targ' : unreferenced formal parameter 1>g_cmds.c 1>.\g_cmds.c(34) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(57) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(58) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(722) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(725) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(808) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(809) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(810) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(821) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(828) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>.\g_cmds.c(893) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> F:\Quake 2 Folder\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf' 1>.\g_cmds.c(897) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>g_chase.c 1>g_ai.c 1>.\g_ai.c(61) : warning C4127: conditional expression is constant 1>.\g_ai.c(771) : warning C4100: 'dist' : unreferenced formal parameter 1>Generating Code... 1>f:\quake 2 folder\source code\quake2-3.21\game\g_combat.c(249) : warning C4701: potentially uninitialized local variable 'index' used 1>f:\quake 2 folder\source code\quake2-3.21\game\g_combat.c(209) : warning C4701: potentially uninitialized local variable 'power' used 1>f:\quake 2 folder\source code\quake2-3.21\game\g_func.c(859) : warning C4706: assignment within conditional expression 1>Build log was saved at "file://f:\Quake 2 Folder\Source Code\quake2-3.21\game\intermediates\BuildLog.htm" 1>game - 38 error(s), 385 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Ironically I didn`t remove any important brackets from what I remember. Also, some of these errors apparently point to things that I didn`t even change, things that were "right". How can I get it to create a .dll again? Any help is greatly appreciated. I`m using the regular source code now.
|
|
|
Post by knightmare on Apr 30, 2011 11:40:20 GMT -5
First off, the warning level you're compiling at is too high- generating lots of spam.
The actual errors you're getting look to be caused by not declaring some of the local variables that you're using- start, end, and dir. These sound like vectors and you'll need to declare them at the start of the function in g_weapon.c that they're used in:
vec3_t start, end, dir;
|
|