]> git.jsancho.org Git - lugaru.git/commit
Cleaned up dialog handling using a Dialog class
authorCôme Chilliet <come@chilliet.eu>
Wed, 30 Nov 2016 16:44:50 +0000 (23:44 +0700)
committerCôme Chilliet <come@chilliet.eu>
Wed, 30 Nov 2016 16:44:50 +0000 (23:44 +0700)
commite7b76642d8998c250272a8313ad8aa7c7efff319
tree1aa3d698af74da4167febb5c28fdd0deb004f3e0
parentfaef1e1f8db1918c832c47109221d905bb81047b
Cleaned up dialog handling using a Dialog class

The fixdialogue command will behave a tiny bit differently as it will
set participantfacing value as the dialogue would.
The previous behavior would crash if the number of boxes changed so I
could not keep it.
I kept the limitation of participants of 10 for now, does not seem like
a big deal.
CMakeLists.txt
Source/ConsoleCmds.cpp
Source/Dialog.cpp [new file with mode: 0644]
Source/Dialog.h [new file with mode: 0644]
Source/Game.cpp
Source/Game.h
Source/GameDraw.cpp
Source/GameInitDispose.cpp
Source/GameTick.cpp
Source/Person.cpp