- Main Page
- Namespaces
- Data Structures
- Files

- Search for |

- File List
- Globals

# HydroSDL/main.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
void | quit_tutorial (int code)
| Program quit function.

## Function Documentation

void quit_tutorial | ( | int | code | ) |

Program quit function.

This function quits the program ant returns the error code passed to it to the standard error (shell) Pass 0 to to quit normally, and any other value to indicate a quit on an error.

Parameters:

  | code | : error code

Definition at line 84 of file main.cpp.

References Boat_delete(), close_font(), f_dat, free_wave_variables(), joystick_close(), solver_free(), and ODE_data::state.

Referenced by handle_key_down(), main(), process_events(), resize_window(), and setup_SDL().