├── .gitattributes ├── .gitignore ├── README.md ├── assert-cn ├── bytecode-literal.psd ├── bytecode-stack-1.psd ├── bytecode-stack-2.psd ├── bytecode-stack-3.psd ├── bytecode-ui.psd ├── command-stream.psd ├── command-undo.psd ├── component-uml.psd ├── data-locality-cache-line.psd ├── data-locality-chart.psd ├── dirty-flag-multiply.psd ├── dirty-flag-pirate.psd ├── dirty-flag-update-bad.psd ├── dirty-flag-update-good.psd ├── double-buffer-tearing.psd ├── event-queue-queue.psd ├── event-queue-ring.psd ├── flyweight-tiles.psd ├── flyweight-tree-model.psd ├── flyweight-trees.psd ├── game-loop-fixed.psd ├── game-loop-simple.psd ├── game-loop-timeline-close.psd ├── game-loop-timeline.psd ├── object-pool-heap-fragment.psd ├── observer-weasel-wielder.psd ├── prototype-class.psd ├── prototype-delegate.psd ├── prototype-object.psd ├── prototype-spawner.psd ├── prototype-weapon.psd ├── state-flowchart.psd ├── state-pushdown.psd ├── type-object-subclasses.psd └── update-method-remove.psd ├── asset ├── arrowheads-processed.psd ├── arrowheads-scan.psd ├── object-pool-heap-fragment.psd ├── process.txt ├── style.scss ├── subclass-sandbox-coupling.psd ├── template.html └── template.xml ├── book ├── acknowledgements.markdown ├── architecture-performance-and-games.markdown ├── behavioral-patterns.markdown ├── bytecode.markdown ├── command.markdown ├── component.markdown ├── data-locality.markdown ├── decoupling-patterns.markdown ├── design-patterns-revisited.markdown ├── dirty-flag.markdown ├── double-buffer.markdown ├── event-queue.markdown ├── flyweight.markdown ├── game-loop.markdown ├── introduction.markdown ├── object-pool.markdown ├── observer.markdown ├── optimization-patterns.markdown ├── prototype.markdown ├── sequencing-patterns.markdown ├── service-locator.markdown ├── singleton.markdown ├── spatial-partition.markdown ├── state.markdown ├── subclass-sandbox.markdown ├── type-object.markdown └── update-method.markdown ├── code ├── cpp │ ├── bytecode.h │ ├── command.h │ ├── common.h │ ├── component.h │ ├── cpp.xcodeproj │ │ └── project.pbxproj │ ├── data-locality.h │ ├── dirty-flag.h │ ├── double-buffer.h │ ├── event-queue.h │ ├── expect.h │ ├── flyweight.h │ ├── game-loop.h │ ├── hello-world.h │ ├── introduction.h │ ├── main.cpp │ ├── object-pool.h │ ├── observer.h │ ├── prototype.h │ ├── service-locator.h │ ├── singleton.h │ ├── spatial-partition.h │ ├── state.h │ ├── subclass-sandbox.h │ ├── type-object.h │ └── update-method.h ├── dart │ └── spatial-partition │ │ └── pigeonhole_comparisons.dart ├── flyweight │ └── tiles │ │ ├── tiles.xcodeproj │ │ └── project.pbxproj │ │ └── tiles │ │ ├── main.cpp │ │ └── tiles.1 └── structure-of-arrays │ ├── activate │ ├── activate.xcodeproj │ │ └── project.pbxproj │ └── main.cpp │ ├── combined │ ├── combined.xcodeproj │ │ └── project.pbxproj │ └── main.cpp │ ├── component_update │ ├── component_update.xcodeproj │ │ └── project.pbxproj │ └── main.cpp │ ├── is_active │ ├── is_active.xcodeproj │ │ └── project.pbxproj │ └── main.cpp │ ├── random_array_access │ ├── main.cpp │ └── random_array_access.xcodeproj │ │ └── project.pbxproj │ └── shared │ └── utils.h ├── draft ├── first draft │ ├── game-loop.markdown │ ├── introduction.markdown │ ├── object-pool.markdown │ ├── service-locator.markdown │ ├── singleton.markdown │ ├── spatial-partition.markdown │ └── update-method.markdown └── outline │ ├── context-parameter.markdown │ ├── double-buffer.markdown │ ├── game-loop.markdown │ ├── hello-world.markdown │ ├── introduction.markdown │ ├── service.markdown │ ├── spatial-partition.markdown │ ├── subclass-sandbox.markdown │ ├── type-object.markdown │ └── update-method.markdown ├── html ├── images │ ├── architecture-cycle.png │ ├── arrow-inherits.png │ ├── arrow-references.png │ ├── background.png │ ├── bytecode-ast.png │ ├── bytecode-code.png │ ├── bytecode-literal.png │ ├── bytecode-numbers.png │ ├── bytecode-stack-1.png │ ├── bytecode-stack-2.png │ ├── bytecode-stack-3.png │ ├── bytecode-ui.png │ ├── command-buttons-one.png │ ├── command-buttons-two.png │ ├── command-stream.png │ ├── command-undo.png │ ├── component-uml.png │ ├── data-locality-cache-line.png │ ├── data-locality-chart.png │ ├── data-locality-component-arrays.png │ ├── data-locality-pointer-chasing.png │ ├── data-locality-things.png │ ├── dirty-flag-multiply.png │ ├── dirty-flag-pirate.png │ ├── dirty-flag-title-bar.png │ ├── dirty-flag-update-bad.png │ ├── dirty-flag-update-good.png │ ├── dogshot.jpg │ ├── double-buffer-face.png │ ├── double-buffer-slaps-1.png │ ├── double-buffer-slaps-2.png │ ├── double-buffer-tearing.png │ ├── event-queue-central.png │ ├── event-queue-crawl.png │ ├── event-queue-loop.png │ ├── event-queue-queue.png │ ├── event-queue-ring.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── flyweight-tiles.png │ ├── flyweight-tree-model.png │ ├── flyweight-trees.png │ ├── game-loop-fixed.png │ ├── game-loop-simple.png │ ├── game-loop-timeline-close.png │ ├── game-loop-timeline.png │ ├── object-pool-heap-fragment.png │ ├── observer-linked.png │ ├── observer-list.png │ ├── observer-nodes.png │ ├── observer-weasel-wielder.png │ ├── prototype-class.png │ ├── prototype-delegate.png │ ├── prototype-hierarchies.png │ ├── prototype-object.png │ ├── prototype-spawner.png │ ├── prototype-weapon.png │ ├── spatial-partition-adjacent.png │ ├── spatial-partition-battle-line.png │ ├── spatial-partition-grid.png │ ├── spatial-partition-linked-list.png │ ├── spatial-partition-neighbors.png │ ├── spatial-partition-quadtree.png │ ├── state-flowchart.png │ ├── state-pushdown.png │ ├── type-object-breed.png │ ├── type-object-subclasses.png │ ├── update-method-remove.png │ └── update-method-uml.png ├── index.html ├── script.js └── style.css ├── note ├── bio.txt ├── description.txt ├── dimensions.txt ├── fonts.txt ├── log.txt ├── print workflow.txt ├── publishing.txt ├── references.txt ├── style.markdown └── todo.txt ├── script ├── format.py └── format_python2.py └── watch /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/README.md -------------------------------------------------------------------------------- /assert-cn/bytecode-literal.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/bytecode-literal.psd -------------------------------------------------------------------------------- /assert-cn/bytecode-stack-1.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/bytecode-stack-1.psd -------------------------------------------------------------------------------- /assert-cn/bytecode-stack-2.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/bytecode-stack-2.psd -------------------------------------------------------------------------------- /assert-cn/bytecode-stack-3.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/bytecode-stack-3.psd -------------------------------------------------------------------------------- /assert-cn/bytecode-ui.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/bytecode-ui.psd -------------------------------------------------------------------------------- /assert-cn/command-stream.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/command-stream.psd -------------------------------------------------------------------------------- /assert-cn/command-undo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/command-undo.psd -------------------------------------------------------------------------------- /assert-cn/component-uml.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/component-uml.psd -------------------------------------------------------------------------------- /assert-cn/data-locality-cache-line.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/data-locality-cache-line.psd -------------------------------------------------------------------------------- /assert-cn/data-locality-chart.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/data-locality-chart.psd -------------------------------------------------------------------------------- /assert-cn/dirty-flag-multiply.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/dirty-flag-multiply.psd -------------------------------------------------------------------------------- /assert-cn/dirty-flag-pirate.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/dirty-flag-pirate.psd -------------------------------------------------------------------------------- /assert-cn/dirty-flag-update-bad.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/dirty-flag-update-bad.psd -------------------------------------------------------------------------------- /assert-cn/dirty-flag-update-good.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/dirty-flag-update-good.psd -------------------------------------------------------------------------------- /assert-cn/double-buffer-tearing.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/double-buffer-tearing.psd -------------------------------------------------------------------------------- /assert-cn/event-queue-queue.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/event-queue-queue.psd -------------------------------------------------------------------------------- /assert-cn/event-queue-ring.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/event-queue-ring.psd -------------------------------------------------------------------------------- /assert-cn/flyweight-tiles.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/flyweight-tiles.psd -------------------------------------------------------------------------------- /assert-cn/flyweight-tree-model.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/flyweight-tree-model.psd -------------------------------------------------------------------------------- /assert-cn/flyweight-trees.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/flyweight-trees.psd -------------------------------------------------------------------------------- /assert-cn/game-loop-fixed.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/game-loop-fixed.psd -------------------------------------------------------------------------------- /assert-cn/game-loop-simple.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/game-loop-simple.psd -------------------------------------------------------------------------------- /assert-cn/game-loop-timeline-close.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/game-loop-timeline-close.psd -------------------------------------------------------------------------------- /assert-cn/game-loop-timeline.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/game-loop-timeline.psd -------------------------------------------------------------------------------- /assert-cn/object-pool-heap-fragment.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/object-pool-heap-fragment.psd -------------------------------------------------------------------------------- /assert-cn/observer-weasel-wielder.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/observer-weasel-wielder.psd -------------------------------------------------------------------------------- /assert-cn/prototype-class.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/prototype-class.psd -------------------------------------------------------------------------------- /assert-cn/prototype-delegate.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/prototype-delegate.psd -------------------------------------------------------------------------------- /assert-cn/prototype-object.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/prototype-object.psd -------------------------------------------------------------------------------- /assert-cn/prototype-spawner.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/prototype-spawner.psd -------------------------------------------------------------------------------- /assert-cn/prototype-weapon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/prototype-weapon.psd -------------------------------------------------------------------------------- /assert-cn/state-flowchart.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/state-flowchart.psd -------------------------------------------------------------------------------- /assert-cn/state-pushdown.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/state-pushdown.psd -------------------------------------------------------------------------------- /assert-cn/type-object-subclasses.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/type-object-subclasses.psd -------------------------------------------------------------------------------- /assert-cn/update-method-remove.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/assert-cn/update-method-remove.psd -------------------------------------------------------------------------------- /asset/arrowheads-processed.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/arrowheads-processed.psd -------------------------------------------------------------------------------- /asset/arrowheads-scan.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/arrowheads-scan.psd -------------------------------------------------------------------------------- /asset/object-pool-heap-fragment.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/object-pool-heap-fragment.psd -------------------------------------------------------------------------------- /asset/process.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/process.txt -------------------------------------------------------------------------------- /asset/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/style.scss -------------------------------------------------------------------------------- /asset/subclass-sandbox-coupling.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/subclass-sandbox-coupling.psd -------------------------------------------------------------------------------- /asset/template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/template.html -------------------------------------------------------------------------------- /asset/template.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/asset/template.xml -------------------------------------------------------------------------------- /book/acknowledgements.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/acknowledgements.markdown -------------------------------------------------------------------------------- /book/architecture-performance-and-games.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/architecture-performance-and-games.markdown -------------------------------------------------------------------------------- /book/behavioral-patterns.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/behavioral-patterns.markdown -------------------------------------------------------------------------------- /book/bytecode.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/bytecode.markdown -------------------------------------------------------------------------------- /book/command.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/command.markdown -------------------------------------------------------------------------------- /book/component.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/component.markdown -------------------------------------------------------------------------------- /book/data-locality.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/data-locality.markdown -------------------------------------------------------------------------------- /book/decoupling-patterns.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/decoupling-patterns.markdown -------------------------------------------------------------------------------- /book/design-patterns-revisited.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/design-patterns-revisited.markdown -------------------------------------------------------------------------------- /book/dirty-flag.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/dirty-flag.markdown -------------------------------------------------------------------------------- /book/double-buffer.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/double-buffer.markdown -------------------------------------------------------------------------------- /book/event-queue.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/event-queue.markdown -------------------------------------------------------------------------------- /book/flyweight.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/flyweight.markdown -------------------------------------------------------------------------------- /book/game-loop.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/game-loop.markdown -------------------------------------------------------------------------------- /book/introduction.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/introduction.markdown -------------------------------------------------------------------------------- /book/object-pool.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/object-pool.markdown -------------------------------------------------------------------------------- /book/observer.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/observer.markdown -------------------------------------------------------------------------------- /book/optimization-patterns.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/optimization-patterns.markdown -------------------------------------------------------------------------------- /book/prototype.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/prototype.markdown -------------------------------------------------------------------------------- /book/sequencing-patterns.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/sequencing-patterns.markdown -------------------------------------------------------------------------------- /book/service-locator.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/service-locator.markdown -------------------------------------------------------------------------------- /book/singleton.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/singleton.markdown -------------------------------------------------------------------------------- /book/spatial-partition.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/spatial-partition.markdown -------------------------------------------------------------------------------- /book/state.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/state.markdown -------------------------------------------------------------------------------- /book/subclass-sandbox.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/subclass-sandbox.markdown -------------------------------------------------------------------------------- /book/type-object.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/type-object.markdown -------------------------------------------------------------------------------- /book/update-method.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/book/update-method.markdown -------------------------------------------------------------------------------- /code/cpp/bytecode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/bytecode.h -------------------------------------------------------------------------------- /code/cpp/command.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/command.h -------------------------------------------------------------------------------- /code/cpp/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/common.h -------------------------------------------------------------------------------- /code/cpp/component.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/component.h -------------------------------------------------------------------------------- /code/cpp/cpp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/cpp.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/cpp/data-locality.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/data-locality.h -------------------------------------------------------------------------------- /code/cpp/dirty-flag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/dirty-flag.h -------------------------------------------------------------------------------- /code/cpp/double-buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/double-buffer.h -------------------------------------------------------------------------------- /code/cpp/event-queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/event-queue.h -------------------------------------------------------------------------------- /code/cpp/expect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/expect.h -------------------------------------------------------------------------------- /code/cpp/flyweight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/flyweight.h -------------------------------------------------------------------------------- /code/cpp/game-loop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/game-loop.h -------------------------------------------------------------------------------- /code/cpp/hello-world.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/hello-world.h -------------------------------------------------------------------------------- /code/cpp/introduction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/introduction.h -------------------------------------------------------------------------------- /code/cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/main.cpp -------------------------------------------------------------------------------- /code/cpp/object-pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/object-pool.h -------------------------------------------------------------------------------- /code/cpp/observer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/observer.h -------------------------------------------------------------------------------- /code/cpp/prototype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/prototype.h -------------------------------------------------------------------------------- /code/cpp/service-locator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/service-locator.h -------------------------------------------------------------------------------- /code/cpp/singleton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/singleton.h -------------------------------------------------------------------------------- /code/cpp/spatial-partition.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/spatial-partition.h -------------------------------------------------------------------------------- /code/cpp/state.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/state.h -------------------------------------------------------------------------------- /code/cpp/subclass-sandbox.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/subclass-sandbox.h -------------------------------------------------------------------------------- /code/cpp/type-object.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/type-object.h -------------------------------------------------------------------------------- /code/cpp/update-method.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/cpp/update-method.h -------------------------------------------------------------------------------- /code/dart/spatial-partition/pigeonhole_comparisons.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/dart/spatial-partition/pigeonhole_comparisons.dart -------------------------------------------------------------------------------- /code/flyweight/tiles/tiles.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/flyweight/tiles/tiles.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/flyweight/tiles/tiles/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/flyweight/tiles/tiles/main.cpp -------------------------------------------------------------------------------- /code/flyweight/tiles/tiles/tiles.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/flyweight/tiles/tiles/tiles.1 -------------------------------------------------------------------------------- /code/structure-of-arrays/activate/activate.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/activate/activate.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/structure-of-arrays/activate/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/activate/main.cpp -------------------------------------------------------------------------------- /code/structure-of-arrays/combined/combined.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/combined/combined.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/structure-of-arrays/combined/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/combined/main.cpp -------------------------------------------------------------------------------- /code/structure-of-arrays/component_update/component_update.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/component_update/component_update.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/structure-of-arrays/component_update/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/component_update/main.cpp -------------------------------------------------------------------------------- /code/structure-of-arrays/is_active/is_active.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/is_active/is_active.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/structure-of-arrays/is_active/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/is_active/main.cpp -------------------------------------------------------------------------------- /code/structure-of-arrays/random_array_access/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/random_array_access/main.cpp -------------------------------------------------------------------------------- /code/structure-of-arrays/random_array_access/random_array_access.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/random_array_access/random_array_access.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /code/structure-of-arrays/shared/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/code/structure-of-arrays/shared/utils.h -------------------------------------------------------------------------------- /draft/first draft/game-loop.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/game-loop.markdown -------------------------------------------------------------------------------- /draft/first draft/introduction.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/introduction.markdown -------------------------------------------------------------------------------- /draft/first draft/object-pool.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/object-pool.markdown -------------------------------------------------------------------------------- /draft/first draft/service-locator.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/service-locator.markdown -------------------------------------------------------------------------------- /draft/first draft/singleton.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/singleton.markdown -------------------------------------------------------------------------------- /draft/first draft/spatial-partition.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/spatial-partition.markdown -------------------------------------------------------------------------------- /draft/first draft/update-method.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/first draft/update-method.markdown -------------------------------------------------------------------------------- /draft/outline/context-parameter.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/context-parameter.markdown -------------------------------------------------------------------------------- /draft/outline/double-buffer.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/double-buffer.markdown -------------------------------------------------------------------------------- /draft/outline/game-loop.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/game-loop.markdown -------------------------------------------------------------------------------- /draft/outline/hello-world.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/hello-world.markdown -------------------------------------------------------------------------------- /draft/outline/introduction.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/introduction.markdown -------------------------------------------------------------------------------- /draft/outline/service.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/service.markdown -------------------------------------------------------------------------------- /draft/outline/spatial-partition.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/spatial-partition.markdown -------------------------------------------------------------------------------- /draft/outline/subclass-sandbox.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/subclass-sandbox.markdown -------------------------------------------------------------------------------- /draft/outline/type-object.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/type-object.markdown -------------------------------------------------------------------------------- /draft/outline/update-method.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/draft/outline/update-method.markdown -------------------------------------------------------------------------------- /html/images/architecture-cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/architecture-cycle.png -------------------------------------------------------------------------------- /html/images/arrow-inherits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/arrow-inherits.png -------------------------------------------------------------------------------- /html/images/arrow-references.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/arrow-references.png -------------------------------------------------------------------------------- /html/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/background.png -------------------------------------------------------------------------------- /html/images/bytecode-ast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-ast.png -------------------------------------------------------------------------------- /html/images/bytecode-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-code.png -------------------------------------------------------------------------------- /html/images/bytecode-literal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-literal.png -------------------------------------------------------------------------------- /html/images/bytecode-numbers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-numbers.png -------------------------------------------------------------------------------- /html/images/bytecode-stack-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-stack-1.png -------------------------------------------------------------------------------- /html/images/bytecode-stack-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-stack-2.png -------------------------------------------------------------------------------- /html/images/bytecode-stack-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-stack-3.png -------------------------------------------------------------------------------- /html/images/bytecode-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/bytecode-ui.png -------------------------------------------------------------------------------- /html/images/command-buttons-one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/command-buttons-one.png -------------------------------------------------------------------------------- /html/images/command-buttons-two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/command-buttons-two.png -------------------------------------------------------------------------------- /html/images/command-stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/command-stream.png -------------------------------------------------------------------------------- /html/images/command-undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/command-undo.png -------------------------------------------------------------------------------- /html/images/component-uml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/component-uml.png -------------------------------------------------------------------------------- /html/images/data-locality-cache-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/data-locality-cache-line.png -------------------------------------------------------------------------------- /html/images/data-locality-chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/data-locality-chart.png -------------------------------------------------------------------------------- /html/images/data-locality-component-arrays.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/data-locality-component-arrays.png -------------------------------------------------------------------------------- /html/images/data-locality-pointer-chasing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/data-locality-pointer-chasing.png -------------------------------------------------------------------------------- /html/images/data-locality-things.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/data-locality-things.png -------------------------------------------------------------------------------- /html/images/dirty-flag-multiply.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dirty-flag-multiply.png -------------------------------------------------------------------------------- /html/images/dirty-flag-pirate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dirty-flag-pirate.png -------------------------------------------------------------------------------- /html/images/dirty-flag-title-bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dirty-flag-title-bar.png -------------------------------------------------------------------------------- /html/images/dirty-flag-update-bad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dirty-flag-update-bad.png -------------------------------------------------------------------------------- /html/images/dirty-flag-update-good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dirty-flag-update-good.png -------------------------------------------------------------------------------- /html/images/dogshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/dogshot.jpg -------------------------------------------------------------------------------- /html/images/double-buffer-face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/double-buffer-face.png -------------------------------------------------------------------------------- /html/images/double-buffer-slaps-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/double-buffer-slaps-1.png -------------------------------------------------------------------------------- /html/images/double-buffer-slaps-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/double-buffer-slaps-2.png -------------------------------------------------------------------------------- /html/images/double-buffer-tearing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/double-buffer-tearing.png -------------------------------------------------------------------------------- /html/images/event-queue-central.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/event-queue-central.png -------------------------------------------------------------------------------- /html/images/event-queue-crawl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/event-queue-crawl.png -------------------------------------------------------------------------------- /html/images/event-queue-loop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/event-queue-loop.png -------------------------------------------------------------------------------- /html/images/event-queue-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/event-queue-queue.png -------------------------------------------------------------------------------- /html/images/event-queue-ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/event-queue-ring.png -------------------------------------------------------------------------------- /html/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/favicon-16x16.png -------------------------------------------------------------------------------- /html/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/favicon-32x32.png -------------------------------------------------------------------------------- /html/images/flyweight-tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/flyweight-tiles.png -------------------------------------------------------------------------------- /html/images/flyweight-tree-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/flyweight-tree-model.png -------------------------------------------------------------------------------- /html/images/flyweight-trees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/flyweight-trees.png -------------------------------------------------------------------------------- /html/images/game-loop-fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/game-loop-fixed.png -------------------------------------------------------------------------------- /html/images/game-loop-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/game-loop-simple.png -------------------------------------------------------------------------------- /html/images/game-loop-timeline-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/game-loop-timeline-close.png -------------------------------------------------------------------------------- /html/images/game-loop-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/game-loop-timeline.png -------------------------------------------------------------------------------- /html/images/object-pool-heap-fragment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/object-pool-heap-fragment.png -------------------------------------------------------------------------------- /html/images/observer-linked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/observer-linked.png -------------------------------------------------------------------------------- /html/images/observer-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/observer-list.png -------------------------------------------------------------------------------- /html/images/observer-nodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/observer-nodes.png -------------------------------------------------------------------------------- /html/images/observer-weasel-wielder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/observer-weasel-wielder.png -------------------------------------------------------------------------------- /html/images/prototype-class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-class.png -------------------------------------------------------------------------------- /html/images/prototype-delegate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-delegate.png -------------------------------------------------------------------------------- /html/images/prototype-hierarchies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-hierarchies.png -------------------------------------------------------------------------------- /html/images/prototype-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-object.png -------------------------------------------------------------------------------- /html/images/prototype-spawner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-spawner.png -------------------------------------------------------------------------------- /html/images/prototype-weapon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/prototype-weapon.png -------------------------------------------------------------------------------- /html/images/spatial-partition-adjacent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-adjacent.png -------------------------------------------------------------------------------- /html/images/spatial-partition-battle-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-battle-line.png -------------------------------------------------------------------------------- /html/images/spatial-partition-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-grid.png -------------------------------------------------------------------------------- /html/images/spatial-partition-linked-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-linked-list.png -------------------------------------------------------------------------------- /html/images/spatial-partition-neighbors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-neighbors.png -------------------------------------------------------------------------------- /html/images/spatial-partition-quadtree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/spatial-partition-quadtree.png -------------------------------------------------------------------------------- /html/images/state-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/state-flowchart.png -------------------------------------------------------------------------------- /html/images/state-pushdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/state-pushdown.png -------------------------------------------------------------------------------- /html/images/type-object-breed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/type-object-breed.png -------------------------------------------------------------------------------- /html/images/type-object-subclasses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/type-object-subclasses.png -------------------------------------------------------------------------------- /html/images/update-method-remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/update-method-remove.png -------------------------------------------------------------------------------- /html/images/update-method-uml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/images/update-method-uml.png -------------------------------------------------------------------------------- /html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/index.html -------------------------------------------------------------------------------- /html/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/script.js -------------------------------------------------------------------------------- /html/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/html/style.css -------------------------------------------------------------------------------- /note/bio.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/bio.txt -------------------------------------------------------------------------------- /note/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/description.txt -------------------------------------------------------------------------------- /note/dimensions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/dimensions.txt -------------------------------------------------------------------------------- /note/fonts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/fonts.txt -------------------------------------------------------------------------------- /note/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/log.txt -------------------------------------------------------------------------------- /note/print workflow.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/print workflow.txt -------------------------------------------------------------------------------- /note/publishing.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/publishing.txt -------------------------------------------------------------------------------- /note/references.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/references.txt -------------------------------------------------------------------------------- /note/style.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/style.markdown -------------------------------------------------------------------------------- /note/todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/note/todo.txt -------------------------------------------------------------------------------- /script/format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/script/format.py -------------------------------------------------------------------------------- /script/format_python2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tkchu/Game-Programming-Patterns-CN/HEAD/script/format_python2.py -------------------------------------------------------------------------------- /watch: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python script/format.py --watch $@ 3 | --------------------------------------------------------------------------------