main
Last change
on this file since 50676d6 was 9202152, checked in by PulkoMandy <pulkomandy@…>, 2 months ago |
Implement player identity
Have a startup window asking for name and gender before starting the
game. Fully implement @, {|}, %p and %n using these informations.
|
-
Property mode
set to
100644
|
File size:
334 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * IdentityWindow.h
|
---|
3 | * Copyright (C) 2024 pulkomandy <pulkomandy@kitt>
|
---|
4 | *
|
---|
5 | * Distributed under terms of the MIT license.
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include <Message.h>
|
---|
11 | #include <Window.h>
|
---|
12 |
|
---|
13 | class IdentityWindow: public BWindow
|
---|
14 | {
|
---|
15 | public:
|
---|
16 | IdentityWindow();
|
---|
17 |
|
---|
18 | bool QuitRequested() override;
|
---|
19 | void MessageReceived(BMessage*) override;
|
---|
20 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.