643 Commits

Author SHA1 Message Date
Erik Faye-Lund
6f5c079335 documentation: document how to install bass 2010-04-20 20:41:10 +02:00
Erik Faye-Lund
3b4ee498c9 documentation: correct a spelling mistake 2010-04-20 20:41:09 +02:00
Erik Faye-Lund
6ec6206e9f documentation: document editor-usage
Add a very basic overview of the editor-usage, and a list of keyboard
shortcuts.
2010-04-20 20:40:43 +02:00
Erik Faye-Lund
87e5f0d421 editor: reduce hinstance getting
Store hInstance in a global variable instead of getting it over and
over again.
2010-04-20 20:01:55 +02:00
Erik Faye-Lund
a56dc45690 interpolation: smooth means smoothstep, not cosine
Smoothstep[1] is a nice smooth alternative to cosine that
doesn't require special math functons, and should thus be
suitable on more platforms. The cosine-curve and the
smoothstep are very similar, and this change introduces
only a very small error (always less than 1 per cent)
compared to the old result.

Change the smooth curve definition to match this.

[1]: http://en.wikipedia.org/wiki/Smoothstep
2010-03-25 00:13:02 +01:00
Erik Faye-Lund
9f6eeb0b5d editor: portability fixes
This is mostly just nit-pickery that allows most of the editor to
be compiled with MinGW. The nasty COM-stuff for the XML-loader in
syncdocument.cpp is still not compiling, though. There's also some
missing resource definitions, it seems.
2010-03-24 21:41:35 +01:00
Erik Faye-Lund
f22e5c3bcd editor: support unicode filenames 2010-03-24 20:08:44 +01:00
Erik Faye-Lund
f5c2fc032e editor: remove traces of stdafx 2010-03-24 19:01:00 +01:00
Erik Faye-Lund
892e1e1a97 editor: max char width constness 2010-03-24 18:21:16 +01:00
Erik Faye-Lund
06c75438cf editor: get rid of some TCHARism
We dont need unicode everywhere. TCHARism is just noise.
2010-03-24 18:21:09 +01:00
Erik Faye-Lund
7934871684 client: make sync_track_path static 2010-03-24 17:58:20 +01:00
Erik Faye-Lund
88e9a4bf48 client: do not purge data when reconnetion failed 2010-03-20 16:18:21 +01:00
Erik Faye-Lund
0a362b42a4 client: allow reconnection to gather all data
A stray semicolon blocked purge_and_rerequest() to always
terminate after the first track, and report failure.
2010-03-20 16:15:12 +01:00
Erik Faye-Lund
fc9e038f3f client: unbreak SET_KEY and DELETE_KEY
In 70bcea3, I introduced incorrect handling of SET_KEY
and DELETE_KEY, leading to error on each connection.

Fix this by negating the condition.
2010-03-20 15:59:24 +01:00
Erik Faye-Lund
e6a7dca881 add a README-file 2010-03-19 17:41:38 +01:00
Erik Faye-Lund
874c5b8ede rename LICENSE.TXT to COPYING 2010-03-19 17:41:37 +01:00
Erik Faye-Lund
42fc8cb3d7 remove unused ini-file 2010-03-19 17:41:37 +01:00
Erik Faye-Lund
e7b0f110dd rename synctracer2.cpp to editor.cpp 2010-03-19 17:41:37 +01:00
Erik Faye-Lund
6761a167e8 free device structure 2010-03-19 17:41:36 +01:00
Erik Faye-Lund
466c845593 define closesocket for posix systems 2010-03-19 17:41:36 +01:00
Erik Faye-Lund
14244a2d0d add sync_destroy_device() 2010-03-19 17:41:36 +01:00
Erik Faye-Lund
76d3fc55f7 c-ize the bass-example a bit more 2010-03-19 17:41:36 +01:00
Erik Faye-Lund
70bcea33ab clean up network code 2010-03-19 17:41:35 +01:00
Erik Faye-Lund
8c9f5db445 reconnect on disconnection 2010-03-19 17:41:35 +01:00
Erik Faye-Lund
a379fe572a fixup contrib example a bit 2010-03-19 17:41:35 +01:00
Erik Faye-Lund
5c7dfb7bec contrib: added the old example_bass with a C++ wrapper 2010-03-19 17:41:34 +01:00
Erik Faye-Lund
decf843c04 player/client: port to C
Make sure that all code included in the player and client is
pure C. This helps on portability.
2010-03-19 17:41:34 +01:00
Erik Faye-Lund
dc1ab70976 fix keyboard shortcuts 2010-03-19 17:41:34 +01:00
Erik Faye-Lund
c3ade8560c clean up project structure a bit 2010-03-19 17:41:34 +01:00
Erik Faye-Lund
b9200bbd3b split solution in two
Visual Studio only allows one project in a solution to be debugged
at the time. Split the solution in two, so both the player and the
editor can be opened in a separate Visual Studio instance without
file lock conflicts.

Remove outdated Visual Studio 2005 solution and project files while
we're at it.
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
ae37108d09 use software vertex processing for example-code
There's no good reason for not doing this, and it allows
the example to run on older computers.
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
892ac2f0fb allow moving left/right when playing back
There's no point in disallowing left/right motion when playing back. This
patch re-allows that (and allows swapping tracks while playing back as well).
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
7d62c05504 Whops, some code was left broken after some encapsulation-fixes. 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
31698760f1 const 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
c463800979 Implemented select all, select track and select row. 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
6fcd107159 formatting / cleanup 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
557473f5a3 Encapsulating... 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
cabec12793 formatting 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
e8f1727b4c Formatting and removed ini-file from the vs08 project. 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
bd4c5d31b3 Removed ini-file stuff. Sorry Skrebbel, but it wasn't good enough ;) 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
18410f89f3 Resize margins with font changes as well. 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
0ec7daf2c1 Allow run-time font changing. 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
60ee9553d4 made some of the font-properties class members instead of const variables (and even worse, global variables). 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
95b2cfd073 renamed fontHeight to rowHeight 2010-03-19 17:41:29 +01:00
Erik Faye-Lund
fa03d803e2 formatting 2010-03-19 17:41:29 +01:00
Erik Faye-Lund
8d58ac16e3 Slight clean-ups:
- more relevant window-caption
- not wasting time on measuring the latency
- passing the window handle instead of grabbing the foreground one
- made the BPM a separate variable, so it's a bit easier to understand the code.
2010-03-19 17:41:29 +01:00
Erik Faye-Lund
edd626e5ad XP styles. 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
068471028f retabbing 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
29706e3329 Added a .reg-file that cleans the registry for all GNU Rocket stuff. 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
0dc304a335 Overwriting paste. A tad more logical to work with than the old method. 2010-03-19 17:41:28 +01:00