Skip to content

Source Codes Directory Structure

9miao Mobile Game edited this page Jul 1, 2014 · 2 revisions

Directory Structure Description

Directory

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

CrossApp

 

 

Engine source code directory

CrossApp.h:

header files that all engine functionalities required, and it shields underlying system difference for cocos2dx developers. When there are cross-platform demands, these header files in this directory will include corresponding header files in \cocos2dx\platform directory.

 

CrossApp\platform:
use a bunch of #if macros to judge current operating system, different systems include their corresponding header files.

Since CrossApp is based on OPENGL ES (it is OPENGL subset that specializes on mobile device), so the underlying images and animations rendering already have cross-platform feature, and there are not much header files that have cross-platform needs in cocos2dx (there are few header files in platform directory). Only those have different pattern in disparate systems header file like message loop response mechanism needs cross-platform functionality.

cocosDenshion

Audio library

Extensions

JSon library, Http library etc.

External

Sqlite3 library etc.

Licenses

This engine relies on many open source projects, all their license notice is in this directory.

scripting

Scripts that it supports

Template

This directory includes all project templates for the creation of CrossApp in disparate IDE and platforms.

Projects

Projects directory

Samples

Demo

tools

This directory includes all kinds of script and project creating files etc.

Clone this wiki locally