------------------------------------------------------------------------ r1904 | tron | 2005-02-22 18:28:20 +0000 (Tue, 22 Feb 2005) | 1 line Remove some more unused stuff ------------------------------------------------------------------------ r1903 | tron | 2005-02-22 18:27:57 +0000 (Tue, 22 Feb 2005) | 1 line Replace some casts and macro magic with proper typing, similar to r1902 ------------------------------------------------------------------------ r1902 | tron | 2005-02-22 15:39:45 +0000 (Tue, 22 Feb 2005) | 1 line Replace some casts with proper typing ------------------------------------------------------------------------ r1901 | Darkvater | 2005-02-22 14:52:20 +0000 (Tue, 22 Feb 2005) | 1 line - Fix: unwanted behaviour of the savegame dialog, as well as a 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) ------------------------------------------------------------------------ r1900 | tron | 2005-02-22 14:37:52 +0000 (Tue, 22 Feb 2005) | 1 line Simplify a piece of code in the oldloader ------------------------------------------------------------------------ r1899 | Darkvater | 2005-02-22 13:13:57 +0000 (Tue, 22 Feb 2005) | 1 line - Fix: fix braindead strcmp from previous commit. /me bangs head into the wall ------------------------------------------------------------------------ r1898 | tron | 2005-02-22 12:48:03 +0000 (Tue, 22 Feb 2005) | 1 line Remove some unused macros from macros.h and move some others to more appropriate headers ------------------------------------------------------------------------ r1897 | Darkvater | 2005-02-22 12:27:33 +0000 (Tue, 22 Feb 2005) | 1 line - Fix: [ 1120424 ] Set name overwrites same name. Renamings because your name is in use are virtual though so if name "b" is in use your name will become "b #1", renaming yourself again to "b" will become "b #2", and will toggle between these two. ------------------------------------------------------------------------ r1896 | Darkvater | 2005-02-22 11:33:13 +0000 (Tue, 22 Feb 2005) | 1 line - Fix: remove Translated by hack since it's not used ------------------------------------------------------------------------ r1895 | Darkvater | 2005-02-21 19:14:16 +0000 (Mon, 21 Feb 2005) | 1 line - Fix: add assert for charwidth getter just in case ------------------------------------------------------------------------ r1894 | Darkvater | 2005-02-21 18:59:54 +0000 (Mon, 21 Feb 2005) | 7 lines - Codechange: cleaned up the console a bit, wholly unified 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(). ------------------------------------------------------------------------ r1893 | tron | 2005-02-20 09:05:28 +0000 (Sun, 20 Feb 2005) | 1 line If -i was specified respect it ------------------------------------------------------------------------ r1892 | celestar | 2005-02-20 07:58:38 +0000 (Sun, 20 Feb 2005) | 1 line -Fix: [ 1117730 ] Production values of temperate-climate banks can now be altered ------------------------------------------------------------------------ r1891 | celestar | 2005-02-20 07:47:42 +0000 (Sun, 20 Feb 2005) | 1 line -Fix: [ 1143587 ] carriages of newgrfs can be refitted again ------------------------------------------------------------------------ r1890 | tron | 2005-02-19 14:40:32 +0000 (Sat, 19 Feb 2005) | 1 line Begin to clean up the edit box: Remove one global variable and split the combined edit/original buffer into two ------------------------------------------------------------------------ r1889 | celestar | 2005-02-18 22:17:33 +0000 (Fri, 18 Feb 2005) | 1 line -Fix: [ 1108637 ] 'Play scenario' now loads game options and difficulty, 'Load game' starts game with user-selected values. ------------------------------------------------------------------------ r1888 | tron | 2005-02-18 21:20:55 +0000 (Fri, 18 Feb 2005) | 1 line The landscape template sprites are ordinary sprites, treating them as non-sprites resulted in yet another endianess issue. This fixes the problem introduced in r1855 ------------------------------------------------------------------------ r1887 | tron | 2005-02-18 08:49:04 +0000 (Fri, 18 Feb 2005) | 1 line Stylistic change of ConExec() ------------------------------------------------------------------------ r1886 | tron | 2005-02-18 08:36:11 +0000 (Fri, 18 Feb 2005) | 1 line Correctly process the last line of a script, even if it's not newline terminated. Also print an error message if something goes wrong while reading from the script file ------------------------------------------------------------------------ r1885 | tron | 2005-02-18 08:32:25 +0000 (Fri, 18 Feb 2005) | 1 line Fix typo in r1884 ------------------------------------------------------------------------ r1884 | tron | 2005-02-18 08:29:17 +0000 (Fri, 18 Feb 2005) | 1 line Change palette detection algorithm: Use the DOS palette if there are no Windows .grfs but at least one DOS .grf ------------------------------------------------------------------------ r1883 | tron | 2005-02-17 17:38:17 +0000 (Thu, 17 Feb 2005) | 1 line -Fix: [1109400] Better test if a string actually contains any console command ------------------------------------------------------------------------ r1882 | tron | 2005-02-17 15:53:47 +0000 (Thu, 17 Feb 2005) | 4 lines Add a basic check if a non-existent sprite gets accessed. Now ottd bails out with an error message instead of segfaulting. This is far from perfect, some checks after loading a savegame should be added. ------------------------------------------------------------------------ r1881 | celestar | 2005-02-17 10:56:19 +0000 (Thu, 17 Feb 2005) | 1 line -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit ------------------------------------------------------------------------ r1880 | miham | 2005-02-17 07:49:31 +0000 (Thu, 17 Feb 2005) | 1 line [Codechange] Added isocodes to langfiles and support code to strgen (Lauri Nurmi) ------------------------------------------------------------------------ r1879 | tron | 2005-02-17 06:46:36 +0000 (Thu, 17 Feb 2005) | 1 line Revise name handling, no functional changes ------------------------------------------------------------------------ r1878 | darkvater | 2005-02-15 23:27:46 +0000 (Tue, 15 Feb 2005) | 1 line - Change: MSVC.NET project file, remove WITH_SDL since it is really unneeded from windows builds. And put back 'treat warnings as errors' flag. ------------------------------------------------------------------------