Standardize the width of all comment boxes in C files
This commit is contained in:
parent
9cb2849742
commit
f6e7e9c1c0
@ -80,13 +80,13 @@ static struct fb_cmap_s g_cmap =
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_STM32_LTDC_INTERFACE
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_init_surface
|
||||
*
|
||||
* Description:
|
||||
* Initialize layer and the layers videoinfo and planeinfo
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static int ltdc_init_surface(int lid, uint32_t mode)
|
||||
{
|
||||
@ -149,13 +149,13 @@ static int ltdc_init_surface(int lid, uint32_t mode)
|
||||
return OK;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_setget_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer area positioning test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_setget_test(void)
|
||||
{
|
||||
@ -338,13 +338,13 @@ static void ltdc_setget_test(void)
|
||||
sur->layer->update(sur->layer, 0);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_color_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer color test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_color_test(void)
|
||||
{
|
||||
@ -445,13 +445,13 @@ static void ltdc_color_test(void)
|
||||
usleep(1000000);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_colorkey_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer colorkey test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_colorkey_test(void)
|
||||
{
|
||||
@ -552,13 +552,13 @@ static void ltdc_colorkey_test(void)
|
||||
usleep(1000000);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_area_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer area positioning test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_area_test(void)
|
||||
{
|
||||
@ -874,14 +874,14 @@ static void ltdc_area_test(void)
|
||||
usleep(1000000);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_common_test
|
||||
*
|
||||
* Description:
|
||||
* Perform test with all layer operations at once
|
||||
* Todo: add alpha blending and default color
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_common_test(void)
|
||||
{
|
||||
@ -1289,13 +1289,13 @@ static void ltdc_common_test(void)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_STM32_LTDC_L2
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_alpha_blend_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer blend test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_alpha_blend_test(void)
|
||||
{
|
||||
@ -1422,13 +1422,13 @@ static void ltdc_alpha_blend_test(void)
|
||||
top->layer->update(top->layer, LTDC_UPDATE_SIM|LTDC_SYNC_VBLANK);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_flip_test
|
||||
*
|
||||
* Description:
|
||||
* Perform layer flip test
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
static void ltdc_flip_test(void)
|
||||
{
|
||||
@ -1967,13 +1967,13 @@ void ltdc_simple_draw(FAR struct fb_videoinfo_s *vinfo,
|
||||
}
|
||||
|
||||
#ifdef CONFIG_STM32_LTDC_L2
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_drawcolor
|
||||
*
|
||||
* Description:
|
||||
* Draw a specific color to the framebuffer
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
void ltdc_drawcolor(FAR struct fb_videoinfo_s *vinfo, void *buffer,
|
||||
uint16_t xres, uint16_t yres, uint32_t color)
|
||||
@ -2041,13 +2041,13 @@ void ltdc_drawcolor(FAR struct fb_videoinfo_s *vinfo, void *buffer,
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_LTDC_INTERFACE
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: ltdc_get_surface
|
||||
*
|
||||
* Description:
|
||||
* Get a reference to a specific layer
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
struct surface * ltdc_get_surface(uint32_t mode)
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_bitmapfile.c
|
||||
* This file contains the logic which loads texture bitmaps
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_bitmaps.c
|
||||
* This file contains low-level texture bitmap logic
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_color.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_doors.c
|
||||
* This file contains the logic which manages world door logic.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_fsutils.c
|
||||
* Miscellaneous file access utilities
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_graphicfile.c
|
||||
* Load image from a graphic file
|
||||
*
|
||||
|
@ -120,7 +120,7 @@ struct trv_input_s g_trv_input;
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GRAPHICS_TRAVELER_JOYSTICK
|
||||
static struct trv_joystick_s g_trv_joystick;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_paltbl.c
|
||||
* This file contains the logic that creates the range palette table that is
|
||||
* used to modify the palette with range to hit
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_pcx.c
|
||||
* PCX graphic file support
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_planefiles.c
|
||||
* This file contains the logic to manage the world data files
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_planelist.c
|
||||
* This file contains the logic to manage world plane lists.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_rayavoid.c
|
||||
* This file contains the logic which determines if the desired player motion
|
||||
* would cause a collision with various walls or if the motion would cause
|
||||
@ -38,7 +38,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Included files
|
||||
****************************************************************************/
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
#include "trv_world.h"
|
||||
#include "trv_rayavoid.h"
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
|
||||
#define MIN_APPROACH_DISTANCE (64/4) /* One quarter cell */
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
@ -68,11 +68,11 @@
|
||||
|
||||
static struct trv_rect_data_s *g_clip_rect;
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: trv_ray_test_xplane
|
||||
*
|
||||
* Description:
|
||||
@ -84,7 +84,7 @@ static struct trv_rect_data_s *g_clip_rect;
|
||||
* trv_rayclip_player_xmotion and depends on the side-effect setting of
|
||||
* g_clip_rect.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
FAR struct trv_rect_data_s *trv_ray_test_xplane(FAR struct trv_camera_s *pov,
|
||||
trv_coord_t dist, int16_t yaw,
|
||||
@ -94,7 +94,7 @@ FAR struct trv_rect_data_s *trv_ray_test_xplane(FAR struct trv_camera_s *pov,
|
||||
return g_clip_rect;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: trv_rayclip_player_xmotion
|
||||
*
|
||||
* Description:
|
||||
@ -103,7 +103,7 @@ FAR struct trv_rect_data_s *trv_ray_test_xplane(FAR struct trv_camera_s *pov,
|
||||
* a collision with an X plane. This logic is essentially a modified X
|
||||
* ray cast.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
|
||||
trv_coord_t dist, int16_t yaw,
|
||||
@ -322,7 +322,7 @@ trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
|
||||
return reqdeltax;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: trv_ray_test_yplane
|
||||
*
|
||||
* Description:
|
||||
@ -343,7 +343,7 @@ FAR struct trv_rect_data_s *trv_ray_test_yplane(FAR struct trv_camera_s *pov,
|
||||
return g_clip_rect;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: trv_rayclip_player_ymotion
|
||||
*
|
||||
* Description:
|
||||
@ -569,7 +569,7 @@ trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,
|
||||
return reqdeltay;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: trv_ray_adjust_zpos
|
||||
*
|
||||
* Description:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_raycast.c
|
||||
* This file contains the low-level ray casting logic
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_raycntl.c
|
||||
* This file contains the high-level ray caster control logic
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_rayprune.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*****************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_rayrend.c
|
||||
* This file contains the functions needed to render a screen.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_texturefile.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/src/trv_world.c
|
||||
* This file contains the logic that creates and destroys the world.
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/tools/misc/mktrig.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/tools/misc/pll2txt.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*******************************************************************************
|
||||
/****************************************************************************
|
||||
* apps/graphics/traveler/tools/misc/txt2pll.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
|
@ -31,11 +31,11 @@
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
@ -47,14 +47,14 @@
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
const char g_http[] = "http://";
|
||||
#define HTTPLEN 7
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
*****************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: netlib_parsehttpurl
|
||||
|
Loading…
Reference in New Issue
Block a user