Текущее время: 07 май 2024 07:35

Часовой пояс: UTC + 3 часа


Правила форума


Внимание! Все права на материалы опубликованные в этом форуме принадлежат их авторам! Перепечатка туториалов и статей разрешена только со ссылкой на этот сайт! В противном случае факт перепечатки считается нарушением авторских прав!



Новая тема Ответить
Страница 5 из 20
[ Сообщений: 287 ]
На страницу Пред.  1, 2, 3, 4, 5, 6, 7, 8 ... 20  След.
Автор
Сообщение
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 02 ноя 2007 03:52
Никак скомпилить не получается, вот лог:
Build Log Build started: Project: game, Configuration: Release|Win32
Command Lines Creating temporary file "c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP00000137962540.rsp" with contents
[
/O2 /Ob1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "GAMEDLL" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /GF /FD /EHsc /MT /Gy /Fp".\Release/game.pch" /Fo".\Release/" /Fd".\Release/" /W4 /c /TC ".\q_shared.c"

".\q_math.c"

".\g_weapon.c"

".\g_utils.c"

".\g_trigger.c"

".\g_tramcar.c"

".\g_team.c"

".\g_target.c"

".\g_syscalls.c"

".\g_svcmds.c"

".\g_spawn.c"

".\g_session.c"

".\g_script_actions.c"

".\g_script.c"

".\g_save.c"

".\g_props.c"

".\g_mover.c"

".\g_missile.c"

".\g_misc.c"

".\g_mem.c"

".\g_main.c"

".\g_items.c"

".\g_combat.c"

".\g_cmds.c"

".\g_client.c"

".\g_bot.c"

".\g_alarm.c"

".\g_active.c"

".\bg_slidemove.c"

".\bg_pmove.c"

".\bg_misc.c"

".\bg_animation.c"

"..\botai\ai_team.c"

"..\botai\ai_main.c"

"..\botai\ai_dmq3.c"

"..\botai\ai_dmnet.c"

"..\botai\ai_cmd.c"

"..\botai\ai_chat.c"

".\ai_cast_think.c"

".\ai_cast_sight.c"

".\ai_cast_script_ents.c"

".\ai_cast_script_actions.c"

".\ai_cast_script.c"

".\ai_cast_funcs.c"

".\ai_cast_func_boss1.c"

".\ai_cast_func_attack.c"

".\ai_cast_fight.c"

".\ai_cast_events.c"

".\ai_cast_debug.c"

".\ai_cast_characters.c"

".\ai_cast.c"
]
Creating command line "cl.exe @"c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP00000137962540.rsp" /nologo /errorReport:prompt"
Output Window Compiling...
q_shared.c
.\q_shared.c(360) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(376) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(791) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(932) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(999) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1198) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1253) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1328) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1375) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
q_math.c
g_weapon.c
.\g_weapon.c(548) : error C2065: 'WP_TT' : undeclared identifier
.\g_weapon.c(548) : error C2051: case expression not constant
.\g_weapon.c(549) : error C2065: 'WP_AKIMBO1' : undeclared identifier
.\g_weapon.c(549) : error C2051: case expression not constant
.\g_weapon.c(552) : error C2065: 'WP_MP44' : undeclared identifier
.\g_weapon.c(552) : error C2051: case expression not constant
.\g_weapon.c(554) : error C2065: 'WP_PPSH' : undeclared identifier
.\g_weapon.c(554) : error C2051: case expression not constant
.\g_weapon.c(560) : error C2065: 'WP_MOSIN' : undeclared identifier
.\g_weapon.c(560) : error C2051: case expression not constant
.\g_weapon.c(561) : error C2065: 'WP_SVT' : undeclared identifier
.\g_weapon.c(561) : error C2051: case expression not constant
.\g_weapon.c(584) : error C2051: case expression not constant
.\g_weapon.c(585) : error C2051: case expression not constant
.\g_weapon.c(588) : error C2051: case expression not constant
.\g_weapon.c(590) : error C2051: case expression not constant
.\g_weapon.c(596) : error C2051: case expression not constant
.\g_weapon.c(597) : error C2051: case expression not constant
.\g_weapon.c(634) : error C2051: case expression not constant
.\g_weapon.c(635) : error C2051: case expression not constant
.\g_weapon.c(638) : error C2051: case expression not constant
.\g_weapon.c(642) : error C2051: case expression not constant
.\g_weapon.c(646) : error C2051: case expression not constant
.\g_weapon.c(647) : error C2051: case expression not constant
.\g_weapon.c(657) : error C2051: case expression not constant
.\g_weapon.c(658) : error C2051: case expression not constant
.\g_weapon.c(661) : error C2051: case expression not constant
.\g_weapon.c(665) : error C2051: case expression not constant
.\g_weapon.c(669) : error C2051: case expression not constant
.\g_weapon.c(670) : error C2051: case expression not constant
.\g_weapon.c(682) : error C2051: case expression not constant
.\g_weapon.c(683) : error C2051: case expression not constant
.\g_weapon.c(686) : error C2051: case expression not constant
.\g_weapon.c(690) : error C2051: case expression not constant
.\g_weapon.c(694) : error C2051: case expression not constant
.\g_weapon.c(695) : error C2051: case expression not constant
.\g_weapon.c(1739) : error C2051: case expression not constant
.\g_weapon.c(1740) : error C2051: case expression not constant
.\g_weapon.c(1781) : error C2051: case expression not constant
.\g_weapon.c(1782) : error C2051: case expression not constant
.\g_weapon.c(1821) : error C2051: case expression not constant
.\g_weapon.c(1824) : error C2051: case expression not constant
.\g_weapon.c(1848) : error C2051: case expression not constant
.\g_weapon.c(1854) : error C2051: case expression not constant
g_utils.c
.\g_utils.c(27) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_utils.c(33) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_utils.c(34) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_trigger.c
g_tramcar.c
g_team.c
.\g_team.c(64) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_team.c(756) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_team.c(907) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_target.c
g_syscalls.c
g_svcmds.c
g_spawn.c
.\g_spawn.c(56) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_spawn.c(775) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_session.c
.\g_session.c(70) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_script_actions.c
g_script.c
g_save.c
g_props.c
g_mover.c
g_missile.c
g_misc.c
g_mem.c
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\g_mover.c(3172) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_save.c(451) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(359) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(378) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(451) : warning C4706: assignment within conditional expression
Compiling...
g_main.c
.\g_main.c(311) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(325) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(336) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1359) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1370) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1879) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(2375) : warning C4210: nonstandard extension used : function given file scope
g_items.c
g_combat.c
g_cmds.c
.\g_cmds.c(46) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_cmds.c(2022) : warning C4210: nonstandard extension used : function given file scope
g_client.c
.\g_client.c(1261) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_bot.c
.\g_bot.c(185) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_bot.c(216) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_alarm.c
g_active.c
.\g_active.c(1260) : warning C4210: nonstandard extension used : function given file scope
bg_slidemove.c
bg_pmove.c
.\bg_pmove.c(3670) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(trace_t *,const vec_t *,const vec_t *,const vec_t *,const vec_t *,int,int)' to data pointer 'void *'
bg_misc.c
bg_animation.c
.\bg_animation.c(289) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\bg_animation.c(437) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_team.c
..\botai\ai_team.c(502) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_main.c
..\botai\ai_main.c(60) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(946) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(964) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(969) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(974) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(978) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(997) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(1001) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_dmq3.c
..\botai\ai_dmq3.c(227) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(246) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(299) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(333) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(1739) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(2042) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_dmnet.c
..\botai\ai_dmnet.c(595) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmnet.c(597) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmnet.c(598) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cmd.c
..\botai\ai_cmd.c(792) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(814) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(852) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(943) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_chat.c
..\botai\ai_chat.c(243) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(491) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(638) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(790) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(1058) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cast_think.c
ai_cast_sight.c
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(49) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(1157) : warning C4701: potentially uninitialized local variable 'pm' used
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(1278) : warning C4701: potentially uninitialized local variable 'traveltime' used
c:\program files\wolf_source\sp\sp_source\src\game\g_cmds.c(1217) : warning C4706: assignment within conditional expression
Compiling...
ai_cast_script_ents.c
ai_cast_script_actions.c
ai_cast_script.c
ai_cast_funcs.c
ai_cast_func_boss1.c
ai_cast_func_attack.c
ai_cast_fight.c
ai_cast_events.c
ai_cast_debug.c
.\ai_cast_debug.c(142) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cast_characters.c
ai_cast.c
.\ai_cast.c(95) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(171) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(740) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(771) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_events.c(433) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_fight.c(2067) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(284) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(392) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(996) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(934) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(942) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(977) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(985) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(3974) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(3486) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(4719) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(472) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(1545) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(1815) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2235) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2261) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2798) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2867) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(4371) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(475) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(502) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(581) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script_actions.c(172) : warning C4706: assignment within conditional expression
Results Build log was saved at "file://c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\BuildLog.htm"
game - 44 error(s), 99 warning(s)
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 02 ноя 2007 19:48
Сколько много ошибок !!! Итак, по порядку. Не особо важно какой средой компилируешь. Я пользуюсь Microsoft Visual C++ 6.0, а вот в Microsoft Visual Studio 8 чувствую себя не в своей тарелке :) . Попробовал скомпилировать свои исходники через Microsoft Visual Studio 8 - всё как по маслу.
Так вот. Во первых - попробуй скомпилить dll-ки не меняя кода. А то я заметил, ты уже пробовал прикрутить ППШ, Мосинку, MP44 и т.д. Там ты допустил ряд ошибок.
К примеру, 'WP_MP44' : undeclared identifier. Это значит что переменная ( в данном случае константа из перечисления (enum) ) не объявлена. Объявить это значит указать тип и имя. Например:
int b;

