project_files/hwc/rtl/system.c
branchwebgl
changeset 8047 25a4daa6473c
parent 7983 02f36c3e7f6c
child 8053 2e836bebb518
equal deleted inserted replaced
8044:796f2653f21d 8047:25a4daa6473c
     1 #include "system.h"
     1 #include "system.h"
     2 #include <string.h>
     2 #include <string.h>
     3 #include <stdio.h>
     3 #include <stdio.h>
     4 #include <stdlib.h>
     4 #include <stdlib.h>
     5 #include <wchar.h>
     5 #include <wchar.h>
     6 #include <math.h>
       
     7 
     6 
     8 int paramCount;
     7 int paramCount;
     9 string255 params[MAX_PARAMS];
     8 string255 params[MAX_PARAMS];
    10 
       
    11 double pi = M_PI;
       
    12 
     9 
    13 string255 fpcrtl_copy(string255 s, Integer index, Integer count) {
    10 string255 fpcrtl_copy(string255 s, Integer index, Integer count) {
    14     string255 result = STRINIT("");
    11     string255 result = STRINIT("");
    15 
    12 
    16     if (count < 1) {
    13     if (count < 1) {