Visit our Discord community hangout and have a real-time talk with the regulars, and keep track of UnrealSP.org developments.
Development on a new site is currently in-progress.
Until then, site contents are available on the Legacy site!
Additionally, newer content written by our staff is available in a temporary subforum.
We sincerely apologize for the delays in recreating the site.
Moderators: zYnthetic, ividyon, Semfry
Post Posted: 24 Aug 2008, 14:53
Post Posted: 24 Aug 2008, 15:45
Post Posted: 24 Aug 2008, 15:46
sana wrote:Yeah, excuse the question, but.. it does exactly what?
Waffnuffly wrote:Holy shit a HOUSE-SIZED BOX
Post Posted: 24 Aug 2008, 16:02
In computer science, a preprocessor is a program that processes its input data to produce output that is used as input to another program. The output is said to be a preprocessed form of the input data, which is often used by some subsequent programs like compilers. The amount and kind of processing done depends on the nature of the preprocessor; some preprocessors are only capable of performing relatively simple textual substitutions and macro expansions, while others have the power of fully-fledged programming languages.
Code: Select all
`define _FINALRELEASE=0
Post Posted: 24 Aug 2008, 16:03
UBerserker wrote:Story: totally guessed that Skeletor was the thief.
Post Posted: 24 Aug 2008, 16:08
Post Posted: 24 Aug 2008, 16:28
Raven wrote:when preprocessor will find -clean argument or clean in project file, it'll produce pure UnrealScript without all other stuff. If false, all things like preprocessor directives will be commented out.
var int bodycount = 1; //is this a proper UScript? :P'define EXTRA_GORE'ifdef EXTRAGOREbodycount = 1000;'endif
Post Posted: 24 Aug 2008, 16:43
[project]path=../RComputerUI/debug=truemake=truemake_ini=make.iniclean=trueoutput=classesinput=classes_ucp
`process`define int1=120`define int2=123`define nc=var() class<actor> NewActor;class PreProcessorTest extends Actor;`check int1>int2var() int test1;`elsevar() int test2;`write nc`endif
class PreProcessorTest extends Actor;var() int test2;var() class<actor> NewActor;
////`process//`define int1=120//`define int2=123//`define nc=var() class<actor> NewActor;class PreProcessorTest extends Actor;////`check int1>int2//var() int test1;//`elsevar() int test2;var() class<actor> NewActor; //`write nc//`endif
Post Posted: 24 Aug 2008, 16:55
Post Posted: 24 Aug 2008, 17:05
Post Posted: 24 Aug 2008, 18:36
2008-08-24 18:17 <DIR> classes2008-08-24 18:11 <DIR> classes_ucp2008-08-24 18:18 102 test.upc
[project] path=projects/ debug=true make=false clean=true output=classes input=classes_ucp
'define DEBUG
'process'include globals.uc//Don't care if it actually compiles ATMclass TestWeapon extends TournamentWeapon{ void Test() { var int bodycount = 10; 'ifdef DEBUG bodycount = 100; 'else bodycount = 15; 'endif }}
?>uenginepp.exe projects\test.upc------------------------------------------ UnralEngine PreProcessor------------------------------------------ Version : 0.1.0 Build : 24.08.2008------------------------------------------ Using project definition: projects\test.upc. Using project directory projects/. Debug mode: on. Run ucc make with------------------------------------------------------------------------------------4 uc files found.0 uc files parsed.Execution time: 0.03 seconds.------------------------------------------ Executing: ucc.exe make--------------------Core----------------------------------------Engine----------------------------------------Editor----------------------------------------UWindow----------------------------------------Fire----------------------------------------IpDrv----------------------------------------UWeb----------------------------------------UBrowser----------------------------------------UnrealShare----------------------------------------UnrealI----------------------------------------UMenu----------------------------------------IpServer----------------------------------------Botpack----------------------------------------UTServerAdmin----------------------------------------UTMenu----------------------------------------UTBrowser--------------------Success - 0 error(s), 0 warnings
?>uenginepp.exe ..\system\projects -clean -debug------------------------------------------ UnralEngine PreProcessor------------------------------------------ Version : 0.1.0 Build : 24.08.2008------------------------------------------ Using project directory ..\system\projects. Debug mode: on.------------------------------------------------------------------------------------5 uc files found.0 uc files parsed.Execution time: 0.03 seconds.
Post Posted: 24 Aug 2008, 18:42
Post Posted: 24 Aug 2008, 18:57
Raven wrote:`process
//`include xxx.uc
Post Posted: 24 Aug 2008, 19:15
Post Posted: 24 Aug 2008, 22:19
Return to “Content Creation”
Users browsing this forum: No registered users and 7 guests