Let's get consistent with spelling: Use the US spelling of traveler with one 'l'
This commit is contained in:
parent
e1dd2a6221
commit
74e4ec91b6
@ -18,16 +18,16 @@ endmenu
|
|||||||
endif # TIFF
|
endif # TIFF
|
||||||
|
|
||||||
config GRAPHICS_TRAVELER
|
config GRAPHICS_TRAVELER
|
||||||
bool "Traveller game"
|
bool "Traveler game"
|
||||||
default n
|
default n
|
||||||
select SYSTEM_INIFILE
|
select SYSTEM_INIFILE
|
||||||
---help---
|
---help---
|
||||||
Enable or disable the graphic Traveller game
|
Enable or disable the graphic Traveler game
|
||||||
|
|
||||||
if GRAPHICS_TRAVELER
|
if GRAPHICS_TRAVELER
|
||||||
|
|
||||||
menu "Traveller game"
|
menu "Traveler game"
|
||||||
source "$APPSDIR/graphics/traveller/Kconfig"
|
source "$APPSDIR/graphics/traveler/Kconfig"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
endif # GRAPHICS_TRAVELER
|
endif # GRAPHICS_TRAVELER
|
||||||
|
@ -43,5 +43,5 @@ CONFIGURED_APPS += graphics/screenshot
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_GRAPHICS_TRAVELER),y)
|
ifeq ($(CONFIG_GRAPHICS_TRAVELER),y)
|
||||||
CONFIGURED_APPS += graphics/traveller
|
CONFIGURED_APPS += graphics/traveler
|
||||||
endif
|
endif
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
# Sub-directories
|
# Sub-directories
|
||||||
|
|
||||||
SUBDIRS = tiff screenshot traveller
|
SUBDIRS = tiff screenshot traveler
|
||||||
|
|
||||||
# Sub-directories that might need context setup
|
# Sub-directories that might need context setup
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/graphics/traveller/Makefile
|
# apps/graphics/traveler/Makefile
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -39,7 +39,7 @@ include $(APPDIR)/Make.defs
|
|||||||
|
|
||||||
# Hello, World! built-in application info
|
# Hello, World! built-in application info
|
||||||
|
|
||||||
APPNAME = traveller
|
APPNAME = traveler
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
STACKSIZE = 2048
|
STACKSIZE = 2048
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ ifeq ($(WINTOOL),y)
|
|||||||
INCDIROPT = -w
|
INCDIROPT = -w
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/graphics/traveller/include}
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/graphics/traveler/include}
|
||||||
|
|
||||||
DEPPATH = --dep-path src
|
DEPPATH = --dep-path src
|
||||||
VPATH = src
|
VPATH = src
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_bitmaps.h
|
* apps/graphics/traveler/include/trv_bitmaps.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_BITMAPS_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_BITMAPS_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_BITMAPS_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_BITMAPS_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -54,4 +54,4 @@
|
|||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_BITMAPS_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_BITMAPS_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_color.h
|
* apps/graphics/traveler/include/trv_color.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_COLOR_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_COLOR_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_COLOR_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_COLOR_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -76,4 +76,4 @@ trv_pixel_t trv_color_rgb2pixel(FAR struct trv_color_rgb_s *pixel);
|
|||||||
void trv_color_pixel2lum(trv_pixel_t pixel, FAR struct trv_color_lum_s *lum);
|
void trv_color_pixel2lum(trv_pixel_t pixel, FAR struct trv_color_lum_s *lum);
|
||||||
trv_pixel_t trv_color_lum2pixel(FAR struct trv_color_lum_s *lum);
|
trv_pixel_t trv_color_lum2pixel(FAR struct trv_color_lum_s *lum);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_COLOR_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_COLOR_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_debug.h
|
* apps/graphics/traveler/include/trv_debug.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DEBUG_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DEBUG_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DEBUG_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DEBUG_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -50,11 +50,11 @@
|
|||||||
|
|
||||||
/* Feature Selection Switches
|
/* Feature Selection Switches
|
||||||
*
|
*
|
||||||
* CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 3 turns off sound and video and
|
* CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 3 turns off sound and video and
|
||||||
* enables verbose debug messages on stdout.
|
* enables verbose debug messages on stdout.
|
||||||
* CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 2 turns off sound and video and
|
* CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 2 turns off sound and video and
|
||||||
* enables normal debug output
|
* enables normal debug output
|
||||||
* CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 1 turns off sound and enables
|
* CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 1 turns off sound and enables
|
||||||
* normal debug output
|
* normal debug output
|
||||||
* OTHERWISE, all debugging features are disabled.
|
* OTHERWISE, all debugging features are disabled.
|
||||||
*/
|
*/
|
||||||
@ -63,16 +63,16 @@
|
|||||||
#define ENABLE_VIDEO 1
|
#define ENABLE_VIDEO 1
|
||||||
#undef TRV_VERBOSE
|
#undef TRV_VERBOSE
|
||||||
|
|
||||||
#ifndef CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL
|
#ifndef CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL
|
||||||
# define CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL 0
|
# define CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL 0
|
||||||
#ielf (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 3)
|
#ielf (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 3)
|
||||||
# undef ENABLE_SOUND
|
# undef ENABLE_SOUND
|
||||||
# undef ENABLE_VIDEO
|
# undef ENABLE_VIDEO
|
||||||
# define TRV_VERBOSE 1
|
# define TRV_VERBOSE 1
|
||||||
#elif (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 2)
|
#elif (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 2)
|
||||||
# undef ENABLE_SOUND
|
# undef ENABLE_SOUND
|
||||||
# undef ENABLE_VIDEO
|
# undef ENABLE_VIDEO
|
||||||
#elif (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL == 1)
|
#elif (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 1)
|
||||||
# undef ENABLE_SOUND
|
# undef ENABLE_SOUND
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -83,7 +83,7 @@
|
|||||||
/* Debug output macros */
|
/* Debug output macros */
|
||||||
|
|
||||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||||
# if (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL > 0)
|
# if (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0)
|
||||||
|
|
||||||
# define trv_debug(format, ...) \
|
# define trv_debug(format, ...) \
|
||||||
printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
||||||
@ -106,7 +106,7 @@
|
|||||||
|
|
||||||
/* Variadic macros NOT supported */
|
/* Variadic macros NOT supported */
|
||||||
|
|
||||||
# if (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL > 0)
|
# if (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0)
|
||||||
# ifdef TRV_VERBOSE
|
# ifdef TRV_VERBOSE
|
||||||
# define trv_vdebug trv_debug
|
# define trv_vdebug trv_debug
|
||||||
# else
|
# else
|
||||||
@ -132,8 +132,8 @@
|
|||||||
* arguments, then this additional interface will be built.
|
* arguments, then this additional interface will be built.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CONFIG_CPP_HAVE_VARARGS && (CONFIG_GRAPHICS_TRAVELLER_DEBUG_LEVEL > 0)
|
#ifndef CONFIG_CPP_HAVE_VARARGS && (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0)
|
||||||
int trv_debug(FAR const char *format, ...);
|
int trv_debug(FAR const char *format, ...);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DEBUG_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DEBUG_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_doors.h
|
* apps/graphics/traveler/include/trv_doors.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DOORS_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DOORS_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DOORS_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DOORS_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -49,4 +49,4 @@
|
|||||||
void trv_door_initialize(void);
|
void trv_door_initialize(void);
|
||||||
void trv_door_animate(void);
|
void trv_door_animate(void);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_DOORS_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_DOORS_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_graphics.h
|
* apps/graphics/traveler/include/trv_graphics.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_GRAPHICS_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_GRAPHICS_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_GRAPHICS_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_GRAPHICS_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -79,4 +79,4 @@ trv_pixel_t trv_graphics_index2pixel(int index);
|
|||||||
void trv_display_update(struct trv_framebuffer_s *fb);
|
void trv_display_update(struct trv_framebuffer_s *fb);
|
||||||
trv_pixel_t *trv_get_renderbuffer(uint16_t width, uint16_t height);
|
trv_pixel_t *trv_get_renderbuffer(uint16_t width, uint16_t height);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_GRAPHICS_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_GRAPHICS_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_input.h
|
* apps/graphics/traveler/include/trv_input.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_INPUT_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_INPUT_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_INPUT_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_INPUT_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -50,4 +50,4 @@ void trv_input_initialize(void);
|
|||||||
void trv_input_read(void);
|
void trv_input_read(void);
|
||||||
void trv_input_terminate(void);
|
void trv_input_terminate(void);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_INPUT_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_INPUT_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_main.h
|
* apps/graphics/traveler/include/trv_main.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_MAIN_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_MAIN_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_MAIN_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_MAIN_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -58,4 +58,4 @@ extern bool g_trv_terminate;
|
|||||||
|
|
||||||
void trv_abort(FAR char *format, ...);
|
void trv_abort(FAR char *format, ...);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_MAIN_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_MAIN_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_pov.h
|
* apps/graphics/traveler/include/trv_pov.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_POV_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_POV_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_POV_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_POV_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -58,4 +58,4 @@ extern struct trv_camera_s g_trv_player;
|
|||||||
void trv_pov_reset(void);
|
void trv_pov_reset(void);
|
||||||
void trv_pov_new(void);
|
void trv_pov_new(void);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_POV_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_POV_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_raycntl.h
|
* apps/graphics/traveler/include/trv_raycntl.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYCNTL_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYCNTL_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYCNTL_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYCNTL_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -60,4 +60,4 @@ extern uint8_t *trv_raycaster_initialize(uint16_t screen_width,
|
|||||||
FAR uint8_t *screen_buffer);
|
FAR uint8_t *screen_buffer);
|
||||||
extern void trv_raycaster(FAR struct trv_camera_s *player);
|
extern void trv_raycaster(FAR struct trv_camera_s *player);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYCNTL_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYCNTL_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_rayrend.h
|
* apps/graphics/traveler/include/trv_rayrend.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYEND_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYEND_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYEND_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYEND_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -57,4 +57,4 @@
|
|||||||
|
|
||||||
void trv_rend_backdrop (struct trv_camera_s *camera);
|
void trv_rend_backdrop (struct trv_camera_s *camera);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_RAYEND_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYEND_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_types.h
|
* apps/graphics/traveler/include/trv_types.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_TYPES_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_TYPES_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_TYPES_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_TYPES_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -69,4 +69,4 @@ typedef uint8_t trv_pixel_t;
|
|||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_TYPES_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_TYPES_H */
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/include/trv_world.h
|
* apps/graphics/traveler/include/trv_world.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_WORLD_H
|
#ifndef __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_WORLD_H
|
||||||
#define __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_WORLD_H
|
#define __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_WORLD_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -66,4 +66,4 @@ struct trv_camera_s
|
|||||||
int trv_world_create(FAR const char *mapfile);
|
int trv_world_create(FAR const char *mapfile);
|
||||||
void trv_world_destroy(void);
|
void trv_world_destroy(void);
|
||||||
|
|
||||||
#endif /* __APPS_GRAPHICS_TRAVELLER_INCLUDE_TRV_WORLD_H */
|
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_WORLD_H */
|
@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/graphics/traveller/trv_debug.h
|
* apps/graphics/traveler/trv_debug.h
|
||||||
* This file contains the main logic for the NuttX version of Traveller
|
* This file contains the main logic for the NuttX version of Traveler
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
Loading…
Reference in New Issue
Block a user