Unknown functions?

Posted By: Crypton

Unknown functions? - 06/18/09 10:14

Using LiteC Free. I have noticed that some of functions aren't painted red even when the engine can compile it. Also Command Help wont show what it does or what arguments it needs. Some of functions/values I have noticed:

vec_rotate
font (in TEXT* definition)
NULL
on_space
PH_RIGID,PH_SPHERE
ENABLE_FRICTION
GLIDE
IGNORE_WORLD
(probably all the modes in c_move...)

Thats what I have tested and seen. Is it a normal thing or really mistakes, because I don't know to use builtin functions if not coloured so... (thus not showing up in Command Help)
Posted By: jcl

Re: Unknown functions? - 06/18/09 12:28

Thanks for the info. A function is painted red in the editor when it is in the blue box with the black border in the manual. Thus, NULL, on_space etc. won't be painted red. But vec_rotate and font should, so that's an issue with the format of their manual pages. Whenever you find some function that should be red but isn't, please post it here or in the manual forum.
Posted By: MrGuest

Re: Unknown functions? - 06/19/09 09:39

a few more

FUNCTIONS
---------
asin
pan_setdigits
pan_setbutton
pan_setneedle
pan_setwindow
str_width
vec_rotateback
vec_rotateaxis
vec_for_ent
ent_for_file

EVENTS
------
on_exit

TYPES
-----
byte

PROPERTIES / PARAMETERS
-----------------------
genius
min_x ..to.. max_z
mtlSkin1
flags2 - (not manual header)

VARIABLES
---------
shift_sense

would also be useful if #defined items would be painted too
Posted By: Crypton

Re: Unknown functions? - 06/19/09 13:13

sign
emask

Other things noticed:

1. When I make text active and right click on it without moving the mouse! the activness disappears and I cant do actions with it. But when I make it active, move mouse! and right click, everything is fine.

2. When I write a function/value etc sometimes SED displays this little description. Its exactly one line down and even when I click on it nothing happens, I can't click on that lower row position (in order to edit something on that position) where that description is shown
It's quite annoying. I need to get rid of that description line first and then I can click on position where it stood in my way earlier.

3. Syntax check doesn't work at all... pressing F6 doesn't do anything and cant see any errors in Syntax Checker Results tab.

4. SED Auto indent makes funny things:
When I press Enter to a new line it sets the text cursor correctly to the indent position, but when I write } It jumps in the beginning of the line and I get: }@@@@@@
Posted By: VeT

Re: Unknown functions? - 06/19/09 14:40

//would also be useful if #defined items would be painted too

as well as pre-defined functions smile
Posted By: Crypton

Re: Unknown functions? - 06/21/09 17:48

PH_RIGID

4. I typed
phent_settype(eBall,

and looked from Command Help in "var type" for values. Copied PH_RIGID from there and when trying to paste it into SED I suddenly got:

phent_settype(eBall,
phent_settype(eBall,

which is wierd.
Posted By: Crypton

Re: Unknown functions? - 06/24/09 21:15

atan2
width
height
angle

pi isn't recognised, error: 'pi' undeclared identifier :S
Posted By: shiznitIII

C_move to a target - 06/25/09 08:25

hi! how do you move one entity to a target position using c_move. I cant seem to get the right relative values. Im having a hard time finding a calculation using the target vector and current vector to apply in c_move. Please Help
Posted By: shiznitIII

C_move to target vector - 06/25/09 08:26

hi! how do you move one entity to a target position using c_move. I cant seem to get the right relative values. Im having a hard time finding a calculation using the target vector and current vector to apply in c_move. Please Help
Posted By: Razoron

Re: C_move to target vector - 07/23/09 13:11

WIIMOTE

wiimote_smoothfac

video_alpha
Posted By: Widi

Re: C_move to target vector - 07/23/09 20:16

str_cpy;

If it possible to color "void" the same as "function"
Posted By: Razoron

Re: C_move to target vector - 07/26/09 12:21

font_create
Posted By: Rei_Ayanami

Re: C_move to target vector - 07/26/09 16:40

skill2 - skill30

nearly all keys
© 2024 lite-C Forums