Age | Commit message (Collapse) | Author |
|
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
|
|
colours. Now strip all
colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon.
|
|
\. eg \".
|
|
WindowEvent, which is now a struct
|
|
|
|
64bit happy (michi_cc)
|
|
textboxes to only
allow certain patterns (like numbers only)
|
|
|
|
|
|
of custom function doing the same.
|
|
size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing)
|
|
add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
|
|
|
|
|
|
|
|
|
|
|
|
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)
|