X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=LaRCsim%2Fls_interface.c;h=5c6c62abe7c20f55b8d4d872b1465fcc72ab30b6;hb=28fad1d2964d4f7122fff0a3d479e15fdb2e8be8;hp=c99bc23f679c7570fdfd48c3a00875f2e5119fe8;hpb=871ee408fa93b6ef926de706fc119fdbca0025e7;p=flightgear.git diff --git a/LaRCsim/ls_interface.c b/LaRCsim/ls_interface.c index c99bc23f6..5c6c62abe 100644 --- a/LaRCsim/ls_interface.c +++ b/LaRCsim/ls_interface.c @@ -495,7 +495,7 @@ int initialize; int ls_cockpit() { - struct CONTROLS *c; + struct fgCONTROLS *c; sim_control_.paused = 0; @@ -559,8 +559,8 @@ int fgLaRCsimUpdate(int multiloop) { } -/* Convert from the FG FLIGHT struct to the LaRCsim generic_ struct */ -int fgFlight_2_LaRCsim (struct FLIGHT *f) { +/* Convert from the fgFLIGHT struct to the LaRCsim generic_ struct */ +int fgFlight_2_LaRCsim (struct fgFLIGHT *f) { Mass = FG_Mass; I_xx = FG_I_xx; I_yy = FG_I_yy; @@ -733,8 +733,8 @@ int fgFlight_2_LaRCsim (struct FLIGHT *f) { } -/* Convert from the LaRCsim generic_ struct to the FG FLIGHT struct */ -int fgLaRCsim_2_Flight (struct FLIGHT *f) { +/* Convert from the LaRCsim generic_ struct to the fgFLIGHT struct */ +int fgLaRCsim_2_Flight (struct fgFLIGHT *f) { FG_Mass = Mass; FG_I_xx = I_xx; FG_I_yy = I_yy; @@ -909,6 +909,10 @@ int fgLaRCsim_2_Flight (struct FLIGHT *f) { /* Flight Gear Modification Log * * $Log$ + * Revision 1.10 1997/12/10 22:37:43 curt + * Prepended "fg" on the name of all global structures that didn't have it yet. + * i.e. "struct WEATHER {}" became "struct fgWEATHER {}" + * * Revision 1.9 1997/08/27 03:30:08 curt * Changed naming scheme of basic shared structures. *