r3755 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 2 05:53:56 EDT 2008


Author: div0
Date: 2008-07-02 05:53:48 -0400 (Wed, 02 Jul 2008)
New Revision: 3755

Removed:
   trunk/data/qcsrc/server/merge-entities-def.pl
Log:
this never worked and the wiki works better anyway


Deleted: trunk/data/qcsrc/server/merge-entities-def.pl
===================================================================
--- trunk/data/qcsrc/server/merge-entities-def.pl	2008-07-02 09:52:25 UTC (rev 3754)
+++ trunk/data/qcsrc/server/merge-entities-def.pl	2008-07-02 09:53:48 UTC (rev 3755)
@@ -1,43 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-my %spawnfuncs;
-my %entitiesdef;
-
--f "qc.asm"
-	or (system 'fteqcc -Fwasm'
-		and die "fteqcc died");
-open my $fh, '<', 'qc.asm'
-	or die "qc.asm: $!";
-while(<$fh>)
-{
-	chomp;
-	/^void \(\) spawnfunc_(.*);$/
-		and $spawnfuncs{$1} = 1;
-}
-close $fh;
-
-open $fh, '+<', '../../entities.def'
-	or die "entities.def: $!";
-my $s = do { undef local $/; <$fh>; };
-while($s =~ s/\n\/\*QUAKED (\S+) (.*?)\*\//\n/s)
-{
-	$entitiesdef{$1} = $2;
-}
-
-use Data::Dumper;
-print Dumper \%entitiesdef;
-
-I KNOW THIS WON'T COMPILE, I WILL FINISH IT LATER
-example description
-"(0 .5 0) (-8 -8 -8) (8 8 8)
-Aiming target for entities like light, misc_portal_camera and trigger_push (jump pads) in particular.
--------- KEYS --------
-targetname : the entity that requires an aiming direction points to this.
-notfree : when set to 1, entity will not spawn in "Free for all" and "Tournament" modes.
-notteam : when set to 1, entity will not spawn in "Teamplay" and "CTF" modes.
-notsingle : when set to 1, entity will not spawn in Single Player mode (bot play mode).
--------- NOTES --------
-To make a jump pad, place this entity at the highest point of the jump and target it with a trigger_push entity."




More information about the nexuiz-commits mailing list