Так мы объявили переменную b типа int ( целочисленные ). Можно так же сразу и инициализировать ( присвоить значение). Например:
int b = 3;
В случае с WP_MP44 мы имеем дело с перечислениями. Зайди в файл bg_public.h и перейди к строчке 502 ( комбинация CTRL+G ). Там будет находиться перечисление с названием weapon_t:
typedef enum {...} weapon_t;

Вот пример работы с перечислениями:
typedef enum {zero, one, two} chisla;
Теперь константе zero присвоено значение 0, one и two соответственно 1 и 2. И там, где мы видим эти константы, подразумеваются числовые значения. Поэтому под WP_MP40, например, скрывается число 3.
Из этого вытекает, что если нам нужно ввести ещё константы для нового оружия, то в перечисление weapon_t необходимо дописать имена этих констант ( WP_MP44 и т.д. ) перед последней константой WP_NUM_WEAPONS.
Последняя хранит количество констант.

Но для введения нового оружия этого не достаточно. Надобно еще помимо проекта cgame внести изменения в game. Я сейчас вот этим и занимаюсь. Пока не выходит. Все dll-ки компилируются нормально , а при загрузке игра вылетает. Поэтому если не получится расширить список оружия, придется занимать место теслы и огнемёта, а может и гранату какую-нить выкинуть.
Кстати с изменением положения оружия в селекторе проблем нет. В проекте cgame в файле cg_weapons есть такой двумерный массивчик weapBanks[][]. В нём-то и хранится инфа о положении оружия. Только нельзя забывать про его размеры. Их нельзя превышать. Размерность указывается в квадратных скобках. Вообще-то двумерный массив можно воспринимать как массив, элементами которого являются массивы. В первой скобке указывается кол-во вложенных массивов, во второй кол-во элементов этих вложенных массивов. А MAX_WEAP_BANKS и MAX_WEAPS_IN_BANK это константы инициализированные в q_shared.h начиная со строчки 1031.

Немножко длинновато получилось. :D Это была попытка этакого ЛикБез'а по C++. Если что непонятно - спрашивайте, с радостью помогу.
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 02 ноя 2007 19:52
И ещё... У меня получилось сделать кидательный ножик. Только много багов нужно устранить. Скоро вышлю dll-ку. :) А так же вместо трасеров поставил реальные пули. Но это FPS жрёт многовато. :smile2:
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 02 ноя 2007 20:42
Походу я уже новое оружие вписал в 4х файлах, я так понял, там всё взаимосвязано. Отредактировал файлы:
g_weapon
q_shared(Н)
bg_misc
cg_weapons
Спасибо за подсказку, сейчас попробую исправить указанные тобой ошибки. Дай номер своей аси плиз :)
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 02 ноя 2007 21:34
Picasso писал(а):
я заметил, ты уже пробовал прикрутить ППШ, Мосинку, MP44 и т.д. Там ты допустил ряд ошибок.
К примеру, 'WP_MP44' : undeclared identifier. Это значит что переменная ( в данном случае константа из перечисления (enum) ) не объявлена. Объявить это значит указать тип и имя. Например:
int b;

Сделал всё, как ты сказал, но один эррор после этого всёже остался, причём фатальный:
Linking...
LINK : fatal error LNK1181: cannot open input file 'winmm.lib'


