tp_magic_example.c refresh, due to indent upgrade
Updated my system from Kubuntu 22.04 -> 24.04 and am now on GNU indent 2.2.13, which behaves slightly differently be default.
This commit is contained in:
parent
f91923eddf
commit
073ac19ce6
14 changed files with 448 additions and 448 deletions
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
|
||||||
returned by our example_accepted_sizes() function during setup.
|
returned by our example_accepted_sizes() function during setup.
|
||||||
*/
|
*/
|
||||||
void example_set_size(magic_api *api, int which, int mode,
|
void example_set_size(magic_api *api, int which, int mode,
|
||||||
SDL_Surface * canvas, SDL_Surface * snapshot,
|
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
|
||||||
Uint8 size, SDL_Rect * update_rect)
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Store the new size into the global variable we declared at the top of
|
Store the new size into the global variable we declared at the top of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue