Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
the latter is confusing
|
|
|
|
|
|
current input-box. As requested by Tron.
|
|
directory to reflect the new console functionality
- Fix (console): any line starting with a '#' is a comment so ignore it
- Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
|
|
value not when you query them
- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
|
|
spaces (eg nothing worthwhile). Suggested and implemented by Tron.
|
|
window
- Fix: do not execute emtpy commands anymore
|
|
|
|
_icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
|
|
Thing tm. Thanks tron
|
|
|
|
variables behave the same as for commands
|
|
a bit too aggressive with its _assume(0), and it did not even belong there
|
|
incorrectly parsed
|
|
character(s)).
- Fix: getting help for an alias works
- Fix: '|' is an unprintable character, replace it with '\'
|
|
about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
- Some variables are really special and cannot be assigned normally, use their callback procedure for assignment/querying. This commit also obsoletes "[1172804] Console set command cleanup"
|
|
endian_target.h and endian_host.h to the ignore list
|
|
DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
|
|
when they used 'special' characters like öä, etc. Diff approved by the code-police.
|
|
|
|
bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
|
|
handling of text with that of editboxes
- Codechange: Introduction of Textbuf struct which not only holds physical data as length but also pixel-constrains (width) and information about the caret
- Codechange: Move Clipboard function to OS specific file. Currently only Windows has clipboard actions
- Feature: Editboxes, console and exit screen also accept the numeric-enter as a yes
- Feature: Navigation through text with cursor keys is possible, as well as arbitrary insertion (also paste) and deletion; both backspace and del keys. Functions DeleteTextBufferChar, InsertTextBufferChar and InsertTextBufferClipboard handle input and deletion. Navigation is done through MoveTextBufferPos.
- Fix: OTTD crash when opening 'add server' editbox
- CodeChange: fix up some stringwidth calculations in gfx.c. You can get the width in pixels of a character by calling GetCharacterWidth().
|
|
console command
|
|
- Change: change strgen project file to get rid of warning.
|
|
when it was out of focus (dominik)
|
|
to NULL after logging was closed
|
|
|
|
|
|
is now functioning correctly. There is no other way but to create a new thread, but that's only MS braindeadness
-Fix: [1103113] font size changing. Dedicated server did not have code filtering, 'tab' could result in bigger fonts
-Fix: [1103069] console backspace key with ded server; fixed due to normal console handling
-Fix: [1101963] console in dedicated server; see above
-Fix: dedicated server also writes to log file if active
|
|
'set rcon_pw <password>'
Which enables rcon. A client can now do:
'rcon <password> "<command>"'
The command will be executed on the server. (guru3)
-Fix: 'kick 1' did crash dedicated servers
-Fix: server password is now correctly saved
!!Warning!!: do not give your rcon password to people you do not thrust!
|
|
|
|
whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de)
|
|
|
|
|
|
message (sign_de for GeniusDex)
|
|
Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
|
|
hopefully killed the windows-revision problem. If WITH_REV is defined,
for both Windows as *nix system _openttd_revision is filled with normal
info, else _openttd_revision is set to 'norev000'
-Fix: Small possible server-crash
|
|
textfile, not only printf stuff (sign_de)
|
|
(sign_de)
- %! allows to merge alias parameters
- \% allows to use % in alias strings
- "alias" command now overwrites the old alias list entry
|
|
- fixed handling of aliases with parameters (sign_de)
|
|
all (sign_de)
|
|
(somehow
windows uses WITH_REV_HACK instead of WITH_REV :s)
|
|
-Add: [Console] Auto sort commands and variables (sign_de)
|
|
|