Griatch
|
1ae17bcbe4
|
PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned.
|
2013-11-14 19:31:17 +01:00 |
|
Griatch
|
ca32950d90
|
Fixed headers on contribs, they were still referring to the old base*.py -style files under gamesrc.
|
2012-04-01 22:23:47 +02:00 |
|
Griatch
|
93a1646ea7
|
Moved contribs to use the new API. Added the system command keys to a property syscmdkeys, for easy access from ev.py.
|
2012-03-25 18:11:14 +02:00 |
|
Griatch
|
e379816866
|
Fixed some bugs, added an example connection screen for the menu-login system.
|
2011-11-06 19:16:34 +01:00 |
|
Griatch
|
55f6f5b713
|
Contrib: Added a new, alternative login system, using menus. Also edited the ways unlogged commands are started by the engine, by using a standardized system command name (it does not need to be "look" anymore).
|
2011-11-06 18:53:10 +01:00 |
|
Griatch
|
2b2d27ed39
|
Changed the way unloggedin commands work. Rather than the cmdhander having a special state for unlogged-in commands, the session itself simply stores the cmdset from settings.CMDSET_UNLOGGEDIN. Clean and efficient and also gives a lot more freedom for creating custom login mechanisms (notably it opens the door to using menu systems).
|
2011-11-06 17:38:29 +01:00 |
|
Griatch
|
b9c1921a0b
|
Added a new 'contrib' folder for optional code snippets not suitable for the server core. Added contrib/menusystem for implementing a multi-choice menu system. Added contrib/lineeditor - a powerful line editor with commands mimicking VI. Also added an example NPC class using the menu system to allow for a conversation. As part of creating these contributions, lots of bugs were found and fixed. A new and more powerful cmdparser was intruduced as a result - this one is much easier to understand than the old one, while being more efficient and versatile. All testsuites were updated. Also: Resolves issue 165.
|
2011-05-12 21:51:11 +00:00 |
|