News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Errors while compiling for ROE

Started by VGames, March 03, 2016, 08:53:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VGames

Ok so I'm transferring all my code for PD3 to a source that can be used with ROE and I've run into a problem. I'm copying and pasting everything just like it is in the source that works fine for standard Doom 3 but for some reason I'm getting some errors and a warning when I try to compile the ROE source:


4>c:\doom3_sdk\src\d3xp\Entity.h(149) : error C2143: syntax error : missing ';' before '*'
4>c:\doom3_sdk\src\d3xp\Entity.h(149) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
4>c:\doom3_sdk\src\d3xp\Entity.h(149) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
4>c:\doom3_sdk\src\d3xp\Entity.h(149) : warning C4183: 'CommonFireProjectile': missing return type; assumed to be a member function returning 'int'


This is the line that's giving me the problem:


idProjectile*         CommonFireProjectile( const char *projDefName, const idVec3 &firePos, const idVec3 &dir ); // PD3


This line works perfectly ok for Standard Doom 3 source. Any ideas?
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

VGames

Fixed the source code problems. I forgot to include this at the top of the file:


class idProjectile;


Now I'm getting this error while trying to start the game:


ERROR: Error: file script\weapon_shotgun_double.script, line 24: 'weapon_shotgun_double' : redefinition; different basic types

Any ideas? I don't understand how I can be redefining the double barrel when the game should be ignoring all script files in pak files that come before my new ones.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

VGames

Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

VGames

Ok now I'm getting this message when I run ROE with PD3:

ERROR: Error: file script/map_phobos1.script, line 19: Exceeded global memory size (296608 bytes)

I've tried increasing this number and then I get another error message about exceeding the max amount of statements. I've increased that max amount allowed and the game just completely crashes to desktop. Any ideas?
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

VGames

Fixed the problem by removing everything in the script folder in my pak files that ROE won't need. It works.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500