mirror of
https://github.com/tribes2/engine.git
synced 2026-02-25 01:23:43 +00:00
t2 engine svn checkout
This commit is contained in:
commit
ff569bd2ae
988 changed files with 394180 additions and 0 deletions
8
platformLinux/fixcalls.pl
Normal file
8
platformLinux/fixcalls.pl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# This is a script to read a Visual C++ object file and convert the calls
|
||||
$len = sysread(STDIN, $data, 100000);
|
||||
$data =~ s/POW/pow/;
|
||||
$data =~ s/ACOS/acos/;
|
||||
$data =~ s/\xE8\x00\x00\x00\x00/\xE8\xFC\xFF\xFF\xFF/g;
|
||||
syswrite(STDOUT, $data, $len);
|
||||
Loading…
Add table
Add a link
Reference in a new issue