Вот весь лог целиком:
Build Log Build started: Project: game, Configuration: Release|Win32
Command Lines Creating temporary file "c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP0000012284992.rsp" with contents
[
/O2 /Ob1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "GAMEDLL" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /GF /FD /EHsc /MT /Gy /Fp".\Release/game.pch" /Fo".\Release/" /Fd".\Release/" /W4 /c /TC ".\q_shared.c"

".\q_math.c"

".\g_weapon.c"

".\g_utils.c"

".\g_trigger.c"

".\g_tramcar.c"

".\g_team.c"

".\g_target.c"

".\g_syscalls.c"

".\g_svcmds.c"

".\g_spawn.c"

".\g_session.c"

".\g_script_actions.c"

".\g_script.c"

".\g_save.c"

".\g_props.c"

".\g_mover.c"

".\g_missile.c"

".\g_misc.c"

".\g_mem.c"

".\g_main.c"

".\g_items.c"

".\g_combat.c"

".\g_cmds.c"

".\g_client.c"

".\g_bot.c"

".\g_alarm.c"

".\g_active.c"

".\bg_slidemove.c"

".\bg_pmove.c"

".\bg_misc.c"

".\bg_animation.c"

"..\botai\ai_team.c"

"..\botai\ai_main.c"

"..\botai\ai_dmq3.c"

"..\botai\ai_dmnet.c"

"..\botai\ai_cmd.c"

"..\botai\ai_chat.c"

".\ai_cast_think.c"

".\ai_cast_sight.c"

".\ai_cast_script_ents.c"

".\ai_cast_script_actions.c"

".\ai_cast_script.c"

".\ai_cast_funcs.c"

".\ai_cast_func_boss1.c"

".\ai_cast_func_attack.c"

".\ai_cast_fight.c"

".\ai_cast_events.c"

".\ai_cast_debug.c"

".\ai_cast_characters.c"

".\ai_cast.c"
]
Creating command line "cl.exe @"c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP0000012284992.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\BAT0000022284992.bat" with contents
[
@echo off

..\extractfuncs\extractfuncs.bat

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Building game function table..."

exit 1

:VCEnd
]
Creating command line """c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\BAT0000022284992.bat"""
Creating temporary file "c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP0000032284992.rsp" with contents
[
/OUT:"..\Release/qagamex86.dll" /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:".\Release\qagamex86.dll.intermediate.manifest" /DEF:".\game.def" /PDB:".\Release/qagamex86.pdb" /MAP:".\Release/qagamex86.map" /SUBSYSTEM:WINDOWS /BASE:"0x20000000" /IMPLIB:".\Release/qagamex86.lib" /MACHINE:X86 winmm.lib kernel32.lib

".\Release\ai_cast.obj"

".\Release\ai_cast_characters.obj"

".\Release\ai_cast_debug.obj"

".\Release\ai_cast_events.obj"

".\Release\ai_cast_fight.obj"

".\Release\ai_cast_func_attack.obj"

".\Release\ai_cast_func_boss1.obj"

".\Release\ai_cast_funcs.obj"

".\Release\ai_cast_script.obj"

".\Release\ai_cast_script_actions.obj"

".\Release\ai_cast_script_ents.obj"

".\Release\ai_cast_sight.obj"

".\Release\ai_cast_think.obj"

".\Release\ai_chat.obj"

".\Release\ai_cmd.obj"

".\Release\ai_dmnet.obj"

".\Release\ai_dmq3.obj"

".\Release\ai_main.obj"

".\Release\ai_team.obj"

".\Release\bg_animation.obj"

".\Release\bg_misc.obj"

".\Release\bg_pmove.obj"

".\Release\bg_slidemove.obj"

".\Release\g_active.obj"

".\Release\g_alarm.obj"

".\Release\g_bot.obj"

".\Release\g_client.obj"

".\Release\g_cmds.obj"

".\Release\g_combat.obj"

".\Release\g_items.obj"

".\Release\g_main.obj"

".\Release\g_mem.obj"

".\Release\g_misc.obj"

".\Release\g_missile.obj"

".\Release\g_mover.obj"

".\Release\g_props.obj"

".\Release\g_save.obj"

".\Release\g_script.obj"

".\Release\g_script_actions.obj"

".\Release\g_session.obj"

".\Release\g_spawn.obj"

".\Release\g_svcmds.obj"

".\Release\g_syscalls.obj"

".\Release\g_target.obj"

".\Release\g_team.obj"

".\Release\g_tramcar.obj"

".\Release\g_trigger.obj"

".\Release\g_utils.obj"

".\Release\g_weapon.obj"

".\Release\q_math.obj"

".\Release\q_shared.obj"
]
Creating command line "link.exe @"c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\RSP0000032284992.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Output Window Compiling...
q_shared.c
.\q_shared.c(360) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(376) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(791) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(932) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(999) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1198) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1253) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1328) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\q_shared.c(1375) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
q_math.c
g_weapon.c
g_utils.c
.\g_utils.c(27) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_utils.c(33) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_utils.c(34) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_trigger.c
g_tramcar.c
g_team.c
.\g_team.c(64) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_team.c(756) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_team.c(907) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_target.c
g_syscalls.c
g_svcmds.c
g_spawn.c
.\g_spawn.c(56) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_spawn.c(775) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_session.c
.\g_session.c(70) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_script_actions.c
g_script.c
g_save.c
g_props.c
g_mover.c
g_missile.c
g_misc.c
g_mem.c
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\g_mover.c(3172) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_save.c(451) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(359) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(378) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\g_script.c(451) : warning C4706: assignment within conditional expression
Compiling...
g_main.c
.\g_main.c(311) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(325) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(336) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1359) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1370) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(1879) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_main.c(2375) : warning C4210: nonstandard extension used : function given file scope
g_items.c
g_combat.c
g_cmds.c
.\g_cmds.c(46) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_cmds.c(2022) : warning C4210: nonstandard extension used : function given file scope
g_client.c
.\g_client.c(1261) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_bot.c
.\g_bot.c(185) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\g_bot.c(216) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
g_alarm.c
g_active.c
.\g_active.c(1260) : warning C4210: nonstandard extension used : function given file scope
bg_slidemove.c
bg_pmove.c
.\bg_pmove.c(3670) : warning C4054: 'type cast' : from function pointer 'void (__cdecl *)(trace_t *,const vec_t *,const vec_t *,const vec_t *,const vec_t *,int,int)' to data pointer 'void *'
bg_misc.c
bg_animation.c
.\bg_animation.c(289) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
.\bg_animation.c(437) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_team.c
..\botai\ai_team.c(502) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_main.c
..\botai\ai_main.c(60) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(946) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(964) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(969) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(974) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(978) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(997) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_main.c(1001) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_dmq3.c
..\botai\ai_dmq3.c(227) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(246) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(299) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(333) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(1739) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmq3.c(2042) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_dmnet.c
..\botai\ai_dmnet.c(595) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmnet.c(597) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_dmnet.c(598) : warning C4996: 'strcat' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cmd.c
..\botai\ai_cmd.c(792) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(814) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(852) : warning C4996: 'sscanf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration of 'sscanf'
Message: 'This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_cmd.c(943) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_chat.c
..\botai\ai_chat.c(243) : warning C4996: 'strncpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(156) : see declaration of 'strncpy'
Message: 'This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(491) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(638) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(790) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\botai\ai_chat.c(1058) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cast_think.c
ai_cast_sight.c
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(49) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(1157) : warning C4701: potentially uninitialized local variable 'pm' used
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_think.c(1278) : warning C4701: potentially uninitialized local variable 'traveltime' used
c:\program files\wolf_source\sp\sp_source\src\game\g_cmds.c(1217) : warning C4706: assignment within conditional expression
Compiling...
ai_cast_script_ents.c
ai_cast_script_actions.c
ai_cast_script.c
ai_cast_funcs.c
ai_cast_func_boss1.c
ai_cast_func_attack.c
ai_cast_fight.c
ai_cast_events.c
ai_cast_debug.c
.\ai_cast_debug.c(142) : warning C4996: 'strcpy' was declared deprecated
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
ai_cast_characters.c
ai_cast.c
.\ai_cast.c(95) : warning C4996: 'vsprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'vsprintf'
Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
Generating Code...
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(171) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(740) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast.c(771) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_events.c(433) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_fight.c(2067) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(284) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(392) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_attack.c(996) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(934) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(942) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(977) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_func_boss1.c(985) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(3974) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(3486) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(4719) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(472) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(1545) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(1815) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2235) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2261) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2798) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(2867) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_funcs.c(4371) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(475) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(502) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script.c(581) : warning C4706: assignment within conditional expression
c:\program files\wolf_source\sp\sp_source\src\game\ai_cast_script_actions.c(172) : warning C4706: assignment within conditional expression
Building game function table...
Linking...
LINK : fatal error LNK1181: cannot open input file 'winmm.lib'
Results Build log was saved at "file://c:\Program Files\Wolf_Source\SP\SP_source\src\game\Release\BuildLog.htm"
game - 1 error(s), 99 warning(s)
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 03 ноя 2007 01:55
Ну тут по всей видимости в VisualStudio отсутствует библиотека winmm.lib. Я тебе её на мыло вышлю. Ты её запихни в Microsoft Visual Studio 8\VC\lib либо в Microsoft Visual Studio 8\VC\PlatformSDK\Lib. Хотя и там - и там не помешает. Должно сработать. :)
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 03 ноя 2007 10:15
По первому адресу положил, а второй у меня отсутствует, положил сюда: \Microsoft Visual Studio 8\SDK\v2.0\Lib\

