Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6 KiB

  1. #ifndef load_h
  2. #define load_h
  3. /***************************************************************
  4. FUNCTION: Load the propellant data contain in filename
  5. PARAMETER: filename should be the path of the file containing
  6. the information on propellant. It should be exactly
  7. in the format of the file propellant.dat include
  8. in the distribution.
  9. COMMENTS: It load the information in the global variable
  10. propellant_list[MAX_PROPELLANT] that is of type
  11. propellant_t
  12. AUTHOR: Antoine Lefebvre
  13. modification bye Mark Pinese
  14. ****************************************************************/
  15. int load_propellant(char *filename);
  16. /***************************************************************
  17. FUNCTION: Load the thermo data contain in filename
  18. PARAMETER: filename should be the path of the file containing
  19. the thermo information . It should be exactly
  20. in the format of the file thermo.dat include
  21. in the distribution.
  22. COMMENTS: It load the information in the global variable
  23. thermo_list[MAX_THERMO] that is of type
  24. thermo_t
  25. AUTHOR: Antoine Lefebvre
  26. modification bye Mark Pinese
  27. ****************************************************************/
  28. int load_thermo(char *filename);
  29. /***************************************************************
  30. Removes trailing ' ' in str. If str is all ' ', removes all
  31. but the first.
  32. str - pointer to a character array (not necessarily a string)
  33. len - length of str.
  34. AUTHOR: Mark Pinese
  35. ****************************************************************/
  36. void trim_spaces(char *str, unsigned int len);
  37. #endif