ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/event2inc
(Generate patch)

Comparing deliantra/server/include/event2inc (file contents):
Revision 1.4 by root, Tue Nov 3 23:44:21 2009 UTC vs.
Revision 1.5 by root, Mon Apr 5 03:22:25 2010 UTC

28 * The authors can be reached via e-mail to <support\@deliantra.net> 28 * The authors can be reached via e-mail to <support\@deliantra.net>
29 */ 29 */
30 30
31EOF 31EOF
32 32
33my $idx = 0;
34
33while (<>) { 35while (<>) {
34 if (/^=head2 (\S+) EVENTS/) { 36 if (/^=head2 (\S+) EVENTS/) {
35 $klass = $1; 37 $klass = $1;
36 } elsif (/=head3 (\S+)\s*(.*)/) { 38 } elsif (/=head3 (\S+)\s*(.*)/) {
37 print "def ($klass, \U$1\E) // $2\n"; 39 print "def ($klass, \U$1\E) // ", $idx++, " $2\n";
38 } 40 }
39} 41}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines