Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Original and untouched JA2 Gold Source Code
Original and untouched JA2 Gold Source Code[message #186323] Mon, 26 May 2008 02:40 Go to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
Here is the link:

http://kermi.pp.fi/JA_2/Mods_Vanilla/Source/Gold/ja2source_for_MS_VS6.0.zip

There are only VC6 project files, so you will have to convert it to newer compilers, and if you do... please post download link to those sln and project files stating what compiler version you used. Thanks Smile

And here are the blank libraries you need to compile the code:

http://kermi.pp.fi/JA_2/Mods_Vanilla/Source/Gold/ja2source_missing_libs_3rdparty.zip

The instructions for getting the vanilla code to compile are likely long gone, and I'm not sure if anyone remembers all of the steps, so take some aspirin before attempting this, as it might be painfull.


Edit by Scheinworld:
-updated links

[Updated on: Sat, 07 November 2015 02:55] by Moderator

Report message to a moderator

First Sergeant

Re: Original and untouched JA2 Gold Source Code[message #186325] Mon, 26 May 2008 02:50 Go to previous messageGo to next message
firefly28 is currently offline firefly28

 
Messages:54
Registered:May 2008
Thanks Kaiden Smile really appreciate you say use VC 6 as that will save me at least some hassle. I am expecting this not to work owing to me not knowing enough , thats cool though plan is to hang onto it until I do .

Thanks a bunch! I dunno just kinda developing an obssesive interest in this now lol

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #186334] Mon, 26 May 2008 03:28 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3482
Registered:January 2000
Location: Danubia
Saved a copy on esnips cause I hate rapidshare:

http://www.esnips.com/web/JA2-Vanilla-Source

Report message to a moderator

Captain
Re: Original and untouched JA2 Gold Source Code[message #186338] Mon, 26 May 2008 03:57 Go to previous messageGo to next message
firefly28 is currently offline firefly28

 
Messages:54
Registered:May 2008
Cheers folks there was a readme which told me where stuff went, Im using the windows 2008 sdk but it cant find sal.h , I think its because VC needs an older sdk , what was it the 2003 r2 plaform sdk that got used with that old code? Im about to try that

BTW its visual studio 6 Im using

copied the sal.h header across from VC 9 and am getting the following error which iM GOING TO TRY AND FIX tommorow (Excuse caps)

C:\PROGRAM FILES\MICROSOFT SDKS\WINDOWS\V6.1\INCLUDE\bcrypt.h(112) : error C2485: 'align' : unrecognized extended attribute

That looks like the main error that left

(Think I am nearly good to go but some forum post says that can be caused with linendings and to use VS 2003? that means I would need to convert from VS 6 , is there a way to workaround the above error on VS 6? )

edit:

This is for the benefit of Kaiden if he comes onto this thread its just I PMed but I have cut down majorly on the warnings now, I needed to right click all project files and put the deprecate preprocessor flags in each project, Im getting there Smile heres all my errors now

1>------ Rebuild All started: Project: Standard Gaming Platform, Configuration: Debug Demo Win32 ------
2>------ Rebuild All started: Project: Utils, Configuration: Debug Demo Win32 ------
1>Deleting intermediate and output files for project 'Standard Gaming Platform', configuration 'Debug Demo|Win32'
2>Deleting intermediate and output files for project 'Utils', configuration 'Debug Demo|Win32'
1>Compiling...
2>Compiling...
1>WinFont.c
2>WordWrap.c
2>GENERATED PCH FOR UTILS PROJECT.
1>.\WinFont.c(353) : warning C4028: formal parameter 1 different from declaration
1>.\WinFont.c(353) : warning C4028: formal parameter 2 different from declaration
1>.\WinFont.c(353) : warning C4028: formal parameter 3 different from declaration
1>vsurface.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Utilities.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>vobject_blitters.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Timer Control.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>vobject.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>video.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Text Utils.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>timer.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Text Input.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>STCI.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>soundman.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>STIConvert.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>shading.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Sound Control.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>sgp.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>RegInst.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Slider.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Random.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>PopUpBox.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>PCX.C
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Mutex Manager.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Music Control.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>mousesystem.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Multilingual Text Code Generator.c
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>line.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Multi Language Graphic Utils.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>LibraryDataBase.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>message.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Install.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>MercTextBox.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>input.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>impTGA.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>MapUtility.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Generating Code...
1>Compiling...
1>himage.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Font Control.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Font.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>.\Font Control.c(102) : warning C4101: 'zWinFontName' : unreferenced local variable
2>.\Font Control.c(103) : warning C4101: 'Color' : unreferenced local variable
2>Event Pump.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>FileMan.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Event Manager.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>English.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>DirectX Common.c
2>Encrypted File.c
2>GENERATED PCH FOR UTILS PROJECT.
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>DirectDraw Calls.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>dsutil.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>DEBUG.C
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>DbMan.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Generating Code...
2>Compiling...
2>Debug Control.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Cursor Control.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Cursors.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Container.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Button System.c
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Cinematics.c
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Button Sound Control.c
2>.\Cinematics.c(24) : fatal error C1083: Cannot open include file: 'smack.h': No such file or directory
1>GENERATED PCH FOR JA2 SGP PROJECT.
2>Animated ProgressBar.c
2>GENERATED PCH FOR UTILS PROJECT.
1>c:\standard gaming platform\JA2 SGP ALL.H(41) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Generating Code...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\standard\Button Sound Control.sbr': No such file or directory
1>Build log was saved at "file://c:\Standard Gaming Platform\Standard\BuildLog.htm"
1>Standard Gaming Platform - 32 error(s), 3 warning(s)
2>_RussianText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>------ Rebuild All started: Project: TileEngine, Configuration: Debug Demo Win32 ------
3>Deleting intermediate and output files for project 'TileEngine', configuration 'Debug Demo|Win32'
3>Compiling...
3>worldman.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_PolishText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>worlddef.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_Ja25GermanText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>WorldDat.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_Ja25EnglishText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>tiledef.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_ItalianText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>TileDat.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_GermanText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>Tile Surface.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_FrenchText.c
3>.\Tile Surface.c(191) : warning C4996: 'stricmp' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(213) : see declaration of 'stricmp'
3> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
2>GENERATED PCH FOR UTILS PROJECT.
3>Tile Cache.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>.\Tile Cache.c(88) : warning C4996: 'stricmp' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(213) : see declaration of 'stricmp'
3> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
3>Tile Animation.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_EnglishText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>Tactical Placement GUI.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>_DutchText.c
2>GENERATED PCH FOR UTILS PROJECT.
3>sysutil.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>Generating Code...
2>Creating browse information file...
2>Microsoft Browse Information Maintenance Utility Version 8.00.50727
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>BSCMAKE: error BK1506 : cannot open file '.\debug demo\Cinematics.sbr': No such file or directory
3>structure.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
2>Build log was saved at "file://c:\ja2\Build\Utils\Debug Demo\BuildLog.htm"
2>Utils - 2 error(s), 2 warning(s)
4>------ Rebuild All started: Project: TacticalAI, Configuration: Debug Demo Win32 ------
4>Deleting intermediate and output files for project 'TacticalAI', configuration 'Debug Demo|Win32'
4>Compiling...
3>SmokeEffects.c
4>Realtime.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Smell.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>QuestDebug.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Simple Render Utils.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>PanicButtons.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Shade Table Util.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>NPC.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>SaveLoadMap.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>Movement.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>renderworld.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>Medical.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Render Fun.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>Knowledge.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Render Dirty.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>FindLocations.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Radar Screen.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>DecideAction.c
3>Generating Code...
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Compiling...
3>pits.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>CreatureDecideAction.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>physics.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>Attacks.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>phys math.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>AIUtils.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>overhead map.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>AIMain.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>Map Edgepoints.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>lighting.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>AIList.c
4>GENERATED PCH FOR TACTICAL AI PROJECT.
3>.\lighting.c(3086) : warning C4996: 'stricmp' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(213) : see declaration of 'stricmp'
3> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
3>LightEffects.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
4>Generating Code...
4>Creating library...
4>Creating browse information file...
3>Isometric Utils.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Interactive Tiles.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Fog Of War.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Explosion Control.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>.\Explosion Control.c(1037) : warning C4996: 'stricmp' was declared deprecated
3> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(213) : see declaration of 'stricmp'
3> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
3>Exit Grids.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>environment.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Buildings.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Ambient Control.c
3>GENERATED PCH FOR TILEENGINE PROJECT.
3>Generating Code...
3>Creating library...
3>Creating browse information file...
4>Microsoft Browse Information Maintenance Utility Version 8.00.50727
4>Copyright (C) Microsoft Corporation. All rights reserved.
4>Build log was saved at "file://c:\ja2\Build\TacticalAI\Debug Demo\BuildLog.htm"
4>TacticalAI - 0 error(s), 0 warning(s)
5>------ Rebuild All started: Project: Tactical, Configuration: Debug Demo Win32 ------
5>Deleting intermediate and output files for project 'Tactical', configuration 'Debug Demo|Win32'
5>Compiling...
5>World Items.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Weapons.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Vehicles.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>UI Cursors.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Turn Based Input.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>TeamTurns.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Tactical Turns.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Tactical Save.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Structure Wrap.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Strategic Exit GUI.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Squads.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Spread Burst.c
5>GENERATED PCH FOR TACTICAL PROJECT.
3>Microsoft Browse Information Maintenance Utility Version 8.00.50727
3>Copyright (C) Microsoft Corporation. All rights reserved.
5>Soldier Tile.c
5>GENERATED PCH FOR TACTICAL PROJECT.
3>Build log was saved at "file://c:\ja2\Build\TileEngine\Debug Demo\BuildLog.htm"
3>TileEngine - 0 error(s), 4 warning(s)
5>Soldier Profile.c
6>------ Rebuild All started: Project: Strategic, Configuration: Debug Demo Win32 ------
6>Deleting intermediate and output files for project 'Strategic', configuration 'Debug Demo|Win32'
6>Compiling...
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Town Militia.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>.\Soldier Profile.c(214) : warning C4101: 'usAmmo' : unreferenced local variable
5>.\Soldier Profile.c(214) : warning C4101: 'usNewAmmo' : unreferenced local variable
5>.\Soldier Profile.c(213) : warning C4101: 'uiLoop3' : unreferenced local variable
5>.\Soldier Profile.c(214) : warning C4101: 'usNewGun' : unreferenced local variable
5>Soldier Init List.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>strategicmap.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Soldier Find.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>strategic.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Soldier Create.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Turns.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Soldier Control.c
6>strategic town reputation.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Town Loyalty.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Soldier Ani.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Status.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Soldier Add.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Pathing.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Generating Code...
5>Compiling...
5>SkillCheck.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Movement.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>ShopKeeper Interface.c
6>Strategic Movement Costs.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Mines.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Rotting Corpses.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Real Time Input.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic Merc Handler.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
6>.\Strategic Merc Handler.c(617) : warning C4101: 'pSoldier' : unreferenced local variable
5>QARRAY.C
5>GENERATED PCH FOR TACTICAL PROJECT.
6>.\Strategic Merc Handler.c(675) : warning C4101: 'pSoldier' : unreferenced local variable
6>Strategic Event Handler.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Points.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Strategic AI.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>PATHAI.C
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Scheduling.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Overhead.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>QuestText.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>.\Overhead.c(7856) : warning C4028: formal parameter 1 different from declaration
5>.\Overhead.c(7864) : warning C4028: formal parameter 1 different from declaration
5>opplist.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Quests.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Morale.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Quest Debug System.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Militia Control.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Queen Command.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Merc Hiring.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>PreBattle Interface.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Merc Entering.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Generating Code...
5>Map Information.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Compiling...
6>Player Command.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>LOS.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Merc Contract.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Keys.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Meanwhile.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>.\Keys.c(363) : warning C4013: 'DamageObj' undefined; assuming extern returning int
5>Items.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>mapscreen.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Inventory Choosing.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>.\mapscreen.c(4846) : warning C4101: 'bSquadNumber' : unreferenced local variable
6>Map Screen Interface.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Map Screen Interface TownMine Info.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface Utils.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Generating Code...
6>Map Screen Interface Map.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Compiling...
5>Interface Panels.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Map Screen Interface Map Inventory.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface Items.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Map Screen Interface Bottom.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface Dialogue.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>.\Map Screen Interface Bottom.c(1081) : warning C4244: '=' : conversion from 'LONG' to 'UINT8', possible loss of data
6>Map Screen Interface Border.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface Cursors.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Map Screen Helicopter.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Interface Control.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Handle UI.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Hourly Update.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Handle UI Plan.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Game Init.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Handle Items.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>.\Game Init.c(333) : warning C4101: 'iStartingCash' : unreferenced local variable
6>Game Events.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>.\Handle Items.c(4003) : warning C4101: 'ubRoom' : unreferenced local variable
5>Handle Doors.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Game Event Hook.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>GAP.C
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Game Clock.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>fov.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Creature Spreading.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Faces.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Campaign Init.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Enemy Soldier Save.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Auto Resolve.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>End Game.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Assignments.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Drugs And Alcohol.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>DisplayCover.c
5>GENERATED PCH FOR TACTICAL AI PROJECT.
6>Generating Code...
6>Compiling...
6>AI Viewer.c
6>GENERATED PCH FOR STRATEGIC PROJECT.
5>Dialogue Control.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Civ Quotes.c
5>GENERATED PCH FOR TACTICAL PROJECT.
6>Generating Code...
6>Creating library...
6>Creating browse information file...
5>Campaign.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>bullets.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Generating Code...
5>Compiling...
5>Boxing.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Auto Bandage.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>ArmsDealerInvInit.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Arms Dealer Init.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Animation Data.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Animation Control.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Animation Cache.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Air Raid.c
5>GENERATED PCH FOR TACTICAL PROJECT.
5>Generating Code...
5>Creating library...
5>Creating browse information file...
6>Microsoft Browse Information Maintenance Utility Version 8.00.50727
6>Copyright (C) Microsoft Corporation. All rights reserved.
6>Build log was saved at "file://c:\ja2\Build\Strategic\Debug Demo\BuildLog.htm"
6>Strategic - 0 error(s), 5 warning(s)
7>------ Rebuild All started: Project: Laptop, Configuration: Debug Demo Win32 ------
7>Deleting intermediate and output files for project 'Laptop', configuration 'Debug Demo|Win32'
7>Compiling...
7>Store Inventory.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>sirtech.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>personnel.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>.\personnel.c(5803) : warning C4244: '=' : conversion from 'LONG' to 'INT16', possible loss of data
7>mercs.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>mercs No Account.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>mercs Files.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>mercs Account.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>laptop.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>insurance.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>insurance Info.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>insurance Contract.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>insurance Comments.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMPVideoObjects.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Voices.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Text System.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Portraits.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Personality Quiz.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Personality Finish.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Personality Entrance.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP MainPage.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>Generating Code...
5>Microsoft Browse Information Maintenance Utility Version 8.00.50727
5>Copyright (C) Microsoft Corporation. All rights reserved.
7>Compiling...
7>IMP HomePage.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Finish.c
7>GENERATED PCH FOR LAPTOP PROJECT.
5>Build log was saved at "file://c:\ja2\Build\Tactical\Debug Demo\BuildLog.htm"
5>Tactical - 0 error(s), 8 warning(s)
8>------ Rebuild All started: Project: Editor, Configuration: Debug Demo Win32 ------
8>Deleting intermediate and output files for project 'Editor', configuration 'Debug Demo|Win32'
8>Compiling...
8>Smoothing Utils.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>IMP Confirm.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP Compile Character.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>smooth.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>IMP Begin Screen.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>SmartMethod.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>IMP Attribute Selection.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>selectwin.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>IMP Attribute Finish.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Sector Summary.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>IMP Attribute Entrance.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>IMP AboutUs.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Road Smoothing.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>history.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>popupmenu.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>funeral.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>newsmooth.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>florist.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>messagebox.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>florist Order Form.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>florist Gallery.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>LoadScreen.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>florist Cards.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>.\LoadScreen.c(641) : warning C4996: 'stricmp' was declared deprecated
8> C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(213) : see declaration of 'stricmp'
8> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
8>Item Statistics.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>finances.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>editscreen.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>files.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>.\editscreen.c(2175) : warning C4013: 'CopyMercPlacement' undefined; assuming extern returning int
8>.\editscreen.c(2180) : warning C4013: 'PasteMercPlacement' undefined; assuming extern returning int
8>EditorTerrain.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>email.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>EditorMercs.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>CharProfile.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>EditorMapInfo.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BrokenLink.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>EditorItems.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>Generating Code...
7>Compiling...
7>BobbyRUsed.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>EditorBuildings.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyRShipments.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Editor Undo.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyRMisc.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Editor Taskbar Utils.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyRMailOrder.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>BobbyRGuns.c
8>Editor Taskbar Creation.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyRArmour.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Generating Code...
8>Compiling...
8>Editor Modes.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyRAmmo.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Editor Callbacks.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>BobbyR.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>AimSort.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>edit_sys.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>AimPolicies.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Cursor Modes.c
8>GENERATED PCH FOR EDITOR PROJECT.
7>AimMembers.c
7>GENERATED PCH FOR LAPTOP PROJECT.
8>Generating Code...
8>Creating library...
8>Creating browse information file...
7>AimLinks.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>AimHistory.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>AimFacialIndex.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>AimArchives.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>aim.c
7>GENERATED PCH FOR LAPTOP PROJECT.
7>Generating Code...
7>Creating library...
7>Creating browse information file...
8>Microsoft Browse Information Maintenance Utility Version 8.00.50727
8>Copyright (C) Microsoft Corporation. All rights reserved.
8>Build log was saved at "file://c:\ja2\Build\Editor\Debug Demo\BuildLog.htm"
8>Editor - 0 error(s), 3 warning(s)
9>------ Rebuild All started: Project: ja2, Configuration: Debug Demo Win32 ------
9>Deleting intermediate and output files for project 'ja2', configuration 'Debug Demo|Win32'
9>Compiling...
9>_Ja25GermanText.c
9>GENERATED PCH FOR UTILS PROJECT.
9>c:\standard gaming platform\types.h(20) : fatal error C1083: Cannot open include file: 'builddefines.h': No such file or directory
9>aniviewscreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>c:\ja2\build\aniviewscreen.c(336) : warning C4996: 'stricmp' was declared deprecated
9> c:\program files\microsoft visual studio 8\vc\include\string.h(213) : see declaration of 'stricmp'
9> Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
9>Credits.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Fade Screen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>GameInitOptionsScreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>gameloop.c
9>GENERATED PCH FOR JA2 PROJECT.
9>gamescreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>GameSettings.c
9>GENERATED PCH FOR JA2 PROJECT.
9>GameVersion.c
9>GENERATED PCH FOR JA2 PROJECT.
9>HelpScreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Init.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Intro.c
9>GENERATED PCH FOR JA2 PROJECT.
9>c:\ja2\build\utils\cinematics.h(4) : fatal error C1083: Cannot open include file: 'smack.h': No such file or directory
9>JA2 Splash.c
9>GENERATED PCH FOR JA2 PROJECT.
9>c:\ja2\build\ja2 splash.c(18) : warning C4101: 'VSurfaceDesc' : unreferenced local variable
9>c:\ja2\build\ja2 splash.c(17) : warning C4101: 'hVSurface' : unreferenced local variable
9>jascreens.c
9>GENERATED PCH FOR JA2 PROJECT.
7>Microsoft Browse Information Maintenance Utility Version 8.00.50727
7>Copyright (C) Microsoft Corporation. All rights reserved.
9>c:\ja2\build\jascreens.c(1178) : error C2065: 'MLG_COLLAGE' : undeclared identifier
9>c:\ja2\build\jascreens.c(1523) : error C2065: 'MLG_AVAILABLE' : undeclared identifier
9>Loading Screen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>MainMenuScreen.c
9>GENERATED PCH FOR JA2 PROJECT.
7>Build log was saved at "file://c:\ja2\Build\Laptop\Debug Demo\BuildLog.htm"
7>Laptop - 0 error(s), 1 warning(s)
9>MessageBoxScreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Options Screen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>SaveLoadGame.c
9>GENERATED PCH FOR JA2 PROJECT.
9>SaveLoadScreen.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Generating Code...
9>Compiling...
9>SCREENS.C
9>GENERATED PCH FOR JA2 PROJECT.
9>Sys Globals.c
9>GENERATED PCH FOR JA2 PROJECT.
9>Generating Code...
9>Creating browse information file...
9>Microsoft Browse Information Maintenance Utility Version 8.00.50727
9>Copyright (C) Microsoft Corporation. All rights reserved.
9>BSCMAKE: error BK1506 : cannot open file '.\debug demo\Intro.sbr': No such file or directory
9>Build log was saved at "file://c:\ja2\Build\Debug Demo\BuildLog.htm"
9>ja2 - 5 error(s), 3 warning(s)
========== Rebuild All: 6 succeeded, 3 failed, 0 skipped ==========

edit: added #include and the iostream errors are away but now get

2>c:\ja2\build\utils\Quantize.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

(working on getting that sorted , if I manage this I will edit all this out and explain in a more consise way how I did it)

Ok in the class public Declarations I just did int iWidth to declare it and now Im back to an error in this file

#define _CSTDIO_
#include

#ifdef _STD_USING
#undef _STD_USING
#include
#define _STD_USING

#else /* _STD_USING */
#include
#endif /* _STD_USING */

#define _HAS_CONVENTIONAL_CLIB 1

#define _IOBASE _base
#define _IOPTR _ptr
#define _IOCNT _cnt

#ifndef RC_INVOKED
#if _GLOBAL_USING
_STD_BEGIN
using ::size_t; using ::fpos_t; using ::FILE; <---------THIS is where the error below is listed in the build log
using ::clearerr; using ::fclose; using ::feof;
using ::ferror; using ::fflush; using ::fgetc;
using ::fgetpos; using ::fgets; using ::fopen;
using ::fprintf; using ::fputc; using ::fputs;
using ::fread; using ::freopen; using ::fscanf;
using ::fseek; using ::fsetpos; using ::ftell;
using ::fwrite; using ::getc; using ::getchar;
using ::gets; using ::perror;
using ::putc; using ::putchar;
using ::printf; using ::puts; using ::remove;
using ::rename; using ::rewind; using ::scanf;
using ::setbuf; using ::setvbuf; using ::sprintf;
using ::sscanf; using ::tmpfile; using ::tmpnam;
using ::ungetc; using ::vfprintf; using ::vprintf;
using ::vsprintf;
_STD_END
#endif /* _GLOBAL_USING */
#endif /* RC_INVOKED */

#ifndef _Filet
#define _Filet FILE
#endif /* _Filet */

#ifndef _FPOSOFF
#define _FPOSOFF(fp) ((long)(fp))
#endif /* _FPOSOFF */

#endif /* _CSTDIO_ */

/*
* Copyright (c) 1992-2005 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
V4.05:0009 */

1>C:\Program Files\Microsoft Visual Studio 8\VC\include\cstdio(25) : error C2143: syntax error : missing '{' before ':'




[Updated on: Mon, 26 May 2008 17:06] by Moderator

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #186396] Mon, 26 May 2008 17:18 Go to previous messageGo to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
@Shanga, the file is < 4mb, could JAG host it? I beleive the SFI license allows for distribution for educational purposes without monetary gain.

@Maverick28, I'm no where near a compiler right now, and I'd have to think my way through it. Since I've managed to get the original compiled 3 different times, I might be able to help you out, but it's been over a year since I worked with VC6. The 1.13 code stopped compiling on it easily a long time ago and I got tired of fighting the up-hill battle.

I'm also not sure how much luck you will have getting it to compile on later compilers, the Whitehat code was converted to cpp before being used with VS2003 I beleive. You can check the whitehat forum in the archives section, there may be some helpful info there. I'd have to rebuild a machine, load OS, install VC6, JA2, get the source-code setup and work on it myself to refresh my memory. None of that is likely to happen in the next few months.

I would encourage a guide though, if you figure it out and want to help others... Also, any 2003 SDK may be too new. I used Visual Studio 6.0 installation out of a 2002 MSDN library.

EDIT: Found your iostream problem, check this post:

http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=103178&page=1#Post103178

[Updated on: Mon, 26 May 2008 17:22] by Moderator

Report message to a moderator

First Sergeant

Re: Original and untouched JA2 Gold Source Code[message #186401] Mon, 26 May 2008 17:35 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3482
Registered:January 2000
Location: Danubia

Yes, I will upload everything at JAG too, but it was soooo easy to work with esnips Smile)) Wish I had that kind of tool at JAG.

Report message to a moderator

Captain
Re: Original and untouched JA2 Gold Source Code[message #186421] Mon, 26 May 2008 19:12 Go to previous messageGo to next message
firefly28 is currently offline firefly28

 
Messages:54
Registered:May 2008
Hiya thanks again Smile BTW I went onto an xp machine , put on and old old disk I have with MS VS 6 and I am dam near to getting a build Smile . I actually think this is a code bug at fault , well maybe lol

In screens.cpp

I get MLG_COlLAGE undeclared identifier (means that no variable declared or perhaps I need another dependancy)

MLG_AVAILABLE undeclared identifier error (am on my vista computer now and working up stairs in my house so those errors arent exact but I think the variables at fault are spelled correctly


Once I get to grips with all this and get if I manage to get it fixed up sure I will try and come up with something to help people Smile. Will be happy to do that but just want to be sure I am getting all the steps right myself Smile

non standard extension used , nameless struct union , lots of warnings related to types.h Im hoping if I get the variable errors above fixed I should be gtg Smile

edit : nvm Smile got alot further this time, I basically changed from demo version to release version, cut down on warnings and this time it compiled but when It went to link it error regarding smack32.lib it couldnt link it so gonna check that out


edit: Woohoo have an exe Smile 0 errors and a few warnings + a release version!!!! When I run the exe I get cant find smackw32.dll but Im going to try putting the exe in a 1.10 gold version and see if it works. Hopefully I dont need any more compile linkage things just need to know if its just a matter of putting the exe in my current game dir which I installed already? BTW where I went wrong basically as per readme I set up the MS VS 6 includes to have all the folders and sub folders in SGP and JA 2 folders but what I forgot to do was add the SGP folder to the MS VS libs as well as includes (Not explaining this well I know , if I write anything out I will make sure its better explained Smile )

edit: Hiya really pleased the exe works Smile with non 1.13 version!! Superb Smile Ended up just using VC 6 though, please keep that iostream.h tip up though as I think I was close to getting it to work on 2005 and I ended up trying to comment out certain lines in library files on my vista comp as a cheap hack lol (Ended up doing more dmg though hehe) . Think I am going to just play the game on my compiled exes tonight now Smile , I was even surprised as the cutscenes kicked in! , Im not sure but I think there should be one where you see the guy walking up the street and into some cafe of something to speak to a guy, never seen that but if that happens right after the tank cutscene well I pressed escape Smile so maybe missed it, either way I started the first level just to be sure, heck I was kinda in dis-belief it all worked so twice I recompiled, removing previous exes from the build directory just to be sure that I was indeed using my built exe Smile

In VC 6 when you goto tools---->options then you alter the include directorys well something I noticed is when you restart MS VS sometimes it loses all the includes etc that you specify, It actually in MS VS gave an error similiar to one that I had when I compiled in 2005 so Im thinking on my attempt at converting to MS VS 2005 maybe some of my include and lib directorys were forgotten by the IDE? (Would mind knowing if theres perhaps a global file somewhere I can edit to get includes appied to all my projects always)

I can see why you like MS VS 6 though, I still like that version even though its dated. (Thanks once again all, tonight Im just gonna chill playing the game but tommrow I will try and start putting something more coherant together, I am no guru but I figure the least I could do for all the help is to just list the steps I took to get the vanilla sources to compile. Smile

Heres the link that clearly shows whats wrong if you get the MG_COLLAGE ERROR Smile I fixed all this now just figured I would include it since googling it only yielded 1 result! which is an older thread on this site Smile

http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=102106&page=2

edit : This post is getting huge again Smile but I am using a trial of MS VS PRO on vista and have managed to get an exe and succesful compilation with vista+ most recent windows SDK!+ MS VS 2005. Got an error regarding the way C++ handles ints and just add the type int to the function return value and the error was away Smile . That iostream link kindly provided nailed the other error on the head.

I just ran the exe on vista and compiled on vista with latest sdk and everything seem great Smile, ALL starting cutscenes are working, map screen works, and the in game combat screen works Smile . Im going to start with something simple like tracking down the merc names in the C++ files and changing one just to see what happens Smile

[Updated on: Tue, 27 May 2008 00:43] by Moderator

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #186482] Tue, 27 May 2008 11:26 Go to previous messageGo to next message
Kermi is currently offline Kermi

 
Messages:81
Registered:October 2002
Shanga

Yes, I will upload everything at JAG too, but it was soooo easy to work with esnips Smile)) Wish I had that kind of tool at JAG.


If you have ftp access to the server, you can just map it as a network drive. Works rather nicely.
And if that doesn't work, you can try using program called NetDrive for it.

Report message to a moderator

Corporal 1st Class
Re: Original and untouched JA2 Gold Source Code[message #186486] Tue, 27 May 2008 12:31 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3482
Registered:January 2000
Location: Danubia
It's not the upload part that sucks, it's the publishing one. We have higher standards at JAG than showing people naked FTP directories Smile)

I was reffering to their upload tool that allows you to set "description" and "tags" on the fly.

[Updated on: Tue, 27 May 2008 12:33] by Moderator

Report message to a moderator

Captain
Re: Original and untouched JA2 Gold Source Code[message #186549] Tue, 27 May 2008 20:03 Go to previous messageGo to next message
firefly28 is currently offline firefly28

 
Messages:54
Registered:May 2008
I wasnt sure what you were meaning by JAG and wasnt wanting to ask yet more questions before googling but I think I found the site Smile, actually lol its this site haha(That compiling is going to the brain!) , just noticed its the same domain only I have only ever been on these forums Smile Heres the link to that STI Editor and other utils

//Utils Link for AFTER everything is compiled and verified working.......Optional
http://www.jagalaxy.com/filedb/index.php?act=category&id=7

Which I think will be the link you folks were advising me to download the editor from. Im pretty much set now Smile [for anyone in future like myself dont worry about the UTILS until you have verified the source is compiled and working]

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #187211] Mon, 02 June 2008 04:20 Go to previous messageGo to next message
Mythrell is currently offline Mythrell

 
Messages:78
Registered:May 2008
Location: Mikkeli, Finland
oh man, after I found out that there's source code available, I've wasted hours trying to compile it with VC++ 2008 with no success so far, just out of curiosity. Never done that much C stuff but I've always enjoyed hacking others code. Smile

Now it goes great until linking them objects, which gives me about 3000 errors with unresolved external symbols. I guess I broke it. Smile

Anyways, I dusted off my laptop with VC++ 6.0 and boy was it easy to compile with that (following the good readme in that 3rd party file that is). Too bad that my Vista PC can't run it, it's major pain to do anything with the laptop.

Soo I guess my question is that is there any vanilla sources converted to later VC++ versions flying around here, I saw some references to those at the forums but couldn't find any dl links?

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #187214] Mon, 02 June 2008 05:20 Go to previous messageGo to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
Yes, there is one somewhere that has minimal modifications and bug fixes, adds some more bugs, etc... but it converted to C++ and may be easier to compile on later versions.

Also, You can run JA2 on vista, you just have to change the file permissions on files that JA2 needs to write to, such as save games, etc...

I beleive Maverick28 got the vanilla source compiling on VC2005. Those unresolved external symbols errors sound like you may need to install the Microsoft Windows 2003 SDK, and make sure all of your lib include directories are setup in your projects correctly.

Failing that, the 1.13 source is always available and compiles in VC2005 and VC2008.

Report message to a moderator

First Sergeant

Re: Original and untouched JA2 Gold Source Code[message #187957] Mon, 09 June 2008 05:10 Go to previous messageGo to next message
firefly28 is currently offline firefly28

 
Messages:54
Registered:May 2008
Hiya its really late here but what errors are you getting and whats the exact link or svn linkk that will show me what source you are using, just submit the earliest error + 1 or 2 differant listings of the most prominant warnings, I am using vista btw , I had a bit of hassle but got there in the end just stick with it Smile

It was ms vs 2005 & 2005 Express I got the code compiled on , I have been faffing around with the PE executable format and C so my paths are changed again but I can have a bash at compilation again tommorow just to see if I can help you out, Im very new at it myself, the whole compiling JA 2 source but got there in the end, however I was banging my head of a wall a bit Smile Everyone was pretty patiant as well and was lucky some that helped me had been through the same thing hehe

Anyway will check back tommorow , I will try my best to help if its possible for me to do so.

I dont think I did it on 2008? but I was messing with alot of differant MS VS versions in the end and I ended up getting it to compile on the ones I used .

[Updated on: Mon, 09 June 2008 05:13] by Moderator

Report message to a moderator

Corporal
Re: Original and untouched JA2 Gold Source Code[message #318313] Wed, 01 May 2013 07:21 Go to previous messageGo to next message
AnthraxBass is currently offline AnthraxBass
Messages:1
Registered:May 2013
Repost please?

Report message to a moderator

Civilian
Re: Original and untouched JA2 Gold Source Code[message #318322] Wed, 01 May 2013 11:16 Go to previous message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
AnthraxBass
Repost please?

Here

Report message to a moderator

First Sergeant
Previous Topic: JA2:UB Source
Next Topic: Tutorial Visual Studio 6.0 setup
Goto Forum:
  


Current Time: Sat May 04 07:21:38 GMT+3 2024

Total time taken to generate the page: 0.01256 seconds