Age | Commit message (Collapse) | Author |
|
|
|
video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
|
|
'fullscreen' button than chose a resolution from the dropdown box that was no longer valid. Big thanks to DaleStan for track down the crashing bug.
- Fix: There would be duplicate entries in the resolutions dropdown box. Copy SDL method or removing duplicates and sort the list.
- Feature: in the settings menu, you don't have to click on the arrows anymore, clicking on the dropdown box itself has the same effect. Consistent with other dropdowns in the game
|
|
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().
|
|
|
|
everytime when accessing it
|
|
(returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
|
|
own and use SpriteID as parameter type where appropriate
|
|
- Complement the sprite header struct with a variable sized array for the sprite data and rename it to Sprite.
- Use the correct type Sprite* instead of casting all the time (this causes some "assignment from incompatible pointer type" warnings, nothing serious, will be resolved soon)
|
|
|
|
drawing functions and buffers
|
|
new header (though i think some of these function don't belong into strings.c)
|
|
train_cmd.c remains to need fixing...
|
|
|
|
appropriate warning flags in the Makefile
|
|
|
|
necessary
|
|
|
|
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game
-Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
|
|
transparent mode
|
|
|
|
Please read the Readme for further information. There are some minor graphical glitches when you use the DOS files. E.g. the autorail button is a bit screwed up.
|
|
|
|
While here give the string colormap a more canonical name.
|
|
color table instead of a sprite
|
|
Oskar.
|
|
Thanks to lvoge
|
|
|
|
Disabled buttons flicker no more
This solves bug report 991101
|
|
fixed \o/ 2004-03-30 (Tron)
-Fix: [1030393] some screensizes crashes OTTD. Fix in general bug that only allows resolutions which were multiple of 8 in width and height. Also use closest possible resolution in fullscreen if window size is not a valid resolution (Tron)
|
|
Options' menu which lets you set fullscreen ingame.
|
|
|
|
Press tab to open the console, more info in docs/console.txt
|
|
|