Age | Commit message (Collapse) | Author |
|
one translated character as we only support one and remove TranslateMessage() call since we do not use it anyways (glx)
|
|
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
|
|
high CPU load, handle
mouse input right away instead of waiting for GameLoop. (KUDr)
|
|
use GB and change logic
of the win32: TAB speeds up, but ALT+TAB doesn't code.
|
|
load, handle
keyboard input in place instead of global variables magic. (KUDr)
|
|
if we have pressed ALT
(for ALT+TAB) instead of magic global _pressed_key from input-loop. (KUDr)
|
|
change mouse behaviour
a bit so that any specific windows inside (eg IME compositor) will have a cursor.
|
|
quit in fullscreen mode.
|
|
working (Mart3p) . Remember
maximize state even between switching fullscreen/windowed mode.
|
|
use it instead of global
|
|
This means that in the intro menu the 'Quit' button immediatelly quits
and the 'Quit' in the menu of the normal game and scenario editor
immediatelly quits when the 'autosave_on_exit' patch is turned on.
This is the same way as the OS/window manager initiated quits, like
alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
|
|
called or have no effect.
|
|
|
|
|
|
{' -> '} else {', tabs between code and comment, etc.
|
|
- New optional landscape generator (TerraGenesis Perlin)
- Load heightmaps (either BMP or PNG)
- Progress dialog while generating worlds (no longer a 'hanging' screen)
- New dialogs for NewGame, Create Scenario and Play Heightmap
- Easier to configure your landscape
- More things to configure (tree-placer, ..)
- Speedup of world generation
- New console command 'restart': restart the map EXACTLY as it was when you
first started it (needs a game made after or with this commit)
- New console command 'getseed': get the seed of your map and share it with
others (of course only works with generated maps)
- Many new, world generation related, things
- Many internal cleanups and rewrites
Many tnx to those people who helped making this:
Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic)
Many tnx to those who helped testing:
Arnau, Bjarni, and tokai (alfabetic)
And to all other people who helped testing and sending comments / bugs
Stats: 673 lines changed, 3534 new lines, 79 new strings
|
|
start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
|
|
|
|
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
|
|
|
|
|
|
it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.
|
|
ChangeDisplay. On some machines a sizechange messagequeue is handled before sending WM_DISPLAYCHANGE resulting in an improper resolution written to the configuration file when exiting from fullscreen. (Frostregen)
|
|
win32_v.c. Also ifdef the win32 specific configuration file settings.
|
|
|
|
window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged.
|
|
|
|
|
|
a power of 2, for exact semantics see the commment in macros.h
|
|
|
|
|
|
|
|
some #ifdefs and #includes for the Windows build
|
|
|
|
directories, oh my...
|