|
Post by AntX on Jul 24, 2007 22:20:33 GMT
HOLY FRIGGIN' MOTHERSHIP! The thing is actually playable now!!! I can't believe my eyes. Okay, you can't pickup anything since colisions don't work just YET... and you can't even press ESC to quit... but that's one HECK of an evolution there. I can shoot at things!!! And that sir, made my day. You definitely made progress. Ha, also, Is there a way to donate?
|
|
|
Post by malariax on Aug 7, 2007 10:14:35 GMT
Now you can pick the objects and the enemies can destroy you
|
|
|
Post by ryancordell on Aug 7, 2007 16:15:05 GMT
There should be something about this written. Anywho, first time compiler, when I tried to compile Tyrian (Making my own project along the way), I get this odd error about a stdbool.h file not being 'opened' in it's include directory. Installed the SLD and all that stuff, but the google code page for the Tyrian source code doesn't list anything else. Sorry if I sound like a total idiot, but where would I go/what would I download to be able to access that so I can get to have a compiled Tyrian?
|
|
|
Post by yuriks on Aug 7, 2007 16:21:52 GMT
ryancordel: That's a recent change (last revision at the time of writing actually =P) I made. What OS and compiler are you using? And I managed to break the weapon simulation in the buy/sell screen. Peh. I expect it to start taking shape as complete soon, now that we have our coding force back (me and syntaxglitch, also I think MindlessXD isn't feeling sick anymore =P) What I think needs to be done: - In game menus (Mindless and me and syntax) - Networking (hard! We don't have part of the source for that) (Probably me and syntax) - destruct ( probably Mindless or Zinglon) - Many bugs in the buy/sell screen (you may noticed timing and input is all shittied up in some places) (me and syntax) - Some work on the sound and music code (syntax, I may do it if it ends up taking too long xD) - Bugs on the level script parsing/running(?), as well as some gameplay bugs (Mindless) - Some special screen effects (Mindless) - And oh yeah, enemy shots =P (again, Mindless) Expected release date: Hopefully, earlier than 2010. (Hehe, just kidding, if nothing major sets us back, somewhere this year.) I would like to give special thanks for MindlessXD, for basically doing 90% of What MattersTM on the project, this would have never took off if it weren't for you. =] (WARNING: The views above are solely my own and do not represent the views of the rest of the team. Woot woot!) PS: TheLastZica, we're still wondering where you went.
|
|
|
Post by ryancordell on Aug 7, 2007 16:28:10 GMT
Windows XP and the Visual C++ 2005 Express Edition program. Mainly because I really suck at working with MinGW and such programs. ;D;;
|
|
|
Post by yuriks on Aug 7, 2007 16:36:13 GMT
Ah, that would be why. I don't think it compiles with Visual C++ right now. I would suggest trying MinGW. You can try to get it working by looking around on the project settings and tell it that it's compiling C99 code instead of C++ code (which I believe is the default), if that doesn't works, TRY deleting the #include <stdbool.h> line (C++ has bool builtin), but the rest of the code may or may not compile properly.
|
|
|
Post by ryancordell on Aug 7, 2007 17:00:22 GMT
Commenting/deleting out the stdbool.h include line would make a mass amount of errors though.
|
|
|
Post by yuriks on Aug 7, 2007 20:51:26 GMT
Not really, like I said, C++ has bool builtin.
|
|
|
Post by cryolithic on Aug 11, 2007 9:23:44 GMT
It does cause a number of errors, however, if you change the typdef of the JE_bool to char or int, then #define true 1 #define false 0 it should work exactly the same. Now if I can get the linker problem working so I can run it through the visual studio debugger Do you guys actually have sound working? When I compile it on the linux box, I get no sound.
|
|
|
Post by ryancordell on Aug 12, 2007 0:12:38 GMT
I did as I said and changed the typedef of JE_boolean from.. Whatever it was towards int (and once to char too), way less errors than before, but it still won't compile successfully. I defined the true and falses too. I kinda feel sorry for you guys putting up with a noob like me. (I think there ought to be a spoiler tag here, would greatly shorten things like this down while still keeping the technical info intact..) ------ Build started: Project: OpenTyrian, Configuration: Release Win32 ------ Compiling... vga256d.c ..\..\src\vga256d.c(129) : error C2065: '__func__' : undeclared identifier ..\..\src\vga256d.c(239) : warning C4244: '=' : conversion from 'JE_word' to 'char', possible loss of data ..\..\src\vga256d.c(245) : warning C4244: '=' : conversion from 'JE_word' to 'char', possible loss of data ..\..\src\vga256d.c(351) : warning C4244: '=' : conversion from 'double' to 'JE_integer', possible loss of data varz.c ..\..\src\varz.c(1271) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1272) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1295) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1296) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data tyrian2.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory starlib.c ..\..\src\starlib.c(152) : warning C4102: 'draw_pixel' : unreferenced label ..\..\src\starlib.c(79) : warning C4102: 'star_loop' : unreferenced label ..\..\src\starlib.c(300) : error C2065: '__func__' : undeclared identifier ..\..\src\starlib.c(447) : warning C4244: 'function' : conversion from 'JE_real' to 'int', possible loss of data ..\..\src\starlib.c(448) : warning C4244: 'function' : conversion from 'JE_real' to 'int', possible loss of data starfade.c sndmast.c shpmast.c shplib2.c ..\..\src\shplib2.c(43) : error C2065: '__func__' : undeclared identifier shplib.c ..\..\src\shplib.c(35) : error C2065: '__func__' : undeclared identifier setup.c ..\..\src\setup.c(127) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\setup.c(140) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\setup.c(194) : 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.' ..\..\src\setup.c(198) : 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.' ..\..\src\setup.c(284) : warning C4244: 'function' : conversion from 'JE_word' to 'JE_byte', possible loss of data scroller.c ..\..\src\scroller.c(37) : warning C4005: 'min' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(808) : see previous definition of 'min' ..\..\src\scroller.c(132) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data ..\..\src\scroller.c(149) : warning C4244: '=' : conversion from 'double' to 'Uint8', possible loss of data ..\..\src\scroller.c(141) : warning C4101: 'j' : unreferenced local variable picload2.c ..\..\src\picload2.c(45) : error C2065: '__func__' : undeclared identifier picload.c pcxmast.c pcxload.c params.c ..\..\src\params.c(69) : warning C4996: 'localtime' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\time.inl(114) : see declaration of 'localtime' Message: 'This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' pallib.c opentyr.c ..\..\src\opentyr.c(71) : 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.' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ')' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2065: 'i' : undeclared identifier ..\..\src\opentyr.c(162) : warning C4552: '<=' : operator has no effect; expected operator with side-effect ..\..\src\opentyr.c(162) : error C2059: syntax error : ')' ..\..\src\opentyr.c(163) : error C2143: syntax error : missing ';' before '{' ..\..\src\opentyr.c(247) : warning C4244: 'function' : conversion from 'time_t' to 'unsigned int', possible loss of data nortvars.c ..\..\src\nortvars.c(63) : 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.' ..\..\src\nortvars.c(93) : 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.' ..\..\src\nortvars.c(155) : 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.' ..\..\src\nortvars.c(165) : warning C4244: '=' : conversion from 'long' to 'JE_word', possible loss of data ..\..\src\nortvars.c(383) : error C2065: '__func__' : undeclared identifier nortsong.c ..\..\src\nortsong.c(94) : warning C4244: '=' : conversion from 'float' to 'Uint32', possible loss of data ..\..\src\nortsong.c(99) : warning C4244: '=' : conversion from 'float' to 'Uint32', possible loss of data ..\..\src\nortsong.c(147) : warning C4101: 'test' : unreferenced local variable ..\..\src\nortsong.c(266) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\nortsong.c(301) : warning C4244: 'function' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\nortsong.c(322) : error C2065: '__func__' : undeclared identifier Compiling... newshape.c ..\..\src\newshape.c(70) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\newshape.c(368) : error C2065: '__func__' : undeclared identifier network.c ..\..\src\network.c(62) : error C2065: '__func__' : undeclared identifier musmast.c mainint.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory lvlmast.c lvllib.c loudness.c ..\..\src\loudness.c(116) : warning C4244: 'initializing' : conversion from 'float' to 'long', possible loss of data ..\..\src\loudness.c(163) : warning C4244: '=' : conversion from 'float' to 'short', possible loss of data ..\..\src\loudness.c(118) : warning C4101: 'extend' : unreferenced local variable ..\..\src\loudness.c(240) : error C2065: '__func__' : undeclared identifier lds_play.c ..\..\src\lds_play.c(193) : warning C4244: '=' : conversion from '__w64 int' to 'int', possible loss of data ..\..\src\lds_play.c(198) : warning C4018: '<' : signed/unsigned mismatch ..\..\src\lds_play.c(97) : warning C4101: 'templ' : unreferenced local variable ..\..\src\lds_play.c(223) : warning C4244: '=' : conversion from 'Uint16' to 'Uint8', possible loss of data keyboard.c ..\..\src\keyboard.c(221) : warning C4244: '=' : conversion from 'Uint16' to 'unsigned char', possible loss of data ..\..\src\keyboard.c(278) : error C2065: '__func__' : undeclared identifier jukebox.c joystick.c helptext.c fonthand.c fm_synth.c error.c ..\..\src\error.c(64) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(70) : 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.' ..\..\src\error.c(73) : 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.' ..\..\src\error.c(76) : warning C4013: 'snprintf' undefined; assuming extern returning int ..\..\src\error.c(91) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(125) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(152) : 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.' ..\..\src\error.c(157) : 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.' ..\..\src\error.c(171) : 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.' ..\..\src\error.c(230) : error C2065: '__func__' : undeclared identifier episodes.c ..\..\src\episodes.c(225) : 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.' ..\..\src\episodes.c(226) : 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.' ..\..\src\episodes.c(227) : 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.' ..\..\src\episodes.c(244) : 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.' editship.c ..\..\src\editship.c(40) : error C2065: '__func__' : undeclared identifier destruct.c ..\..\src\destruct.c(49) : error C2065: '__func__' : undeclared identifier config.c ..\..\src\config.c(347) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\config.c(313) : warning C4101: 'i' : unreferenced local variable ..\..\src\config.c(427) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\config.c(544) : warning C4101: 'z' : unreferenced local variable ..\..\src\config.c(541) : warning C4101: 's2' : unreferenced local variable ..\..\src\config.c(542) : warning C4101: 'c' : unreferenced local variable ..\..\src\config.c(592) : warning C4101: 'z' : unreferenced local variable ..\..\src\config.c(862) : 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.' ..\..\src\config.c(864) : 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.' ..\..\src\config.c(900) : warning C4267: '=' : conversion from 'size_t' to 'JE_byte', possible loss of data ..\..\src\config.c(954) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data backgrnd.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory Compiling... animlib.c ..\..\src\animlib.c(41) : error C2065: '__func__' : undeclared identifier Build log was saved at "file://e:\General Games\Tyrian; Overlord Chaos\Tyrian Files\Tyrian Source\OpenTyrian\OpenTyrian\Release\BuildLog.htm" OpenTyrian - 25 error(s), 66 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|
|
Post by Mindless on Aug 12, 2007 1:38:04 GMT
first, in opentyr.h replace line 32 with
#define STUB() printf("!!! STUB: %s:%d\n", __FILE__, __LINE__)
since __func__ seems to be causing trouble
|
|
|
Post by ryancordell on Aug 12, 2007 2:36:38 GMT
About done, somewhat less errors, but still no dice:
------ Build started: Project: OpenTyrian, Configuration: Release Win32 ------ Compiling... vga256d.c ..\..\src\vga256d.c(239) : warning C4244: '=' : conversion from 'JE_word' to 'char', possible loss of data ..\..\src\vga256d.c(245) : warning C4244: '=' : conversion from 'JE_word' to 'char', possible loss of data ..\..\src\vga256d.c(351) : warning C4244: '=' : conversion from 'double' to 'JE_integer', possible loss of data varz.c ..\..\src\varz.c(1271) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1272) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1295) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data ..\..\src\varz.c(1296) : warning C4244: 'function' : conversion from 'double' to 'JE_integer', possible loss of data tyrian2.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory starlib.c ..\..\src\starlib.c(152) : warning C4102: 'draw_pixel' : unreferenced label ..\..\src\starlib.c(79) : warning C4102: 'star_loop' : unreferenced label ..\..\src\starlib.c(305) : warning C4101: 'a' : unreferenced local variable ..\..\src\starlib.c(305) : warning C4101: 'b' : unreferenced local variable ..\..\src\starlib.c(305) : warning C4101: 'c' : unreferenced local variable ..\..\src\starlib.c(447) : warning C4244: 'function' : conversion from 'JE_real' to 'int', possible loss of data ..\..\src\starlib.c(448) : warning C4244: 'function' : conversion from 'JE_real' to 'int', possible loss of data starfade.c sndmast.c shpmast.c shplib2.c shplib.c setup.c ..\..\src\setup.c(127) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\setup.c(140) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\setup.c(194) : 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.' ..\..\src\setup.c(198) : 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.' ..\..\src\setup.c(284) : warning C4244: 'function' : conversion from 'JE_word' to 'JE_byte', possible loss of data scroller.c ..\..\src\scroller.c(37) : warning C4005: 'min' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(808) : see previous definition of 'min' ..\..\src\scroller.c(132) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data ..\..\src\scroller.c(149) : warning C4244: '=' : conversion from 'double' to 'Uint8', possible loss of data ..\..\src\scroller.c(141) : warning C4101: 'j' : unreferenced local variable picload2.c picload.c pcxmast.c pcxload.c params.c ..\..\src\params.c(69) : warning C4996: 'localtime' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\time.inl(114) : see declaration of 'localtime' Message: 'This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' pallib.c opentyr.c ..\..\src\opentyr.c(71) : 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.' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ')' before 'type' ..\..\src\opentyr.c(162) : error C2143: syntax error : missing ';' before 'type' ..\..\src\opentyr.c(162) : error C2065: 'i' : undeclared identifier ..\..\src\opentyr.c(162) : warning C4552: '<=' : operator has no effect; expected operator with side-effect ..\..\src\opentyr.c(162) : error C2059: syntax error : ')' ..\..\src\opentyr.c(163) : error C2143: syntax error : missing ';' before '{' ..\..\src\opentyr.c(247) : warning C4244: 'function' : conversion from 'time_t' to 'unsigned int', possible loss of data nortvars.c ..\..\src\nortvars.c(63) : 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.' ..\..\src\nortvars.c(93) : 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.' ..\..\src\nortvars.c(155) : 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.' ..\..\src\nortvars.c(165) : warning C4244: '=' : conversion from 'long' to 'JE_word', possible loss of data nortsong.c ..\..\src\nortsong.c(94) : warning C4244: '=' : conversion from 'float' to 'Uint32', possible loss of data ..\..\src\nortsong.c(99) : warning C4244: '=' : conversion from 'float' to 'Uint32', possible loss of data ..\..\src\nortsong.c(147) : warning C4101: 'test' : unreferenced local variable ..\..\src\nortsong.c(266) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\nortsong.c(301) : warning C4244: 'function' : conversion from 'JE_word' to 'JE_byte', possible loss of data Compiling... newshape.c ..\..\src\newshape.c(70) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data network.c musmast.c mainint.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory lvlmast.c lvllib.c loudness.c ..\..\src\loudness.c(116) : warning C4244: 'initializing' : conversion from 'float' to 'long', possible loss of data ..\..\src\loudness.c(163) : warning C4244: '=' : conversion from 'float' to 'short', possible loss of data ..\..\src\loudness.c(118) : warning C4101: 'extend' : unreferenced local variable lds_play.c ..\..\src\lds_play.c(193) : warning C4244: '=' : conversion from '__w64 int' to 'int', possible loss of data ..\..\src\lds_play.c(198) : warning C4018: '<' : signed/unsigned mismatch ..\..\src\lds_play.c(97) : warning C4101: 'templ' : unreferenced local variable ..\..\src\lds_play.c(223) : warning C4244: '=' : conversion from 'Uint16' to 'Uint8', possible loss of data keyboard.c ..\..\src\keyboard.c(221) : warning C4244: '=' : conversion from 'Uint16' to 'unsigned char', possible loss of data jukebox.c joystick.c helptext.c fonthand.c fm_synth.c error.c ..\..\src\error.c(64) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(70) : 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.' ..\..\src\error.c(73) : 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.' ..\..\src\error.c(76) : warning C4013: 'snprintf' undefined; assuming extern returning int ..\..\src\error.c(91) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(125) : warning C4996: 'fopen' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(234) : see declaration of 'fopen' Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' ..\..\src\error.c(152) : 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.' ..\..\src\error.c(157) : 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.' ..\..\src\error.c(171) : 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.' episodes.c ..\..\src\episodes.c(225) : 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.' ..\..\src\episodes.c(226) : 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.' ..\..\src\episodes.c(227) : 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.' ..\..\src\episodes.c(244) : 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.' editship.c destruct.c config.c ..\..\src\config.c(347) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\config.c(313) : warning C4101: 'i' : unreferenced local variable ..\..\src\config.c(427) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data ..\..\src\config.c(544) : warning C4101: 'z' : unreferenced local variable ..\..\src\config.c(541) : warning C4101: 's2' : unreferenced local variable ..\..\src\config.c(542) : warning C4101: 'c' : unreferenced local variable ..\..\src\config.c(592) : warning C4101: 'z' : unreferenced local variable ..\..\src\config.c(862) : 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.' ..\..\src\config.c(864) : 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.' ..\..\src\config.c(900) : warning C4267: '=' : conversion from 'size_t' to 'JE_byte', possible loss of data ..\..\src\config.c(954) : warning C4244: '=' : conversion from 'JE_word' to 'JE_byte', possible loss of data backgrnd.c e:\general games\tyrian; overlord chaos\tyrian files\tyrian source\src\backgrnd.h(25) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory Compiling... animlib.c Build log was saved at "file://e:\General Games\Tyrian; Overlord Chaos\Tyrian Files\Tyrian Source\OpenTyrian\OpenTyrian\Release\BuildLog.htm" OpenTyrian - 10 error(s), 69 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|
|
Post by Mindless on Aug 12, 2007 2:57:54 GMT
the only errors I see in there are about inttypes.h being missing (apparently not important to your compiler?) and about opentyrian.c line 162, which is valid c99... so I dunno
|
|
|
Post by ryancordell on Aug 12, 2007 3:16:32 GMT
Well, not exactly happyness. Means I might as well have to wait for both 'ports' of Tyrian to come out. While I won't mind, it's somewhat saddening. Although Rebuilding the source gives me more errors than Building does. Odd, but not sure why the source has to be this stubborn to be compilable under a simple.. well, compiler.
|
|
|
Post by Mindless on Aug 12, 2007 4:21:17 GMT
Probably because it's Visual Studio ;P It compiled fine in MinGW, last time I checked.
|
|