GithubHelp home page GithubHelp logo

johnny-martin / gear Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.6 MB

License: MIT License

CMake 0.33% Makefile 0.56% C 72.48% Assembly 1.37% Shell 0.06% M4 0.30% DIGITAL Command Language 0.02% Batchfile 0.01% C++ 23.48% Roff 0.26% Perl 0.09% Lua 0.69% Objective-C 0.36%

gear's Introduction

开发环境依赖:
1,需安装DirectXSDK

目录设置:
3rd: 存放需要编译成静态库的第三方库,project目录中后缀为_3rd的工程负责将
3rd内的库编译成lib,并将输出目录定位到libray目录。

include目录,:存放lib库的头文件,以及仅依赖头文件的库(如spdlog)
tinyxml2虽然只有一个h文件一个cpp文件,但是cpp文件需要放到主工程中编译,不太方便,故将
tinyxml也编译成了lib

project目录:存放各个VS版本的工程文件(由于使用到了C++11,最低需要VS2012)

source目录:工程源代码

环境搭建:
先编译project下_3rd结尾的工程,再编译主工程


///////////////////////////////////////Ver0.1//////////////////////////////////////////
1,UIBase及其后裔类的m_attrMap、m_eventMap初始化可以优化
2,日志输出文件有待优化
3,<event>标签使用map<string, string>存储,使用event的name做key,value只有一个,意味着
  event除了name属性之外只能有一个额外属性:func,无法再放file属性。V0.1初步方案是:
  使用如下格式的func="..\\script\\SampleWindow.lua=>OnCreate", SampleWindow.lua与XML同名
  的话可略。例如SampleWnd.xml中有这样的event: <event name="OnCreate" func="OnCreateFunc"/>
  则会解析成<event name="OnCreate" func="SampleWnd.xml.lua=>OnCreateFunc"/>
4,id跟name是一回事

gear's People

Contributors

johnny-martin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.