Skip to content

修改错误编码,修改页面跳转,使点击上一篇下一篇能正常跳转 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/bytecode.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 字节码
^section 行为模式
^section Behavioral Patterns

## 意图

Expand Down
4 changes: 2 additions & 2 deletions book/command.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 命令
^section 重访设计模式
^title 命令
^section Design Patterns Revisited

命令模式是我最喜欢的模式之一。
大多数我写的大型程序,游戏或者别的什么,都会在某处用到它。
Expand Down
504 changes: 252 additions & 252 deletions book/component.markdown

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/data-locality.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 数据局部性
^section 优化模式
^section Optimization Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/dirty-flag.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 脏标识
^section 优化模式
^section Optimization Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/double-buffer.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 双缓冲
^section 序列模式
^section Sequencing Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/event-queue.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 事件队列
^section 解耦模式
^section Decoupling Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/flyweight.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 享元
^section 重访设计模式
^section Design Patterns Revisited

迷雾散尽,露出了古朴庄严的森林。古老的铁杉,在头顶编成绿色穹顶。阳光在树叶间破碎成金色顶棚。从树干间远眺,远处的森林渐渐隐去。

Expand Down
2 changes: 1 addition & 1 deletion book/game-loop.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 游戏循环
^section 序列模式
^section Sequencing Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/introduction.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
^title 序
^title 序

在五年级,我和我的朋友被准许进入一间有非常破旧的TRS-80s的房间。
为了激励我们,一位老师为我们准备了一些简单的BASIC程序去摆治。
Expand Down
2 changes: 1 addition & 1 deletion book/object-pool.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 对象池
^section 优化模式
^section Optimization Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/observer.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 观察者
^section 重访设计模式
^section Design Patterns Revisited

扔块石头到电脑世界中,
不可能砸不中一个不使用<span name="devised">[MVC架构][MVC]</span>的应用,
Expand Down
2 changes: 1 addition & 1 deletion book/prototype.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 原型
^section 重访设计模式
^section Design Patterns Revisited

我第一次听到“原型”这个词是在*设计模式*中。
如今,似乎每个人都在用这个词,但他们讨论的不是<a href="http://en.wikipedia.org/wiki/Prototype_pattern" class="gof-pattern">设计模式</a>。
Expand Down
2 changes: 1 addition & 1 deletion book/service-locator.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 服务定位器
^section 解耦模式
^section Decoupling Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/singleton.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 单例
^section 重访设计模式
^section Design Patterns Revisited

这个章节不同寻常。
这本书其他章节展示如何使用一个设计模式。
Expand Down
2 changes: 1 addition & 1 deletion book/spatial-partition.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 空间分区
^section 优化模式
^section Optimization Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/state.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 状态
^section 重访设计欧模式
^section Design Patterns Revisited

忏悔时间:我有些越界,将太多的东西打包到了这章中。
它表面上关于<a href="http://en.wikipedia.org/wiki/State_pattern" class="gof-pattern">状态模式</a>,但我无法只讨论它和游戏,而不涉及更加基础的*有限状态机*(FSMs)。
Expand Down
2 changes: 1 addition & 1 deletion book/subclass-sandbox.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 子类沙箱
^section 行为模式
^section Behavioral Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/type-object.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 类型对象
^section 行为模式
^section Behavioral Patterns

## 意图

Expand Down
2 changes: 1 addition & 1 deletion book/update-method.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^title 更新方法
^section 序列模式
^section Sequencing Patterns

## 意图

Expand Down
28 changes: 14 additions & 14 deletions html/acknowledgements.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,35 @@
</nav>
<h1>致谢</h1>
<h1 class="book"><a href="/">Game Programming Patterns</a></h1>
<p>我听说只有作家知道在写作中会牵扯到什么
但还有另外一群人知道内情——那些不幸与作家有关系的人
<p>据说只有作家知道写作中会牵扯到什么
但还有另外一群人知道内情——那些不幸与作家有关的人
我的妻子从岩石般致密的生活中,
为我开凿出写作的时间
为我开凿出写作时间
洗盘子,给孩子洗澡也许不是“写作”,
但没有她做这些,这本书永远没法写出来。</p>
<p>我在EA当程序员时开始了这个项目
我认为公司并不大知道这个
但没有她完成这些,这本书永远没法写出来。</p>
<p>我在EA做程序员时开始了这个项目
我认为公司并不知道这点
我要感谢Michael Malone, Olivier Nallet, 以及Richard Wifall。
他们为书籍的前几章提供了详尽而有价值建议。</p>
他们为书籍的前几章提供了详尽有益的建议。</p>
<p><span name="editor"></span>在写作途中,我决定放弃传统出版方式。
我知道,这意味着没有编辑的指导,但我有成打的读者告诉我他们希望书籍是什么样的
这意味着没有校对,但我有超过250个错误报告来帮我改进
这意味着没有写作期限的激励,但当我完成一章,读者会拍着我的背鼓励我,我会有更强的动力。</p>
我知道,这意味着没有编辑的指导,但有成打的读者告诉我他们希望书籍是什么样的
这意味着没有校对,但有超过250个错误报告来帮我改进
这意味着没有写作期限的激励,但当我完成一章,读者会拍着我的背鼓励,我会有更强的动力。</p>
<aside name="editor">
<p>我没有失去文字编辑。Lauren Briese在我所需时间出现并完成了杰出的工作。</p>
<p>我没有失去文字编辑。Lauren Briese在我所需时出现并杰出地完成了工作。</p>
</aside>
<p>人们称之为“自出版”,但是“众出版”更加接近事实。
写作也许是件孤独的事,但我从没感到孤独。
哪怕是我停止写作两年后,仍有人来鼓励我。
没有那些告诉我需要更多章节的人,我不会重拾此书并完成。</p>
没有那些告诉我他们需要更多章节的人,我不会重拾此书并完成。</p>
<aside name="colm">
<p>特别感谢Colm Sloan,他认真阅读了书中每个章节<em>两次</em>然后给了我众多超赞的反馈,完全出于他内心的善意。我欠你一杯啤酒,也许是二十杯。</p>
<p>特别感谢Colm Sloan,他认真阅读了书中每个章节<em>两遍</em>,然后完全出于内心的善良,给了我众多超赞的反馈。我欠他一杯啤酒,也许二十杯。</p>
</aside>
<p>那些写过邮件或者发过评论的人,
那些点过赞或者喜欢的人,
那些发过推特的人,那些与我交流的人,
那些向朋友宣传这本书的人,那些向我发送错误报告的人,
我要对你们说:我的心中充满了对你的感激
我要对你们说:我心中充满了对你的感激
完成这本书是我人生中最大的目标之一,是你让我梦想成真。</p>
<p>谢谢!</p>
<nav>
Expand Down
Loading