Rubidium
525f6adcd0
Codechange: let NewGRF sounds make use of RandomAccessFile instead of the FIO slot functions
...
(cherry picked from commit c097bc9d7d
)
2021-05-30 08:23:39 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
glx
d0d4fc73a7
Codechange: replace grow() usage in AllocateSound()
2019-05-04 19:50:53 +01:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
glx22
66dd7c3879
Fix: MSVC warnings ( #7423 )
2019-03-28 00:09:33 +01:00
Henry Wilson
c01a2e2a81
Codechange: Removed SmallVector completely
2019-03-26 20:15:57 +00:00
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
2019-03-26 20:15:57 +00:00
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
2019-03-26 20:15:57 +00:00
Henry Wilson
bfd79e59dc
Codechange: Replace SmallVector::Clear() with std::vector::clear()
2019-03-26 20:15:57 +00:00
frosch
f6577b6ad7
(svn r27507) -Add: [NewGRF] Allow custom sound IDs in RV property 0x12, ship property 0x10 and aircraft property 0x12.
2016-02-08 21:05:57 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
2012-12-23 21:09:09 +00:00
frosch
0643a69764
(svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into the wrong slots.
2012-03-19 22:55:29 +00:00
michi_cc
6db39410a1
(svn r23887) -Feature: [NewGRF] Support for container version 2.
2012-02-04 13:29:04 +00:00
michi_cc
12f0e80dad
(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage.
2012-02-04 13:28:44 +00:00
frosch
acc3c75951
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
2011-11-01 00:23:41 +00:00
frosch
4e5534f85e
(svn r22615) -Codechange: The return value of PlayTileSound() has no purpose. Remove it and document the rest.
2011-07-02 11:28:22 +00:00
frosch
ff52f85b9e
(svn r22614) -Fix [FS#4656]: If callback 33 returns a value out of range, no sound effect shall be played.
2011-07-02 11:24:39 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
yexo
92e36c87fd
(svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs
2010-04-20 05:52:51 +00:00
rubidium
c75f19f40b
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
2010-02-03 17:25:56 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
64bafcbe18
(svn r17534) -Codechange: unify the naming of callback masks/flags
2009-09-14 12:22:57 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
yexo
44c15e4196
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
2009-06-24 21:33:11 +00:00
yexo
91fe6f5e13
(svn r16455) -Fix: don't crash when a newgrf has sounds in an unsupported sound format
2009-05-28 16:43:16 +00:00
rubidium
543cc6b75e
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
2009-05-17 19:36:28 +00:00
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
2009-05-17 19:27:50 +00:00
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.
2009-05-17 17:17:48 +00:00
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
2009-05-17 14:57:14 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
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.
2008-05-06 15:11:33 +00:00
peter1138
a00371c8db
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-29 21:31:29 +00:00
rubidium
a40bba8bac
(svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations.
2008-04-21 11:29:01 +00:00
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31 00:17:39 +00:00
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
2007-12-29 09:24:26 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
2007-11-19 21:02:30 +00:00
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
rubidium
2dd7a5d296
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
belugas
dcd510c81f
(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
2007-03-21 03:06:21 +00:00
maedhros
73ff939ddb
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
...
the newhouses grf specs, so all newhouses grfs will be playable in the game.
Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
Darkvater
1bbbbeeef1
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23 12:56:10 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00