rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
42d7f30dcc
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
15 years ago
frosch
7866de8912
(svn r17698) -Fix (r17140) [FS#3205]: Convert endian after loading sounds from file.
15 years ago
frosch
1ee5520854
(svn r17698) -Fix (r17140) [FS#3205]: Convert endian after loading sounds from file.
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
11f4973cf6
(svn r17241) -Change: make a distinction between missing and corrupted data files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files.
15 years ago
rubidium
2fd1b000e5
(svn r17241) -Change: make a distinction between missing and corrupted data files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files.
15 years ago
rubidium
362dc78607
(svn r17146) -Codechange: improve the sample rate conversion a bit
15 years ago
rubidium
238b0e43bb
(svn r17146) -Codechange: improve the sample rate conversion a bit
15 years ago
rubidium
f21b0a0cc8
(svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuff
15 years ago
rubidium
40a8bd556e
(svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuff
15 years ago
rubidium
9192402bfb
(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.
15 years ago
rubidium
8e058c2d27
(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.
15 years ago
rubidium
93493827b6
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
peter1138
1e50346943
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
15 years ago
peter1138
a67f861d55
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
15 years ago
rubidium
41c4c48add
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
16 years ago
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
16 years ago
rubidium
c85e41b3ed
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
16 years ago
rubidium
e56cc911f1
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
16 years ago
rubidium
8df6765823
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
16 years ago
rubidium
9c24e2bb8f
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
16 years ago
rubidium
21e2842f34
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
16 years ago
rubidium
83dc6ef6e6
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
9d0c77b123
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
16 years ago
rubidium
fb2ea6c9ed
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
16 years ago
smatz
34bfb35105
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
16 years ago
smatz
d73c1fa7bf
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
Yexo
e3c69b7c4e
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
rubidium
aa6c7e8574
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
16 years ago
rubidium
19edb3ccc3
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
16 years ago
rubidium
65e81d5e9b
(svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load.
16 years ago
rubidium
9075a2bbfc
(svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load.
16 years ago
rubidium
a20b833516
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
smatz
4e2e078743
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
17 years ago
smatz
dedb0033b3
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
17 years ago
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
081f627018
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
17 years ago
rubidium
c84fe27ca9
(svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth.
17 years ago
rubidium
1dc0af3248
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
17 years ago
rubidium
ee02dd7dad
(svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth.
17 years ago
smatz
6d6e44442d
(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land)
17 years ago
smatz
6e9b952623
(svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land)
17 years ago
smatz
ada241e279
(svn r12176) -Codechange: one division less when playing sounds (patch by Dominik)
17 years ago
smatz
a0a225ab02
(svn r12176) -Codechange: one division less when playing sounds (patch by Dominik)
17 years ago
smatz
f003a25785
(svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)
...
It improves the game appearance when playing with very small screen resolution
17 years ago
smatz
6bf44158c5
(svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)
...
It improves the game appearance when playing with very small screen resolution
17 years ago
peter1138
c4707760cf
(svn r12009) -Fix [FS#1707]: Avoid loading sample.cat if it 'looks' incorrect, and avoid later null pointer dereferences by moving volume lookup deeper.
17 years ago
peter1138
b20d220333
(svn r12009) -Fix [FS#1707]: Avoid loading sample.cat if it 'looks' incorrect, and avoid later null pointer dereferences by moving volume lookup deeper.
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
445a733eb6
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
rubidium
722613f7f3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
f82aeb82c5
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
8bfbfd0031
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
smatz
8d91abdfe3
(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations
17 years ago
smatz
bda9d4a236
(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations
17 years ago
skidd13
815b8d8df1
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
skidd13
98f66552be
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
skidd13
8be526e499
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
truelight
eebcc8968e
(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!
17 years ago
truelight
345a4a28d8
(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!
17 years ago
truelight
e545220563
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
17 years ago
truelight
8cd9ab9b7e
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
17 years ago
rubidium
0a4a4875fb
(svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played.
18 years ago
rubidium
504d93c499
(svn r10138) -Fix: when you got a sufficiently small resolution, there is a possibility for a division by zero when a sound is played.
18 years ago
truelight
05e2bd2793
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
18 years ago
truelight
a391f03ae2
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
18 years ago
truelight
ecb8585bd4
(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
...
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
18 years ago
truelight
49aa3bedfb
(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
...
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
18 years ago
truelight
b605f68631
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
maedhros
3d81de8d7e
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
18 years ago