summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-06-21Revert previous change from bitshifts to divides; this causes demoSimon Howard
desyncs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 923
2007-06-21Add arrlen() macro as a clearer way of doing sizeof(array) /Simon Howard
sizeof(*array) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 922
2007-06-20Add x5 screen scale (thanks MikeRS!)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 919
2007-06-20Add new configuration options for the mouse and joystick for controlsSimon Howard
that are available through the keyboard. Justification: this is already possible through advanced mouse drivers and programs like js2x, so there might as well be a proper interface for it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 918
2007-06-18Remove deleted headers from Makefile.am.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 915
2007-06-17Make the music code modular as well, although for the time being thereSimon Howard
is only one module. Remove s_dummy.c. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 914
2007-06-17Split i_sound.c into i_sdlsound.c, i_sdlmusic.c, with generic "soundSimon Howard
driver" modules, one for PC speaker and one for digital output. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 913
2007-06-16Switch back to z_zone, not z_native (oops!)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 912
2007-06-16Clean up sound codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 911
2007-06-16Use divides instead of bitshifts, for claritySimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 910
2007-06-16Shut up strict aliasing warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 909
2007-06-16Switch to djb2 hash function and shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 908
2007-06-14Add configuration file variable to change the sound sample rateSimon Howard
(snd_samplerate) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 906
2007-06-14Support up to 20 joystick buttons. Justification: most modern joysticksSimon Howard
and joypads have many more than four buttons. Keeping the limit at four buttons restricts the player into using the first four buttons on his joystick/pad, which could be any arbitrary four set of buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 905
2007-06-14Don't send joystick updates when the joystick is disabled. Shut upSimon Howard
warning caused by missing header. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 904
2007-06-13Working joystick code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 903
2007-06-12Emulate overflows in P_FindNextHighestFloor. Thanks to entryway for thisSimon Howard
fix. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 902
2007-06-09Add *.exe to svn:ignore.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 899
2007-06-01Display a meaningful message when trying to start with an invalidSimon Howard
Joystick ID. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 890
2007-06-01Up the threshold for the always run hack to 20; it's conceivable thatSimon Howard
there are control pads with more than 10 buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 889
2007-05-31Initial joystick support.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 887
2007-05-24Fix ByteSwapBlock macro.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 886
2007-05-24Use I_Sleep in i_system.c instead of SDL_Delay directly.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 884
2007-05-20Fix crash when converting audio down to a lower sample rate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 883
2007-05-20Stop music on sound shutdown so music isn't left playing at the ENDOOMSimon Howard
screen. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 882
2007-05-20Initialise sound before network setup to fix bug with sound effects notSimon Howard
playing when playing netgames on Windows (text mode waiting screen shutdown causes sound not to start up?) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 881
2007-05-19Don't allow idclev in netgames.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 879
2007-05-16Add FEATURE_SOUND.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 877
2007-05-16Oops!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 876
2007-05-16Rejig net_cl_new_sync and drone to be in d_net.c instead ofSimon Howard
net_client.c. Fix FEATURE_MULTIPLAYER conditional compile. Move some function definitions in d_net.c into headers. Reorganise the Makefile to split out files into sections based on features. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 875
2007-05-09Fix ticdup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 874
2007-05-02Check in autoconf if python is installed; if not, don't run pythonSimon Howard
scripts. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 873
2007-04-16Fix crash: don't check for client resends after they have disconnected.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 870
2007-03-26Search WAD search dirs when loading dehacked patches.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 863
2007-03-16Add back shiftxform table so that the shift key works in multiplayerSimon Howard
chat when vanilla_keyboard_mapping is enabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 861
2007-03-16Add config file option to enable/disable native keyboard bindings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 860
2007-03-15Change MD5 code to use the standard types used elsewhere in the program.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 858
2007-03-15Use SDL for endianness byte swapping. m_swap.c removed; m_swap.h renamedSimon Howard
to i_swap.h. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 857
2007-03-14Use SDL's built-in audio conversion routines to convert sound effects toSimon Howard
the output mixer device's sample rate. Simplistic (naive) resampling in cases where SDL's routines can't do a conversion. This needs a bit more work to filter out the high frequency artifacts at 48khz output rate. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 856
2007-03-10Ignore the HOME environment variable on Windows - just behave likeSimon Howard
Vanilla Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 853
2007-03-10Lots of changes/additions:Russell Rice
* Add libpcsound codeblocks project * Use libraries that are built and project dependencies inside main chocolate-doom/setup project and remove source files. * libraries are now built in the "lib" top level directory * Fix some warnings Subversion-branch: /trunk/chocolate-doom Subversion-revision: 852
2007-03-09Move the pcsound library to the top level, alongside textscreen.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 849
2007-03-09Partially revert the last change. I'm going with a mixed approach forSimon Howard
handling key mappings. Chocolate Doom will use the original (broken) Doom behavior, in that keys will be unmapped. A German user will have to type "IDMZPOS", for example. However, when actually entering text, for savegame names and multiplayer chat, the mapped character will be used. The reasoning here is that Vanilla users will be used to pressing the wrong keys, but it can never be desirable to use the wrong mappings when typing in text. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 848
2007-03-09Pay closer attention to keyboard mappings. In the menu code, distinguishSimon Howard
between keys pressed and characters typed, so that, for example, when the menu prompts "press 'y' to continue", it responds to the _character_ y being typed, not the key that is 'y' on an american keyboard being pressed. Do the same when reading cheats. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 847
2007-03-07Update projectRussell Rice
Fix a warning Subversion-branch: /trunk/chocolate-doom Subversion-revision: 845
2007-03-07Use native endianness for sound output, rather than always LSB. Add PCSimon Howard
speaker code! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 844
2007-02-24Fix video_driver setting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 842
2007-02-23Add a configuration file value to allow the SDL video driver to beSimon Howard
explicitly specified. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 838
2007-02-15Really fix the menu corruption bug.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 837
2007-02-14Make I_Error call abort() instead of exit(), so that we can get aSimon Howard
backtrace in the debugger. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 836