Hi folks;
I´m translating a large old .wdl code into Lite-C, but i´ve runned into a problem.
An action code used by the collision detection camera entity apparently doesn´t work in Lite-C - couldn´t find any working example of the new code, since i don´t know what the new syntax is.
This is the old code:
Code:
...
if(camera_mode==1)
      {
      vec_set (my.x,camera_1.x); 
      result = content(my.x);
      if (result == content_solid){camerainblock=1;}
      else{camerainblock=0;}
      }wait(1);
...


It gives the following error:

Error in ´actions.c´ line 113:
´content´ undeclared identifier
< result=content(my,x);
>

"content" was the .wdl syntax for determining content of an object... how is it handled in Lite-C?
Maybe now it´s some PhysiX code probably, but i´d like to first put this one to run again first, to optimize the code with a running version of the game.
Any help is appreciated... thanks in advance.