P.S: Скомпилилось, но игра вылетает при запуске, что-то там я всётаки накосячил :smirk:
Изображение

И ещё ньюанс - мои DLL-ки получаются меньше размером, чем Вовштейновские, хотя по идее должны быть потяжелее.
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 03 ноя 2007 18:48
Krot писал(а):
P.S: Скомпилилось, но игра вылетает при запуске, что-то там я всётаки накосячил :smirk:

У меня та же проблема. Ввести новое оружие не так просто. Но со временем разберёмся. :)

Krot писал(а):
мои DLL-ки получаются меньше размером, чем Вовштейновские

А может у Вовштейна комментариев в коде немеряно. Я тоже много комментариев пишу, чтобы можно было потом разобраться что к чему.

У меня тут идея появилась. Хочу сделать магическую модификацию. Чтобы можно было например вместо пинка левой рукой эктоплазму или огонь выпускать. Индикатор маны добавить. И ещё высасыватель жизни добавить - востанавливаешь здоровье за счёт врагов. Люблю я мистику. :smile2: Ну как?
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 03 ноя 2007 19:17
Picasso писал(а):
У меня тут идея появилась. Хочу сделать магическую модификацию. Чтобы можно было например вместо пинка левой рукой эктоплазму или огонь выпускать. Индикатор маны добавить. И ещё высасыватель жизни добавить - востанавливаешь здоровье за счёт врагов. Люблю я мистику. :smile2: Ну как?

