Darkvater
cfd1c826d7
(svn r7187) -CodeChange: [win32] Limit success of ToUnicode/ToAscii to only one translated character as we only support one and remove TranslateMessage() call since we do not use it anyways (glx)
18 years ago
peter1138
f660d48e6a
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
18 years ago
Darkvater
acc87fc9f0
(svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle
...
mouse input right away instead of waiting for GameLoop. (KUDr)
18 years ago
Darkvater
3328ceea9e
(svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic
...
of the win32: TAB speeds up, but ALT+TAB doesn't code.
18 years ago
Darkvater
eaddac35be
(svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle
...
keyboard input in place instead of global variables magic. (KUDr)
18 years ago
Darkvater
7a412adb71
(svn r7137) -Codechange: [win32] Use windows function in main loop to check if we have pressed ALT
...
(for ALT+TAB) instead of magic global _pressed_key from input-loop. (KUDr)
18 years ago
Darkvater
3aa12e1cd0
(svn r7062) -[win32] Codechange: Remove unneeded WM_MOUSEENTER event, and change mouse behaviour
...
a bit so that any specific windows inside (eg IME compositor) will have a cursor.
18 years ago
Darkvater
e922f05723
(svn r7061) -[win32] Feature: Remember the window size between restarts when quit in fullscreen mode.
18 years ago
Darkvater
7e8576bfaf
(svn r7060) -Fix (r5874): Restore of window maximized state not always working (Mart3p) . Remember
...
maximize state even between switching fullscreen/windowed mode.
18 years ago
Darkvater
9878797e45
(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global
18 years ago
rubidium
ca9ec81fd1
(svn r6380) -Codechange: unify all ways to quit OTTD.
...
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.
18 years ago
rubidium
819acd270a
(svn r6365) -Cleanup: remove IsGeneratingWorld calls that are either not called or have no effect.
18 years ago
tron
f7624204e2
(svn r6274) Clean up a bit
18 years ago
tron
430927c913
(svn r6262) Remove unused #define and function declaration
18 years ago
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
18 years ago
truelight
7abad2b20e
(svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
...
- 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
18 years ago
Darkvater
04e6f2fe89
(svn r5874) -Feature [FS#234]: Remember the maximized state and restore on start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
18 years ago
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
19 years ago
tron
a2362674e3
(svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
19 years ago
glx
434fb4e08c
(svn r4810) - Fix: removed warning about strict-alias (release build)
19 years ago
Darkvater
bdfe20ae73
(svn r4091) - Fix r4075. Do not "enter" please.
19 years ago
Darkvater
fb48c3b4aa
(svn r4075) - Feature: Undraw the mouse when it leaves the window and Draw 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.
19 years ago
Darkvater
54735b28c4
(svn r3999) - Fix: [win32] Change the order of DestroyWindow and 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)
19 years ago
Darkvater
a2c9df81b9
(svn r3640) - Remove win32-only variables from variables.h and put them into win32_v.c. Also ifdef the win32 specific configuration file settings.
19 years ago
tron
1c3e8630fe
(svn r3511) More whitespace ([FS#46] by Rubidium)
19 years ago
Darkvater
17f8534e5a
(svn r3320) - Fix: FS#22 - Exiting with double size enabled saves wrong window size. Reset the window size to its true size upon exiting when double-size is active. Is set in ClientSizeChanged.
19 years ago
tron
5cceeaa37f
(svn r3207) Typo in last revision
19 years ago
tron
7d750783af
(svn r3206) Wrap all instances of _dbg_screen_rect in #ifdef _DEBUG
19 years ago
tron
c20b5883bd
(svn r2924) Introduce the ALIGN() macro which aligns values to multiples of a power of 2, for exact semantics see the commment in macros.h
19 years ago
tron
452f8fee2a
(svn r2748) Remove unused cruft from the main loop
19 years ago
tron
2435589804
(svn r2726) Fix last commit
19 years ago
tron
9aa4893e66
(svn r2725) Move MyShowCursor() back into win32.c, it fits better there
19 years ago
tron
2faf06f4cd
(svn r2704) Remove . from include path again, too much trouble. Also add some #ifdefs and #includes for the Windows build
19 years ago
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
19 years ago
tron
9bb81b8eef
(svn r2688) MSVC and Watcom can't handle identical file names in different directories, oh my...
19 years ago