Skip to content

Commit

Permalink
Engine: remove legacy dialog command constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Oct 26, 2023
1 parent a826032 commit 154d3c6
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions Common/ac/dialogtopic.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//=============================================================================
//
//
// A Dialog Topic (a set of conversation options).
//
//=============================================================================
#ifndef __AGS_CN_AC__DIALOGTOPIC_H
Expand All @@ -21,31 +21,12 @@
namespace AGS { namespace Common { class Stream; } }
using namespace AGS; // FIXME later

// [IKM] This is *conversation* dialog, not *gui* dialog, mind you!

#define MAXTOPICOPTIONS 30
#define DFLG_ON 1 // currently enabled
#define DFLG_OFFPERM 2 // off forever (can't be trurned on)
#define DFLG_NOREPEAT 4 // character doesn't repeat it when clicked
#define DFLG_HASBEENCHOSEN 8 // dialog option is 'read'
#define DTFLG_SHOWPARSER 1 // show parser in this topic
#define DCMD_SAY 1
#define DCMD_OPTOFF 2
#define DCMD_OPTON 3
#define DCMD_RETURN 4
#define DCMD_STOPDIALOG 5
#define DCMD_OPTOFFFOREVER 6
#define DCMD_RUNTEXTSCRIPT 7
#define DCMD_GOTODIALOG 8
#define DCMD_PLAYSOUND 9
#define DCMD_ADDINV 10
#define DCMD_SETSPCHVIEW 11
#define DCMD_NEWROOM 12
#define DCMD_SETGLOBALINT 13
#define DCMD_GIVESCORE 14
#define DCMD_GOTOPREVIOUS 15
#define DCMD_LOSEINV 16
#define DCMD_ENDSCRIPT 0xff
#define DCHAR_NARRATOR 999
#define DCHAR_PLAYER 998
struct DialogTopic {
Expand All @@ -63,5 +44,4 @@ struct DialogTopic {
void WriteToSavegame(Common::Stream *out) const;
};


#endif // __AGS_CN_AC__DIALOGTOPIC_H

0 comments on commit 154d3c6

Please sign in to comment.