Ну это по теме Креатора, ему думаю идея очень понравится :)
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 04 ноя 2007 10:12
Разбанил я Креатора... Днем раньше-позже разницы помоему нет.

PS: А я перехожу на движок doom 3. Попробую в него оружие портировать.
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 04 ноя 2007 13:37
Picasso, странная вещь получается, после изготовления дефолтных DLL-ок, игруха вылетает с такой ошибкой: Изображение
И что самое интересное, вес неизменённых и вес моих, в которых я повписывал новое оружие - одинаков, хотя тыкого быть не должно :no:
Заголовок сообщения: Wolf_Source ака SDK
СообщениеДобавлено: 05 ноя 2007 16:27
ZigZag, тебе плагины и скрипты для Макса нужны? А то я тут отискал парочку. А вообще разработчики пользовались Maya и даже в самой игре спрятан конвертер из ma и mb в md5mesh и md5anim. Он запускается через консоль. Ща поищу как это делается, где-то завалялась страничка про это.
Показать сообщения за:  Поле сортировки  
Страница 5 из 20
[ Сообщений: 287 ]

Часовой пояс: UTC + 3 часа


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1


Кто сегодня был на конференции за последние 24 часа

Пользователи смотревшие этот форум за последние 24 часа: нет зарегистрированных пользователей и 18 гостей


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения
Перейти:  

Работает на phpBB © 2000, 2002, 2005, 2007 phpBB Group
Русская поддержка phpBB