资源说明:Lee and Jake Turner's repo for fun
To compile a project from the project's directory type: makewhere: = {debug,release,gold,clean,cleanrelease,cleangold,tags,cleantags,rebuildall} : DEFAULT=debug e.g. cd BGame make ./bgame Some Code Style Suggestions 1. all engine directories/files/structs/enums/functions start with LJ_ 2. all game directories/files/structs/enums/functions start with the game prefix e.g. BG_ 3. all directories start with capital letter (the bit after the prefix) 4. all files start with lowercase letter (the bit after the prefix) 5. LJ_assert is not a swear word so lets use it ;) 6. do not use libc directly but wrap it ourselves in the engine (an ongoing task) Notes 1. the print and assert functions are macros so need extra brackets around their args to make variable args macro substitution work in a cross-compiler manner e.g. LJ_outputPrintDebug( ( "Wow it works %d\n", 10 ) ); 2. don't use the stdc library use the functions in LJ_LibCommon e.g. LJ_mem*, LJ_str*, LJ_output* functions
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。